[PATCH 2/2] arm: imx: imx8m: Enable the SError exception

Fabio Estevam
2024-01-18T15:07:03Z

From: Ye Li <ye.li@nxp.com>

To work with commit 2f3c92060dcd ("imx8m: workaround ROM serror")
we need to enable the SError exception and install vector in SPL.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reported-by: Thomas Schaefer <thomas.schaefer@kontron.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
arch/arm/mach-imx/imx8m/Kconfig | 3 +++
1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig
index 328c3e388051..eb0488a9e8bf 100644
--- a/arch/arm/mach-imx/imx8m/Kconfig
+++ b/arch/arm/mach-imx/imx8m/Kconfig
@@ -13,14 +13,17 @@ config IMX8MQ
bool
select IMX8M
select CLK_IMX8MQ
+ select ARMV8_SPL_EXCEPTION_VECTORS

config IMX8MM
bool
select IMX8M
+ select ARMV8_SPL_EXCEPTION_VECTORS

config IMX8MN
bool
select IMX8M
+ select ARMV8_SPL_EXCEPTION_VECTORS

config IMX8MP
bool
--
2.34.1