diff options
author | Mans Rullgard | 2018-04-21 16:11:06 +0100 |
---|---|---|
committer | Stefano Babic | 2018-04-27 09:32:54 +0200 |
commit | 9482aeda660cece398cd85938184f727d1404611 (patch) | |
tree | 5ebf176e54f489b705371c74169bedeec3a767f1 /arch/arm/cpu/arm926ejs | |
parent | ea772178281fa7442e221ac26c291366090c888f (diff) |
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 <mans@mansr.com>
Diffstat (limited to 'arch/arm/cpu/arm926ejs')
-rw-r--r-- | arch/arm/cpu/arm926ejs/mxs/mxs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/mxs/mxs.c b/arch/arm/cpu/arm926ejs/mxs/mxs.c index 7a68a8f3ca7..5c7817074fd 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)); |