[PATCH 1/4] arm: mach-k3: Add support for device type detection

Andrew Davis afd at ti.com
Tue Jul 26 03:29:34 CEST 2022


On 7/25/22 11:57 AM, Tom Rini wrote:
> On Fri, Jul 15, 2022 at 11:34:32AM -0500, Andrew Davis wrote:
> 
>> K3 SoCs are available in a number of device types such as
>> GP, HS-FS, EMU, etc. Like OMAP SoCs we can detect this at runtime
>> and should print this out as part of the SoC information line.
>> We add this as part of the common.c file as it will be used
>> to also modify our security state early in the device boot.
>>
>> Signed-off-by: Andrew Davis <afd at ti.com>
>> Reviewed-by: Tom Rini <trini at konsulko.com>
>> ---
>>   arch/arm/mach-k3/common.c                | 51 +++++++++++++++++++++++-
>>   arch/arm/mach-k3/common.h                | 10 +++++
>>   arch/arm/mach-k3/include/mach/hardware.h | 10 +++++
>>   3 files changed, 70 insertions(+), 1 deletion(-)
> 
> When applying the whole series, am65x_hs_evm_r5 goes over size
> limitations at patch 2/4.  I'm going to set this aside for the moment as
> I'm applying a number of your other patches and maybe I just missed
> something else that needs to come in too.
> 

Hmm, okay looks like AM65x SPL is right up against the SRAM limits. I've
gone and made a quick attempt at giving us some more free space here[0].
Should be more than enough room after that to get this series in.

[0] https://lore.kernel.org/u-boot/20220726012506.19368-1-afd@ti.com/


More information about the U-Boot mailing list