[U-Boot-Users] errors in using DS1337
xiangguo_li at hotmail.com
xiangguo_li at hotmail.com
Wed Jan 30 15:43:24 CET 2008
hello,
I am porting on a PowerPC (MPC7448) platform.
thank you.
>>
> It would help to know what platform you're building for. The functions
> mentioned are prototyped in 'i2c.h', but don't appear in all I2C
> drivers (I'm thinking of the ARM ones that are in drivers/i2c). If
> you're using a controller that has these functions implemented, you
> probably don't have your I2C controller properly set up.
>
> Since these functions are always 1-or-2 liner wrappers around
> i2c_read()/i2c_write() and always do the same thing, it would probably
> be helpful to implement them as static inlines in include/i2c.h. I'll
> post a patch to do this some time soon.
>
> regards,
> Ben
>
More information about the U-Boot
mailing list