From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, 2/2] ARM: AM43XX: Call hw_data_init() again after relocation to update *ctrl
Date: Sun, 28 Jan 2018 13:53:26 -0500 [thread overview]
Message-ID: <20180128185326.GL20149@bill-the-cat> (raw)
In-Reply-To: <1516356168-16697-3-git-send-email-faiz_abbas@ti.com>
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
-------------- 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>
prev parent reply other threads:[~2018-01-28 18:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-19 10:02 [U-Boot] [PATCH 0/2] Fix QSPI boot on am43xx_idk Faiz Abbas
2018-01-19 10:02 ` [U-Boot] [PATCH 1/2] configs: Replace CONFIG_ISW_ENTRY_ADDR with CONFIG_SYS_TEXT_BASE Faiz Abbas
2018-01-28 18:53 ` [U-Boot] [U-Boot, " Tom Rini
2018-01-19 10:02 ` [U-Boot] [PATCH 2/2] ARM: AM43XX: Call hw_data_init() again after relocation to update *ctrl Faiz Abbas
2018-01-28 18:53 ` Tom Rini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180128185326.GL20149@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox