board: toradex: Remove <common.h> and add needed includes

Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2024-04-30 20:43:04 -06:00
parent 12519331ff
commit ba825dad9a
24 changed files with 7 additions and 24 deletions

View File

@@ -3,7 +3,6 @@
* Copyright 2019 Toradex
*/
#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <asm/global_data.h>

View File

@@ -3,7 +3,6 @@
* Copyright (c) 2016-2018 Toradex, Inc.
*/
#include <common.h>
#include <dm.h>
#include <env.h>
#include <init.h>

View File

@@ -3,7 +3,6 @@
* Copyright (c) 2012-2016 Toradex, Inc.
*/
#include <common.h>
#include <log.h>
#include <asm/io.h>
#include <asm/arch-tegra/tegra_i2c.h>

View File

@@ -6,7 +6,7 @@
* copied from nitrogen6x
*/
#include <common.h>
#include <config.h>
#include <cpu_func.h>
#include <dm.h>
#include <image.h>

View File

@@ -7,7 +7,6 @@
* Helpers for i.MX OTP fusing during module production
*/
#include <common.h>
#ifndef CONFIG_SPL_BUILD
#include <command.h>
#include <console.h>

View File

@@ -7,7 +7,6 @@
* Helpers for Freescale PMIC PF0100
*/
#include <common.h>
#include <command.h>
#include <i2c.h>
#include <asm/arch/imx-regs.h>

View File

@@ -7,7 +7,6 @@
* Svyatoslav Ryhel <clamor95@gmail.com>
*/
#include <common.h>
#include <asm/arch-tegra/tegra_i2c.h>
#include <linux/delay.h>

View File

@@ -4,7 +4,6 @@
* Marcel Ziswiler <marcel@ziswiler.com>
*/
#include <common.h>
#include <env.h>
#include <init.h>
#include <log.h>

View File

@@ -2,7 +2,7 @@
/*
* Copyright (C) 2018-2019 Toradex AG
*/
#include <common.h>
#include <config.h>
#include <init.h>
#include <asm/global_data.h>
#include <linux/delay.h>

View File

@@ -3,7 +3,6 @@
* Copyright 2019 Toradex
*/
#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <asm/global_data.h>

View File

@@ -6,7 +6,7 @@
* copied from nitrogen6x
*/
#include <common.h>
#include <config.h>
#include <cpu_func.h>
#include <dm.h>
#include <env.h>

View File

@@ -7,7 +7,6 @@
* Helpers for i.MX OTP fusing during module production
*/
#include <common.h>
#ifndef CONFIG_SPL_BUILD
#include <command.h>
#include <console.h>

View File

@@ -7,7 +7,6 @@
* Helpers for Freescale PMIC PF0100
*/
#include <common.h>
#include <command.h>
#include <i2c.h>
#include <asm/arch/imx-regs.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2016-2018 Toradex AG
*/
#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <net.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2012 Lucas Stach
*/
#include <common.h>
#include <env.h>
#include <fdt_support.h>
#include <init.h>

View File

@@ -7,7 +7,6 @@
* Svyatoslav Ryhel <clamor95@gmail.com>
*/
#include <common.h>
#include <asm/arch-tegra/tegra_i2c.h>
#include <linux/delay.h>

View File

@@ -4,7 +4,6 @@
* Stefan Agner <stefan@agner.ch>
*/
#include <common.h>
#include <env.h>
#include <init.h>
#include <asm/arch/gp_padctrl.h>

View File

@@ -6,7 +6,6 @@
* Copyright 2013 Freescale Semiconductor, Inc.
*/
#include <common.h>
#include <init.h>
#include <asm/global_data.h>

View File

@@ -3,7 +3,7 @@
* Copyright (c) 2016-2020 Toradex
*/
#include <common.h>
#include <config.h>
#include <asm/global_data.h>
#include "tdx-cfg-block.h"
#include "tdx-eeprom.h"

View File

@@ -4,7 +4,7 @@
*/
#include <dm.h>
#include <common.h>
#include <config.h>
#include <env.h>
#include <g_dnl.h>
#include <init.h>

View File

@@ -3,7 +3,6 @@
* Copyright 2020 Toradex
*/
#include <common.h>
#include <command.h>
#include <image.h>
#include <init.h>

View File

@@ -3,7 +3,7 @@
* Copyright 2020-2021 Toradex
*/
#include <common.h>
#include <config.h>
#include <init.h>
#include <asm/arch/clock.h>
#include <asm/arch/sys_proto.h>

View File

@@ -3,7 +3,6 @@
* Copyright 2022 Toradex
*/
#include <common.h>
#include <hang.h>
#include <init.h>
#include <log.h>

View File

@@ -3,7 +3,7 @@
* Copyright 2022 Toradex
*/
#include <common.h>
#include <config.h>
#include <asm/arch/clock.h>
#include <asm/arch/imx8mp_pins.h>
#include <asm/arch/sys_proto.h>