[U-Boot] [PATCH v2 3/8] imx6: add spl on board configuration

Fabio Estevam festevam at gmail.com
Mon Nov 10 01:03:47 CET 2014


On Sat, Nov 8, 2014 at 4:22 PM, John Tobias <john.tobias.ph at gmail.com> wrote:
> add the spl on build configuration of iMX6 SabreSD
> ---
>  include/configs/mx6sabresd.h | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h
> index 938030d..4d2e54a 100644
> --- a/include/configs/mx6sabresd.h
> +++ b/include/configs/mx6sabresd.h
> @@ -12,6 +12,13 @@
>  #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
> +#define CONFIG_SPL_STACK 0x0093FFB8
> +#include "imx6_spl.h"
> +#endif

I am wondering if it would be better to create a separate target for
the spl version, so that the people could still use the standard DCD
approach as they are used to.

Regards,

Fabio Estevam


More information about the U-Boot mailing list