summaryrefslogtreecommitdiff
path: root/include/configs/cm_fx6.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/cm_fx6.h
parent60667a53bc6dcdc5e8413c10689eadf7c8eb86bb (diff)
downloadu-boot-056845c23522222613660c6af567049479367906.tar.gz
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/cm_fx6.h')
-rw-r--r--include/configs/cm_fx6.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h
index d6e5a2b243..529e5ab956 100644
--- a/include/configs/cm_fx6.h
+++ b/include/configs/cm_fx6.h
@@ -11,8 +11,6 @@
#ifndef __CONFIG_CM_FX6_H
#define __CONFIG_CM_FX6_H
-#include <asm/arch/imx-regs.h>
-#include <config_distro_defaults.h>
#include "mx6_common.h"
/* Machine config */
@@ -30,14 +28,11 @@
#define CONFIG_TIMESTAMP
/* CMD */
-#include <config_cmd_default.h>
#define CONFIG_CMD_GREPENV
-#undef CONFIG_CMD_FLASH
#undef CONFIG_CMD_LOADB
#undef CONFIG_CMD_LOADS
#undef CONFIG_CMD_XIMG
#undef CONFIG_CMD_FPGA
-#undef CONFIG_CMD_IMLS
/* MMC */
#define CONFIG_MMC
@@ -77,7 +72,6 @@
sizeof(CONFIG_SYS_PROMPT) + 16)
/* SPI flash */
-#define CONFIG_SYS_NO_FLASH
#define CONFIG_CMD_SF
#define CONFIG_SF_DEFAULT_BUS 0
#define CONFIG_SF_DEFAULT_CS 0