summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-07-23 22:40:51 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-07-23 22:40:51 +0200
commit4819fad905138095bf8502f80fc65124f2d4e2ac (patch)
tree75c245169d9f47c94fab69512d3293f6376aa21e /Makefile
parentfd27996dacd308849e30f67da49ba068a7f68aaa (diff)
downloadbootable_bootloader_goldelico_gta04-4819fad905138095bf8502f80fc65124f2d4e2ac.zip
bootable_bootloader_goldelico_gta04-4819fad905138095bf8502f80fc65124f2d4e2ac.tar.gz
bootable_bootloader_goldelico_gta04-4819fad905138095bf8502f80fc65124f2d4e2ac.tar.bz2
MCC200: set default configuration to low_boot DDR,
and support for configurable options high_boot and/or SDRAM.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 17 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 5879079..128ae59 100644
--- a/Makefile
+++ b/Makefile
@@ -323,13 +323,25 @@ lite5200b_LOWBOOT_config: unconfig
@./mkconfig -a IceCube ppc mpc5xxx icecube
mcc200_config \
-mcc200_lowboot_config: unconfig
+mcc200_SDRAM \
+mcc200_highboot \
+mcc200_highboot_SDRAM: unconfig
@ >include/config.h
- @[ -z "$(findstring lowboot_,$@)" ] || \
- { echo "TEXT_BASE = 0xFC000000" >board/mcc200/config.tmp ; \
- echo "... with lowboot configuration" ; \
+ @[ -n "$(findstring highboot,$@)" ] || \
+ { echo "... with lowboot configuration" ; \
+ }
+ @[ -z "$(findstring highboot,$@)" ] || \
+ { echo "TEXT_BASE = 0xFFF00000" >board/mcc200/config.tmp ; \
+ echo "... with highboot configuration" ; \
+ }
+ @[ -n "$(findstring _SDRAM,$@)" ] || \
+ { echo "... with DDR" ; \
+ }
+ @[ -z "$(findstring _SDRAM,$@)" ] || \
+ { echo "#define CONFIG_MCC200_SDRAM" >>include/config.h ; \
+ echo "... with SDRAM" ; \
}
- @./mkconfig mcc200 ppc mpc5xxx mcc200
+ @./mkconfig -a mcc200 ppc mpc5xxx mcc200
o2dnt_config:
@./mkconfig o2dnt ppc mpc5xxx o2dnt