summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2015-06-01 13:43:26 +0800
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 14:42:37 +0100
commit3c73b96ce231cdd6744eb825994ed707dacb6e85 (patch)
treefcc212cae7ffeb52d24a31b1a161b2f18abd135f /include
parente6b3a9add57c18d27ffae545b88f47b094b47b6d (diff)
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')
-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 67244a88351..1c68ee17a75 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 c19c751d77f..39b5eb054b6 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