From 5f4c0867c01da00f9d092750acbea5fc6430359a Mon Sep 17 00:00:00 2001 From: Fred Fan Date: Mon, 23 Feb 2009 13:59:58 +0800 Subject: ENGR00103914 Support i.MX35 TO2 and 3stack board version 2 1. Check Soc version 2. Check Board version based on TO2 pmic chip version. 3. Based on soc version, skips To1 workaround code 4. based on board version, enables FEC power and select pin mux. Signed-off-by: Fred Fan --- include/asm-arm/arch-mx35/mx35.h | 3 +++ include/configs/mx35_3stack.h | 1 + 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/asm-arm/arch-mx35/mx35.h b/include/asm-arm/arch-mx35/mx35.h index b430c83..2ed85d3 100644 --- a/include/asm-arm/arch-mx35/mx35.h +++ b/include/asm-arm/arch-mx35/mx35.h @@ -164,6 +164,9 @@ #define CSCR_L(x) (WEIM_CTRL_CS#x + 4) #define CSCR_A(x) (WEIM_CTRL_CS#x + 8) +#define IIM_SREV 0x24 +#define ROMPATCH_REV 0x40 + #define IPU_CONF IPU_CTRL_BASE_ADDR #define IPU_CONF_PXL_ENDIAN (1<<8) diff --git a/include/configs/mx35_3stack.h b/include/configs/mx35_3stack.h index 39be55c..a141ad0 100644 --- a/include/configs/mx35_3stack.h +++ b/include/configs/mx35_3stack.h @@ -48,6 +48,7 @@ #endif #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ +#define CONFIG_REVISION_TAG 1 #define CONFIG_SETUP_MEMORY_TAGS 1 #define CONFIG_INITRD_TAG 1 -- cgit v1.1