From: John Tobias Date: Tue, 11 Nov 2014 17:59:51 -0800 Subject: [U-Boot] [PATCH v5 2/5] imx6: add spl in the header file In-Reply-To: <1415757594-64353-1-git-send-email-john.tobias.ph@gmail.com> References: <1415757594-64353-1-git-send-email-john.tobias.ph@gmail.com> Message-ID: <1415757594-64353-3-git-send-email-john.tobias.ph@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de add the spl info in the header file. Also, added the macro statement in m6sabre_common.h to avoid compiler warning. Signed-off-by: John Tobias --- include/configs/mx6sabre_common.h | 2 ++ include/configs/mx6sabresd.h | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h index c81e9e9..e4d0d14 100644 --- a/include/configs/mx6sabre_common.h +++ b/include/configs/mx6sabre_common.h @@ -95,7 +95,9 @@ #define CONFIG_BOOTDELAY 1 #define CONFIG_LOADADDR 0x12000000 +#ifndef CONFIG_SYS_TEXT_BASE #define CONFIG_SYS_TEXT_BASE 0x17800000 +#endif #ifdef CONFIG_SUPPORT_EMMC_BOOT #define EMMC_ENV \ 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 #include +#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" -- 1.9.1