sunxi: Use BROM stored boot_media value to determine our boot-source
authorHans de Goede <hdegoede@redhat.com>
Sat, 9 Jul 2016 13:31:47 +0000 (15:31 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 15 Jul 2016 13:54:56 +0000 (15:54 +0200)
commitef36d9ae1646e5aee7c1425ee507d275699a072e
tree84c1533f635bcb50635799e6e6e75d9912b73d53
parent4a8c7c1f45a25687e08ff98ab27ba664c8fd7b74
sunxi: Use BROM stored boot_media value to determine our boot-source

Now that we know that the BROM stores a value indicating the boot-source
at the beginning of SRAM, use that instead of trying to recreate the
BROM's boot probing.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/include/asm/arch-sunxi/mmc.h
arch/arm/mach-sunxi/board.c
board/sunxi/board.c
drivers/mmc/sunxi_mmc.c