[PATCH v1] arm: socfpga: soc64: boot_scratch_cold 8 and 9 usage documentation

Chee, Tien Fong tien.fong.chee at altera.com
Fri Feb 21 08:45:27 CET 2025



-----Original Message-----
From: alif.zakuan.yuslaimi at intel.com <alif.zakuan.yuslaimi at intel.com> 
Sent: Friday, February 21, 2025 3:26 PM
To: u-boot at lists.denx.de
Cc: Marek Vasut <marex at denx.de>; Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>; Chee, Tien Fong <tien.fong.chee at altera.com>; Tom Rini <trini at konsulko.com>; Yuslaimi, Alif Zakuan <alif.zakuan.yuslaimi at altera.com>; Zamri, Muhammad Hazim Izzat <muhammad.hazim.izzat.zamri at altera.com>; Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi at intel.com>
Subject: [PATCH v1] arm: socfpga: soc64: boot_scratch_cold 8 and 9 usage documentation

From: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi at intel.com>

The boot_scratch_cold register is generally used for passing critical system info between SPL, U-Boot and Linux.

Documenting the usage of boot_scratch_cold8 and boot_scratch_cold9 sticky registers for capturing the Uncorrected Errors
(UE) and the UE Address. This is to avoid overlapping usage in the code for S10 and Agilex.

Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi at altera.com>
---
 arch/arm/mach-socfpga/include/mach/system_manager_soc64.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-socfpga/include/mach/system_manager_soc64.h b/arch/arm/mach-socfpga/include/mach/system_manager_soc64.h
index 78eff247978..bfc31a14cfe 100644
--- a/arch/arm/mach-socfpga/include/mach/system_manager_soc64.h
+++ b/arch/arm/mach-socfpga/include/mach/system_manager_soc64.h
@@ -65,7 +65,9 @@ void populate_sysmgr_pinmux(void);
 #define SYSMGR_SOC64_BOOT_SCRATCH_COLD6		0x218
 /* store VBAR_EL3 value */
 #define SYSMGR_SOC64_BOOT_SCRATCH_COLD7		0x21c
+/* store ECC DBE register */
 #define SYSMGR_SOC64_BOOT_SCRATCH_COLD8		0x220
+/* store ECC DBE address */
 #define SYSMGR_SOC64_BOOT_SCRATCH_COLD9		0x224
 #define SYSMGR_SOC64_PINSEL0			0x1000
 #define SYSMGR_SOC64_IOCTRL0			0x1130
--
2.26.2

Reviewed-by: Tien Fong Chee <tien.fong.chee at altera.com>

Best regards,
Tien Fong


More information about the U-Boot mailing list