feat(bl2): support RESET_TO_BL2 and ENABLE_RMEWhen RSE is used as the root of trust along with CPU that supports RMEthere is a need to enable both RESET_TO_BL2 and ENABLE_RME.In current bl2_main
feat(bl2): support RESET_TO_BL2 and ENABLE_RMEWhen RSE is used as the root of trust along with CPU that supports RMEthere is a need to enable both RESET_TO_BL2 and ENABLE_RME.In current bl2_main there are two different code paths for RESET_BL2,one handles BL2 running in EL1 and other for BL2 running in EL3.When RME is enabled, BL2 always runs at EL3 but the current flow callsbl2_early_platform_setup2, bl2_plat_arch_setup instead ofbl2_el3_early_platform_setup, bl2_el3_plat_arch_setup. Adding RME,TRANSFER_LIST, ROMLIB support in bl2_el3_* helpers makesarm_bl2_el3_setup.c almost identical to arm_bl2_setup.c.This patch removes bl2_el3_plat helpers and related files. Now differentcombinations of RESET_TO_BL2, ENABLE_RME are handled in common bl2_setuproutines in arm_bl2_setup.c. This helps to have common place to supportnew features and build flags for BL2 irrespective of which EL the BL2runs.BREAKING-CHANGE: This patch also changes all existing platform files andfunctions that use format bl2_el3_* to bl2_plat helpers. If any platformor out-of-tree platforms that need to support running BL2 in EL1 or EL3must now handle it in bl2_early_platform_setup2 and bl2_plat_arch_setup.Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>Change-Id: I8d332dbe2de1db3b69319496c8d04626cdcf4140
show more ...
fix(nxp/common/setup): increase soc name maximum lengthIncreate SoC name length as it is not enough for someSoC personalities.Signed-off-by: Biwen Li <biwen.li@nxp.com>Signed-off-by: Jiafei Pan
fix(nxp/common/setup): increase soc name maximum lengthIncreate SoC name length as it is not enough for someSoC personalities.Signed-off-by: Biwen Li <biwen.li@nxp.com>Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>Change-Id: I2142b4b5162dd3c9ab3afefcdc859063836d8bcc
fix(nxp/common/setup): fix total dram size checkingtotal_dram_size should be signed value because it is equal to returnvalue of init_ddr(), so if it is lower or equal zero, reporterror as DDR is
fix(nxp/common/setup): fix total dram size checkingtotal_dram_size should be signed value because it is equal to returnvalue of init_ddr(), so if it is lower or equal zero, reporterror as DDR is not initialized correctly.Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>Change-Id: Idbc40da103f60f10cb18c5306e97b764c1a9d372
refactor(plat/nxp): refine api to read SVR register1. Refined struct soc_info_t definition.2. Refined get_soc_info function.3. Fixed some SVR persernality value.4. Refined API to get cluster num
refactor(plat/nxp): refine api to read SVR register1. Refined struct soc_info_t definition.2. Refined get_soc_info function.3. Fixed some SVR persernality value.4. Refined API to get cluster numbers and cores per cluster.Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>Change-Id: I3c20611a523516cc63330dce4c925e6cda1e93c4
nxp: platform files for bl2 and bl31 setupFor NXP platforms:- Setup files for BL2 and BL31- Other supporting files.Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com>Change-Id: I36a1183a0652701
nxp: platform files for bl2 and bl31 setupFor NXP platforms:- Setup files for BL2 and BL31- Other supporting files.Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com>Change-Id: I36a1183a0652701bdede9e02d41eb976accbb017