]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
imx6: add spl in the header file
authorJohn Tobias <john.tobias.ph@gmail.com>
Wed, 12 Nov 2014 22:27:44 +0000 (14:27 -0800)
committerStefano Babic <sbabic@denx.de>
Thu, 13 Nov 2014 15:24:59 +0000 (16:24 +0100)
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>
include/configs/mx6sabresd.h

index 938030d56d69d989f5e79bb295257d9cd77d568e..a346542130d69fa33daf9b484b3221a6c08d7bd5 100644 (file)
 #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"