diff options
author | Peter Robinson <pbrobinson@gmail.com> | 2015-05-22 17:30:45 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-05-26 15:58:48 +0200 |
commit | 056845c23522222613660c6af567049479367906 (patch) | |
tree | 06aea50f376843292fa7bdb921edf27766fdc53a /include/configs/tqma6.h | |
parent | 60667a53bc6dcdc5e8413c10689eadf7c8eb86bb (diff) |
imx6: move all standard includes to mx6_common.h
The linux/sizes.h, asm/arch/imx-regs.h, asm/imx-common/gpio.h,
config_cmd_default.h includes are used fairly universally across imx6 boards
so include them in mx6_common.h by default.
We define CONFIG_SYS_NO_FLASH before config_cmd_default.h so that we
don't have to undef CONFIG_CMD_FLASH / CONFIG_CMD_IMLS everywhere.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Diffstat (limited to 'include/configs/tqma6.h')
-rw-r--r-- | include/configs/tqma6.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h index 66962aa86f8..7ba6b5fc646 100644 --- a/include/configs/tqma6.h +++ b/include/configs/tqma6.h @@ -25,9 +25,6 @@ /* #endif */ #include "mx6_common.h" -#include <asm/arch/imx-regs.h> -#include <asm/imx-common/gpio.h> -#include <linux/sizes.h> #if defined(CONFIG_MX6DL) || defined(CONFIG_MX6S) #define PHYS_SDRAM_SIZE (512u * SZ_1M) @@ -148,13 +145,10 @@ #define CONFIG_BAUDRATE 115200 /* Command definition */ -#include <config_cmd_default.h> - #define CONFIG_CMD_BMODE #define CONFIG_CMD_BOOTZ #define CONFIG_CMD_ITEST #define CONFIG_CMD_SETEXPR -#undef CONFIG_CMD_IMLS #define CONFIG_BOOTDELAY 3 @@ -443,9 +437,6 @@ #define CONFIG_SYS_INIT_SP_ADDR \ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) -/* FLASH and environment organization */ -#define CONFIG_SYS_NO_FLASH - #define CONFIG_OF_LIBFDT #define CONFIG_OF_BOARD_SETUP #define CONFIG_FIT |