diff mbox series

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

Message ID 20240118150640.3802089-2-festevam@gmail.com
State Changes Requested
Delegated to: Fabio Estevam
Headers show
Series [1/2] imx8m: Enable LTO by default | expand

Commit Message

Fabio Estevam Jan. 18, 2024, 3:06 p.m. UTC
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(+)

Comments

Marek Vasut Jan. 18, 2024, 6:44 p.m. UTC | #1
On 1/18/24 16:06, Fabio Estevam wrote:
> 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.

This really does need better commit message, sorry.

Details, please.

What does trigger the SError ?
Fabio Estevam Jan. 18, 2024, 8:45 p.m. UTC | #2
On Thu, Jan 18, 2024 at 4:08 PM Marek Vasut <marex@denx.de> wrote:
>
> On 1/18/24 16:06, Fabio Estevam wrote:
> > 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.
>
> This really does need better commit message, sorry.
>
> Details, please.
>
> What does trigger the SError ?

Ye Li, please improve the commit message and send a v2.

Thanks
diff mbox series

Patch

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