diff mbox series

[1/2] arm: mach-k3: am62: move scratch board area to HSM RAM

Message ID 20230302141047.3175114-2-kamlesh@ti.com
State Accepted
Commit d3882531c34d92e619f3aa30c6aa439c8ea732a7
Delegated to: Tom Rini
Headers show
Series add support for hs bootflows on am62 devices | expand

Commit Message

Kamlesh Gurudasani March 2, 2023, 2:10 p.m. UTC
From: Kamlesh Gurudasani <kamlesh@ti.com>

On high security devices, ROM enables firewalls to protect the OCSRAM
region access during bootup. Only after TIFS has started (and had
time to disable the OCSRAM firewall region) will we have write access to
the region.

So, move scratch board area to HSM RAM.

Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
---
 arch/arm/mach-k3/include/mach/am62_hardware.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Tom Rini March 22, 2023, 6:03 p.m. UTC | #1
On Thu, Mar 02, 2023 at 07:40:46PM +0530, kamlesh@ti.com wrote:

> From: Kamlesh Gurudasani <kamlesh@ti.com>
> 
> On high security devices, ROM enables firewalls to protect the OCSRAM
> region access during bootup. Only after TIFS has started (and had
> time to disable the OCSRAM firewall region) will we have write access to
> the region.
> 
> So, move scratch board area to HSM RAM.
> 
> Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>

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

Patch

diff --git a/arch/arm/mach-k3/include/mach/am62_hardware.h b/arch/arm/mach-k3/include/mach/am62_hardware.h
index 17d3228cba..db4a32cd46 100644
--- a/arch/arm/mach-k3/include/mach/am62_hardware.h
+++ b/arch/arm/mach-k3/include/mach/am62_hardware.h
@@ -55,7 +55,6 @@ 
 
 #define ROM_EXTENDED_BOOT_DATA_INFO		0x43c3f1e0
 
-/* Use Last 2K as Scratch pad */
-#define TI_SRAM_SCRATCH_BOARD_EEPROM_START		0x70000000
+#define TI_SRAM_SCRATCH_BOARD_EEPROM_START	0x43c30000
 
 #endif /* __ASM_ARCH_AM62_HARDWARE_H */