From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 28 Jan 2018 13:53:26 -0500 Subject: [U-Boot] [U-Boot, 2/2] ARM: AM43XX: Call hw_data_init() again after relocation to update *ctrl In-Reply-To: <1516356168-16697-3-git-send-email-faiz_abbas@ti.com> References: <1516356168-16697-3-git-send-email-faiz_abbas@ti.com> Message-ID: <20180128185326.GL20149@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: