[U-Boot] [U-Boot, 2/2] ARM: AM43XX: Call hw_data_init() again after relocation to update *ctrl
Tom Rini
trini at konsulko.com
Sun Jan 28 18:53:26 UTC 2018
On Fri, Jan 19, 2018 at 03:32:48PM +0530, Faiz Abbas wrote:
> hw_data_init() is called before relocation to initialise hardware data.
> Since ctrl is initialized to OMAP_SRAM_SCRATCH_SYS_CTRL in
> arch/arm/mach-omap2/am33xx/hw_data.c, the pointer *ctrl will not be
> updated during relocation and will hold a stale value.
>
> Therefore call hw_data_init() again after relocation to
> reinitialize *ctrl.
>
> Signed-off-by: Faiz Abbas <faiz_abbas at ti.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180128/d379cc11/attachment.sig>
More information about the U-Boot
mailing list