arm: mach-k3: am62: move scratch board area to HSM RAM
authorKamlesh Gurudasani <kamlesh@ti.com>
Thu, 2 Mar 2023 14:10:46 +0000 (19:40 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 22 Mar 2023 16:51:09 +0000 (12:51 -0400)
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

index 17d3228..db4a32c 100644 (file)
@@ -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 */