Commit 93c78ed2 authored by Antonio Nino Diaz's avatar Antonio Nino Diaz
Browse files

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: default avatarSumit Garg <sumit.garg@linaro.org>
Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
parent 2fb88cb2
...@@ -7,7 +7,7 @@ ...@@ -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 @@ ...@@ -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"
......
/* /*
* 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 @@ ...@@ -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 @@ ...@@ -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);
......
/* /*
* 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 @@ ...@@ -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"
......
/* /*
* 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 @@ ...@@ -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>
......
/* /*
* 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 @@ ...@@ -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"
......
/* /*
* 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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 */
......
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