summaryrefslogtreecommitdiffstats
path: root/include/configs/mx6cuboxi.h
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2015-05-22 17:30:45 +0100
committerStefano Babic <sbabic@denx.de>2015-05-26 15:58:48 +0200
commit056845c23522222613660c6af567049479367906 (patch)
tree06aea50f376843292fa7bdb921edf27766fdc53a /include/configs/mx6cuboxi.h
parent60667a53bc6dcdc5e8413c10689eadf7c8eb86bb (diff)
downloadtalos-obmc-uboot-056845c23522222613660c6af567049479367906.tar.gz
talos-obmc-uboot-056845c23522222613660c6af567049479367906.zip
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/mx6cuboxi.h')
-rw-r--r--include/configs/mx6cuboxi.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h
index b6f9d4e580..9f260bba87 100644
--- a/include/configs/mx6cuboxi.h
+++ b/include/configs/mx6cuboxi.h
@@ -8,9 +8,6 @@
#ifndef __MX6CUBOXI_CONFIG_H
#define __MX6CUBOXI_CONFIG_H
-#include <linux/sizes.h>
-#include <asm/arch/imx-regs.h>
-#include <asm/imx-common/gpio.h>
#include "mx6_common.h"
#define CONFIG_MX6
@@ -107,11 +104,7 @@
"setenv stderr serial; " \
"fi;"
-#define CONFIG_SYS_NO_FLASH
-
/* Command definition */
-#include <config_cmd_default.h>
-
#define CONFIG_CMD_BOOTZ
#define CONFIG_CMD_SETEXPR
OpenPOWER on IntegriCloud