summaryrefslogtreecommitdiff
path: root/include/configs/mx6solo_sabreauto.h
diff options
context:
space:
mode:
authorFrancisco Munoz <francisco.munoz@freescale.com>2012-08-02 17:57:17 -0500
committerFrank Li <Frank.Li@freescale.com>2012-08-21 09:26:35 +0800
commit65776680ccf6530fe68085cdc54bed316f8c0784 (patch)
treecb82e76388dc31b9eec5b65f9c35a2a183ebe676 /include/configs/mx6solo_sabreauto.h
parentaf52274a9f4100005e5db65123e4dc1312085b27 (diff)
downloadu-boot-imx-65776680ccf6530fe68085cdc54bed316f8c0784.zip
u-boot-imx-65776680ccf6530fe68085cdc54bed316f8c0784.tar.gz
u-boot-imx-65776680ccf6530fe68085cdc54bed316f8c0784.tar.bz2
ENGR00180538-1 MFG download burn sd,spi, nand, nor failed.
Added two new board files for Solo and Quad which allow uboot to be booted from WEIM NOR. Also amended the word “weim-nor” in both mfg configuration files which allow to erase/write u-boot and uImage in Parallel nor using the mfg tool. Lastly just added a label in the regular board files indicating that another config file has to be used in the case of NOR boot. Modified files: Makefile common/env_common.c include/configs/mx6q_sabreauto.h include/configs/mx6q_sabreauto_boot_weimnor.h include/configs/mx6q_sabreauto_mfg_enable_weimnor.h include/configs/mx6solo_sabreauto.h include/configs/mx6solo_sabreauto_boot_weimnor.h include/configs/mx6solo_sabreauto_mfg_enable_weimnor.h Signed-off-by: Francisco Munoz <francisco.munoz@freescale.com>
Diffstat (limited to 'include/configs/mx6solo_sabreauto.h')
-rw-r--r--include/configs/mx6solo_sabreauto.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/configs/mx6solo_sabreauto.h b/include/configs/mx6solo_sabreauto.h
index c1d255d..9d13dbc 100644
--- a/include/configs/mx6solo_sabreauto.h
+++ b/include/configs/mx6solo_sabreauto.h
@@ -32,6 +32,7 @@
#define CONFIG_DDR_32BIT
#define CONFIG_MX6Q_SABREAUTO
#define CONFIG_FLASH_HEADER
+#define CONFIG_FLASH_HEADER_OFFSET 0x400
#define CONFIG_MX6_CLK32 32768
#define CONFIG_SKIP_RELOCATE_UBOOT
@@ -92,7 +93,11 @@
#define CONFIG_CMD_SPI
#define CONFIG_CMD_I2C
#define CONFIG_CMD_IMXOTP
-/*#define CONFIG_CMD_WEIMNOR*/ /*To boot from WEIM NOR. This will disable SPI NOR BOOT */
+/*Uncomment if wish to view Parallel NOR as device.
+ *If you want to use it as Boot device you need
+ *to use mx6solo_sabreauto_boot_weimnor.h
+ */
+/*#define CONFIG_CMD_WEIMNOR*/
/* Enable below configure when supporting nand */
#define CONFIG_CMD_SF
@@ -222,9 +227,6 @@
#define CONFIG_SYS_MAX_FLASH_BANKS 1 /* number of banks */
#define CONFIG_SYS_MAX_FLASH_SECT 256 /* max sectors per device */
#define CONFIG_SYS_FLASH_PROTECTION
- #define CONFIG_FLASH_HEADER_OFFSET 0x1000
-#else
- #define CONFIG_FLASH_HEADER_OFFSET 0x400
#endif
/* Regulator Configs */