From: Mans Rullgard Date: Sat, 21 Apr 2018 15:11:06 +0000 (+0100) Subject: ARM: mxs: make lowlevel_init() weak X-Git-Tag: v2018.05-rc3~1^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9482aeda660cece398cd85938184f727d1404611;p=oweals%2Fu-boot.git ARM: mxs: make lowlevel_init() weak With the full SPL framework enabled, lowlevel_init() is required. Make the empty stub weak so boards can override it. Signed-off-by: Mans Rullgard --- diff --git a/arch/arm/cpu/arm926ejs/mxs/mxs.c b/arch/arm/cpu/arm926ejs/mxs/mxs.c index 7a68a8f3ca..5c7817074f 100644 --- a/arch/arm/cpu/arm926ejs/mxs/mxs.c +++ b/arch/arm/cpu/arm926ejs/mxs/mxs.c @@ -24,7 +24,7 @@ DECLARE_GLOBAL_DATA_PTR; /* Lowlevel init isn't used on i.MX28, so just have a dummy here */ -void lowlevel_init(void) {} +__weak void lowlevel_init(void) {} void reset_cpu(ulong ignored) __attribute__((noreturn));