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
#########################################################################
## 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" ; \
}
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
}
@[ -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
@./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
#########################################################################
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 \