Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
aa965e15
Commit
aa965e15
authored
Jul 20, 2017
by
davidcunado-arm
Committed by
GitHub
Jul 20, 2017
Browse files
Merge pull request #1029 from islmit01/im/fix_includes
Fix order of includes
parents
4deb7bcc
ee1ebbd1
Changes
93
Show whitespace changes
Inline
Side-by-side
plat/rockchip/rk3328/drivers/pmu/pmu.c
View file @
aa965e15
...
...
@@ -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
);
...
...
plat/rockchip/rk3328/drivers/soc/soc.c
View file @
aa965e15
...
...
@@ -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>
...
...
plat/rockchip/rk3368/drivers/ddr/ddr_rk3368.c
View file @
aa965e15
...
...
@@ -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)
...
...
plat/rockchip/rk3368/drivers/pmu/pmu.c
View file @
aa965e15
...
...
@@ -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 <rk3368_def.h>
#include <soc.h>
#include <pmu.h>
#include <ddr_rk3368.h>
#include <pmu_com.h>
#include <rk3368_def.h>
#include <soc.h>
DEFINE_BAKERY_LOCK
(
rockchip_pd_lock
);
...
...
plat/rockchip/rk3368/drivers/soc/soc.c
View file @
aa965e15
...
...
@@ -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>
...
...
plat/rockchip/rk3399/drivers/dram/dfs.c
View file @
aa965e15
...
...
@@ -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)
...
...
plat/rockchip/rk3399/drivers/dram/dram.c
View file @
aa965e15
...
...
@@ -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
;
...
...
plat/rockchip/rk3399/drivers/dram/dram_spec_timing.c
View file @
aa965e15
...
...
@@ -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"
...
...
plat/rockchip/rk3399/drivers/dram/suspend.c
View file @
aa965e15
...
...
@@ -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>
...
...
plat/rockchip/rk3399/drivers/gpio/rk3399_gpio.c
View file @
aa965e15
...
...
@@ -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
[]
=
{
...
...
plat/rockchip/rk3399/drivers/pmu/m0_ctl.c
View file @
aa965e15
...
...
@@ -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>
...
...
plat/rockchip/rk3399/drivers/pmu/pmu.c
View file @
aa965e15
...
...
@@ -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
);
...
...
plat/rockchip/rk3399/drivers/soc/soc.c
View file @
aa965e15
...
...
@@ -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>
...
...
plat/rockchip/rk3399/plat_sip_calls.c
View file @
aa965e15
...
...
@@ -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
...
...
plat/xilinx/zynqmp/bl31_zynqmp_setup.c
View file @
aa965e15
...
...
@@ -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>
...
...
plat/xilinx/zynqmp/plat_psci.c
View file @
aa965e15
...
...
@@ -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>
...
...
plat/xilinx/zynqmp/pm_service/pm_api_sys.c
View file @
aa965e15
...
...
@@ -11,10 +11,10 @@
#include <arch_helpers.h>
#include <platform.h>
#include "pm_api_sys.h"
#include "pm_client.h"
#include "pm_ipi.h"
#include "pm_common.h"
#include "pm_
a
pi
_sys
.h"
#include "pm_
i
pi.h"
/**
* Assigning of argument values into array elements.
...
...
plat/xilinx/zynqmp/pm_service/pm_client.c
View file @
aa965e15
...
...
@@ -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)
...
...
plat/xilinx/zynqmp/pm_service/pm_client.h
View file @
aa965e15
...
...
@@ -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
);
...
...
plat/xilinx/zynqmp/pm_service/pm_ipi.c
View file @
aa965e15
...
...
@@ -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
...
...
Prev
1
2
3
4
5
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment