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

Adam Ford aford173 at gmail.com
Fri Feb 2 14:53:35 CET 2024


On Fri, Jan 12, 2024 at 1:07 AM Ye Li <ye.li at nxp.com> wrote:
>
> To work with commit 2f3c920(imx8m: workaround ROM serror),
> we need to enable the SError exception and install vector in SPL.
>
> Signed-off-by: Ye Li <ye.li at nxp.com>
> Reviewed-by: Peng Fan <peng.fan at nxp.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 67da198..88ef732 100644
> --- a/arch/arm/mach-imx/imx8m/Kconfig
> +++ b/arch/arm/mach-imx/imx8m/Kconfig
> @@ -11,14 +11,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.7.4
>

Would this not also work for 8MP?  If that's the case, should the
section of ARMV8_SPL_EXCEPTION_VECTORS fall under "config IMX8M" for
simplicity?

adam


More information about the U-Boot mailing list