[U-Boot] [PATCH v7 4/5] imx6: add spl in the header file
Stefano Babic
sbabic at denx.de
Thu Nov 13 09:58:54 CET 2014
On 12/11/2014 23:27, John Tobias wrote:
> 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 at gmail.com>
> ---
> 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
>
Why is that needed ? SPL does not use it, because it use
CONFIG_SPL_TEXT_BASE, and this is defined in imx6_spl.h. And you do not
redefine it, meaning that overwriting the value is not necessary at all,
as we expect.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
More information about the U-Boot
mailing list