aboutsummaryrefslogtreecommitdiff
path: root/include/configs/ot1200.h
diff options
context:
space:
mode:
authorPeter Robinson2015-05-22 17:30:45 +0100
committerStefano Babic2015-05-26 15:58:48 +0200
commit056845c23522222613660c6af567049479367906 (patch)
tree06aea50f376843292fa7bdb921edf27766fdc53a /include/configs/ot1200.h
parent60667a53bc6dcdc5e8413c10689eadf7c8eb86bb (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/ot1200.h')
-rw-r--r--include/configs/ot1200.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h
index 200f40af31b..15c49d97b49 100644
--- a/include/configs/ot1200.h
+++ b/include/configs/ot1200.h
@@ -13,9 +13,6 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DISPLAY_BOARDINFO
-#include <asm/arch/imx-regs.h>
-#include <asm/imx-common/gpio.h>
-
#define CONFIG_CMDLINE_TAG
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
@@ -152,9 +149,6 @@
#define CONFIG_BAUDRATE 115200
/* Command definition */
-#include <config_cmd_default.h>
-
-#undef CONFIG_CMD_IMLS
#define CONFIG_BOOTDELAY 2
@@ -190,9 +184,7 @@
#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
-
+/* Environment organization */
#define CONFIG_ENV_IS_IN_SPI_FLASH
#define CONFIG_ENV_SIZE (64 * 1024) /* 64 kb */
#define CONFIG_ENV_OFFSET (1024 * 1024)