[U-Boot] [PATCH v1] imx6sx: Fix i.MX6SX HAB api function table offset
Fabio Estevam
festevam at gmail.com
Tue Sep 30 17:17:57 CEST 2014
On Tue, Sep 30, 2014 at 11:43 AM, Nitin Garg <nitin.garg at freescale.com> wrote:
> i.MX6SX ROM implements unified table sections.
> The HAB function table is at offset 0x100. Update
> the HAB function pointers accordingly.
>
> Signed-off-by: Nitin Garg <nitin.garg at freescale.com>
It fixes the issue for me, thanks. I have one comment though.
> --- a/include/configs/mx6sxsabresd.h
> +++ b/include/configs/mx6sxsabresd.h
> @@ -15,6 +15,7 @@
> #include "mx6_common.h"
>
> #define CONFIG_MX6
> +#define CONFIG_ROM_UNIFIED_SECTIONS
> #define CONFIG_DISPLAY_CPUINFO
> #define CONFIG_DISPLAY_BOARDINFO
It would be better to add this CONFIG_ROM_UNIFIED_SECTIONS inside mx6_common.h:
#ifdef CONFIG_MX6SX
#define CONFIG_ROM_UNIFIED_SECTIONS
#endif
with that in place you can add my:
Tested-by: Fabio Estevam <fabio.estevam at freescale.com>
More information about the U-Boot
mailing list