[U-Boot] [PATCHv3 10/17] arm: socfpga: spl: Add s_init stub

dinguyen at opensource.altera.com dinguyen at opensource.altera.com
Tue Mar 31 00:01:11 CEST 2015


From: Dinh Nguyen <dinguyen at opensource.altera.com>

Add a stub s_init function in the board file.

Signed-off-by: Dinh Nguyen <dinguyen at opensource.altera.com>
---
v3: move the contents of s_init into board_init_f
v2: remove redundant code that is already in arch_early_init_r
---
 board/altera/socfpga/socfpga.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/board/altera/socfpga/socfpga.c b/board/altera/socfpga/socfpga.c
index 20d2216..a1dbc49 100644
--- a/board/altera/socfpga/socfpga.c
+++ b/board/altera/socfpga/socfpga.c
@@ -18,6 +18,8 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
+void s_init(void) {}
+
 /*
  * Miscellaneous platform dependent initialisations
  */
-- 
2.2.1



More information about the U-Boot mailing list