Browse Source

fix(intel): bl31 overwrite OCRAM configuration

U-boot is allowed to configure OCRAM access. However
ATF BL31 will overwrite it. Thus removing this function
to allow for proper configuration.

Change-Id: I45173ef8f472c3620486de0cbf6452ba5f78be01
Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
pull/2005/head
Jit Loon Lim 1 year ago
parent
commit
cfbac59590
  1. 2
      plat/intel/soc/agilex/bl31_plat_setup.c
  2. 4
      plat/intel/soc/agilex5/bl31_plat_setup.c
  3. 2
      plat/intel/soc/n5x/bl31_plat_setup.c
  4. 2
      plat/intel/soc/stratix10/bl31_plat_setup.c

2
plat/intel/soc/agilex/bl31_plat_setup.c

@ -136,8 +136,6 @@ void bl31_platform_setup(void)
(uint64_t)plat_secondary_cpus_bl31_entry);
mailbox_hps_stage_notify(HPS_EXECUTION_STATE_SSBL);
ncore_enable_ocram_firewall();
}
const mmap_region_t plat_agilex_mmap[] = {

4
plat/intel/soc/agilex5/bl31_plat_setup.c

@ -167,10 +167,6 @@ void bl31_platform_setup(void)
gicv3_rdistif_init(plat_my_core_pos());
gicv3_cpuif_enable(plat_my_core_pos());
mailbox_hps_stage_notify(HPS_EXECUTION_STATE_SSBL);
#if !defined(SIMICS_RUN)
ncore_enable_ocram_firewall();
#endif
}
const mmap_region_t plat_agilex_mmap[] = {

2
plat/intel/soc/n5x/bl31_plat_setup.c

@ -116,8 +116,6 @@ void bl31_platform_setup(void)
(uint64_t)plat_secondary_cpus_bl31_entry);
mailbox_hps_stage_notify(HPS_EXECUTION_STATE_SSBL);
ncore_enable_ocram_firewall();
}
const mmap_region_t plat_dm_mmap[] = {

2
plat/intel/soc/stratix10/bl31_plat_setup.c

@ -123,8 +123,6 @@ void bl31_platform_setup(void)
(uint64_t)plat_secondary_cpus_bl31_entry);
mailbox_hps_stage_notify(HPS_EXECUTION_STATE_SSBL);
enable_ocram_firewall();
}
const mmap_region_t plat_stratix10_mmap[] = {

Loading…
Cancel
Save