]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
spl_atmel.c: Switch s_init to board_init_f
authorTom Rini <trini@ti.com>
Wed, 11 Feb 2015 00:07:22 +0000 (19:07 -0500)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 31 Mar 2015 23:04:27 +0000 (01:04 +0200)
commite755d54392554b82ce140cb96bca81ac52f69f43
treeb17c18405dbc3640337cb07198b0024fcdb0c7e4
parenta2df3a37d78583f40e2d2053e5cf0ff689ac4aa4
spl_atmel.c: Switch s_init to board_init_f

To facilitate changing lowlevel_init to become s_init, move the current
contents of s_init into board_init_f and add the rest of what
board_init_f does here.
In order to compile clean without CONFIG_SKIP_LOWLEVEL_INIT set, leave an
empty stub of s_init(). It can be removed when lowlevel_init becomes s_init.

Cc: Bo Shen <voice.shen@atmel.com>
Cc: Andreas Bießmann <andreas.devel@googlemail.com>
Tested-by: Matt Porter <mporter@konsulko.com> on sama5d3_xplained
Signed-off-by: Tom Rini <trini@ti.com>
[rebased on current master, leave s_init() as empty stub]
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
arch/arm/mach-at91/spl_atmel.c