From: dinguyen at opensource.altera.com Date: Wed, 15 Apr 2015 16:44:31 -0500 Subject: [U-Boot] [PATCHv4 1/3] arm: socfpga: spl: Add s_init stub In-Reply-To: <1429134273-30544-1-git-send-email-dinguyen@opensource.altera.com> References: <1429134273-30544-1-git-send-email-dinguyen@opensource.altera.com> Message-ID: <1429134273-30544-2-git-send-email-dinguyen@opensource.altera.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Dinh Nguyen 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 --- v4: add a more descriptive commit message 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