Add Kconfig options for DM firmware reserved memory for AM62a SOC: - K3_DM_FW_RESERVED_ADDR: DM firmware load address (default 0x9c900000) - K3_DM_FW_RESERVED_SIZE: DM firmware reserved size (default 0x1f00000)
These configs will be used to fixup the kernel device tree's reserved memory node for DM as the current reserved carveout is insufficient to accommodate the binary. Signed-off-by: Paresh Bhagat <[email protected]> --- arch/arm/mach-k3/Kconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig index a32ed3a9683..ad16de9c7bf 100644 --- a/arch/arm/mach-k3/Kconfig +++ b/arch/arm/mach-k3/Kconfig @@ -165,6 +165,22 @@ config K3_DM_FW bootloader, it makes RM and PM services not being available during R5 SPL execution time. +config K3_DM_FW_RESERVED_ADDR + hex "Start address of DM firmware reserved memory region" + depends on SOC_K3_AM62A7 + default 0x9c900000 + help + Start address of the DDR region reserved for DM firmware at runtime. + Used only to fixup the kernel device-tree reserved-memory node. + +config K3_DM_FW_RESERVED_SIZE + hex "Reserved memory size for DM firmware" + depends on SOC_K3_AM62A7 + default 0x1f00000 + help + The runtime memory size reserved for DM firmware. This is the total + DDR span needed for the DM firmware binary. + config K3_X509_SWRV int "SWRV for X509 certificate used for boot images" default 1 -- 2.34.1

