Skip to content
Snippets Groups Projects
Commit a93feb2e authored by Faiz Abbas's avatar Faiz Abbas Committed by Tom Rini
Browse files

ARM: AM43XX: Call hw_data_init() again after relocation to update *ctrl


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: default avatarFaiz Abbas <faiz_abbas@ti.com>
parent ded509b4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment