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

Add a stub s_init function in the board file.

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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to