mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2025-03-05 08:57:07 +00:00
Fix order of remaining platform #includes
This fix modifies the order of system includes to meet the ARM TF coding standard. There are some exceptions to this change in order to retain header groupings and where there are headers within #if statements. Change-Id: Ib5b668c992d817cc860e97b29e16ef106d17e404 Signed-off-by: Isla Mitchell <isla.mitchell@arm.com>
This commit is contained in:
parent
4adb10c1ed
commit
ee1ebbd18e
plat
hisilicon
hikey
hikey960
mediatek
common
mt6795
mt8173
nvidia/tegra
qemu
rockchip
common
rk3328/drivers
rk3368/drivers
rk3399
xilinx/zynqmp
@ -6,11 +6,13 @@
|
||||
|
||||
#include <debug.h>
|
||||
#include <mmio.h>
|
||||
|
||||
#include <hi6220_regs_acpu.h>
|
||||
#include <hi6220_regs_ao.h>
|
||||
#include <hisi_ipc.h>
|
||||
#include <hisi_pwrc.h>
|
||||
#include <hisi_sram_map.h>
|
||||
#include <hi6220_regs_acpu.h>
|
||||
#include <hi6220_regs_ao.h>
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
@ -4,8 +4,8 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hisi_sip_svc.h>
|
||||
#include <debug.h>
|
||||
#include <hisi_sip_svc.h>
|
||||
#include <pmf.h>
|
||||
#include <runtime_svc.h>
|
||||
#include <stdint.h>
|
||||
|
@ -6,12 +6,12 @@
|
||||
|
||||
#include <arch_helpers.h>
|
||||
#include <assert.h>
|
||||
#include <debug.h>
|
||||
#include <hi3660.h>
|
||||
#include <hisi_ipc.h>
|
||||
#include <mmio.h>
|
||||
#include <platform.h>
|
||||
#include <platform_def.h>
|
||||
#include <hisi_ipc.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include "../../hikey960_private.h"
|
||||
|
||||
|
@ -4,13 +4,15 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <../hikey960_def.h>
|
||||
#include <arch_helpers.h>
|
||||
#include <assert.h>
|
||||
#include <hisi_ipc.h>
|
||||
#include <mmio.h>
|
||||
#include <platform.h>
|
||||
#include <platform_def.h>
|
||||
#include <../hikey960_def.h>
|
||||
#include <hisi_ipc.h>
|
||||
|
||||
|
||||
#include "hisi_pwrc.h"
|
||||
|
||||
|
||||
|
@ -13,10 +13,10 @@
|
||||
#include <delay_timer.h>
|
||||
#include <dw_ufs.h>
|
||||
#include <errno.h>
|
||||
#include <generic_delay_timer.h>
|
||||
#include <gicv2.h>
|
||||
#include <hi3660.h>
|
||||
#include <mmio.h>
|
||||
#include <generic_delay_timer.h>
|
||||
#include <platform.h>
|
||||
#include <platform_def.h>
|
||||
#include <string.h>
|
||||
|
@ -8,8 +8,8 @@
|
||||
#define __PLAT_MACROS_S__
|
||||
|
||||
#include <cci.h>
|
||||
#include <hi3660.h>
|
||||
#include <gic_v2.h>
|
||||
#include <hi3660.h>
|
||||
#include <platform_def.h>
|
||||
|
||||
.section .rodata.gic_reg_name, "aS"
|
||||
|
@ -12,8 +12,8 @@
|
||||
#include <mmio.h>
|
||||
#include <mtk_plat_common.h>
|
||||
#include <mtk_sip_svc.h>
|
||||
#include <platform.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform.h>
|
||||
#include <xlat_tables.h>
|
||||
|
||||
struct atf_arg_t gteearg;
|
||||
|
@ -3,9 +3,9 @@
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
#include <arch_helpers.h>
|
||||
#include <arm_gic.h>
|
||||
#include <assert.h>
|
||||
#include <arch_helpers.h>
|
||||
#include <bl_common.h>
|
||||
#include <cci.h>
|
||||
#include <common_def.h>
|
||||
@ -15,11 +15,11 @@
|
||||
#include <generic_delay_timer.h>
|
||||
#include <mcucfg.h>
|
||||
#include <mmio.h>
|
||||
#include <mtk_sip_svc.h>
|
||||
#include <mtk_plat_common.h>
|
||||
#include <mt_cpuxgpt.h>
|
||||
#include <platform.h>
|
||||
#include <mtk_plat_common.h>
|
||||
#include <mtk_sip_svc.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform.h>
|
||||
#include <string.h>
|
||||
#include <xlat_tables.h>
|
||||
/*******************************************************************************
|
||||
|
@ -4,13 +4,13 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <arch_helpers.h>
|
||||
#include <debug.h>
|
||||
#include <mmio.h>
|
||||
#include <mt_cpuxgpt.h>
|
||||
#include <stdint.h>
|
||||
#include <platform.h>
|
||||
#include <debug.h>
|
||||
#include <stdint.h>
|
||||
#define CPUXGPT_BASE 0x10200000
|
||||
#define INDEX_BASE (CPUXGPT_BASE+0x0674)
|
||||
#define CTL_BASE (CPUXGPT_BASE+0x0670)
|
||||
|
@ -14,8 +14,8 @@
|
||||
#include <errno.h>
|
||||
#include <mcucfg.h>
|
||||
#include <mmio.h>
|
||||
#include <platform_def.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform_def.h>
|
||||
#include <power_tracer.h>
|
||||
#include <psci.h>
|
||||
#include <scu.h>
|
||||
|
@ -3,13 +3,14 @@
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <debug.h>
|
||||
#include <delay_timer.h>
|
||||
#include <mmio.h>
|
||||
#include <mt8173_def.h>
|
||||
#include <debug.h>
|
||||
#include <mtcmos.h>
|
||||
#include <spm.h>
|
||||
#include <spm_mcdi.h>
|
||||
#include <delay_timer.h>
|
||||
|
||||
enum {
|
||||
SRAM_ISOINT_B = 1U << 6,
|
||||
|
@ -6,8 +6,8 @@
|
||||
#include <crypt.h>
|
||||
#include <debug.h>
|
||||
#include <mmio.h>
|
||||
#include <mtk_sip_svc.h>
|
||||
#include <mtcmos.h>
|
||||
#include <mtk_sip_svc.h>
|
||||
#include <plat_sip_calls.h>
|
||||
#include <runtime_svc.h>
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <asm_macros.S>
|
||||
#include <assert_macros.S>
|
||||
#include <cpu_macros.S>
|
||||
#include <cortex_a57.h>
|
||||
#include <cortex_a53.h>
|
||||
#include <cortex_a57.h>
|
||||
#include <platform_def.h>
|
||||
#include <tegra_def.h>
|
||||
|
||||
|
@ -6,12 +6,12 @@
|
||||
|
||||
#include <arch_helpers.h>
|
||||
#include <assert.h>
|
||||
#include <cortex_a53.h>
|
||||
#include <debug.h>
|
||||
#include <delay_timer.h>
|
||||
#include <flowctrl.h>
|
||||
#include <mmio.h>
|
||||
#include <pmc.h>
|
||||
#include <cortex_a53.h>
|
||||
#include <flowctrl.h>
|
||||
#include <tegra_def.h>
|
||||
|
||||
#define CLK_RST_DEV_L_SET 0x300
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <bl31.h>
|
||||
#include <bl_common.h>
|
||||
#include <console.h>
|
||||
#include <cortex_a57.h>
|
||||
#include <cortex_a53.h>
|
||||
#include <cortex_a57.h>
|
||||
#include <debug.h>
|
||||
#include <denver.h>
|
||||
#include <errno.h>
|
||||
|
@ -5,16 +5,16 @@
|
||||
*/
|
||||
|
||||
#include <arch_helpers.h>
|
||||
#include <assert.h>
|
||||
#include <arm_gic.h>
|
||||
#include <assert.h>
|
||||
#include <bl_common.h>
|
||||
#include <debug.h>
|
||||
#include <gic_v2.h>
|
||||
#include <interrupt_mgmt.h>
|
||||
#include <platform.h>
|
||||
#include <stdint.h>
|
||||
#include <tegra_private.h>
|
||||
#include <tegra_def.h>
|
||||
#include <tegra_private.h>
|
||||
|
||||
/* Value used to initialize Non-Secure IRQ priorities four at a time */
|
||||
#define GICD_IPRIORITYR_DEF_VAL \
|
||||
|
@ -7,9 +7,9 @@
|
||||
#include <arch_helpers.h>
|
||||
#include <assert.h>
|
||||
#include <bl_common.h>
|
||||
#include <console.h>
|
||||
#include <context.h>
|
||||
#include <context_mgmt.h>
|
||||
#include <console.h>
|
||||
#include <debug.h>
|
||||
#include <memctrl.h>
|
||||
#include <mmio.h>
|
||||
|
@ -13,8 +13,8 @@
|
||||
#include <memctrl.h>
|
||||
#include <mmio.h>
|
||||
#include <runtime_svc.h>
|
||||
#include <tegra_private.h>
|
||||
#include <tegra_platform.h>
|
||||
#include <tegra_private.h>
|
||||
|
||||
/*******************************************************************************
|
||||
* Common Tegra SiP SMCs
|
||||
|
@ -7,9 +7,9 @@
|
||||
#include <arch.h>
|
||||
#include <arch_helpers.h>
|
||||
#include <assert.h>
|
||||
#include <denver.h>
|
||||
#include <debug.h>
|
||||
#include <delay_timer.h>
|
||||
#include <denver.h>
|
||||
#include <flowctrl.h>
|
||||
#include <mmio.h>
|
||||
#include <platform_def.h>
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <denver.h>
|
||||
#include <mmio.h>
|
||||
#include <platform.h>
|
||||
#include <psci.h>
|
||||
#include <pmc.h>
|
||||
#include <psci.h>
|
||||
#include <tegra_def.h>
|
||||
|
||||
#define SB_CSR 0x0
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <debug.h>
|
||||
#include <delay_timer.h>
|
||||
#include <denver.h>
|
||||
#include <mmio.h>
|
||||
#include <mce_private.h>
|
||||
#include <mmio.h>
|
||||
#include <platform.h>
|
||||
#include <sys/errno.h>
|
||||
#include <t18x_ari.h>
|
||||
|
@ -8,8 +8,8 @@
|
||||
#include <arch_helpers.h>
|
||||
#include <debug.h>
|
||||
#include <denver.h>
|
||||
#include <mmio.h>
|
||||
#include <mce_private.h>
|
||||
#include <mmio.h>
|
||||
#include <sys/errno.h>
|
||||
#include <t18x_ari.h>
|
||||
|
||||
|
@ -8,12 +8,12 @@
|
||||
#include <assert.h>
|
||||
#include <debug.h>
|
||||
#include <delay_timer.h>
|
||||
#include <flowctrl.h>
|
||||
#include <mmio.h>
|
||||
#include <platform.h>
|
||||
#include <platform_def.h>
|
||||
#include <psci.h>
|
||||
#include <pmc.h>
|
||||
#include <flowctrl.h>
|
||||
#include <psci.h>
|
||||
#include <tegra_def.h>
|
||||
#include <tegra_private.h>
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <debug.h>
|
||||
#include <libfdt.h>
|
||||
#include <psci.h>
|
||||
#include "qemu_private.h"
|
||||
#include <string.h>
|
||||
#include "qemu_private.h"
|
||||
|
||||
static int append_psci_compatible(void *fdt, int offs, const char *str)
|
||||
{
|
||||
|
@ -9,9 +9,9 @@
|
||||
#include <debug.h>
|
||||
#include <libfdt.h>
|
||||
#include <platform_def.h>
|
||||
#include "qemu_private.h"
|
||||
#include <string.h>
|
||||
#include <utils.h>
|
||||
#include "qemu_private.h"
|
||||
|
||||
/*
|
||||
* The next 2 constants identify the extents of the code & RO data region.
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <arch_helpers.h>
|
||||
#include <bl_common.h>
|
||||
#include <platform_def.h>
|
||||
#include "qemu_private.h"
|
||||
#include <xlat_tables.h>
|
||||
#include "qemu_private.h"
|
||||
|
||||
#define MAP_DEVICE0 MAP_REGION_FLAT(DEVICE0_BASE, \
|
||||
DEVICE0_SIZE, \
|
||||
|
@ -8,8 +8,8 @@
|
||||
#include <assert.h>
|
||||
#include <debug.h>
|
||||
#include <gicv2.h>
|
||||
#include <platform_def.h>
|
||||
#include <platform.h>
|
||||
#include <platform_def.h>
|
||||
#include <psci.h>
|
||||
|
||||
/*
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#include <arch.h>
|
||||
#include <platform_def.h>
|
||||
#include "qemu_private.h"
|
||||
#include <sys/types.h>
|
||||
#include "qemu_private.h"
|
||||
|
||||
/* The power domain tree descriptor */
|
||||
static unsigned char power_domain_tree_desc[] = {
|
||||
|
@ -9,11 +9,11 @@
|
||||
#include <bl_common.h>
|
||||
#include <cci.h>
|
||||
#include <debug.h>
|
||||
#include <string.h>
|
||||
#include <xlat_tables.h>
|
||||
#include <platform_def.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform_def.h>
|
||||
#include <string.h>
|
||||
#include <utils.h>
|
||||
#include <xlat_tables.h>
|
||||
|
||||
#ifdef PLAT_RK_CCI_BASE
|
||||
static const int cci_map[] = {
|
||||
|
@ -11,8 +11,8 @@
|
||||
#include <debug.h>
|
||||
#include <generic_delay_timer.h>
|
||||
#include <mmio.h>
|
||||
#include <platform.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform.h>
|
||||
#include <platform_def.h>
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -9,8 +9,8 @@
|
||||
#include <debug.h>
|
||||
#include <delay_timer.h>
|
||||
#include <mmio.h>
|
||||
#include <platform_def.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform_def.h>
|
||||
#include <soc.h>
|
||||
#include <string.h>
|
||||
#include "ddr_parameter.h"
|
||||
|
@ -12,8 +12,8 @@
|
||||
#include <debug.h>
|
||||
#include <delay_timer.h>
|
||||
#include <mmio.h>
|
||||
#include <platform_def.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform_def.h>
|
||||
#include <soc.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -9,9 +9,9 @@
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
#include <mmio.h>
|
||||
#include <psci.h>
|
||||
#include <stdint.h>
|
||||
#include <xlat_tables.h>
|
||||
#include <psci.h>
|
||||
|
||||
#define __sramdata __attribute__((section(".sram.data")))
|
||||
#define __sramconst __attribute__((section(".sram.rodata")))
|
||||
|
@ -11,9 +11,9 @@
|
||||
#include <debug.h>
|
||||
#include <gpio.h>
|
||||
#include <mmio.h>
|
||||
#include <platform.h>
|
||||
#include <plat_params.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform.h>
|
||||
#include <string.h>
|
||||
|
||||
static struct gpio_info param_reset;
|
||||
|
@ -7,12 +7,12 @@
|
||||
#include <arch_helpers.h>
|
||||
#include <assert.h>
|
||||
#include <console.h>
|
||||
#include <errno.h>
|
||||
#include <debug.h>
|
||||
#include <psci.h>
|
||||
#include <delay_timer.h>
|
||||
#include <platform_def.h>
|
||||
#include <errno.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform_def.h>
|
||||
#include <psci.h>
|
||||
|
||||
/* Macros to read the rk power domain state */
|
||||
#define RK_CORE_PWR_STATE(state) \
|
||||
|
@ -5,8 +5,8 @@
|
||||
*/
|
||||
|
||||
#include <arch.h>
|
||||
#include <platform_def.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform_def.h>
|
||||
#include <psci.h>
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -5,20 +5,20 @@
|
||||
*/
|
||||
|
||||
#include <arch_helpers.h>
|
||||
#include <debug.h>
|
||||
#include <assert.h>
|
||||
#include <bakery_lock.h>
|
||||
#include <bl31.h>
|
||||
#include <console.h>
|
||||
#include <debug.h>
|
||||
#include <delay_timer.h>
|
||||
#include <errno.h>
|
||||
#include <mmio.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform.h>
|
||||
#include <platform_def.h>
|
||||
#include <plat_private.h>
|
||||
#include <pmu.h>
|
||||
#include <rk3328_def.h>
|
||||
#include <pmu_com.h>
|
||||
#include <rk3328_def.h>
|
||||
|
||||
DEFINE_BAKERY_LOCK(rockchip_pd_lock);
|
||||
|
||||
|
@ -6,12 +6,12 @@
|
||||
|
||||
#include <arch_helpers.h>
|
||||
#include <console.h>
|
||||
#include <ddr_parameter.h>
|
||||
#include <debug.h>
|
||||
#include <delay_timer.h>
|
||||
#include <mmio.h>
|
||||
#include <platform_def.h>
|
||||
#include <plat_private.h>
|
||||
#include <ddr_parameter.h>
|
||||
#include <platform_def.h>
|
||||
#include <rk3328_def.h>
|
||||
#include <soc.h>
|
||||
|
||||
|
@ -7,12 +7,12 @@
|
||||
#include <mmio.h>
|
||||
#include <ddr_rk3368.h>
|
||||
#include <debug.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <platform_def.h>
|
||||
#include <pmu.h>
|
||||
#include <rk3368_def.h>
|
||||
#include <soc.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
/* GRF_SOC_STATUS0 */
|
||||
#define DPLL_LOCK (0x1 << 2)
|
||||
|
@ -6,18 +6,18 @@
|
||||
|
||||
#include <arch_helpers.h>
|
||||
#include <assert.h>
|
||||
#include <ddr_rk3368.h>
|
||||
#include <debug.h>
|
||||
#include <delay_timer.h>
|
||||
#include <errno.h>
|
||||
#include <mmio.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform.h>
|
||||
#include <platform_def.h>
|
||||
#include <plat_private.h>
|
||||
#include <pmu.h>
|
||||
#include <pmu_com.h>
|
||||
#include <rk3368_def.h>
|
||||
#include <soc.h>
|
||||
#include <pmu.h>
|
||||
#include <ddr_rk3368.h>
|
||||
#include <pmu_com.h>
|
||||
|
||||
DEFINE_BAKERY_LOCK(rockchip_pd_lock);
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <arch_helpers.h>
|
||||
#include <debug.h>
|
||||
#include <mmio.h>
|
||||
#include <platform_def.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform_def.h>
|
||||
#include <rk3368_def.h>
|
||||
#include <soc.h>
|
||||
|
||||
|
@ -6,17 +6,16 @@
|
||||
|
||||
#include <arch_helpers.h>
|
||||
#include <debug.h>
|
||||
#include <mmio.h>
|
||||
#include <delay_timer.h>
|
||||
#include <m0_ctl.h>
|
||||
#include <mmio.h>
|
||||
#include <plat_private.h>
|
||||
#include "dfs.h"
|
||||
#include "dram.h"
|
||||
#include "dram_spec_timing.h"
|
||||
#include "string.h"
|
||||
#include "soc.h"
|
||||
#include "pmu.h"
|
||||
|
||||
#include <delay_timer.h>
|
||||
#include "soc.h"
|
||||
#include "string.h"
|
||||
|
||||
#define ENPER_CS_TRAINING_FREQ (666)
|
||||
#define TDFI_LAT_THRESHOLD_FREQ (928)
|
||||
|
@ -6,9 +6,9 @@
|
||||
|
||||
#include <dram.h>
|
||||
#include <plat_private.h>
|
||||
#include <rk3399_def.h>
|
||||
#include <secure.h>
|
||||
#include <soc.h>
|
||||
#include <rk3399_def.h>
|
||||
|
||||
__pmusramdata struct rk3399_sdram_params sdram_config;
|
||||
|
||||
|
@ -4,9 +4,9 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <dram.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <utils.h>
|
||||
#include "dram_spec_timing.h"
|
||||
|
||||
|
@ -3,11 +3,12 @@
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
#include <debug.h>
|
||||
|
||||
#include <arch_helpers.h>
|
||||
#include <platform_def.h>
|
||||
#include <plat_private.h>
|
||||
#include <debug.h>
|
||||
#include <dram.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform_def.h>
|
||||
#include <pmu_regs.h>
|
||||
#include <rk3399_def.h>
|
||||
#include <secure.h>
|
||||
|
@ -9,9 +9,9 @@
|
||||
#include <errno.h>
|
||||
#include <gpio.h>
|
||||
#include <mmio.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform.h>
|
||||
#include <platform_def.h>
|
||||
#include <plat_private.h>
|
||||
#include <soc.h>
|
||||
|
||||
uint32_t gpio_port[] = {
|
||||
|
@ -8,8 +8,8 @@
|
||||
#include <assert.h>
|
||||
#include <debug.h>
|
||||
#include <delay_timer.h>
|
||||
#include <mmio.h>
|
||||
#include <m0_ctl.h>
|
||||
#include <mmio.h>
|
||||
#include <plat_private.h>
|
||||
#include <rk3399_def.h>
|
||||
#include <secure.h>
|
||||
|
@ -7,25 +7,25 @@
|
||||
#include <arch_helpers.h>
|
||||
#include <assert.h>
|
||||
#include <bakery_lock.h>
|
||||
#include <bl31.h>
|
||||
#include <debug.h>
|
||||
#include <delay_timer.h>
|
||||
#include <dfs.h>
|
||||
#include <errno.h>
|
||||
#include <gpio.h>
|
||||
#include <mmio.h>
|
||||
#include <m0_ctl.h>
|
||||
#include <platform.h>
|
||||
#include <platform_def.h>
|
||||
#include <mmio.h>
|
||||
#include <plat_params.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform.h>
|
||||
#include <platform_def.h>
|
||||
#include <pmu.h>
|
||||
#include <pmu_com.h>
|
||||
#include <pwm.h>
|
||||
#include <rk3399_def.h>
|
||||
#include <secure.h>
|
||||
#include <soc.h>
|
||||
#include <string.h>
|
||||
#include <pmu.h>
|
||||
#include <pmu_com.h>
|
||||
#include <pwm.h>
|
||||
#include <bl31.h>
|
||||
#include <suspend.h>
|
||||
|
||||
DEFINE_BAKERY_LOCK(rockchip_pd_lock);
|
||||
|
@ -10,10 +10,10 @@
|
||||
#include <delay_timer.h>
|
||||
#include <dfs.h>
|
||||
#include <dram.h>
|
||||
#include <mmio.h>
|
||||
#include <m0_ctl.h>
|
||||
#include <platform_def.h>
|
||||
#include <mmio.h>
|
||||
#include <plat_private.h>
|
||||
#include <platform_def.h>
|
||||
#include <rk3399_def.h>
|
||||
#include <secure.h>
|
||||
#include <soc.h>
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
#include <cdn_dp.h>
|
||||
#include <debug.h>
|
||||
#include <dfs.h>
|
||||
#include <mmio.h>
|
||||
#include <plat_sip_calls.h>
|
||||
#include <rockchip_sip_svc.h>
|
||||
#include <runtime_svc.h>
|
||||
#include <dfs.h>
|
||||
|
||||
#define RK_SIP_DDR_CFG 0x82000008
|
||||
#define DRAM_INIT 0x00
|
||||
|
@ -5,8 +5,8 @@
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <bl_common.h>
|
||||
#include <bl31.h>
|
||||
#include <bl_common.h>
|
||||
#include <console.h>
|
||||
#include <debug.h>
|
||||
#include <errno.h>
|
||||
|
@ -5,9 +5,9 @@
|
||||
*/
|
||||
|
||||
#include <arch_helpers.h>
|
||||
#include <errno.h>
|
||||
#include <assert.h>
|
||||
#include <debug.h>
|
||||
#include <errno.h>
|
||||
#include <gicv2.h>
|
||||
#include <mmio.h>
|
||||
#include <plat_arm.h>
|
||||
|
@ -11,10 +11,10 @@
|
||||
|
||||
#include <arch_helpers.h>
|
||||
#include <platform.h>
|
||||
#include "pm_client.h"
|
||||
#include "pm_ipi.h"
|
||||
#include "pm_common.h"
|
||||
#include "pm_api_sys.h"
|
||||
#include "pm_client.h"
|
||||
#include "pm_common.h"
|
||||
#include "pm_ipi.h"
|
||||
|
||||
/**
|
||||
* Assigning of argument values into array elements.
|
||||
|
@ -11,16 +11,16 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <bakery_lock.h>
|
||||
#include <gicv2.h>
|
||||
#include <gic_common.h>
|
||||
#include <bl_common.h>
|
||||
#include <gic_common.h>
|
||||
#include <gicv2.h>
|
||||
#include <mmio.h>
|
||||
#include <string.h>
|
||||
#include <utils.h>
|
||||
#include "../zynqmp_def.h"
|
||||
#include "pm_api_sys.h"
|
||||
#include "pm_client.h"
|
||||
#include "pm_ipi.h"
|
||||
#include "../zynqmp_def.h"
|
||||
|
||||
#define IRQ_MAX 84
|
||||
#define NUM_GICD_ISENABLER ((IRQ_MAX >> 5) + 1)
|
||||
|
@ -12,8 +12,8 @@
|
||||
#ifndef _PM_CLIENT_H_
|
||||
#define _PM_CLIENT_H_
|
||||
|
||||
#include "pm_defs.h"
|
||||
#include "pm_common.h"
|
||||
#include "pm_defs.h"
|
||||
|
||||
/* Functions to be implemented by each PU */
|
||||
void pm_client_suspend(const struct pm_proc *proc, unsigned int state);
|
||||
|
@ -4,12 +4,12 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <arch_helpers.h>
|
||||
#include <bakery_lock.h>
|
||||
#include <mmio.h>
|
||||
#include <platform.h>
|
||||
#include <arch_helpers.h>
|
||||
#include "pm_ipi.h"
|
||||
#include "../zynqmp_private.h"
|
||||
#include "pm_ipi.h"
|
||||
|
||||
/* IPI message buffers */
|
||||
#define IPI_BUFFER_BASEADDR 0xFF990000U
|
||||
|
@ -13,10 +13,10 @@
|
||||
#include <gic_common.h>
|
||||
#include <runtime_svc.h>
|
||||
#include <string.h>
|
||||
#include "../zynqmp_private.h"
|
||||
#include "pm_api_sys.h"
|
||||
#include "pm_client.h"
|
||||
#include "pm_ipi.h"
|
||||
#include "../zynqmp_private.h"
|
||||
|
||||
#define PM_GET_CALLBACK_DATA 0xa01
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <bl_common.h>
|
||||
#include <console.h>
|
||||
#include <debug.h>
|
||||
#include <platform_tsp.h>
|
||||
#include <plat_arm.h>
|
||||
#include <platform_tsp.h>
|
||||
#include "../zynqmp_private.h"
|
||||
|
||||
#define BL32_END (unsigned long)(&__BL32_END__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user