arm: mvebu: fix boot from UART when in fallback mode
authorSean Nyekjaer <sean.nyekjaer@prevas.dk>
Fri, 24 Nov 2017 13:01:28 +0000 (14:01 +0100)
committerStefan Roese <sr@denx.de>
Thu, 30 Nov 2017 07:29:59 +0000 (08:29 +0100)
commite83e2b390038c9075642cb243a6292241beb8d73
tree81b276530a6cbec29c35ea61b5269a91fa42c673
parent348b488f5e60497cf8a2abf128f566ffbfc8c920
arm: mvebu: fix boot from UART when in fallback mode

It's the first 8 bits of the bootrom error register that
contain the boot error/fallback error code. Let's check that
and continue to boot from UART.

Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/include/mach/soc.h
arch/arm/mach-mvebu/spl.c