Commit ee1ebbd1 authored by Isla Mitchell's avatar Isla Mitchell
Browse files

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: default avatarIsla Mitchell <isla.mitchell@arm.com>
parent 4adb10c1
......@@ -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 <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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment