arm: socfpga: Setting the image magic value to romcode initswstate register
Subsystems (3)
PATCH 1/1 arm: socfpga: Setting the image magic value to romcode initswstate register
From: Dinesh Maniyam <[email protected]>
The romcode_initswstate register need to be set with FSBL_IMAGE_IS_VALID value if the current FSBL image is found valid, otherwise BootROM will look for next subsequent valid FSBL image when warm reset is triggered.
Signed-off-by Tien Fong Chee <[email protected]>
Signed-off-by Dinesh Maniyam <[email protected]>
--- arch/arm/mach-socfpga/include/mach/system_manager_arria10.h | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/mach-socfpga/include/mach/system_manager_arria10.h +2 -0
@@ -37,6 +37,8 @@#define SYSMGR_A10_ISW_HANDOFF_BASE 0x230#define SYSMGR_A10_ISW_HANDOFF_7 0x1c +#define SYSMGR_A10_ROMCODE_INITSWSTATE 0x20C +#define SYSMGR_SDMMC SYSMGR_A10_SDMMC#define SYSMGR_SDMMC_SMPLSEL_SHIFT 4
Signature · 1 line
2.43.7
Quoted 17 lines · On 25/3/2026 1:44 pm, [email protected] wrote:
From: Dinesh Maniyam <[email protected]>
The
romcode_initswstateregister need to be set withFSBL_IMAGE_IS_VALIDvalue if the current FSBL image is found valid, otherwise BootROM will look for next subsequent valid FSBL image when warm reset is triggered.Signed-off-by Tien Fong Chee <[email protected]>Signed-off-by Dinesh Maniyam <[email protected]>--- arch/arm/mach-socfpga/include/mach/system_manager_arria10.h | 2 ++ 1 file changed, 2 insertions(+)arch/arm/mach-socfpga/include/mach/system_manager_arria10.h +0
-0
arch/arm/mach-socfpga/include/mach/system_manager_arria10.h line 44
Quoted 8 lines
arch/arm/mach-socfpga/include/mach/system_manager_arria10.h +2
-0@@ -37,6 +37,8 @@#define SYSMGR_A10_ISW_HANDOFF_BASE 0x230#define SYSMGR_A10_ISW_HANDOFF_7 0x1c +#define SYSMGR_A10_ROMCODE_INITSWSTATE 0x20C +#define SYSMGR_SDMMC SYSMGR_A10_SDMMC#define SYSMGR_SDMMC_SMPLSEL_SHIFT 4
Reviewed-by Tien Fong Chee <[email protected]>
Best regards,
Tien Fong