summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2015-06-01 13:43:26 +0800
committerYe.Li <B37916@freescale.com>2015-06-01 17:31:08 +0800
commit7c368ed315067b68c45a8fa6ef73e91161a90b98 (patch)
tree9d30642c9c7c2776ac551b965e820452786b9580 /include/configs
parent68824c13c3606e9400c1a302ba38c009e915a64d (diff)
downloadu-boot-imx-7c368ed315067b68c45a8fa6ef73e91161a90b98.zip
u-boot-imx-7c368ed315067b68c45a8fa6ef73e91161a90b98.tar.gz
u-boot-imx-7c368ed315067b68c45a8fa6ef73e91161a90b98.tar.bz2
MLK-11010 imx: mx7d: Fix EIMNOR lock issue on mx7d 19x19 lpddr3 board
Since the flash blocks are locked at default , need to set "CONFIG_SYS_FLASH_PROTECTION" to unlock them before write/erase. The patch also add the pinmux for LBA (ADV) pin and set eimnor enabled at default. Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx7d_19x19_lpddr3_arm2.h2
-rw-r--r--include/configs/mx7d_arm2.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/mx7d_19x19_lpddr3_arm2.h b/include/configs/mx7d_19x19_lpddr3_arm2.h
index 67244a8..1c68ee1 100644
--- a/include/configs/mx7d_19x19_lpddr3_arm2.h
+++ b/include/configs/mx7d_19x19_lpddr3_arm2.h
@@ -50,6 +50,8 @@
#define CONFIG_SYS_USE_NAND
#define CONFIG_ENV_IS_IN_NAND
#else
+#define CONFIG_SYS_USE_EIMNOR
+#undef CONFIG_FEC_MXC
#define CONFIG_ENV_IS_IN_MMC
#endif
diff --git a/include/configs/mx7d_arm2.h b/include/configs/mx7d_arm2.h
index c19c751..39b5eb0 100644
--- a/include/configs/mx7d_arm2.h
+++ b/include/configs/mx7d_arm2.h
@@ -286,6 +286,7 @@
#define CONFIG_FLASH_CFI_DRIVER /* Use drivers/cfi_flash.c */
#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* Use buffered writes*/
#define CONFIG_SYS_FLASH_EMPTY_INFO
+#define CONFIG_SYS_FLASH_PROTECTION
#endif
#ifdef CONFIG_SYS_USE_NAND