mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-21 03:54:34 +00:00
Merge changes from topic "RD_INFRA_POWER_MODING" into integration
* changes: plat/arm/board: enable AMU for RD-N2 plat/arm/board: enable AMU for RD-V1 plat/arm/sgi: allow all PSCI callbacks on RD-V1
This commit is contained in:
commit
d5105d994c
3 changed files with 7 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
|
# Copyright (c) 2020-2021, ARM Limited and Contributors. All rights reserved.
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
#
|
#
|
||||||
|
@ -57,3 +57,4 @@ NT_FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_nt_fw_config.dtb
|
||||||
$(eval $(call TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config))
|
$(eval $(call TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config))
|
||||||
|
|
||||||
override CTX_INCLUDE_AARCH32_REGS := 0
|
override CTX_INCLUDE_AARCH32_REGS := 0
|
||||||
|
override ENABLE_AMU := 1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
|
# Copyright (c) 2020-2021, ARM Limited and Contributors. All rights reserved.
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
#
|
#
|
||||||
|
@ -57,3 +57,4 @@ NT_FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_nt_fw_config.dtb
|
||||||
$(eval $(call TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config,${NT_FW_CONFIG}))
|
$(eval $(call TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config,${NT_FW_CONFIG}))
|
||||||
|
|
||||||
override CTX_INCLUDE_AARCH32_REGS := 0
|
override CTX_INCLUDE_AARCH32_REGS := 0
|
||||||
|
override ENABLE_AMU := 1
|
||||||
|
|
|
@ -108,12 +108,11 @@ void sgi_bl31_common_platform_setup(void)
|
||||||
const plat_psci_ops_t *plat_arm_psci_override_pm_ops(plat_psci_ops_t *ops)
|
const plat_psci_ops_t *plat_arm_psci_override_pm_ops(plat_psci_ops_t *ops)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* For RD-E1-Edge and RD-V1 platforms, only CPU power ON/OFF
|
* For RD-E1-Edge, only CPU power ON/OFF, PSCI platform callbacks are
|
||||||
* PSCI platform callbacks are supported.
|
* supported.
|
||||||
*/
|
*/
|
||||||
if (((sgi_plat_info.platform_id == RD_N1E1_EDGE_SID_VER_PART_NUM) &&
|
if (((sgi_plat_info.platform_id == RD_N1E1_EDGE_SID_VER_PART_NUM) &&
|
||||||
(sgi_plat_info.config_id == RD_E1_EDGE_CONFIG_ID)) ||
|
(sgi_plat_info.config_id == RD_E1_EDGE_CONFIG_ID))) {
|
||||||
(sgi_plat_info.platform_id == RD_V1_SID_VER_PART_NUM)) {
|
|
||||||
ops->cpu_standby = NULL;
|
ops->cpu_standby = NULL;
|
||||||
ops->system_off = NULL;
|
ops->system_off = NULL;
|
||||||
ops->system_reset = NULL;
|
ops->system_reset = NULL;
|
||||||
|
|
Loading…
Add table
Reference in a new issue