Commit 35e98e55 authored by Dan Handley's avatar Dan Handley
Browse files

Make use of user/system includes more consistent

Make codebase consistent in its use of #include "" syntax for
user includes and #include <> syntax for system includes.

Fixes ARM-software/tf-issues#65

Change-Id: If2f7c4885173b1fd05ac2cde5f1c8a07000c7a33
parent e8246c07
......@@ -145,7 +145,6 @@ INCLUDES += -Iinclude/bl1 \
-Iinclude/lib/aarch64 \
-Iinclude/stdlib \
-Iinclude/stdlib/sys \
-Iservices/std_svc/psci \
-Iplat/${PLAT} \
${PLAT_INCLUDES} \
${SPD_INCLUDES}
......
......@@ -37,7 +37,7 @@
#include <semihosting.h>
#include <bl_common.h>
#include <bl2.h>
#include "debug.h"
#include <debug.h>
/*******************************************************************************
* The only thing to do in BL2 is to load further images and pass control to
......
......@@ -31,8 +31,8 @@
#include <bl_common.h>
#include <platform.h>
#include <arch.h>
#include "cm_macros.S"
#include <asm_macros.S>
#include <cm_macros.S>
.globl bl31_entrypoint
......
......@@ -32,8 +32,8 @@
#include <runtime_svc.h>
#include <platform.h>
#include <context.h>
#include "asm_macros.S"
#include "cm_macros.S"
#include <asm_macros.S>
#include <cm_macros.S>
.globl runtime_exceptions
.globl el3_exit
......
......@@ -37,8 +37,8 @@
#include <platform.h>
#include <semihosting.h>
#include <bl_common.h>
#include "io_storage.h"
#include "debug.h"
#include <io_storage.h>
#include <debug.h>
unsigned long page_align(unsigned long value, unsigned dir)
{
......
......@@ -29,10 +29,10 @@
*/
#include <assert.h>
#include "arch_helpers.h"
#include "tzc400.h"
#include "mmio.h"
#include "debug.h"
#include <arch_helpers.h>
#include <tzc400.h>
#include <mmio.h>
#include <debug.h>
static uint32_t tzc_read_build_config(uint64_t base)
{
......
......@@ -33,12 +33,12 @@
#include <errno.h>
#include <string.h>
#include <assert.h>
#include "platform.h"
#include "firmware_image_package.h"
#include "io_storage.h"
#include "io_driver.h"
#include "io_fip.h"
#include "debug.h"
#include <platform.h>
#include <firmware_image_package.h>
#include <io_storage.h>
#include <io_driver.h>
#include <io_fip.h>
#include <debug.h>
/* Useful for printing UUIDs when debugging.*/
#define PRINT_UUID2(x) \
......
......@@ -30,9 +30,9 @@
#include <assert.h>
#include <string.h>
#include "io_storage.h"
#include "io_driver.h"
#include "debug.h"
#include <io_storage.h>
#include <io_driver.h>
#include <debug.h>
/* As we need to be able to keep state for seek, only one file can be open
* at a time. Make this a structure and point to the entity->info. When we
......
......@@ -29,9 +29,9 @@
*/
#include <assert.h>
#include "io_storage.h"
#include "io_driver.h"
#include "semihosting.h"
#include <io_storage.h>
#include <io_driver.h>
#include <semihosting.h>
......
......@@ -31,7 +31,7 @@
#ifndef __IO_DRIVER_H__
#define __IO_DRIVER_H__
#include "platform.h" /* For MAX_IO_DEVICES */
#include <platform.h> /* For MAX_IO_DEVICES */
/* Generic IO entity structure,representing an accessible IO construct on the
......
......@@ -31,8 +31,8 @@
#include <stddef.h>
#include <assert.h>
#include "io_storage.h"
#include "io_driver.h"
#include <io_storage.h>
#include <io_driver.h>
#define MAX_DEVICES(plat_data) \
......
......@@ -30,7 +30,7 @@
#include <assert.h>
#include <arch_helpers.h>
#include "debug.h"
#include <debug.h>
#include <platform.h>
#include <xlat_tables.h>
......
......@@ -30,14 +30,14 @@
#include <assert.h>
#include <string.h>
#include "platform.h"
#include "io_storage.h"
#include "io_driver.h"
#include "io_semihosting.h"
#include "semihosting.h" /* For FOPEN_MODE_... */
#include "io_fip.h"
#include "io_memmap.h"
#include "debug.h"
#include <platform.h>
#include <io_storage.h>
#include <io_driver.h>
#include <io_semihosting.h>
#include <semihosting.h> /* For FOPEN_MODE_... */
#include <io_fip.h>
#include <io_memmap.h>
#include <debug.h>
/* IO devices */
static struct io_plat_data io_data;
......
......@@ -29,9 +29,9 @@
*/
#include <assert.h>
#include "platform.h"
#include "tzc400.h"
#include "debug.h"
#include <platform.h>
#include <tzc400.h>
#include <debug.h>
/* Used to improve readability for configuring regions. */
#define FILTER_SHIFT(filter) (1 << filter)
......
......@@ -35,7 +35,7 @@
#include <mmio.h>
#include <psci.h>
#include <bl_common.h>
#include "io_storage.h"
#include <io_storage.h>
/*******************************************************************************
......
......@@ -29,8 +29,7 @@
#
TSPD_DIR := services/spd/tspd
SPD_INCLUDES := -Iinclude/bl32/payloads \
-I${TSPD_DIR}
SPD_INCLUDES := -Iinclude/bl32/payloads
SPD_SOURCES := tspd_common.c \
tspd_main.c \
......
......@@ -37,7 +37,7 @@
#include <bl_common.h>
#include <runtime_svc.h>
#include <context_mgmt.h>
#include <tspd_private.h>
#include "tspd_private.h"
/*******************************************************************************
* Given a secure payload entrypoint, register width, cpu id & pointer to a
......
......@@ -29,9 +29,9 @@
*/
#include <context.h>
#include <tspd_private.h>
#include <asm_macros.S>
#include <cm_macros.S>
#include "tspd_private.h"
.global tspd_enter_sp
/* ---------------------------------------------
......
......@@ -49,9 +49,9 @@
#include <bl31.h>
#include <tsp.h>
#include <psci.h>
#include <tspd_private.h>
#include <debug.h>
#include <uuid.h>
#include "tspd_private.h"
/*******************************************************************************
* Single structure to hold information about the various entry points into the
......
......@@ -39,8 +39,8 @@
#include <bl31.h>
#include <bl32.h>
#include <psci.h>
#include <tspd_private.h>
#include <debug.h>
#include "tspd_private.h"
/*******************************************************************************
* The target cpu is being turned on. Allow the TSPD/TSP to perform any actions
......
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