summaryrefslogtreecommitdiff
path: root/cpu/mpc5xxx/i2c.c
Commit message (Collapse)AuthorAgeLines
* mpc5200: reduce delays in i2cJon Smirl2009-04-05-3/+3
| | | | | | | | The previous code waited 1000us before checking i2c status. Measurement shows i2c is usually ready in under 50us. Change the polling interval to 15us, loop 6,667 times to keep the polling timeout constant at 100ms.
* mpc5200: suppress printf until console initializedJon Smirl2009-03-25-10/+20
| | | | | | | | | On boards which have the environment in eeprom, i2c_init() is called before the console and RAM are initialized. Suppress printfs until the console is initialized. Signed-off-by: Jon Smirl <jonsmirl@gmail.com> Acked-by: Heiko Schocher <hs@denx.de>
* i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functionsTimur Tabi2008-12-15-16/+0
| | | | | | | | | | All implementations of the functions i2c_reg_read() and i2c_reg_write() are identical. We can save space and simplify the code by converting these functions into inlines and putting them in i2c.h. Signed-off-by: Timur Tabi <timur@freescale.com> Acked-By: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-18-3/+3
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* GCC-4.x fixes: clean up global data pointer initialization for all boards.Wolfgang Denk2006-03-31-1/+2
|
* Cleanup for GCC-4.xWolfgang Denk2005-10-13-6/+7
|
* * Patch by Martin Krause, 27 May 2004:wdenk2004-06-09-0/+1
| | | | | | | Fix a MPC5xxx I2C timing issue in i2c_probe(). * Patch by Leif Lindholm, 27 May 2004: Fix board_init_f() for dbau1x00 board.
* * Patch by Bernhard Kuhn, 28 Oct 2003:wdenk2003-11-07-3/+9
| | | | | | | | Add low boot support for MPC5200 * Fix problem with dual PCMCIA support (NSCU) * Fix MPC5200 I2C initialization function
* * Patches by Xianghua Xiao, 15 Oct 2003:wdenk2003-10-15-10/+10
| | | | | | | | - Added Motorola CPU 8540/8560 support (cpu/85xx) - Added Motorola MPC8540ADS board support (board/mpc8540ads) - Added Motorola MPC8560ADS board support (board/mpc8560ads) * Minor code cleanup
* Fix problems with I2C support for mpc5200dzu2003-09-30-3/+55
|
* * Patch by David Müller, 13 Sep 2003:wdenk2003-09-13-0/+338
various changes to VCMA9 board specific files * Add I2C support for MGT5100 / MPC5200