aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-07-11 19:17:20 +0000
committerwdenk <wdenk>2004-07-11 19:17:20 +0000
commit6c7a14084ae5f7dde3819e4ab43fd78ea82805fe (patch)
tree74714dc85f5b74ed34b2f742fa3de6d52e5446b4 /Makefile
parentbc54f309a1f274226ed0f938e2a09fc2fd9f9701 (diff)
Patch by Mark Jonas, 01 Jul 2004:
Added support for Total5100 and Total5200 (Rev.1 and Rev.2) MGT5100 and MPC5200 based Freescale platforms.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 557712e4e..1601d7de8 100644
--- a/Makefile
+++ b/Makefile
@@ -255,6 +255,34 @@ TOP5200_config: unconfig
@ echo "#define CONFIG_$(@:_config=) 1" >include/config.h
@./mkconfig -a TOP5200 ppc mpc5xxx top5200 emk
+Total5100_config \
+Total5200_config \
+Total5200_lowboot_config \
+Total5200_Rev2_config \
+Total5200_Rev2_lowboot_config: unconfig
+ @ >include/config.h
+ @[ -z "$(findstring 5100,$@)" ] || \
+ { echo "#define CONFIG_MGT5100" >>include/config.h ; \
+ echo "... with MGT5100 processor" ; \
+ }
+ @[ -z "$(findstring 5200,$@)" ] || \
+ { echo "#define CONFIG_MPC5200" >>include/config.h ; \
+ echo "... with MPC5200 processor" ; \
+ }
+ @[ -n "$(findstring Rev,$@)" ] || \
+ { echo "#define CONFIG_TOTAL5200_REV 1" >>include/config.h ; \
+ echo "... revision 1 board" ; \
+ }
+ @[ -z "$(findstring Rev2_,$@)" ] || \
+ { echo "#define CONFIG_TOTAL5200_REV 2" >>include/config.h ; \
+ echo "... revision 2 board" ; \
+ }
+ @[ -z "$(findstring lowboot_,$@)" ] || \
+ { echo "TEXT_BASE = 0xFE000000" >board/total5200/config.tmp ; \
+ echo "... with lowboot configuration" ; \
+ }
+ @./mkconfig -a Total5200 ppc mpc5xxx total5200
+
PM520_config \
PM520_DDR_config \
PM520_ROMBOOT_config \