[PATCH 4/6] powerpc: mpc85xx: use CONFIG_VAL() for SYS_MONITOR_BASE in start.s

Marek Mojík marek.mojik at nic.cz
Thu Jun 6 18:33:24 CEST 2024


Use CONFIG_VAL() for SYS_MONITOR_BASE in start.S so that correct value
is used for SPL.

Signed-off-by: Marek Mojík <marek.mojik at nic.cz>
---
 arch/powerpc/cpu/mpc85xx/start.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/cpu/mpc85xx/start.S b/arch/powerpc/cpu/mpc85xx/start.S
index b737d5d12f..3e24a90233 100644
--- a/arch/powerpc/cpu/mpc85xx/start.S
+++ b/arch/powerpc/cpu/mpc85xx/start.S
@@ -116,7 +116,7 @@ bootsect:
 	.long (CONFIG_FSL_PREPBL_ESDHC_BOOT_SECTOR_START + CONFIG_FSL_PREPBL_ESDHC_BOOT_SECTOR_DATA) * 512
 
 	.org 0x58 /* Target address in the system's local memory address space */
-	.long CONFIG_SYS_MONITOR_BASE
+	.long CONFIG_VAL(SYS_MONITOR_BASE)
 
 	.org 0x60 /* Execution starting address */
 	.long _start
-- 
2.45.1



More information about the U-Boot mailing list