]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
sunxi: Update sunxi-common.h to deal with different A1-SRAM base addr on sun9i
authorHans de Goede <hdegoede@redhat.com>
Wed, 20 May 2015 13:27:16 +0000 (15:27 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:47:10 +0000 (22:47 +0200)
commit64730aab8cbf5e83d0092a3ab699ba11d6cc4066
tree757d8309976fc8239fcbaed71f6e572eb0eb5345
parentd51aaed66044febb822943f6829d08ed5471baac
sunxi: Update sunxi-common.h to deal with different A1-SRAM base addr on sun9i

The A1 SRAM Base differs between sun9i and the others, update sunxi-common.h
to deal with this, so that we do not set the initial stack pointer to point
to the BROM.

This avoids the need for the weird undocumented register write I previously
took from the allwiner u-boot sources and which needed #ifdef-ery in start.S
as it needed to be done really early on.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
include/configs/sunxi-common.h