]> git.baikalelectronics.ru Git - uboot.git/commit
ARM64: zynqmp: Fix secondary bootmode enabling
authorMichal Simek <michal.simek@xilinx.com>
Tue, 25 Oct 2016 09:43:02 +0000 (11:43 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 15 Nov 2016 14:28:05 +0000 (15:28 +0100)
commitf58ded4d16c1c40606a73c895284a4e60f60d974
treedaa71cebae149079356986f87f194c1f91d6047a
parentbcb87274c16ad8eaec6c6ea555f48b7c6e6265f0
ARM64: zynqmp: Fix secondary bootmode enabling

Do not setup use_alt bit which copy alternative boot mode to
boot mode. The reason is that this bit is cleared after POR
but not after any software reset which will cause
that after SW reset bootrom will look for different boot image.

This patch setups alternative boot mode selection (purely SW
handling) and extends code to read this alternative boot mode first and
use it if it is setup.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv8/zynqmp/spl.c
board/xilinx/zynqmp/zynqmp.c