]> git.sur5r.net Git - u-boot/commit
arm: mvebu: fix boot from UART on ClearFog Base
authorBaruch Siach <baruch@tkos.co.il>
Sun, 24 Sep 2017 12:50:17 +0000 (15:50 +0300)
committerStefan Roese <sr@denx.de>
Tue, 26 Sep 2017 04:53:18 +0000 (06:53 +0200)
commitf3a88e2ca17ac1ff54f5eff67c96cdaa5c542f6a
tree13246d22f134d50be595b6c14da39dc7b0913e6b
parentc3ab2744447db80de3c0a18422256a7b638253b3
arm: mvebu: fix boot from UART on ClearFog Base

The ClearFog Base boot from UART when setting the DIP switches to 01001.
Unfortunately, the SPL code sometimes fails to detect the UART boot
method at run-time. Add an alternative SAR UART boot value to fix this.

Note that this alternative value is not documented (Armada 38x Hardware
Specifications, Table 48). But experimentations showed it on the
ClearFog Base.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/include/mach/soc.h
arch/arm/mach-mvebu/spl.c