mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 14:55:16 +00:00
libc: Fix all includes in codebase
The codebase was using non-standard headers. It is needed to replace them by the correct ones so that we can use the new libc headers. Change-Id: I530f71d9510cb036e69fe79823c8230afe890b9d Acked-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
This commit is contained in:
parent
2fb88cb2e9
commit
93c78ed231
71 changed files with 109 additions and 100 deletions
|
@ -7,7 +7,7 @@
|
||||||
#ifndef __BL1_PRIVATE_H__
|
#ifndef __BL1_PRIVATE_H__
|
||||||
#define __BL1_PRIVATE_H__
|
#define __BL1_PRIVATE_H__
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
#include <utils_def.h>
|
#include <utils_def.h>
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <std_svc.h>
|
#include <std_svc.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <types.h>
|
|
||||||
#include <utils.h>
|
#include <utils.h>
|
||||||
#include "sp_min_private.h"
|
#include "sp_min_private.h"
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
|
#include <cdefs.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <utils_def.h>
|
#include <utils_def.h>
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,6 @@
|
||||||
#include <cassert.h>
|
#include <cassert.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <types.h>
|
|
||||||
#include <utils_def.h> /* To retain compatibility */
|
#include <utils_def.h> /* To retain compatibility */
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#define LOG_LEVEL_VERBOSE 50
|
#define LOG_LEVEL_VERBOSE 50
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
#include <cdefs.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
#include <cassert.h>
|
#include <cassert.h>
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct aapcs64_params {
|
typedef struct aapcs64_params {
|
||||||
u_register_t arg0;
|
u_register_t arg0;
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* This structure provides version information and the size of the
|
* This structure provides version information and the size of the
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2014, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -7,6 +7,7 @@
|
||||||
#ifndef __ARM_GIC_H__
|
#ifndef __ARM_GIC_H__
|
||||||
#define __ARM_GIC_H__
|
#define __ARM_GIC_H__
|
||||||
|
|
||||||
|
#include <cdefs.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2013-2016, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -17,8 +17,6 @@
|
||||||
|
|
||||||
#include <mmio.h>
|
#include <mmio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <types.h>
|
|
||||||
|
|
||||||
|
|
||||||
/* GICv3 Re-distributor interface registers & shifts */
|
/* GICv3 Re-distributor interface registers & shifts */
|
||||||
#define GICR_PCPUBASE_SHIFT 0x11
|
#define GICR_PCPUBASE_SHIFT 0x11
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -116,6 +116,7 @@
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
|
#include <cdefs.h>
|
||||||
#include <interrupt_props.h>
|
#include <interrupt_props.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
|
@ -212,7 +212,6 @@
|
||||||
#include <gic_common.h>
|
#include <gic_common.h>
|
||||||
#include <interrupt_props.h>
|
#include <interrupt_props.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <types.h>
|
|
||||||
#include <utils_def.h>
|
#include <utils_def.h>
|
||||||
|
|
||||||
#define gicv3_is_intr_id_special_identifier(id) \
|
#define gicv3_is_intr_id_special_identifier(id) \
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
console_t console;
|
console_t console;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
console_t console;
|
console_t console;
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct console {
|
typedef struct console {
|
||||||
struct console *next;
|
struct console *next;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -7,7 +7,7 @@
|
||||||
#ifndef __DW_UFS_H__
|
#ifndef __DW_UFS_H__
|
||||||
#define __DW_UFS_H__
|
#define __DW_UFS_H__
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/* Bus Throtting */
|
/* Bus Throtting */
|
||||||
#define BUSTHRTL 0xC0
|
#define BUSTHRTL 0xC0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
#define __PARTITION_H__
|
#define __PARTITION_H__
|
||||||
|
|
||||||
#include <cassert.h>
|
#include <cassert.h>
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#if !PLAT_PARTITION_MAX_ENTRIES
|
#if !PLAT_PARTITION_MAX_ENTRIES
|
||||||
# define PLAT_PARTITION_MAX_ENTRIES 128
|
# define PLAT_PARTITION_MAX_ENTRIES 128
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
console_t console;
|
console_t console;
|
||||||
|
|
|
@ -8,8 +8,9 @@
|
||||||
#define __ARCH_HELPERS_H__
|
#define __ARCH_HELPERS_H__
|
||||||
|
|
||||||
#include <arch.h> /* for additional register definitions */
|
#include <arch.h> /* for additional register definitions */
|
||||||
|
#include <cdefs.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sys/types.h>
|
#include <string.h>
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* Macros which create inline functions to read or write CPU system
|
* Macros which create inline functions to read or write CPU system
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
#include <cassert.h>
|
#include <cassert.h>
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The generic structure to save arguments and callee saved registers during
|
* The generic structure to save arguments and callee saved registers during
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include <arch.h> /* for additional register definitions */
|
#include <arch.h> /* for additional register definitions */
|
||||||
#include <cdefs.h> /* For __dead2 */
|
#include <cdefs.h> /* For __dead2 */
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sys/types.h>
|
#include <string.h>
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* Macros which create inline functions to read or write CPU system
|
* Macros which create inline functions to read or write CPU system
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2013-2015, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -12,6 +12,7 @@
|
||||||
#define BAKERY_LOCK_MAX_CPUS PLATFORM_CORE_COUNT
|
#define BAKERY_LOCK_MAX_CPUS PLATFORM_CORE_COUNT
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
#include <cdefs.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2014, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -7,6 +7,8 @@
|
||||||
#ifndef __CASSERT_H__
|
#ifndef __CASSERT_H__
|
||||||
#define __CASSERT_H__
|
#define __CASSERT_H__
|
||||||
|
|
||||||
|
#include <cdefs.h>
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Macro to flag a compile time assertion. It uses the preprocessor to generate
|
* Macro to flag a compile time assertion. It uses the preprocessor to generate
|
||||||
* an invalid C construct if 'cond' evaluates to false.
|
* an invalid C construct if 'cond' evaluates to false.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -7,7 +7,7 @@
|
||||||
#ifndef __COREBOOT_H__
|
#ifndef __COREBOOT_H__
|
||||||
#define __COREBOOT_H__
|
#define __COREBOOT_H__
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint32_t type; /* always 2 (memory-mapped) on ARM */
|
uint32_t type; /* always 2 (memory-mapped) on ARM */
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -10,7 +10,6 @@
|
||||||
#include <cassert.h>
|
#include <cassert.h>
|
||||||
#include <platform_def.h>
|
#include <platform_def.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sys/cdefs.h> /* for CASSERT() */
|
|
||||||
|
|
||||||
/* All group 0 counters */
|
/* All group 0 counters */
|
||||||
#define AMU_GROUP0_COUNTERS_MASK 0xf
|
#define AMU_GROUP0_COUNTERS_MASK 0xf
|
||||||
|
|
|
@ -171,7 +171,6 @@
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <types.h>
|
|
||||||
|
|
||||||
/* Function to help build the psci capabilities bitfield */
|
/* Function to help build the psci capabilities bitfield */
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,8 @@
|
||||||
#include <ep_info.h>
|
#include <ep_info.h>
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
#include <types.h>
|
#include <cdefs.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Optional structure populated by the Secure Payload Dispatcher to be given a
|
* Optional structure populated by the Secure Payload Dispatcher to be given a
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct spinlock {
|
typedef struct spinlock {
|
||||||
volatile uint32_t lock;
|
volatile uint32_t lock;
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
#if !(defined(__LINKER__) || defined(__ASSEMBLY__))
|
#if !(defined(__LINKER__) || defined(__ASSEMBLY__))
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct mem_region {
|
typedef struct mem_region {
|
||||||
uintptr_t base;
|
uintptr_t base;
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sys/types.h>
|
#include <string.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Return the values that the MMU configuration registers must contain for the
|
* Return the values that the MMU configuration registers must contain for the
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <cdefs.h>
|
#include <cdefs.h>
|
||||||
#include <psci.h>
|
#include <psci.h>
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/* System power domain at level 2, as currently implemented by CSS platforms */
|
/* System power domain at level 2, as currently implemented by CSS platforms */
|
||||||
#define CSS_SYSTEM_PWR_DMN_LVL ARM_PWR_LVL2
|
#define CSS_SYSTEM_PWR_DMN_LVL ARM_PWR_LVL2
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
#include <bl_common.h>
|
#include <bl_common.h>
|
||||||
#include <platform_def.h>
|
#include <platform_def.h>
|
||||||
|
#include <xlat_tables_defs.h>
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Required platform porting definitions that are expected to be common to
|
* Required platform porting definitions that are expected to be common to
|
||||||
|
|
|
@ -9,8 +9,6 @@
|
||||||
|
|
||||||
#include <psci.h>
|
#include <psci.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <types.h>
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Forward declarations
|
* Forward declarations
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef __SECURE_PARTITION_H__
|
#ifndef __SECURE_PARTITION_H__
|
||||||
#define __SECURE_PARTITION_H__
|
#define __SECURE_PARTITION_H__
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
#include <utils_def.h>
|
#include <utils_def.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Portions copyright (c) 2017, ARM Limited and Contributors.
|
* Portions copyright (c) 2017-2018, ARM Limited and Contributors.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -63,9 +63,8 @@
|
||||||
* Kernel and boot environment can't use normal headers,
|
* Kernel and boot environment can't use normal headers,
|
||||||
* so use the equivalent system headers.
|
* so use the equivalent system headers.
|
||||||
*/
|
*/
|
||||||
# include <sys/limits.h>
|
# include <limits.h>
|
||||||
# include <sys/stdint.h>
|
# include <stdint.h>
|
||||||
# include <sys/types.h>
|
|
||||||
|
|
||||||
/* Include the commonly used internal type definitions. */
|
/* Include the commonly used internal type definitions. */
|
||||||
#include "int_types.h"
|
#include "int_types.h"
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <cdefs.h>
|
||||||
#include <console.h>
|
#include <console.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include <bl_common.h>
|
#include <bl_common.h>
|
||||||
#include <common_def.h>
|
#include <common_def.h>
|
||||||
#include <platform_def.h>
|
#include <platform_def.h>
|
||||||
#include <sys/types.h>
|
#include <stdint.h>
|
||||||
#include <utils.h>
|
#include <utils.h>
|
||||||
#include <xlat_tables.h>
|
#include <xlat_tables.h>
|
||||||
#include <xlat_tables_arch.h>
|
#include <xlat_tables_arch.h>
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <platform_def.h>
|
#include <platform_def.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <types.h>
|
|
||||||
#include <utils.h>
|
#include <utils.h>
|
||||||
#include <xlat_tables.h>
|
#include <xlat_tables.h>
|
||||||
#include "xlat_tables_private.h"
|
#include "xlat_tables_private.h"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <cassert.h>
|
#include <cassert.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <sys/types.h>
|
#include <stdint.h>
|
||||||
#include <utils_def.h>
|
#include <utils_def.h>
|
||||||
#include <xlat_tables_v2.h>
|
#include <xlat_tables_v2.h>
|
||||||
#include "../xlat_tables_private.h"
|
#include "../xlat_tables_private.h"
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <platform_def.h>
|
#include <platform_def.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <types.h>
|
|
||||||
#include <utils_def.h>
|
#include <utils_def.h>
|
||||||
#include <xlat_tables_defs.h>
|
#include <xlat_tables_defs.h>
|
||||||
#include <xlat_tables_v2.h>
|
#include <xlat_tables_v2.h>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <platform_def.h>
|
#include <platform_def.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
#include <utils_def.h>
|
#include <utils_def.h>
|
||||||
#include <xlat_tables_defs.h>
|
#include <xlat_tables_defs.h>
|
||||||
#include <xlat_tables_v2.h>
|
#include <xlat_tables_v2.h>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <cassert.h>
|
#include <cassert.h>
|
||||||
#include <platform_def.h>
|
#include <platform_def.h>
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
struct psci_power_state;
|
struct psci_power_state;
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <platform_def.h>
|
#include <platform_def.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <strings.h>
|
#include <string.h>
|
||||||
#include <utils_def.h>
|
#include <utils_def.h>
|
||||||
#include "hikey_private.h"
|
#include "hikey_private.h"
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
console_t console;
|
console_t console;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
/* Includes */
|
/* Includes */
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#define __I volatile /*!< Defines 'read only' permissions */
|
#define __I volatile /*!< Defines 'read only' permissions */
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#define MU_ATR0_OFFSET1 0x0
|
#define MU_ATR0_OFFSET1 0x0
|
||||||
#define MU_ARR0_OFFSET1 0x10
|
#define MU_ARR0_OFFSET1 0x10
|
||||||
|
|
|
@ -5,15 +5,15 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch_helpers.h>
|
#include <arch_helpers.h>
|
||||||
#include <debug.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <debug.h>
|
||||||
|
#include <delay_timer.h>
|
||||||
|
#include <endian.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <gicv2.h>
|
||||||
|
#include <mmio.h>
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#include <psci.h>
|
#include <psci.h>
|
||||||
#include <mmio.h>
|
|
||||||
#include <sys/endian.h>
|
|
||||||
#include <gicv2.h>
|
|
||||||
#include <delay_timer.h>
|
|
||||||
#include "platform_def.h"
|
#include "platform_def.h"
|
||||||
|
|
||||||
#define LS_SCFG_BASE 0x01570000
|
#define LS_SCFG_BASE 0x01570000
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
console_t console;
|
console_t console;
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
#ifndef __PLAT_LS_H__
|
#ifndef __PLAT_LS_H__
|
||||||
#define __PLAT_LS_H__
|
#define __PLAT_LS_H__
|
||||||
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <cpu_data.h>
|
#include <cpu_data.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
/* BL1 utility functions */
|
/* BL1 utility functions */
|
||||||
void ls_bl1_platform_setup(void);
|
void ls_bl1_platform_setup(void);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -12,6 +12,8 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <tegra_private.h>
|
#include <tegra_private.h>
|
||||||
|
|
||||||
|
extern void memcpy16(void *dest, const void *src, unsigned int length);
|
||||||
|
|
||||||
/* SMMU IDs currently supported by the driver */
|
/* SMMU IDs currently supported by the driver */
|
||||||
enum {
|
enum {
|
||||||
TEGRA_SMMU0,
|
TEGRA_SMMU0,
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
/* length of Trusty's input parameters (in bytes) */
|
/* length of Trusty's input parameters (in bytes) */
|
||||||
#define TRUSTY_PARAMS_LEN_BYTES (4096*2)
|
#define TRUSTY_PARAMS_LEN_BYTES (4096*2)
|
||||||
|
|
||||||
|
extern void memcpy16(void *dest, const void *src, unsigned int length);
|
||||||
extern void zeromem16(void *mem, unsigned int length);
|
extern void zeromem16(void *mem, unsigned int length);
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* StreamID to indicate no SMMU translations (requests to be steered on the
|
* StreamID to indicate no SMMU translations (requests to be steered on the
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -7,7 +7,7 @@
|
||||||
#ifndef __TEGRA_PLATFORM_H__
|
#ifndef __TEGRA_PLATFORM_H__
|
||||||
#define __TEGRA_PLATFORM_H__
|
#define __TEGRA_PLATFORM_H__
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <cdefs.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Tegra chip major/minor version
|
* Tegra chip major/minor version
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -10,10 +10,10 @@
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <delay_timer.h>
|
#include <delay_timer.h>
|
||||||
#include <denver.h>
|
#include <denver.h>
|
||||||
|
#include <errno.h>
|
||||||
#include <mce_private.h>
|
#include <mce_private.h>
|
||||||
#include <mmio.h>
|
#include <mmio.h>
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#include <sys/errno.h>
|
|
||||||
#include <t18x_ari.h>
|
#include <t18x_ari.h>
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -12,11 +12,11 @@
|
||||||
#include <context_mgmt.h>
|
#include <context_mgmt.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <denver.h>
|
#include <denver.h>
|
||||||
|
#include <errno.h>
|
||||||
#include <mce.h>
|
#include <mce.h>
|
||||||
#include <mce_private.h>
|
#include <mce_private.h>
|
||||||
#include <mmio.h>
|
#include <mmio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/errno.h>
|
|
||||||
#include <t18x_ari.h>
|
#include <t18x_ari.h>
|
||||||
#include <tegra_def.h>
|
#include <tegra_def.h>
|
||||||
#include <tegra_platform.h>
|
#include <tegra_platform.h>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -8,9 +8,9 @@
|
||||||
#include <arch_helpers.h>
|
#include <arch_helpers.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <denver.h>
|
#include <denver.h>
|
||||||
|
#include <errno.h>
|
||||||
#include <mce_private.h>
|
#include <mce_private.h>
|
||||||
#include <mmio.h>
|
#include <mmio.h>
|
||||||
#include <sys/errno.h>
|
|
||||||
#include <t18x_ari.h>
|
#include <t18x_ari.h>
|
||||||
|
|
||||||
int32_t nvg_enter_cstate(uint32_t ari_base, uint32_t state, uint32_t wake_time)
|
int32_t nvg_enter_cstate(uint32_t ari_base, uint32_t state, uint32_t wake_time)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -20,6 +20,8 @@
|
||||||
#include <t18x_ari.h>
|
#include <t18x_ari.h>
|
||||||
#include <tegra_private.h>
|
#include <tegra_private.h>
|
||||||
|
|
||||||
|
extern void memcpy16(void *dest, const void *src, unsigned int length);
|
||||||
|
|
||||||
extern void prepare_cpu_pwr_dwn(void);
|
extern void prepare_cpu_pwr_dwn(void);
|
||||||
extern void tegra186_cpu_reset_handler(void);
|
extern void tegra186_cpu_reset_handler(void);
|
||||||
extern uint32_t __tegra186_cpu_reset_handler_end,
|
extern uint32_t __tegra186_cpu_reset_handler_end,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
#define CPU_RESET_MODE_AA64 1
|
#define CPU_RESET_MODE_AA64 1
|
||||||
|
|
||||||
|
extern void memcpy16(void *dest, const void *src, unsigned int length);
|
||||||
|
|
||||||
extern uint64_t tegra_bl31_phys_base;
|
extern uint64_t tegra_bl31_phys_base;
|
||||||
extern uint64_t __tegra186_cpu_reset_handler_end;
|
extern uint64_t __tegra186_cpu_reset_handler_end;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -7,9 +7,8 @@
|
||||||
#ifndef __QEMU_PRIVATE_H
|
#ifndef __QEMU_PRIVATE_H
|
||||||
#define __QEMU_PRIVATE_H
|
#define __QEMU_PRIVATE_H
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include <xlat_tables_defs.h>
|
|
||||||
#include "../../bl1/bl1_private.h"
|
#include "../../bl1/bl1_private.h"
|
||||||
|
|
||||||
void qemu_configure_mmu_secure(unsigned long total_base,
|
void qemu_configure_mmu_secure(unsigned long total_base,
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch.h>
|
#include <arch.h>
|
||||||
#include <platform_def.h>
|
#include <platform_def.h>
|
||||||
#include <sys/types.h>
|
#include <stdint.h>
|
||||||
#include "qemu_private.h"
|
#include "qemu_private.h"
|
||||||
|
|
||||||
/* The power domain tree descriptor */
|
/* The power domain tree descriptor */
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <cdefs.h>
|
||||||
#include <cdn_dp.h>
|
#include <cdn_dp.h>
|
||||||
#include <smccc.h>
|
#include <smccc.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef __RPI3_PRIVATE_H__
|
#ifndef __RPI3_PRIVATE_H__
|
||||||
#define __RPI3_PRIVATE_H__
|
#define __RPI3_PRIVATE_H__
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Function and variable prototypes
|
* Function and variable prototypes
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <stdint.h>
|
||||||
#include <utils.h>
|
#include <utils.h>
|
||||||
|
|
||||||
#include "rpi3_private.h"
|
#include "rpi3_private.h"
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch.h>
|
#include <arch.h>
|
||||||
#include <platform_def.h>
|
#include <platform_def.h>
|
||||||
#include <sys/types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "rpi3_private.h"
|
#include "rpi3_private.h"
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef __SQ_COMMON_H__
|
#ifndef __SQ_COMMON_H__
|
||||||
#define __SQ_COMMON_H__
|
#define __SQ_COMMON_H__
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <stdint.h>
|
||||||
#include <xlat_tables_v2.h>
|
#include <xlat_tables_v2.h>
|
||||||
|
|
||||||
struct draminfo {
|
struct draminfo {
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#define __UNIPHIER_H__
|
#define __UNIPHIER_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <types.h>
|
#include <string.h>
|
||||||
|
|
||||||
unsigned int uniphier_get_soc_type(void);
|
unsigned int uniphier_get_soc_type(void);
|
||||||
unsigned int uniphier_get_soc_model(void);
|
unsigned int uniphier_get_soc_model(void);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#include <io/io_block.h>
|
#include <io/io_block.h>
|
||||||
#include <mmio.h>
|
#include <mmio.h>
|
||||||
#include <platform_def.h>
|
#include <platform_def.h>
|
||||||
#include <sys/types.h>
|
#include <stdint.h>
|
||||||
#include <utils_def.h>
|
#include <utils_def.h>
|
||||||
|
|
||||||
#include "uniphier.h"
|
#include "uniphier.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
#include <io/io_fip.h>
|
#include <io/io_fip.h>
|
||||||
#include <io/io_memmap.h>
|
#include <io/io_memmap.h>
|
||||||
#include <platform_def.h>
|
#include <platform_def.h>
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
#include <utils_def.h>
|
#include <utils_def.h>
|
||||||
#include <xlat_tables_v2.h>
|
#include <xlat_tables_v2.h>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#include <io/io_block.h>
|
#include <io/io_block.h>
|
||||||
#include <mmio.h>
|
#include <mmio.h>
|
||||||
#include <platform_def.h>
|
#include <platform_def.h>
|
||||||
#include <sys/types.h>
|
#include <stdint.h>
|
||||||
#include <utils_def.h>
|
#include <utils_def.h>
|
||||||
|
|
||||||
#include "uniphier.h"
|
#include "uniphier.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#include <io/io_block.h>
|
#include <io/io_block.h>
|
||||||
#include <mmio.h>
|
#include <mmio.h>
|
||||||
#include <platform_def.h>
|
#include <platform_def.h>
|
||||||
#include <sys/types.h>
|
#include <stdint.h>
|
||||||
#include <utils_def.h>
|
#include <utils_def.h>
|
||||||
|
|
||||||
#include "uniphier.h"
|
#include "uniphier.h"
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <spinlock.h>
|
#include <spinlock.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
#include <utils_def.h>
|
#include <utils_def.h>
|
||||||
|
|
||||||
#ifdef AARCH32
|
#ifdef AARCH32
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef __SPM_SHIM_PRIVATE__
|
#ifndef __SPM_SHIM_PRIVATE__
|
||||||
#define __SPM_SHIM_PRIVATE__
|
#define __SPM_SHIM_PRIVATE__
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
#include <utils_def.h>
|
#include <utils_def.h>
|
||||||
|
|
||||||
/* Assembly source */
|
/* Assembly source */
|
||||||
|
|
Loading…
Add table
Reference in a new issue