]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
MPC85xx: TQM8548: add support for the TQM8548_AG module
authorWolfgang Grandegger <wg@grandegger.com>
Wed, 11 Feb 2009 17:38:22 +0000 (18:38 +0100)
committerAndy Fleming <afleming@freescale.com>
Tue, 17 Feb 2009 00:05:59 +0000 (18:05 -0600)
The TQM8548_AG is a variant of the TQM8548 module with 1 GiB memory,
CAN and without PCI/PCI-X and RTC. U-Boot can be built for this module
with "$ make TQM8548_AG_config".

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
MAKEALL
Makefile
include/configs/TQM85xx.h

diff --git a/MAKEALL b/MAKEALL
index f3d48ce9ebd4f50f95be15296496f4cc9a03fbf0..d58b15ce251434f9f40a0379573cb7901e7b02af 100755 (executable)
--- a/MAKEALL
+++ b/MAKEALL
@@ -387,6 +387,7 @@ LIST_85xx="         \
        TQM8540         \
        TQM8541         \
        TQM8548         \
+       TQM8548_AG      \
        TQM8548_BE      \
        TQM8555         \
        TQM8560         \
index 4e96ef67d0ca59d474d6427e028c9578ec3c059e..ee82c5d9c43079f16bbdd1a006bf9277646dd337 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2479,12 +2479,13 @@ stxssa_4M_config:       unconfig
 TQM8540_config         \
 TQM8541_config         \
 TQM8548_config         \
+TQM8548_AG_config      \
 TQM8548_BE_config      \
 TQM8555_config         \
 TQM8560_config:                unconfig
        @mkdir -p $(obj)include
        @BTYPE=$(@:_config=); \
-       CTYPE=$(subst TQM,,$(subst _BE,,$(@:_config=))); \
+       CTYPE=$(subst TQM,,$(subst _AG,,$(subst _BE,,$(@:_config=)))); \
        $(XECHO) "... "$${BTYPE}" (MPC"$${CTYPE}")"; \
        echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
        echo "#define CONFIG_$${BTYPE}">>$(obj)include/config.h; \
index 6a48d8f7d91947993a52ed61eaa8babe51156221..3b2272c231eaac5f9f4450faa879fb1a58482f31 100644 (file)
 #define CONFIG_E500            1       /* BOOKE e500 family            */
 #define CONFIG_MPC85xx         1       /* MPC8540/60/55/41             */
 
-#if defined(CONFIG_TQM8548_BE)
+#if defined(CONFIG_TQM8548_AG) || defined(CONFIG_TQM8548_BE)
 #define CONFIG_TQM8548
 #endif
 
 #define CONFIG_PCI
+#ifndef CONFIG_TQM8548_AG
 #define CONFIG_PCI1                    /* PCI/PCI-X controller         */
+#endif
 #ifdef CONFIG_TQM8548
 #define CONFIG_PCIE1                   /* PCI Express interface        */
 #endif
@@ -88,7 +90,7 @@
 
 #define CONFIG_FSL_LAW         1       /* Use common FSL init code     */
 
-#ifdef CONFIG_TQM8548_BE
+#if defined(CONFIG_TQM8548_AG) || defined(CONFIG_TQM8548_BE)
 #define        CONFIG_CAN_DRIVER               /* CAN Driver support           */
 #endif
 
  */
 #define CONFIG_SYS_DDR_SDRAM_BASE      0x00000000      /* DDR is system memory */
 #define CONFIG_SYS_SDRAM_BASE          CONFIG_SYS_DDR_SDRAM_BASE
+#ifdef CONFIG_TQM8548_AG
+#define CONFIG_VERY_BIG_RAM
+#endif
 
 #define CONFIG_NUM_DDR_CONTROLLERS     1
 #define CONFIG_DIMM_SLOTS_PER_CTLR     1
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_NFS
 #define CONFIG_CMD_SNTP
+#ifndef CONFIG_TQM8548_AG
 #define CONFIG_CMD_DATE
+#endif
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_DTT
 #define CONFIG_CMD_MII