[U-Boot] [PATCH 1/3] davinci: omapl138_lcdk: use correct AIS config

Fabien Parent fparent at baylibre.com
Wed Nov 16 17:33:33 CET 2016


The AIS image built for the OMAPL138-LCDK board is not booting because
the AIS configuration is not correct.
This commit adds a AIS configuration file that allow the SPL to boot
correctly.

Signed-off-by: Fabien Parent <fparent at baylibre.com>
---
 board/davinci/da8xxevm/omapl138_lcdk_ais.cfg | 4 ++++
 include/configs/omapl138_lcdk.h              | 3 +++
 scripts/config_whitelist.txt                 | 1 +
 3 files changed, 8 insertions(+)
 create mode 100644 board/davinci/da8xxevm/omapl138_lcdk_ais.cfg

diff --git a/board/davinci/da8xxevm/omapl138_lcdk_ais.cfg b/board/davinci/da8xxevm/omapl138_lcdk_ais.cfg
new file mode 100644
index 0000000..afce286
--- /dev/null
+++ b/board/davinci/da8xxevm/omapl138_lcdk_ais.cfg
@@ -0,0 +1,4 @@
+PLL0    180001  40b
+DDR2    18010001 2 c5 134832 264a3209 3c14c722 492    0
+EMIFA_ASYNC 0 3ffffffd 0 0    2
+PSC 10d0003
diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h
index 854fc47..91ddbb1 100644
--- a/include/configs/omapl138_lcdk.h
+++ b/include/configs/omapl138_lcdk.h
@@ -272,6 +272,9 @@
 #define CONFIG_SPL_PAD_TO	32768
 #endif
 
+/* AIS Image */
+#define CONFIG_AIS_CONFIG_FILE	"board/davinci/da8xxevm/omapl138_lcdk_ais.cfg"
+
 /* additions for new relocation code, must added to all boards */
 #define CONFIG_SYS_SDRAM_BASE		0xc0000000
 #define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index d476367..c694f90 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -73,6 +73,7 @@ CONFIG_ADP_AG101P
 CONFIG_AEABI
 CONFIG_AEMIF_CNTRL_BASE
 CONFIG_AES
+CONFIG_AIS_CONFIG_FILE
 CONFIG_ALTERA_SDRAM
 CONFIG_ALTERA_SPI_IDLE_VAL
 CONFIG_ALTIVEC
-- 
2.10.2



More information about the U-Boot mailing list