aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/include
diff options
context:
space:
mode:
authorAndrew F. Davis2019-04-12 12:54:42 -0400
committerTom Rini2019-04-26 17:51:51 -0400
commit407a219261ecb949ff0048b7854861c0948e3ac5 (patch)
treee0daad41c5ca7982a0a7d23b5603f19d23edb7e7 /arch/arm/mach-k3/include
parentb07cc48ca16f54f51c28f9fa352a68da58ee5881 (diff)
arm: K3: Avoid use of MCU_PSRAM0 before SYSFW is loaded
On HS devices the 512b region of reset isolated memory called MCU_PSRAM0 is firewalled by default. Until SYSFW is loaded we cannot use this memory. It is only used to store a single value left at the end of SRAM by ROM that will be needed later. Save that value to a global variable stored in the .data section. This section is used as .bss will be cleared between saving this value and using it. Signed-off-by: Andrew F. Davis <afd@ti.com> Reviewed-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm/mach-k3/include')
-rw-r--r--arch/arm/mach-k3/include/mach/am6_hardware.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-k3/include/mach/am6_hardware.h b/arch/arm/mach-k3/include/mach/am6_hardware.h
index b5244609afa..3343233aa3c 100644
--- a/arch/arm/mach-k3/include/mach/am6_hardware.h
+++ b/arch/arm/mach-k3/include/mach/am6_hardware.h
@@ -44,7 +44,4 @@
#define CTRLMMR_LOCK_KICK1 0x0100c
#define CTRLMMR_LOCK_KICK1_UNLOCK_VAL 0xd172bc5a
-/* MCU SCRATCHPAD usage */
-#define K3_BOOT_PARAM_TABLE_INDEX_VAL CONFIG_SYS_K3_MCU_SCRATCHPAD_BASE
-
#endif /* __ASM_ARCH_AM6_HARDWARE_H */