[U-Boot] [PATCH 2/5] imx: mx7: Add empty arch_cpu_init if skipped
Jun Nie
jun.nie at linaro.org
Tue Mar 26 09:21:10 UTC 2019
Add empty arch_cpu_init if low level init is skipped. So that
it does not break spl compile though spl is not needed in the
skipped case actually.
Signed-off-by: Jun Nie <jun.nie at linaro.org>
---
arch/arm/mach-imx/mx7/soc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm/mach-imx/mx7/soc.c
index 7cfdff0..8f9fd9d 100644
--- a/arch/arm/mach-imx/mx7/soc.c
+++ b/arch/arm/mach-imx/mx7/soc.c
@@ -286,6 +286,8 @@ int arch_cpu_init(void)
return 0;
}
+#else
+int arch_cpu_init(void) {}
#endif
#ifdef CONFIG_ARCH_MISC_INIT
--
2.7.4
More information about the U-Boot
mailing list