sunxi: A23: Fix some revisions needing a different magic sram poke
authorHans de Goede <hdegoede@redhat.com>
Fri, 4 Mar 2016 09:57:34 +0000 (10:57 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 23 Mar 2016 21:04:13 +0000 (22:04 +0100)
commit583fede8eee8a0e09ff3f057154fc2472032fa25
treedab8f719ff5c25bf3d3af1d1596efd7bccaae2e0
parent0764f24ae6bc937e358990c357f7452b4d5351e3
sunxi: A23: Fix some revisions needing a different magic sram poke

I've had this one a23 tablet which would not boot and I've finally
figured out what the problem is by looking at the released boot0 code,
it seems the magic sram controller poke which we need to do in s_init()
depends on the revision of the a23.

Specifically this change is needed to get the A23 SoC I have with the
following serial to boot: "E6071AB 26Y7".

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/cpu/armv7/sunxi/board.c