diff options
| author | Enrico Leto <[email protected]> | 2024-01-24 15:43:54 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-02-05 13:32:48 -0500 |
| commit | 60ad0fdb19087297635f97062ac082ba887dda3a (patch) | |
| tree | d2df10e2ec5e2320a68a331f690e4ac708648b28 /board/siemens/common | |
| parent | d89a97ef9403f79b98853e2a9ddfa36733c1a6e8 (diff) | |
siemens: board: clean up includes
Many includes were not removed when code parts were moved or removed.
Signed-off-by: Enrico Leto <[email protected]>
Diffstat (limited to 'board/siemens/common')
| -rw-r--r-- | board/siemens/common/board_am335x.c | 19 | ||||
| -rw-r--r-- | board/siemens/common/factoryset.c | 12 |
2 files changed, 3 insertions, 28 deletions
diff --git a/board/siemens/common/board_am335x.c b/board/siemens/common/board_am335x.c index c55ca983bdd..445af9ddbf6 100644 --- a/board/siemens/common/board_am335x.c +++ b/board/siemens/common/board_am335x.c @@ -9,29 +9,12 @@ * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/ */ -#include <common.h> #include <command.h> -#include <env.h> -#include <errno.h> -#include <init.h> -#include <malloc.h> #include <serial.h> -#include <spl.h> -#include <asm/arch/cpu.h> -#include <asm/arch/hardware.h> -#include <asm/arch/omap.h> -#include <asm/arch/ddr_defs.h> +#include <watchdog.h> #include <asm/arch/clock.h> -#include <asm/arch/gpio.h> -#include <asm/arch/mmc_host_def.h> #include <asm/arch/sys_proto.h> -#include <asm/global_data.h> -#include <asm/io.h> -#include <asm/emif.h> #include <asm/gpio.h> -#include <miiphy.h> -#include <cpsw.h> -#include <watchdog.h> #include <asm/mach-types.h> #include "board_am335x.h" #include "eeprom.h" diff --git a/board/siemens/common/factoryset.c b/board/siemens/common/factoryset.c index 4a1277340a7..b20af95d13d 100644 --- a/board/siemens/common/factoryset.c +++ b/board/siemens/common/factoryset.c @@ -7,21 +7,13 @@ #if !defined(CONFIG_SPL_BUILD) -#include <common.h> #include <env.h> -#include <dm.h> -#include <env_internal.h> -#include <i2c.h> -#include <log.h> +#include <g_dnl.h> +#include <net.h> #include <asm/io.h> #if !CONFIG_IS_ENABLED(TARGET_GIEDI) && !CONFIG_IS_ENABLED(TARGET_DENEB) #include <asm/arch/cpu.h> #endif -#include <asm/arch/sys_proto.h> -#include <asm/unaligned.h> -#include <net.h> -#include <errno.h> -#include <g_dnl.h> #include "eeprom.h" #include "factoryset.h" |
