From b238637c05324a1ff5d16add1ae4bcfb587887dc Mon Sep 17 00:00:00 2001 From: Terry Lv Date: Fri, 8 Jan 2010 15:40:17 +0800 Subject: 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 --- include/configs/mx51_3stack.h | 21 ++++++++++++++++++--- include/configs/mx51_3stack_android.h | 3 ++- 2 files changed, 20 insertions(+), 4 deletions(-) (limited to 'include/configs') diff --git a/include/configs/mx51_3stack.h b/include/configs/mx51_3stack.h index 3cecd58..fd7116c 100644 --- a/include/configs/mx51_3stack.h +++ b/include/configs/mx51_3stack.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2007, Guennadi Liakhovetski * - * (C) Copyright 2009 Freescale Semiconductor, Inc. + * (C) Copyright 2009-2010 Freescale Semiconductor, Inc. * * Configuration settings for the MX51-3Stack Freescale board. * @@ -93,8 +93,6 @@ #undef CONFIG_CMD_IMLS #define CONFIG_CMD_MII #define CONFIG_CMD_NET -#define CONFIG_NET_RETRY_COUNT 100 -#define CONFIG_NET_MULTI #define CONFIG_CMD_MMC /* @@ -118,6 +116,23 @@ #define CONFIG_SYS_I2C_SPEED 400000 #define CONFIG_SYS_I2C_SLAVE 0xfe +/* + * Eth Configs + */ +#define CONFIG_HAS_ETH1 +#define CONFIG_ETHPRIME +#define CONFIG_NET_RETRY_COUNT 100 +#define CONFIG_NET_MULTI +#define CONFIG_MXC_FEC +#define CONFIG_MII +#define CONFIG_DISCOVER_PHY + +#define CONFIG_FEC0_IOBASE FEC_BASE_ADDR +#define CONFIG_FEC0_PINMUX -1 +#define CONFIG_FEC0_PHY_ADDR 0x1F +#define CONFIG_FEC0_MIIBASE -1 + + #define CONFIG_BOOTDELAY 3 #define CONFIG_LOADADDR 0x90800000 /* loadaddr env var */ diff --git a/include/configs/mx51_3stack_android.h b/include/configs/mx51_3stack_android.h index 53dd409..6d10c2a 100644 --- a/include/configs/mx51_3stack_android.h +++ b/include/configs/mx51_3stack_android.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2007, Guennadi Liakhovetski * - * (C) Copyright 2009 Freescale Semiconductor, Inc. + * (C) Copyright 2009-2010 Freescale Semiconductor, Inc. * * Configuration settings for the MX51-3Stack Freescale board. * @@ -212,6 +212,7 @@ */ #define CONFIG_HAS_ETH1 #define CONFIG_NET_MULTI 1 +#define CONFIG_ETHPRIME #define CONFIG_MXC_FEC #define CONFIG_MII #define CONFIG_DISCOVER_PHY -- cgit v1.1