summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-05-31 17:20:09 +0200
committerWolfgang Denk <wd@denx.de>2007-05-31 17:20:09 +0200
commitee1529838abbfaa35f14e3ffbeaaba693159475f (patch)
tree9998c59322cc11f9c9efe65e716794e0b31bd723 /Makefile
parent9877d7dcd1eebe61aa5d8b8ffe9c048ea426e6f6 (diff)
downloadblackbird-obmc-uboot-ee1529838abbfaa35f14e3ffbeaaba693159475f.tar.gz
blackbird-obmc-uboot-ee1529838abbfaa35f14e3ffbeaaba693159475f.zip
Add support for STX GP3SSA (stxssa) Board with 4 MiB flash.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2fe9a4682f..356fb91687 100644
--- a/Makefile
+++ b/Makefile
@@ -1771,8 +1771,16 @@ sbc8560_66_config: unconfig
stxgp3_config: unconfig
@$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
-stxssa_config: unconfig
- @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxssa
+stxssa_config \
+stxssa_4M_config: unconfig
+ @mkdir -p $(obj)include
+ @if [ "$(findstring _4M_,$@)" ] ; then \
+ echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \
+ echo "... with 4 MiB flash memory" ; \
+ else \
+ >$(obj)include/config.h ; \
+ fi
+ @$(MKCONFIG) -a stxssa ppc mpc85xx stxssa
TQM8540_config \
TQM8541_config \
OpenPOWER on IntegriCloud