diff options
| author | Matt Ranostay <[email protected]> | 2022-07-13 04:49:36 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-07-25 13:02:04 -0400 |
| commit | cab8510821afbde16c8de27c4da0c5ed6b6195d3 (patch) | |
| tree | 61d54ce69bfe097c5760437e1dc7ebd9c953d45f /scripts | |
| parent | a3ba6adb70c91ec3b9312c3a025faa44acd39cfa (diff) | |
armv8: mach-k3: correct define checking for AM625/AM642 memory maps
Using CONFIG_IS_ENABLED breaks accessing memory map structure when
doing a A53 SPL build for AM625 and AM642 platforms. This is due to
'abc if CONFIG_SPL_BUILD is defined and CONFIG_SPL_FOO is set to 'y''
in which there is no CONFIG_SPL_SOC_K3_AM625/CONFIG_SPL_SOC_K3_AM642
defined in the configuration.
For the A53 SPL builds on these platform to access the memory mapping
which it will need for enabling the mmu/cache it must use #if defined(X)
checks and not CONFIG_IS_ENABLED.
Cc: Suman Anna <[email protected]>
Cc: Neha Francis <[email protected]>
Signed-off-by: Matt Ranostay <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
