Add support for BMS2003 board
[platform/kernel/u-boot.git] / Makefile
index b75d22d..4746837 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -106,6 +106,9 @@ endif
 ifeq ($(CPU),ppc4xx)
 OBJS +=        cpu/$(CPU)/resetvec.o
 endif
+ifeq ($(CPU),mpc85xx)
+OBJS += cpu/$(CPU)/resetvec.o
+endif
 
 LIBS  =        board/$(BOARDDIR)/lib$(BOARD).a
 LIBS += cpu/$(CPU)/lib$(CPU).a
@@ -200,14 +203,26 @@ cmi_mpc5xx_config:        unconfig
 #########################################################################
 ## MPC5xxx Systems
 #########################################################################
-IceCube_5200_config    \
+MPC5200LITE_config             \
+MPC5200LITE_LOWBOOT_config     \
+MPC5200LITE_LOWBOOT08_config   \
+icecube_5200_config            \
+IceCube_5200_config            \
 IceCube_5100_config:           unconfig
        @ >include/config.h
-       @[ -z "$(findstring _5200,$@)" ] || \
+       @[ -z "$(findstring LOWBOOT,$@)" ] || \
+               { echo "TEXT_BASE = 0xFF000000" >board/icecube/config.tmp ; \
+                 echo "... with LOWBOOT configuration" ; \
+               }
+       @[ -z "$(findstring LOWBOOT08,$@)" ] || \
+               { echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \
+                 echo "... with 8 MB flash only" ; \
+               }
+       @[ -z "$(findstring 5200,$@)" ] || \
                { echo "#define CONFIG_MPC5200"         >>include/config.h ; \
                  echo "... with MPC5200 processor" ; \
                }
-       @[ -z "$(findstring _5100,$@)" ] || \
+       @[ -z "$(findstring 5100,$@)" ] || \
                { echo "#define CONFIG_MGT5100"         >>include/config.h ; \
                  echo "... with MGT5100 processor" ; \
                }
@@ -226,6 +241,12 @@ ADS860_config:     unconfig
 AMX860_config  :       unconfig
        @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel
 
+bms2003_config :       unconfig
+       @echo "#define CONFIG_BMS2003" >include/config.h
+       @echo "#define CONFIG_LCD" >>include/config.h
+       @echo "#define CONFIG_NEC_NL6448BC33_54" >>include/config.h
+       @./mkconfig -a TQM823L ppc mpc8xx tqm8xx
+
 c2mon_config:          unconfig
        @./mkconfig $(@:_config=) ppc mpc8xx c2mon
 
@@ -458,7 +479,7 @@ TQM862M_100MHz_config:      unconfig
                }
        @[ -z "$(findstring _LCD,$@)" ] || \
                { echo "#define CONFIG_LCD"             >>include/config.h ; \
-                 echo "#define CONFIG_NEC_NL6648BC20"  >>include/config.h ; \
+                 echo "#define CONFIG_NEC_NL6448BC20"  >>include/config.h ; \
                  echo "... with LCD display" ; \
                }
        @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
@@ -775,6 +796,16 @@ ZPC1900_config: unconfig
        @./mkconfig $(@:_config=) ppc mpc8260 zpc1900
 
 #########################################################################
+## MPC85xx Systems
+#########################################################################
+
+MPC8540ADS_config:      unconfig
+       @./mkconfig $(@:_config=) ppc mpc85xx mpc8540ads
+
+MPC8560ADS_config:      unconfig
+       @./mkconfig $(@:_config=) ppc mpc85xx mpc8560ads
+
+#########################################################################
 ## 74xx/7xx Systems
 #########################################################################
 
@@ -984,7 +1015,7 @@ clean:
        rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend
        rm -f tools/env/fw_printenv tools/env/fw_setenv
        rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image
-       rm -f board/trab/trab_fkt board/trab/config.tmp
+       rm -f board/trab/trab_fkt board/*/config.tmp
 
 clobber:       clean
        find . -type f \