summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-03-12 10:41:04 +0000
committerwdenk <wdenk>2003-03-12 10:41:04 +0000
commit3bac351370ef7cbf9d2af27ba52bee1703ad677e (patch)
tree689fbd22fcde4e63a0f4909acb3ea65475099e9c /Makefile
parent1cb8e980c41e86760fa93de63f4e4cf643bef9d9 (diff)
downloadu-boot-imx-3bac351370ef7cbf9d2af27ba52bee1703ad677e.zip
u-boot-imx-3bac351370ef7cbf9d2af27ba52bee1703ad677e.tar.gz
u-boot-imx-3bac351370ef7cbf9d2af27ba52bee1703ad677e.tar.bz2
* Patch by Josef Wagner, 12 Mar 2003:
- 16/32 MB and 50/80 MHz support with auto-detection for IP860 - ETH05 and BEDBUG support for CU824 - added support for MicroSys CPC45 - new BOOTROM/FLASH0 and DOC base for PM826 * Patch by Robert Schwebel, 12 Mar 2003: Fix the chpart command on innokom board * Name cleanup: mv include/asm-i386/ppcboot-i386.h include/asm-i386/u-boot-i386.h s/PPCBoot/U-Boot/ in some files s/pImage/uImage/ in some files * Patch by Detlev Zundel, 15 Jan 2003: Fix '' command line quoting * Patch by The LEOX team, 19 Jan 2003: - add support for the ELPT860 board - add support for Dallas ds164x RTC
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile34
1 files changed, 18 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index e77a747..6e6a44d 100644
--- a/Makefile
+++ b/Makefile
@@ -53,21 +53,6 @@ ifndef CROSS_COMPILE
ifeq ($(HOSTARCH),ppc)
CROSS_COMPILE =
else
-## #ifeq ($(CPU),mpc8xx)
-## CROSS_COMPILE = ppc_8xx-
-## #endif
-## #ifeq ($(CPU),ppc4xx)
-## #CROSS_COMPILE = ppc_4xx-
-## #endif
-## #ifeq ($(CPU),mpc824x)
-## #CROSS_COMPILE = ppc_82xx-
-## #endif
-## #ifeq ($(CPU),mpc8260)
-## #CROSS_COMPILE = ppc_82xx-
-## #endif
-## #ifeq ($(CPU),74xx_7xx)
-## #CROSS_COMPILE = ppc_74xx-)
-## #endif
ifeq ($(ARCH),ppc)
CROSS_COMPILE = ppc_8xx-
endif
@@ -202,6 +187,9 @@ CCM_config: unconfig
cogent_mpc8xx_config: unconfig
@./mkconfig $(@:_config=) ppc mpc8xx cogent
+ELPT860_config: unconfig
+ @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX
+
ESTEEM192E_config: unconfig
@./mkconfig $(@:_config=) ppc mpc8xx esteem192e
@@ -457,9 +445,24 @@ WALNUT405_config:unconfig
#########################################################################
## MPC824x Systems
#########################################################################
+xtract_82xx = $(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))
+
BMW_config: unconfig
@./mkconfig $(@:_config=) ppc mpc824x bmw
+CPC45_config \
+CPC45_ROMBOOT_config: unconfig
+ @./mkconfig $(call xtract_82xx,$@) ppc mpc824x cpc45
+ @cd ./include ; \
+ if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
+ echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
+ echo "... booting from 8-bit flash" ; \
+ else \
+ echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
+ echo "... booting from 64-bit flash" ; \
+ fi; \
+ echo "export CONFIG_BOOT_ROM" >> config.mk;
+
CU824_config: unconfig
@./mkconfig $(@:_config=) ppc mpc824x cu824
@@ -487,7 +490,6 @@ utx8245_config: unconfig
#########################################################################
## MPC8260 Systems
#########################################################################
-xtract_82xx = $(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))
cogent_mpc8260_config: unconfig
@./mkconfig $(@:_config=) ppc mpc8260 cogent