[PATCH 3/4] arm: mack-k3: Kconfig: Add DM firmware reserved memory configs
Paresh Bhagat
p-bhagat at ti.com
Thu Jun 25 14:37:50 CEST 2026
Hi Markus and Anshul,
On 23/06/26 10:28, Anshul Dalal wrote:
> On Tue, 09 Jun 2026 23:40:05 +0530, Paresh Bhagat <p-bhagat at ti.com> wrote:
>> 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
> Why is this exclusive to AM62a? We could have this fixup work K3 wide with the
> values defaulting to the correct one depending on the SOC similar to how we
> handle the different load addresses for TFA with CONFIG_K3_ATF_LOAD_ADDR.
> This would avoid the need for #ifdef in the next patch too.
>
> config K3_DM_FW_RESERVED_ADDR
> hex "Start address of DM firmware reserved memory region"
> default 0x9db00000 if SOC_K3_AM625
> default 0x9c900000 if SOC_K3_AM62A7
> ...
>
> and same for the size.
>
Yep makes sense I will add it for all K3 SoCs.
Markus if we are aligned, you could make changes on top of the next
revision.
Sorry for the delay, I will send a patch in a day or two.
More information about the U-Boot
mailing list