]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/configs/tqma6.h
arm: pxa: colibri_pxa270: add optional lcd support
[karo-tx-uboot.git] / include / configs / tqma6.h
index 355868af173af7de097c04187c0ef80ad3b69a68..2098071f0ffaa2f5962828df0023103c64ed3994 100644 (file)
@@ -9,6 +9,7 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#include <linux/kconfig.h>
 /* SPL */
 /* #if defined(CONFIG_SPL_BUILD) */
 
 
 /* #endif */
 
+/* place code in last 4 MiB of RAM */
+#if defined(CONFIG_MX6DL) || defined(CONFIG_MX6S)
+#define CONFIG_SYS_TEXT_BASE           0x2fc00000
+#elif defined(CONFIG_MX6Q) || defined(CONFIG_MX6D)
+#define CONFIG_SYS_TEXT_BASE           0x4fc00000
+#endif
+
 #include "mx6_common.h"
 
 #define PHYS_SDRAM_SIZE                        (512u * SZ_1M)
@@ -38,7 +46,6 @@
 #define CONFIG_MXC_SPI
 
 /* SPI Flash */
-#define CONFIG_SPI_FLASH
 #define CONFIG_SPI_FLASH_STMICRO
 
 #define TQMA6_SPI_FLASH_SECTOR_SIZE    SZ_64K
 #define CONFIG_USB_MAX_CONTROLLER_COUNT        2
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET       /* For OTG port */
 
-/* Fuses */
-#define CONFIG_MXC_OCOTP
-#define CONFIG_CMD_FUSE
-
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_MII
 
 /* Command definition */
 #define CONFIG_CMD_BMODE
-#define CONFIG_CMD_ITEST
-
-/* place code in last 4 MiB of RAM */
-#define CONFIG_SYS_TEXT_BASE           0x2fc00000
-#define CONFIG_SYS_TEXT_BASE           0x4fc00000
-#endif
 
 #define CONFIG_ENV_SIZE                        (SZ_8K)
 /* Size of malloc() pool */
  */
 #ifdef CONFIG_MBA6
 #include "tqma6_mba6.h"
+#elif CONFIG_WRU4
+#include "tqma6_wru4.h"
 #else
 #error "No baseboard for the TQMa6 defined!"
 #endif