
28 Jan
2018
28 Jan
'18
7:53 p.m.
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@ti.com
Applied to u-boot/master, thanks!
--
Tom