Add support for BMS2003 board
[platform/kernel/u-boot.git] / Makefile
index df2dfad..4746837 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -203,11 +203,21 @@ cmi_mpc5xx_config:        unconfig
 #########################################################################
 ## MPC5xxx Systems
 #########################################################################
-MPC5200LITE            \
-icecube_5200_config    \
-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 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" ; \
@@ -231,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
 
@@ -463,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
@@ -999,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 \