summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Tobias <john.tobias.ph@gmail.com>2014-11-12 22:27:44 (GMT)
committerStefano Babic <sbabic@denx.de>2014-11-13 15:24:59 (GMT)
commit1558200a3f5dc105054aed8f0524425c76561f25 (patch)
tree04ecf98a171b5ff0462741bf47ea4e4f2dc0a45d /include
parente451e9ba8d46daacf35ed9619ae902c2f0a3bc05 (diff)
downloadu-boot-1558200a3f5dc105054aed8f0524425c76561f25.tar.xz
imx6: add spl in the header file
add the spl info in the header file. Also, added a macro statement in m6sabre_common.h to avoid compiler warning. Signed-off-by: John Tobias <john.tobias.ph@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6sabresd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h
index 938030d..a346542 100644
--- a/include/configs/mx6sabresd.h
+++ b/include/configs/mx6sabresd.h
@@ -12,6 +12,12 @@
#include <asm/arch/imx-regs.h>
#include <asm/imx-common/gpio.h>
+#ifdef CONFIG_SPL
+#define CONFIG_SPL_LIBCOMMON_SUPPORT
+#define CONFIG_SPL_MMC_SUPPORT
+#include "imx6_spl.h"
+#endif
+
#define CONFIG_MACH_TYPE 3980
#define CONFIG_MXC_UART_BASE UART1_BASE
#define CONFIG_CONSOLE_DEV "ttymxc0"