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

2023-03-22 Thread Tom Rini
On Thu, Mar 02, 2023 at 07:40:46PM +0530, kaml...@ti.com wrote:

> From: Kamlesh Gurudasani 
> 
> 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 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


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

2023-03-02 Thread kamlesh
From: Kamlesh Gurudasani 

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 
---
 arch/arm/mach-k3/include/mach/am62_hardware.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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_INFO0x43c3f1e0
 
-/* Use Last 2K as Scratch pad */
-#define TI_SRAM_SCRATCH_BOARD_EEPROM_START 0x7000
+#define TI_SRAM_SCRATCH_BOARD_EEPROM_START 0x43c3
 
 #endif /* __ASM_ARCH_AM62_HARDWARE_H */
-- 
2.34.1