diff options
author | Terry Lv <r65388@freescale.com> | 2010-01-08 15:40:17 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2010-01-11 19:34:31 +0800 |
commit | b238637c05324a1ff5d16add1ae4bcfb587887dc (patch) | |
tree | e24331b915c34a605dc15de719ab6d68ea170bbf /board/freescale | |
parent | a5510c49adac4e31c0bc13bad45ee073b3940dc5 (diff) | |
download | u-boot-imx-b238637c05324a1ff5d16add1ae4bcfb587887dc.zip u-boot-imx-b238637c05324a1ff5d16add1ae4bcfb587887dc.tar.gz u-boot-imx-b238637c05324a1ff5d16add1ae4bcfb587887dc.tar.bz2 |
ENGR00119894: Read right value in mxc_i2c
The value read from mxc_i2c is not complete.
The last byte is lost.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mx51_3stack/mx51_3stack.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/board/freescale/mx51_3stack/mx51_3stack.c b/board/freescale/mx51_3stack/mx51_3stack.c index 0ed1ccb..e70234a 100644 --- a/board/freescale/mx51_3stack/mx51_3stack.c +++ b/board/freescale/mx51_3stack/mx51_3stack.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de> * - * (C) Copyright 2009 Freescale Semiconductor, Inc. + * (C) Copyright 2009-2010 Freescale Semiconductor, Inc. * * See file CREDITS for list of people who contributed to this * project. @@ -961,8 +961,11 @@ int board_eth_init(bd_t *bis) { int rc = -ENODEV; #if defined(CONFIG_SMC911X) - rc = smc911x_initialize(0, CONFIG_SMC911X_BASE); + rc = smc911x_initialize(0, CONFIG_SMC911X_BASE); #endif + + cpu_eth_init(bis); + return rc; } #endif |