[U-Boot-Users] I2C Initialization

Wolfgang Denk wd at denx.de
Wed Mar 5 20:12:06 CET 2003


In message <20030305173922.GQ16290 at pengutronix.de> Robert Schwebel wrote:
> 
> What I've done is to add an CFG_I2C_COLDSTART option. When set
> i2c_coldstart(), implemented in board/myboard/myboard.c, is called from
> lib_xxx/board.c early in the boot sequence, especially before the
> environment was read. 

Please call it "i2c_init_board()" (similar to pci_init_board()"), and
call it from i2c_init().

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"He only drinks when he gets depressed." "Why does he get depressed?"
"Sometimes it's because he hasn't had a drink."
                                     - Terry Pratchett, _Men at Arms_




More information about the U-Boot mailing list