summaryrefslogtreecommitdiffstats
path: root/board/altera
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@opensource.altera.com>2015-04-15 16:44:31 -0500
committerMarek Vasut <marex@denx.de>2015-04-21 12:23:17 +0200
commita74732b611affbce1f1fb81f895f17f797276683 (patch)
treec56ca21f44e4577bfdc59b5c4772256fa20cc99a /board/altera
parent3c38de5464b612a51b73c8b01a8f035adea7a6a4 (diff)
downloadtalos-obmc-uboot-a74732b611affbce1f1fb81f895f17f797276683.tar.gz
talos-obmc-uboot-a74732b611affbce1f1fb81f895f17f797276683.zip
arm: socfpga: spl: Add s_init stub
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>
Diffstat (limited to 'board/altera')
-rw-r--r--board/altera/socfpga/socfpga.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/altera/socfpga/socfpga.c b/board/altera/socfpga/socfpga.c
index 20d221641b..a1dbc492c9 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
*/
OpenPOWER on IntegriCloud