summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-04-27 15:32:50 +0200
committerFabio Estevam <[email protected]>2026-05-15 17:31:39 -0300
commitc8ca3314f24293be5d595857efeba56a87be4f7c (patch)
tree310ab3b5022b11b4781d032ece8bb87a3f1ba2e3 /arch/arm/include/asm
parente1a7afcf92a33a6c8c2bdf8b2264d2a6e11804d1 (diff)
imx: Add SPI NOR A/B switching support
Query the SM via SCMI, obtain rom_passover_t->img_set_sel and based on that, add 0 or 0x400000 offset (A or B copy offset) to boot container read address. Signed-off-by: Marek Vasut <[email protected]> Signed-off-by: Fedor Ross <[email protected]>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/arch-imx9/sys_proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx9/sys_proto.h b/arch/arm/include/asm/arch-imx9/sys_proto.h
index dead7a99a66..73df8715f22 100644
--- a/arch/arm/include/asm/arch-imx9/sys_proto.h
+++ b/arch/arm/include/asm/arch-imx9/sys_proto.h
@@ -23,6 +23,8 @@ int low_drive_freq_update(void *blob);
enum imx9_soc_voltage_mode soc_target_voltage_mode(void);
int get_reset_reason(bool sys, bool lm);
+u8 imx95_detect_secondary_image_boot(void);
+
#define is_voltage_mode(mode) (soc_target_voltage_mode() == (mode))
#endif