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

dinguyen at opensource.altera.com
2015-03-30T22:01:11Z

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

Add a stub s_init function in the board file.

Signed-off-by: Dinh Nguyen <dinguyen@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