summaryrefslogtreecommitdiff
path: root/include/configs/TQM85xx.h
diff options
context:
space:
mode:
authorWolfgang Grandegger <wg@grandegger.com>2009-02-11 18:38:21 +0100
committerAndy Fleming <afleming@freescale.com>2009-02-16 18:05:59 -0600
commitad7ee5d43b0db94079d56521dabca25674f28747 (patch)
tree8fbb631b84deaec242659e629e02352418c8ea00 /include/configs/TQM85xx.h
parenta318234878c346e673b2ef8dc4b14b338fe7fc2b (diff)
downloadu-boot-ad7ee5d43b0db94079d56521dabca25674f28747.tar.gz
u-boot-ad7ee5d43b0db94079d56521dabca25674f28747.tar.bz2
u-boot-ad7ee5d43b0db94079d56521dabca25674f28747.zip
MPC85xx: TQM8548: add support for the TQM8548_BE module
The TQM8548_BE is a variant of the TQM8548 module with NAND and CAN interface. With NAND support, the image is significantly larger and TEXT_BASE is adjusted accordingly. U-Boot can be built for this module with "$ make TQM8548_BE_config". Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Diffstat (limited to 'include/configs/TQM85xx.h')
-rw-r--r--include/configs/TQM85xx.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/configs/TQM85xx.h b/include/configs/TQM85xx.h
index cca8255a30..6a48d8f7d9 100644
--- a/include/configs/TQM85xx.h
+++ b/include/configs/TQM85xx.h
@@ -41,6 +41,10 @@
#define CONFIG_E500 1 /* BOOKE e500 family */
#define CONFIG_MPC85xx 1 /* MPC8540/60/55/41 */
+#if defined(CONFIG_TQM8548_BE)
+#define CONFIG_TQM8548
+#endif
+
#define CONFIG_PCI
#define CONFIG_PCI1 /* PCI/PCI-X controller */
#ifdef CONFIG_TQM8548
@@ -71,7 +75,9 @@
* Warning: NAND support will likely increase the U-Boot image size
* to more than 256 KB. Please adjust TEXT_BASE if necessary.
*/
-#undef CONFIG_NAND
+#ifdef CONFIG_TQM8548_BE
+#define CONFIG_NAND
+#endif
/*
* MPC8540 and MPC8548 don't have CPM module
@@ -82,7 +88,9 @@
#define CONFIG_FSL_LAW 1 /* Use common FSL init code */
-#undef CONFIG_CAN_DRIVER /* CAN Driver support */
+#ifdef CONFIG_TQM8548_BE
+#define CONFIG_CAN_DRIVER /* CAN Driver support */
+#endif
/*
* sysclk for MPC85xx