summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLunsheng Wang <lunsheng@sohu.com>2005-07-29 10:20:29 -0500
committerJon Loeliger <jdl@freescale.com>2005-07-29 10:20:29 -0500
commitb0e32949239c7870d409ca687a2dfc1261a3d838 (patch)
treeca388e33fad2066128d6d34ceb54eeeb07a71710 /Makefile
parenta720fd99b614ba36293565771bcd19799bc53959 (diff)
downloadu-boot-imx-b0e32949239c7870d409ca687a2dfc1261a3d838.zip
u-boot-imx-b0e32949239c7870d409ca687a2dfc1261a3d838.tar.gz
u-boot-imx-b0e32949239c7870d409ca687a2dfc1261a3d838.tar.bz2
* Patch by Ron Alder, 11 July 2005
Add Xianghua Xiao and Lunsheng Wang's support for the GDA MPC8540 EVAL board.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 56478a2..90a6228 100644
--- a/Makefile
+++ b/Makefile
@@ -1197,6 +1197,26 @@ MPC8349ADS_config: unconfig
MPC8540ADS_config: unconfig
@./mkconfig $(@:_config=) ppc mpc85xx mpc8540ads
+MPC8540EVAL_config \
+MPC8540EVAL_33_config \
+MPC8540EVAL_66_config \
+MPC8540EVAL_33_slave_config \
+MPC8540EVAL_66_slave_config: unconfig
+ @echo "" >include/config.h ; \
+ if [ "$(findstring _33_,$@)" ] ; then \
+ echo -n "... 33 MHz PCI" ; \
+ else \
+ echo "#define CONFIG_SYSCLK_66M" >>include/config.h ; \
+ echo -n "... 66 MHz PCI" ; \
+ fi ; \
+ if [ "$(findstring _slave_,$@)" ] ; then \
+ echo "#define CONFIG_PCI_SLAVE" >>include/config.h ; \
+ echo " slave" ; \
+ else \
+ echo " host" ; \
+ fi
+ @./mkconfig -a MPC8540EVAL ppc mpc85xx mpc8540eval
+
MPC8560ADS_config: unconfig
@./mkconfig $(@:_config=) ppc mpc85xx mpc8560ads