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/gw_ventana.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/gw_ventana.h')
-rw-r--r-- | include/configs/gw_ventana.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index 64c88d4eef..14b6ad9c02 100644 --- a/include/configs/gw_ventana.h +++ b/include/configs/gw_ventana.h @@ -7,8 +7,6 @@ #ifndef __CONFIG_H #define __CONFIG_H -#include <linux/sizes.h> - /* SPL */ #define CONFIG_SPL_BOARD_INIT #define CONFIG_SPL_NAND_SUPPORT @@ -41,9 +39,6 @@ #define CONFIG_MACH_TYPE 4520 /* Gateworks Ventana Platform */ -#include <asm/arch/imx-regs.h> -#include <asm/imx-common/gpio.h> - /* ATAGs */ #define CONFIG_CMDLINE_TAG #define CONFIG_SETUP_MEMORY_TAGS @@ -184,8 +179,6 @@ #define CONFIG_POWER_LTC3676_I2C_ADDR 0x3c /* Various command support */ -#include <config_cmd_default.h> -#undef CONFIG_CMD_IMLS #define CONFIG_CMD_PING #define CONFIG_CMD_DHCP #define CONFIG_CMD_MII @@ -301,9 +294,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 /* no NOR flash */ - /* * MTD Command for mtdparts */ |