juno: Revert FWU update detect mechanism
authorSathees Balya <sathees.balya@arm.com>
Mon, 3 Sep 2018 16:41:13 +0000 (17:41 +0100)
committerSathees Balya <sathees.balya@arm.com>
Fri, 7 Sep 2018 13:54:02 +0000 (14:54 +0100)
commit4da6f6cde3c72bd9786fc20141848c770c84f784
tree33a91a2c7c1a04de6db37ad14832887ff611dc5d
parent783fd8e00f7a58462891ff16fa3f10f635df7a12
juno: Revert FWU update detect mechanism

The patch 7b56928 unified the FWU mechanism on FVP and Juno
platforms due to issues with MCC firmware not preserving the
NVFLAGS. With MCCv150 firmware, this issue is resolved. Also
writing to the NOR flash while executing from the same flash
in Bypass mode had some stability issues. Hence, since the
MCC firmware issue is resolved, this patch reverts to the
NVFLAGS mechanism to detect FWU. Also, with the introduction
of SDS (Shared Data Structure) by the SCP, the reset syndrome
needs to queried from the appropriate SDS field.

Change-Id: If9c08f1afaaa4fcf197f3186887068103855f554
Signed-off-by: Sathees Balya <sathees.balya@arm.com>
Signed-off-by: Soby Mathew <Soby.Mathew@arm.com>
include/plat/arm/board/common/v2m_def.h
include/plat/arm/common/plat_arm.h
plat/arm/board/juno/juno_bl1_setup.c
plat/arm/board/juno/juno_err.c [new file with mode: 0644]
plat/arm/board/juno/platform.mk
plat/arm/common/arm_bl1_setup.c
plat/arm/common/arm_err.c