Add support for TQM8541/8555 boards, TQM85xx support reworked:
- Support for TQM8541/8555 boards added.
- Complete rework of TQM8540/8560 support.
- Common TQM85xx code now supports all current TQM85xx platforms
(TQM8540/8541/8555/8560).
- DDR SDRAM size detection added.
- CAS latency default values can be overwritten by setting "serial#"
to e.g. "ABC0001 casl=25" -> CAS latency 2.5 will be used.
If problems are detected with this non default CAS latency,
the defualt values will be used instead.
- FLASH size detection added.
- Moved FCC ethernet driver initialization behind TSEC driver init
-> TSEC is first device.
Patch by Stefan Roese, 30 Nov 2005
diff --git a/Makefile b/Makefile
index 5d65927..dde111c 100644
--- a/Makefile
+++ b/Makefile
@@ -1325,11 +1325,24 @@
stxgp3_config: unconfig
@./mkconfig $(@:_config=) ppc mpc85xx stxgp3
-TQM8540_config: unconfig
- @./mkconfig $(@:_config=) ppc mpc85xx tqm8540
-
-TQM8560_config: unconfig
- @./mkconfig $(@:_config=) ppc mpc85xx tqm8560
+TQM8540_config \
+TQM8541_config \
+TQM8555_config \
+TQM8560_config: unconfig
+ @case "$@" in \
+ TQM8540_config) CTYPE=8540;; \
+ TQM8541_config) CTYPE=8541;; \
+ TQM8555_config) CTYPE=8555;; \
+ TQM8560_config) CTYPE=8560;; \
+ esac; \
+ >include/config.h ; \
+ echo "... TQM"$${CTYPE}; \
+ echo "#define CONFIG_MPC$${CTYPE}">>include/config.h; \
+ echo "#define CONFIG_TQM$${CTYPE}">>include/config.h; \
+ echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>include/config.h; \
+ echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>include/config.h; \
+ echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>include/config.h
+ @./mkconfig -a TQM85xx ppc mpc85xx tqm85xx
#########################################################################
## 74xx/7xx Systems