diff options
| author | Tom Rini <[email protected]> | 2026-04-09 16:34:38 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-04-09 16:34:38 -0600 |
| commit | e2fa3e570f83ab0f9ce667ddaec9dc738bcf05b9 (patch) | |
| tree | 14de6d1a620c15e7b5bf349787edda955ee42745 /board/renesas/common/rcar64-common.c | |
| parent | 2a1bcefce835b827bbf88a9e112d646c5c4af9c1 (diff) | |
| parent | 4a95a2a9e13ab05e4fc309f92bc33998d80afe01 (diff) | |
Assorted fixes and tweaks, HUSH parser, preboot env variable, SMC
command enablement, s_init and 32bit/64bit code clean up, DBSC and APMU
remoteproc clean ups, UFS dev_phys_to_bus() remap support and SCIF R-Car
Gen5 support.
Diffstat (limited to 'board/renesas/common/rcar64-common.c')
| -rw-r--r-- | board/renesas/common/rcar64-common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/board/renesas/common/rcar64-common.c b/board/renesas/common/rcar64-common.c index bcb03792494..3d537be4d02 100644 --- a/board/renesas/common/rcar64-common.c +++ b/board/renesas/common/rcar64-common.c @@ -24,7 +24,8 @@ int dram_init(void) { int ret = fdtdec_setup_mem_size_base(); - if (current_el() == 3 && gd->ram_base == 0x48000000) { + if (IS_ENABLED(CONFIG_ARM64) && current_el() == 3 && + gd->ram_base == 0x48000000) { /* * If this U-Boot runs in EL3, make the bottom 128 MiB * available for loading of follow up firmware blobs. @@ -44,7 +45,7 @@ int dram_init_banksize(void) fdtdec_setup_memory_banksize(); - if (current_el() != 3) + if (IS_ENABLED(CONFIG_ARM64) && current_el() != 3) return 0; for (bank = 0; bank < CONFIG_NR_DRAM_BANKS; bank++) { |
