summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-06-09 15:25:53 +0000
committerwdenk <wdenk>2004-06-09 15:25:53 +0000
commit3ff02c27d52c995c327a883e24d11126c6f2dfdf (patch)
treebe761b3c316771f8a600cb0927e5f41c0fbe6d0a /Makefile
parent70f05ac34ee02fe37d8bdcb45301104a4fa35e19 (diff)
downloadbarebox-3ff02c27d52c995c327a883e24d11126c6f2dfdf.tar.gz
barebox-3ff02c27d52c995c327a883e24d11126c6f2dfdf.tar.xz
* Patch by Imre Deak, 26 May 2004:
On OMAP1610 platforms check if booting from RAM(CS0) or flash(CS3). Set flash base accordingly, and decide whether to do or skip board specific setup steps. * Patch by Josef Baumgartner, 26 May 2004: Add missing define in include/asm-m68k/global_data.h
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ee667879f1..4b9596de5a 100644
--- a/Makefile
+++ b/Makefile
@@ -1020,7 +1020,7 @@ shannon_config : unconfig
xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
-xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
+xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
@@ -1045,12 +1045,17 @@ omap5912osk_config : unconfig
omap1610inn_config \
omap1610inn_cs0boot_config \
omap1610inn_cs3boot_config \
+omap1610inn_cs_autoboot_config \
omap1610h2_config \
omap1610h2_cs0boot_config \
-omap1610h2_cs3boot_config : unconfig
+omap1610h2_cs3boot_config \
+omap1610h2_cs_autoboot_config: unconfig
@if [ "$(findstring _cs0boot_, $@)" ] ; then \
echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \
echo "... configured for CS0 boot"; \
+ elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
+ echo "#define CONFIG_CS_AUTOBOOT" >> ./include/config.h ; \
+ echo "... configured for CS_AUTO boot"; \
else \
echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \
echo "... configured for CS3 boot"; \