mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 11:04:20 +00:00
Merge "fix(qemu): remove validate_ns_entrypoint" into integration
This commit is contained in:
commit
bb332ed8a0
1 changed files with 0 additions and 17 deletions
|
@ -101,22 +101,6 @@ static int qemu_validate_power_state(unsigned int power_state,
|
||||||
return PSCI_E_SUCCESS;
|
return PSCI_E_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*******************************************************************************
|
|
||||||
* Platform handler called to check the validity of the non secure
|
|
||||||
* entrypoint.
|
|
||||||
******************************************************************************/
|
|
||||||
static int qemu_validate_ns_entrypoint(uintptr_t entrypoint)
|
|
||||||
{
|
|
||||||
/*
|
|
||||||
* Check if the non secure entrypoint lies within the non
|
|
||||||
* secure DRAM.
|
|
||||||
*/
|
|
||||||
if ((entrypoint >= NS_DRAM0_BASE) &&
|
|
||||||
(entrypoint < (NS_DRAM0_BASE + NS_DRAM0_SIZE)))
|
|
||||||
return PSCI_E_SUCCESS;
|
|
||||||
return PSCI_E_INVALID_ADDRESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Platform handler called when a CPU is about to enter standby.
|
* Platform handler called when a CPU is about to enter standby.
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
@ -241,7 +225,6 @@ static const plat_psci_ops_t plat_qemu_psci_pm_ops = {
|
||||||
.system_off = qemu_system_off,
|
.system_off = qemu_system_off,
|
||||||
.system_reset = qemu_system_reset,
|
.system_reset = qemu_system_reset,
|
||||||
.validate_power_state = qemu_validate_power_state,
|
.validate_power_state = qemu_validate_power_state,
|
||||||
.validate_ns_entrypoint = qemu_validate_ns_entrypoint
|
|
||||||
};
|
};
|
||||||
|
|
||||||
int plat_setup_psci_ops(uintptr_t sec_entrypoint,
|
int plat_setup_psci_ops(uintptr_t sec_entrypoint,
|
||||||
|
|
Loading…
Add table
Reference in a new issue