From fd50ae3f2628d1197829e0c2ef52aed653e80d68 Mon Sep 17 00:00:00 2001 From: Masahisa Kojima Date: Thu, 8 Feb 2024 11:33:44 +0900 Subject: FWU: developerbox: read boot index from NOR flash The FWU Multi Bank Update feature allows the platform to boot the firmware images from one of the partitions(banks). On the Developerbox, SCP-firmware running on the SCB(Cortex-M3) passes the value of the boot index on the NOR flash. Add a function to read the boot index value from the NOR flash. Signed-off-by: Masahisa Kojima --- include/configs/synquacer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/configs/synquacer.h b/include/configs/synquacer.h index e36e63e81e4..f0867227acc 100644 --- a/include/configs/synquacer.h +++ b/include/configs/synquacer.h @@ -21,6 +21,7 @@ /* * Boot info */ +#define SCB_PLAT_METADATA_OFFSET (0x510000) /* * Hardware drivers support -- cgit v1.2.3