]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
siemens: board: clean up includes
authorEnrico Leto <enrico.leto@siemens.com>
Wed, 24 Jan 2024 14:43:54 +0000 (15:43 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 5 Feb 2024 18:32:48 +0000 (13:32 -0500)
Many includes were not removed when code parts were moved or removed.

Signed-off-by: Enrico Leto <enrico.leto@siemens.com>
board/siemens/capricorn/board.c
board/siemens/common/board_am335x.c
board/siemens/common/factoryset.c
board/siemens/draco/board.c
board/siemens/draco/mux.c
board/siemens/pxm2/board.c
board/siemens/pxm2/mux.c
board/siemens/rut/board.c
board/siemens/rut/mux.c

index 5f7e2b1e899eac8a3c369026523cb11486138eef..0d66a75bbfa1a48f578fa9fd5bc3ab11e761d510 100644 (file)
@@ -22,7 +22,6 @@
 #include <asm/gpio.h>
 #include <asm/arch/imx8-pins.h>
 #include <asm/arch/iomux.h>
-#include <firmware/imx/sci/sci.h>
 #include <asm/arch/sys_proto.h>
 #ifndef CONFIG_SPL
 #include <asm/arch-imx8/clock.h>
index c55ca983bdd74354e34474b2f60a43c2e968375c..445af9ddbf60f5220a9648d88d97c8ee9ca9bb5d 100644 (file)
@@ -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"
index 4a1277340a75f35bfd230c88d1234577cc5d55b3..b20af95d13d9f9cc54db5a1b6e09531bba782d81 100644 (file)
@@ -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"
 
index 2412a04a9a1b32b18ad20238ec7a404b91165c2a..fc3eb06ccf2db48ea8f8eb89b0335c4e97511b83 100644 (file)
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <command.h>
+#include <cpsw.h>
 #include <env.h>
-#include <errno.h>
 #include <init.h>
-#include <net.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 <linux/delay.h>
+#include <nand.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/arch/ddr_defs.h>
 #include <asm/arch/mem.h>
-#include <asm/io.h>
-#include <asm/emif.h>
+#include <asm/arch/sys_proto.h>
 #include <asm/gpio.h>
-#include <i2c.h>
-#include <miiphy.h>
-#include <cpsw.h>
-#include <watchdog.h>
-#include <linux/delay.h>
+#include <asm/io.h>
 #include "board.h"
 #include "../common/eeprom.h"
 #include "../common/factoryset.h"
-#include <nand.h>
 
 #ifdef CONFIG_SPL_BUILD
 static struct draco_baseboard_id __section(".data") settings;
index 56d8f45c34928634a8d7caef30145a2f1baa5234..4149e62847548161f84d5e68ebb94fd3d295a24a 100644 (file)
  * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
-#include <asm/io.h>
-#include <i2c.h>
 #include "eeprom.h"
 
 static struct module_pin_mux uart0_pin_mux[] = {
index bff6d20251e0da4c7dd2d51a5dd7ce7ad336edaa..888c7c09bafe00c06f424836bca2f6471176e175 100644 (file)
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <cpsw.h>
 #include <env.h>
-#include <errno.h>
+#include <i2c.h>
 #include <init.h>
-#include <log.h>
-#include <malloc.h>
+#include <nand.h>
 #include <net.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 <asm/arch/clock.h>
-#include <asm/arch/gpio.h>
-#include <asm/arch/mmc_host_def.h>
+#include <asm/arch/ddr_defs.h>
 #include <asm/arch/sys_proto.h>
-#include <asm/io.h>
-#include <asm/emif.h>
 #include <asm/gpio.h>
-#include <i2c.h>
-#include <miiphy.h>
-#include <cpsw.h>
-#include <watchdog.h>
+#include <asm/io.h>
+#include "pmic.h"
 #include "../common/board_am335x.h"
 #include "../common/eeprom.h"
 #include "../common/factoryset.h"
-#include "pmic.h"
-#include <nand.h>
-#include <bmp_layout.h>
 
 #ifdef CONFIG_SPL_BUILD
 void draco_init_ddr(void)
index 07cf56759270ee739f6596efef791a5e02cda133..bdf460b5920aa8d6a84ce5baf99840fc29ff0181 100644 (file)
  * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
-#include <asm/io.h>
-#include <i2c.h>
 #include "eeprom.h"
 
 static struct module_pin_mux uart0_pin_mux[] = {
index 1e0e131addfe7a613d94ae363e78da3e2f40b674..8d316918e7a20ccfe3fa734d8f8dcfa151101014 100644 (file)
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <cpsw.h>
 #include <env.h>
-#include <errno.h>
 #include <init.h>
-#include <malloc.h>
-#include <net.h>
-#include <spi.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 <linux/delay.h>
+#include <nand.h>
 #include <asm/arch/clock.h>
-#include <asm/arch/gpio.h>
-#include <asm/arch/mmc_host_def.h>
+#include <asm/arch/ddr_defs.h>
 #include <asm/arch/sys_proto.h>
-#include <asm/io.h>
-#include <asm/emif.h>
 #include <asm/gpio.h>
-#include <i2c.h>
-#include <miiphy.h>
-#include <cpsw.h>
-#include <video.h>
-#include <watchdog.h>
-#include <linux/delay.h>
+#include <asm/io.h>
 #include "../common/board_am335x.h"
 #include "../common/eeprom.h"
 #include "../common/factoryset.h"
index 894a9bf1e3d7a5527ef1b8f94cff7c2268469d3d..8947e4e537ce98cfc11c57088f634c8c597e6781 100644 (file)
  * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
-#include <asm/io.h>
-#include <i2c.h>
 
 static struct module_pin_mux uart0_pin_mux[] = {
        {OFFSET(uart0_rxd), (MODE(0) | PULLUDDIS | RXACTIVE)},  /* UART0_RXD */