summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-03-25 18:06:06 +0000
committerwdenk <wdenk>2003-03-25 18:06:06 +0000
commit10f670178cce29d7f078ca622f0eeafd6903748a (patch)
tree437d2411a2c49fcb6ed8976a776493ec710ce597 /Makefile
parent4d75a504d00e65253229e1d1b798a7c37041f078 (diff)
downloadu-boot-imx-10f670178cce29d7f078ca622f0eeafd6903748a.zip
u-boot-imx-10f670178cce29d7f078ca622f0eeafd6903748a.tar.gz
u-boot-imx-10f670178cce29d7f078ca622f0eeafd6903748a.tar.bz2
*** empty log message ***
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6e6a44d..e545ec0 100644
--- a/Makefile
+++ b/Makefile
@@ -525,6 +525,20 @@ MPC8260ADS_config: unconfig
MPC8266ADS_config: unconfig
@./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads
+PM825_config \
+PM825_ROMBOOT_config: unconfig
+ @echo "#define CONFIG_PCI" >include/config.h
+ @./mkconfig -a PM826 ppc mpc8260 pm826
+ @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; \
+
PM826_config \
PM826_ROMBOOT_config: unconfig
@./mkconfig $(call xtract_82xx,$@) ppc mpc8260 pm826