Unverified Commit 9a207532 authored by Antonio Niño Díaz's avatar Antonio Niño Díaz Committed by GitHub
Browse files

Merge pull request #1726 from antonio-nino-diaz-arm/an/includes

Sanitise includes across codebase
parents 3f99f7e4 8e7b27a4
......@@ -4,20 +4,24 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <debug.h>
#include <delay_timer.h>
#include <errno.h>
#include <stdbool.h>
#include <libfdt.h>
#include <mmio.h>
#include <mmio.h>
#include <platform_def.h>
#include <stdbool.h>
#include <stm32_gpio.h>
#include <stm32mp1_clk.h>
#include <common/debug.h>
#include <drivers/delay_timer.h>
#include <drivers/st/stm32_gpio.h>
#include <drivers/st/stm32mp1_clk.h>
#include <drivers/st/stm32mp1_pmic.h>
#include <drivers/st/stpmu1.h>
#include <lib/mmio.h>
#include <lib/utils_def.h>
#include <stm32mp1_def.h>
#include <stm32mp1_dt.h>
#include <stm32mp1_pmic.h>
#include <stpmu1.h>
#include <utils_def.h>
/* I2C Timing hard-coded value, for I2C clock source is HSI at 64MHz */
#define I2C_TIMING 0x10D07DB5
......
......@@ -4,11 +4,12 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <debug.h>
#include <platform.h>
#include <stpmu1.h>
#include <string.h>
#include <common/debug.h>
#include <drivers/st/stpmu1.h>
#include <plat/common/platform.h>
struct regul_struct {
const char *dt_node_name;
const uint16_t *voltage_table;
......
......@@ -4,14 +4,16 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <bl_common.h>
#include <debug.h>
#include <limits.h>
#include <mmio.h>
#include <platform_def.h>
#include <stm32mp1_rcc.h>
#include <stm32mp1_reset.h>
#include <utils_def.h>
#include <common/bl_common.h>
#include <common/debug.h>
#include <drivers/st/stm32mp1_rcc.h>
#include <drivers/st/stm32mp1_reset.h>
#include <lib/mmio.h>
#include <lib/utils_def.h>
#define RST_CLR_OFFSET 4U
......
......@@ -7,8 +7,8 @@
#include <assert_macros.S>
#define USE_FINISH_CONSOLE_REG_2
#include <console_macros.S>
#include <stm32_console.h>
#include <stm32_uart_regs.h>
#include <drivers/st/stm32_console.h>
#include <drivers/st/stm32_uart_regs.h>
#define USART_TIMEOUT 0x1000
......
......@@ -4,9 +4,9 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <stdint.h>
#include <debug.h>
#include <common/debug.h>
#include "boot_init_dram_regdef_e3.h"
#include "ddr_init_e3.h"
......
......@@ -7,8 +7,10 @@
#include <stdint.h>
#include <string.h>
#include <stdio.h>
#include <mmio.h>
#include <debug.h>
#include <common/debug.h>
#include <lib/mmio.h>
#include "ddr_regdef.h"
#include "init_dram_tbl_h3.h"
#include "init_dram_tbl_m3.h"
......
......@@ -4,8 +4,9 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <mmio.h>
#include <debug.h>
#include <common/debug.h>
#include <lib/mmio.h>
#include "dram_sub_func.h"
#define PRR (0xFFF00044U)
......
......@@ -5,7 +5,9 @@
*/
#include <stdint.h> /* for uint32_t */
#include <mmio.h>
#include <lib/mmio.h>
#include "pfc_init_e3.h"
#include "rcar_def.h"
......
......@@ -4,9 +4,9 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <stdint.h> /* for uint32_t */
#include <mmio.h>
#include <stdint.h>
#include <lib/mmio.h>
/* GPIO base address */
#define GPIO_BASE (0xE6050000U)
......
......@@ -5,7 +5,9 @@
*/
#include <stdint.h> /* for uint32_t */
#include <mmio.h>
#include <lib/mmio.h>
#include "pfc_init_h3_v2.h"
#include "rcar_def.h"
......
......@@ -5,7 +5,9 @@
*/
#include <stdint.h> /* for uint32_t */
#include <mmio.h>
#include <lib/mmio.h>
#include "pfc_init_m3.h"
#include "rcar_def.h"
#include "rcar_private.h"
......
......@@ -5,7 +5,9 @@
*/
#include <stdint.h> /* for uint32_t */
#include <mmio.h>
#include <lib/mmio.h>
#include "pfc_init_m3n.h"
#include "rcar_def.h"
......
......@@ -5,8 +5,10 @@
*/
#include <stdint.h>
#include <debug.h>
#include <mmio.h>
#include <common/debug.h>
#include <lib/mmio.h>
#include "rcar_def.h"
#if RCAR_LSI == RCAR_AUTO
#include "H3/pfc_init_h3_v1.h"
......
......@@ -5,7 +5,9 @@
*/
#include <stdint.h>
#include <debug.h>
#include <common/debug.h>
#include "../qos_common.h"
#include "../qos_reg.h"
#include "qos_init_e3_v10.h"
......
......@@ -5,7 +5,9 @@
*/
#include <stdint.h>
#include <debug.h>
#include <common/debug.h>
#include "../qos_common.h"
#include "qos_init_h3_v10.h"
......
......@@ -5,8 +5,11 @@
*/
#include <stdint.h>
#include <debug.h>
#include <common/debug.h>
#include <rcar_def.h>
#include "../qos_common.h"
#include "qos_init_h3_v11.h"
......
......@@ -5,7 +5,9 @@
*/
#include <stdint.h>
#include <debug.h>
#include <common/debug.h>
#include "../qos_common.h"
#include "../qos_reg.h"
#include "qos_init_h3_v20.h"
......
......@@ -5,7 +5,9 @@
*/
#include <stdint.h>
#include <debug.h>
#include <common/debug.h>
#include "../qos_common.h"
#include "../qos_reg.h"
#include "qos_init_h3_v30.h"
......
......@@ -5,7 +5,9 @@
*/
#include <stdint.h>
#include <debug.h>
#include <common/debug.h>
#include "../qos_common.h"
#include "../qos_reg.h"
#include "qos_init_h3n_v30.h"
......
......@@ -5,7 +5,9 @@
*/
#include <stdint.h>
#include <debug.h>
#include <common/debug.h>
#include "../qos_common.h"
#include "qos_init_m3_v10.h"
......
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