From: Enrico Leto Date: Wed, 24 Jan 2024 14:43:54 +0000 (+0100) Subject: siemens: board: clean up includes X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=60ad0fdb19087297635f97062ac082ba887dda3a;p=u-boot.git siemens: board: clean up includes Many includes were not removed when code parts were moved or removed. Signed-off-by: Enrico Leto --- diff --git a/board/siemens/capricorn/board.c b/board/siemens/capricorn/board.c index 5f7e2b1e89..0d66a75bbf 100644 --- a/board/siemens/capricorn/board.c +++ b/board/siemens/capricorn/board.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #ifndef CONFIG_SPL #include diff --git a/board/siemens/common/board_am335x.c b/board/siemens/common/board_am335x.c index c55ca983bd..445af9ddbf 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 #include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include +#include #include -#include -#include #include -#include -#include -#include #include -#include -#include -#include #include #include "board_am335x.h" #include "eeprom.h" diff --git a/board/siemens/common/factoryset.c b/board/siemens/common/factoryset.c index 4a1277340a..b20af95d13 100644 --- a/board/siemens/common/factoryset.c +++ b/board/siemens/common/factoryset.c @@ -7,21 +7,13 @@ #if !defined(CONFIG_SPL_BUILD) -#include #include -#include -#include -#include -#include +#include +#include #include #if !CONFIG_IS_ENABLED(TARGET_GIEDI) && !CONFIG_IS_ENABLED(TARGET_DENEB) #include #endif -#include -#include -#include -#include -#include #include "eeprom.h" #include "factoryset.h" diff --git a/board/siemens/draco/board.c b/board/siemens/draco/board.c index 2412a04a9a..fc3eb06ccf 100644 --- a/board/siemens/draco/board.c +++ b/board/siemens/draco/board.c @@ -12,34 +12,21 @@ * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/ */ -#include #include +#include #include -#include #include -#include -#include -#include -#include -#include -#include +#include +#include #include -#include -#include -#include +#include #include -#include -#include +#include #include -#include -#include -#include -#include -#include +#include #include "board.h" #include "../common/eeprom.h" #include "../common/factoryset.h" -#include #ifdef CONFIG_SPL_BUILD static struct draco_baseboard_id __section(".data") settings; diff --git a/board/siemens/draco/mux.c b/board/siemens/draco/mux.c index 56d8f45c34..4149e62847 100644 --- a/board/siemens/draco/mux.c +++ b/board/siemens/draco/mux.c @@ -10,12 +10,10 @@ * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ */ -#include +#include #include #include #include -#include -#include #include "eeprom.h" static struct module_pin_mux uart0_pin_mux[] = { diff --git a/board/siemens/pxm2/board.c b/board/siemens/pxm2/board.c index bff6d20251..888c7c09ba 100644 --- a/board/siemens/pxm2/board.c +++ b/board/siemens/pxm2/board.c @@ -12,35 +12,21 @@ * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/ */ -#include +#include #include -#include +#include #include -#include -#include +#include #include -#include -#include -#include -#include -#include #include -#include -#include +#include #include -#include -#include #include -#include -#include -#include -#include +#include +#include "pmic.h" #include "../common/board_am335x.h" #include "../common/eeprom.h" #include "../common/factoryset.h" -#include "pmic.h" -#include -#include #ifdef CONFIG_SPL_BUILD void draco_init_ddr(void) diff --git a/board/siemens/pxm2/mux.c b/board/siemens/pxm2/mux.c index 07cf567592..bdf460b592 100644 --- a/board/siemens/pxm2/mux.c +++ b/board/siemens/pxm2/mux.c @@ -11,12 +11,10 @@ * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ */ -#include +#include #include #include #include -#include -#include #include "eeprom.h" static struct module_pin_mux uart0_pin_mux[] = { diff --git a/board/siemens/rut/board.c b/board/siemens/rut/board.c index 1e0e131add..8d316918e7 100644 --- a/board/siemens/rut/board.c +++ b/board/siemens/rut/board.c @@ -10,31 +10,16 @@ * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/ */ -#include +#include #include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include #include -#include -#include +#include #include -#include -#include #include -#include -#include -#include -#include -#include -#include +#include #include "../common/board_am335x.h" #include "../common/eeprom.h" #include "../common/factoryset.h" diff --git a/board/siemens/rut/mux.c b/board/siemens/rut/mux.c index 894a9bf1e3..8947e4e537 100644 --- a/board/siemens/rut/mux.c +++ b/board/siemens/rut/mux.c @@ -11,12 +11,10 @@ * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ */ -#include +#include #include #include #include -#include -#include static struct module_pin_mux uart0_pin_mux[] = { {OFFSET(uart0_rxd), (MODE(0) | PULLUDDIS | RXACTIVE)}, /* UART0_RXD */