summaryrefslogtreecommitdiff
path: root/include/configs/mx51_bbg.h
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2009-11-12 14:25:13 +0800
committerTerry Lv <r65388@freescale.com>2009-11-12 14:25:13 +0800
commita5c3bc03d12c2ed6b2627ea99f20d05b184d00d6 (patch)
tree1cc7847230b51e7b7aac795be48e5eb8a52a16bd /include/configs/mx51_bbg.h
parent20710100e480543d36b76845c52cdec382f2b43a (diff)
downloadu-boot-imx-a5c3bc03d12c2ed6b2627ea99f20d05b184d00d6.zip
u-boot-imx-a5c3bc03d12c2ed6b2627ea99f20d05b184d00d6.tar.gz
u-boot-imx-a5c3bc03d12c2ed6b2627ea99f20d05b184d00d6.tar.bz2
ENGR00118362: Correct recovery NAND cmd
This patch will fix three issues: 1. Add boot device detection. 2. Use right nand command in anroid for recovery mode. 3. Recovery mode code clean. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/configs/mx51_bbg.h')
-rw-r--r--include/configs/mx51_bbg.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/configs/mx51_bbg.h b/include/configs/mx51_bbg.h
index 1634e0e..64f0e2b 100644
--- a/include/configs/mx51_bbg.h
+++ b/include/configs/mx51_bbg.h
@@ -238,25 +238,14 @@
*/
#define CONFIG_SYS_NO_FLASH
-/*-----------------------------------------------------------------------
- * NAND FLASH driver setup
- */
-#define NAND_MAX_CHIPS 8
-#define CONFIG_SYS_MAX_NAND_DEVICE 1
-#define CONFIG_SYS_NAND_BASE 0x40000000
-
/* Monitor at beginning of flash */
#define CONFIG_FSL_ENV_IN_SF
/* #define CONFIG_FSL_ENV_IN_MMC */
-/* #define CONFIG_FSL_ENV_IN_NAND */
#define CONFIG_ENV_SECT_SIZE (128 * 1024)
#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE
-#if defined(CONFIG_FSL_ENV_IN_NAND)
- #define CONFIG_ENV_IS_IN_NAND 1
- #define CONFIG_ENV_OFFSET 0x100000
-#elif defined(CONFIG_FSL_ENV_IN_MMC)
+#if defined(CONFIG_FSL_ENV_IN_MMC)
#define CONFIG_ENV_IS_IN_MMC 1
#define CONFIG_ENV_OFFSET (768 * 1024)
#elif defined(CONFIG_FSL_ENV_IN_SF)