summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Brandt <Michael.Brandt@stericsson.com>2009-12-18 15:29:57 +0100
committerMichael Brandt <Michael.Brandt@stericsson.com>2009-12-18 15:29:57 +0100
commit16bfd518590e30beddf810c004d14e09a880be74 (patch)
treeaa22df042d3773d809c80df4cef3c3f08a2d41f4 /Makefile
parentb926de66e515762d2ccbc6b79185305b88e46218 (diff)
added clkinfo, clkmaja and build for SRAM config
clkinfo command shows current PLL and clock settings. clkmaja changes certain clocks to be more U5500 (Maja) alike. With make u8500_SRAM_config a U-Boot suitable to run from SRAM can be compiled. Signed-off-by: Michael Brandt <Michael.Brandt@stericsson.com>
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 35f64122d..b105d745e 100755
--- a/Makefile
+++ b/Makefile
@@ -3172,9 +3172,11 @@ smdkc100_config: unconfig
@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 smdkc100 samsung s5pc1xx
u8500_def_config \
+u8500_SRAM_config \
u8500_noconsole_config \
u8500_auto_config: unconfig
@mkdir -p $(obj)include
+ @mkdir -p $(obj)board/st/u8500
@ > $(obj)include/config.h
@if [ "$(findstring _def, $@)" ] ; then \
echo "#ifndef CONFIG_SKIP_LOWLEVEL_INIT " >> $(obj)include/config.h ; \
@@ -3186,6 +3188,10 @@ u8500_auto_config: unconfig
echo "#define CONFIG_SKIP_LOWLEVEL_INIT 1" >> $(obj)include/config.h ; \
echo "#endif" >> $(obj)include/config.h ; \
echo "#define CONFIG_SILENT_CONSOLE 1" >> $(obj)include/config.h ; \
+ fi; \
+ if [ "$(findstring _SRAM, $@)" ] ; then \
+ echo "#define CONFIG_BOOT_SRAM" >> $(obj)include/config.h ; \
+ echo "TEXT_BASE = 0x40030000" >$(obj)board/st/u8500/config.tmp ; \
fi;
@$(MKCONFIG) -a u8500 arm arm_cortexa9 u8500 st stw8500