public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/5] ARM: mxs: make lowlevel_init() weak
@ 2018-04-21 15:11 Mans Rullgard
  2018-04-21 15:11 ` [U-Boot] [PATCH 2/5] ARM: arm926ejs: fix lowlevel_init call Mans Rullgard
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Mans Rullgard @ 2018-04-21 15:11 UTC (permalink / raw)
  To: u-boot

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>
---
 arch/arm/cpu/arm926ejs/mxs/mxs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/arm926ejs/mxs/mxs.c b/arch/arm/cpu/arm926ejs/mxs/mxs.c
index 7a68a8f3ca74..5c7817074fd6 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));
 
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-05-07 21:10 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-21 15:11 [U-Boot] [PATCH 1/5] ARM: mxs: make lowlevel_init() weak Mans Rullgard
2018-04-21 15:11 ` [U-Boot] [PATCH 2/5] ARM: arm926ejs: fix lowlevel_init call Mans Rullgard
2018-04-27  8:59   ` Stefano Babic
2018-05-07  8:25     ` Chris Packham
2018-05-07  8:48       ` klaus.goger at theobroma-systems.com
2018-05-07 21:10         ` Chris Packham
2018-05-07 10:11       ` Måns Rullgård
2018-05-07 21:08         ` Chris Packham
2018-04-21 15:11 ` [U-Boot] [PATCH 3/5] ARM: spl: include arm/thumb glue sections Mans Rullgard
2018-04-27  8:59   ` Stefano Babic
2018-04-21 15:11 ` [U-Boot] [PATCH 4/5] ARM: mxs: move spl data Mans Rullgard
2018-04-27  8:59   ` Stefano Babic
2018-04-21 15:11 ` [U-Boot] [PATCH 5/5] ARM: mxs: support full SPL framework Mans Rullgard
2018-04-27  9:00   ` Stefano Babic
2018-04-27  8:59 ` [U-Boot] [PATCH 1/5] ARM: mxs: make lowlevel_init() weak Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox