diff mbox

[U-Boot] configs: am4xhs: Modify SPL load address to fix UART boot issue

Message ID 57BE0672.4030300@ti.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Madan Srinivas Aug. 24, 2016, 8:41 p.m. UTC
From: Madan Srinivas <madans@ti.com>

An issue in the TI secure image generation tool causes the ROM to
load the SPL at a different load address than what is specified by
CONFIG_ISW_ENTRY_ADDR while doing a peripheral boot on HS devices.

This causes the SPL to fail on secure devices during peripheral
boot.

The TI secure image generation tool has been fixed so that the SPL
will always be loaded at 0x403018E0 by the ROM code for both
peripheral and memory boot modes.

Signed-off-by: Madan Srinivas <madans@ti.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
Acked-by: Lokesh Vutla <lokeshvutla@ti.com>
---

  configs/am43xx_hs_evm_defconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Aug. 29, 2016, 12:01 p.m. UTC | #1
On Wed, Aug 24, 2016 at 04:41:22PM -0400, Srinivas, Madan wrote:

> From: Madan Srinivas <madans@ti.com>
> 
> An issue in the TI secure image generation tool causes the ROM to
> load the SPL at a different load address than what is specified by
> CONFIG_ISW_ENTRY_ADDR while doing a peripheral boot on HS devices.
> 
> This causes the SPL to fail on secure devices during peripheral
> boot.
> 
> The TI secure image generation tool has been fixed so that the SPL
> will always be loaded at 0x403018E0 by the ROM code for both
> peripheral and memory boot modes.
> 
> Signed-off-by: Madan Srinivas <madans@ti.com>
> Reviewed-by: Nishanth Menon <nm@ti.com>
> Acked-by: Lokesh Vutla <lokeshvutla@ti.com>

Reviewed-by: Tom Rini <trini@konsulko.com>
Tom Rini Sept. 7, 2016, 5:58 p.m. UTC | #2
On Wed, Aug 24, 2016 at 04:41:22PM -0400, Srinivas, Madan wrote:

> From: Madan Srinivas <madans@ti.com>
> 
> An issue in the TI secure image generation tool causes the ROM to
> load the SPL at a different load address than what is specified by
> CONFIG_ISW_ENTRY_ADDR while doing a peripheral boot on HS devices.
> 
> This causes the SPL to fail on secure devices during peripheral
> boot.
> 
> The TI secure image generation tool has been fixed so that the SPL
> will always be loaded at 0x403018E0 by the ROM code for both
> peripheral and memory boot modes.
> 
> Signed-off-by: Madan Srinivas <madans@ti.com>
> Reviewed-by: Nishanth Menon <nm@ti.com>
> Acked-by: Lokesh Vutla <lokeshvutla@ti.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/configs/am43xx_hs_evm_defconfig 
b/configs/am43xx_hs_evm_defconfig
index 1553196..a1453fd 100644
--- a/configs/am43xx_hs_evm_defconfig
+++ b/configs/am43xx_hs_evm_defconfig
@@ -8,7 +8,7 @@  CONFIG_SPL_STACK_R_ADDR=0x82000000
  # Device tree file can be same on HS evm
  CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm"
  CONFIG_SPL=y
-CONFIG_ISW_ENTRY_ADDR=0x40302ae0
+CONFIG_ISW_ENTRY_ADDR=0x403018e0
  CONFIG_SPL_STACK_R=y
  CONFIG_FIT=y
  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1, NAND"