summaryrefslogtreecommitdiff
path: root/board/ti/am3517crane/am3517crane.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2013-10-22 11:03:18 +0200
committerHeiko Schocher <hs@denx.de>2013-11-13 06:18:17 +0100
commit6789e84ecaa8f45d053084e08c381284a04abff7 (patch)
treec4ad9d9cab924058bd66a7af160f8e526bfb7231 /board/ti/am3517crane/am3517crane.c
parent124913556c4b99909f40b4bf4ceaefe2b555d6f8 (diff)
downloadu-boot-imx-6789e84ecaa8f45d053084e08c381284a04abff7.zip
u-boot-imx-6789e84ecaa8f45d053084e08c381284a04abff7.tar.gz
u-boot-imx-6789e84ecaa8f45d053084e08c381284a04abff7.tar.bz2
i2c, omap24xx: convert driver to new mutlibus/mutliadapter framework
- add omap24xx driver to new multibus/multiadpater support - adapted all config files, which uses this driver Tested on the am335x based siemens boards rut, dxr2 and pxm2 posted here: http://patchwork.ozlabs.org/patch/263211/ Signed-off-by: Heiko Schocher <hs@denx.de> Tested-by: Tom Rini <trini@ti.com> Cc: Lars Poeschel <poeschel@lemonage.de> Cc: Steve Sakoman <sakoman@gmail.com> Cc: Thomas Weber <weber@corscience.de> Cc: Tom Rix <Tom.Rix@windriver.com> Cc: Grazvydas Ignotas <notasas@gmail.com> Cc: Enric Balletbo i Serra <eballetbo@iseebcn.com> Cc: Luca Ceresoli <luca.ceresoli@comelit.it> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Ilya Yanok <yanok@emcraft.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Nishanth Menon <nm@ti.com> Cc: Pali Rohár <pali.rohar@gmail.com> Cc: Peter Barada <peter.barada@logicpd.com> Cc: Nagendra T S <nagendra@mistralsolutions.com> Cc: Michael Jones <michael.jones@matrix-vision.de> Cc: Raphael Assenat <raph@8d.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/ti/am3517crane/am3517crane.c')
-rw-r--r--board/ti/am3517crane/am3517crane.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ti/am3517crane/am3517crane.c b/board/ti/am3517crane/am3517crane.c
index 5eb97ff..a649697 100644
--- a/board/ti/am3517crane/am3517crane.c
+++ b/board/ti/am3517crane/am3517crane.c
@@ -43,8 +43,8 @@ int board_init(void)
*/
int misc_init_r(void)
{
-#ifdef CONFIG_DRIVER_OMAP34XX_I2C
- i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
+#ifdef CONFIG_SYS_I2C_OMAP34XX
+ i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE);
#endif
dieid_num_r();