aboutsummaryrefslogtreecommitdiff
path: root/bl2/src/default_flash_map.c
AgeCommit message (Collapse)Author
2022-05-16FWU: Add a platform specific flash_driver initMichel Jaouen
For flash driver used only for FWU (i.e only secondary slot on external flash), no driver init is done. Change-Id: I4ad4b6f6075bd0d3ee5049237be54d873c915a70 Signed-off-by: Michel Jaouen <michel.jaouen@st.com>
2022-01-24Boot: Make mcuboot swap upgrade strategy configurableMichel Jaouen
mcuboot supports 2 SWAP configurations: SWAP_USING_SCRATCH and SWAP_USING_MOVE. Change-Id: I90f4db7caf491166a716a0ec2f3890568a424f57 Signed-off-by: Michel Jaouen <michel.jaouen@st.com>
2021-08-04Build: Make possible to overwrite BL2 sourcesMark Horvath
This commit introduces two cmake flags to let a platform overwrite BL2 related implementations created by the TF-M project. - Setting DEFAULT_MCUBOOT_FLASH_MAP to OFF makes possible for a platform to create custom flash map. - Setting DEFAULT_MCUBOOT_SECURITY_COUNTER to OFF makes possible for a platform to use custom security counter mapping. Change-Id: Ib1955e63e78dd5a5a7dff67a49dab1d5d1a06fc1 Signed-off-by: Mark Horvath <mark.horvath@arm.com> Signed-off-by: Satish Kumar <satish.kumar01@arm.com>