From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jun Nie Date: Wed, 24 Apr 2019 11:59:26 +0800 Subject: [U-Boot] [PATCH v3 3/9] imx: mx7: Add empty arch_cpu_init if skipped In-Reply-To: <1556078372-26851-1-git-send-email-jun.nie@linaro.org> References: <1556078372-26851-1-git-send-email-jun.nie@linaro.org> Message-ID: <1556078372-26851-4-git-send-email-jun.nie@linaro.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- arch/arm/mach-imx/mx7/soc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm/mach-imx/mx7/soc.c index 7cfdff0..9b04013 100644 --- a/arch/arm/mach-imx/mx7/soc.c +++ b/arch/arm/mach-imx/mx7/soc.c @@ -286,6 +286,11 @@ int arch_cpu_init(void) return 0; } +#else +int arch_cpu_init(void) +{ + return 0; +} #endif #ifdef CONFIG_ARCH_MISC_INIT -- 2.7.4