mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
Merge changes from topic "xlnx_zynmp_tsp" into integration
* changes: chore(zynqmp): remove unused configuration from TSP fix(zynqmp): resolve runtime error in TSP
This commit is contained in:
commit
16f19ed1fa
3 changed files with 1 additions and 15 deletions
|
@ -229,20 +229,9 @@ static char *zynqmp_get_silicon_idcode_name(void)
|
|||
size_t i, j, len;
|
||||
const char *name = "EG/EV";
|
||||
|
||||
#ifdef IMAGE_BL32
|
||||
/*
|
||||
* For BL32, get the chip id info directly by reading corresponding
|
||||
* registers instead of making pm call. This has limitation
|
||||
* that these registers should be configured to have access
|
||||
* from APU which is default case.
|
||||
*/
|
||||
chipid[0] = mmio_read_32(ZYNQMP_CSU_BASEADDR + ZYNQMP_CSU_IDCODE_OFFSET);
|
||||
chipid[1] = mmio_read_32(EFUSE_BASEADDR + EFUSE_IPDISABLE_OFFSET);
|
||||
#else
|
||||
if (pm_get_chipid(chipid) != PM_RET_SUCCESS) {
|
||||
return "XCZUUNKN";
|
||||
}
|
||||
#endif
|
||||
|
||||
id = chipid[0] & (ZYNQMP_CSU_IDCODE_DEVICE_CODE_MASK |
|
||||
ZYNQMP_CSU_IDCODE_SVD_MASK);
|
||||
|
|
|
@ -20,7 +20,7 @@ override WARMBOOT_ENABLE_DCACHE_EARLY := 1
|
|||
EL3_EXCEPTION_HANDLING := $(SDEI_SUPPORT)
|
||||
|
||||
# pncd SPD requires secure SGI to be handled at EL1
|
||||
ifeq (${SPD},pncd)
|
||||
ifeq (${SPD}, $(filter ${SPD},pncd tspd))
|
||||
ifeq (${ZYNQMP_WDT_RESTART},1)
|
||||
$(error "Error: ZYNQMP_WDT_RESTART and SPD=pncd are incompatible")
|
||||
endif
|
||||
|
|
|
@ -28,9 +28,6 @@ void tsp_early_platform_setup(void)
|
|||
&tsp_boot_console);
|
||||
console_set_scope(&tsp_boot_console,
|
||||
CONSOLE_FLAG_RUNTIME | CONSOLE_FLAG_BOOT);
|
||||
|
||||
/* Initialize the platform config for future decision making */
|
||||
zynqmp_config_setup();
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
|
|
Loading…
Add table
Reference in a new issue