• Tom Rini's avatar
    TI ARMv7: Don't use GD before crt0.S has set it · a6b541b0
    Tom Rini authored
    Prior to this change we set the gd pointer early so that we can store
    data in it.  This becomes problematic for DM changes as well as being
    odd in general.  Re-work the code paths so that we don't need to set the
    gd pointer so early and instead can rely upon the normal setting of it.
    
    In order to do this we do need to move certain calls from s_init into
    spl_board_init(), mainly preloader_console_init and
    save_omap_boot_params.
    
    Tested on: Beaglebone Black, AM43xx GP EVM, Beagleboard, Beagleboard xM,
    OMAP5 uEVM, DRA7xx EVM
    Signed-off-by: default avatarTom Rini <trini@ti.com>
    Tested-by: default avatarSimon Glass <sjg@chromium.org>
    Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
    a6b541b0
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...