]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
arm: socfpga: spl: Add s_init stub
authorDinh Nguyen <dinguyen@opensource.altera.com>
Wed, 15 Apr 2015 21:44:31 +0000 (16:44 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:29:25 +0000 (22:29 +0200)
Add a stub s_init function in the board file. The reason why the stub function
is needed is that most of the work is now being done in board_init_f(), there
is no need for the SPL to do anything s_init(). However, since lowlevel_init()
is still branching to s_init(), we need stub function for now, until
lowlevel_init() morphs into s_init().

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
board/altera/socfpga/socfpga.c

index 20d221641b6fd4586dc08d7e6bef830632263145..a1dbc492c986dec1d3b48f03d176f453fc7788c5 100644 (file)
@@ -18,6 +18,8 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
+void s_init(void) {}
+
 /*
  * Miscellaneous platform dependent initialisations
  */