diff options
author | Terry Lv <r65388@freescale.com> | 2009-08-30 22:04:05 +0800 |
---|---|---|
committer | Fred Fan <r01011@freescale.com> | 2009-09-10 17:08:11 +0800 |
commit | c1383a7a5b47035bf08809bf973536af16047640 (patch) | |
tree | 50ccb785909a1d7684b750e5144afd9abb8346b3 /include/configs/mx51_3stack.h | |
parent | e721efc160482e2086a081de19a6968d81d8cc72 (diff) | |
download | u-boot-imx-c1383a7a5b47035bf08809bf973536af16047640.zip u-boot-imx-c1383a7a5b47035bf08809bf973536af16047640.tar.gz u-boot-imx-c1383a7a5b47035bf08809bf973536af16047640.tar.bz2 |
ENGR00116083: Recovery mode support for Android on mx51.
Recovery mode support for Android on mx51.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/configs/mx51_3stack.h')
-rw-r--r-- | include/configs/mx51_3stack.h | 35 |
1 files changed, 30 insertions, 5 deletions
diff --git a/include/configs/mx51_3stack.h b/include/configs/mx51_3stack.h index 9cb463d..2cee9d6 100644 --- a/include/configs/mx51_3stack.h +++ b/include/configs/mx51_3stack.h @@ -3,7 +3,7 @@ * * (C) Copyright 2009 Freescale Semiconductor, Inc. * - * Configuration settings for the MX31ADS Freescale board. + * Configuration settings for the MX51-3Stack Freescale board. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -32,7 +32,7 @@ #define CONFIG_L2_OFF #define CONFIG_MXC 1 -#define CONFIG_MX51 1 /* in a mx51 */ +#define CONFIG_MX51_3DS 1 /* in a mx51 */ #define CONFIG_FLASH_HEADER 1 #define CONFIG_FLASH_HEADER_OFFSET 0x400 #define CONFIG_FLASH_HEADER_BARKER 0xB1 @@ -68,6 +68,23 @@ #define CONFIG_MX51_UART 1 #define CONFIG_MX51_UART1 1 + +/* + * MMC Configs + * */ +#define CONFIG_FSL_MMC 1 + +#define CONFIG_MMC 1 +#define CONFIG_CMD_MMC +#define CONFIG_DOS_PARTITION 1 +#define CONFIG_CMD_FAT 1 +#define CONFIG_MMC_BASE 0x0 + +#define CONFIG_CMD_PING +#define CONFIG_CMD_DHCP +#define CONFIG_CMD_MII +#define CONFIG_CMD_NET + /* allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE #define CONFIG_CONS_INDEX 1 @@ -179,10 +196,18 @@ #define CONFIG_SYS_NAND_BASE 0x40000000 /* Monitor at beginning of flash */ -#define CONFIG_ENV_IS_IN_NAND 1 -#define CONFIG_ENV_SECT_SIZE (1024 * 1024) +#define CONFIG_FSL_ENV_IN_NAND +#define CONFIG_ENV_SECT_SIZE (128 * 1024) #define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE -#define CONFIG_ENV_OFFSET 0x100000 +#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) + #define CONFIG_ENV_IS_IN_MMC 1 + #define CONFIG_ENV_OFFSET (768 * 1024) +#else + #define CONFIG_ENV_IS_NOWHERE 1 +#endif /* * JFFS2 partitions */ |