commit | d24bdf14ba2b9671410828b84280aa617ddd3961 | [log] [tgz] |
---|---|---|
author | Faiz Abbas <faiz_abbas@ti.com> | Fri Jan 19 15:32:48 2018 +0530 |
committer | Tom Rini <trini@konsulko.com> | Sun Jan 28 09:39:15 2018 -0500 |
tree | 90e905b6fe14d6d6b89b41124bd8b5ef50c587df | |
parent | 54c866ad8f4f910063cfcb67420a19e632255646 [diff] |
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: Faiz Abbas <faiz_abbas@ti.com>