board: xilinx: 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-05-07 08:00:40 -06:00
parent 816055e20d
commit 5ef7101251
14 changed files with 8 additions and 14 deletions
-1
View File
@@ -6,7 +6,6 @@
* Michal Simek <michal.simek@amd.com>
*/
#include <common.h>
#include <efi.h>
#include <efi_loader.h>
#include <env.h>
-1
View File
@@ -4,7 +4,6 @@
* Michal Simek <michal.simek@amd.com>
*/
#include <common.h>
#include <init.h>
#include <soc.h>
-1
View File
@@ -3,7 +3,6 @@
* (C) Copyright 2019 - 2020 Xilinx, Inc.
*/
#include <common.h>
#include <command.h>
#include <fdtdec.h>
#include <malloc.h>
+1 -1
View File
@@ -4,13 +4,13 @@
* (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc.
*/
#include <common.h>
#include <cpu_func.h>
#include <env.h>
#include <fdtdec.h>
#include <log.h>
#include <malloc.h>
#include <net.h>
#include <linux/errno.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
-1
View File
@@ -6,7 +6,6 @@
* Michal Simek <michal.simek@amd.com>
*/
#include <common.h>
#include <cpu_func.h>
#include <fdtdec.h>
#include <init.h>
+1 -1
View File
@@ -7,10 +7,10 @@
#include <cpu_func.h>
#include <command.h>
#include <common.h>
#include <log.h>
#include <memalign.h>
#include <versalpl.h>
#include <vsprintf.h>
#include <zynqmp_firmware.h>
/**
-1
View File
@@ -5,7 +5,6 @@
*/
#include <command.h>
#include <common.h>
#include <cpu_func.h>
#include <env.h>
#include <fdtdec.h>
+1 -1
View File
@@ -6,10 +6,10 @@
#include <cpu_func.h>
#include <command.h>
#include <common.h>
#include <log.h>
#include <memalign.h>
#include <versalpl.h>
#include <vsprintf.h>
#include <zynqmp_firmware.h>
static int do_versal_load_pdi(struct cmd_tbl *cmdtp, int flag, int argc,
+1 -1
View File
@@ -4,7 +4,7 @@
* (C) Copyright 2013 - 2018 Xilinx, Inc.
*/
#include <common.h>
#include <config.h>
#include <debug_uart.h>
#include <dfu.h>
#include <init.h>
-1
View File
@@ -3,7 +3,6 @@
* Copyright (C) 2018 Xilinx, Inc.
*/
#include <common.h>
#include <log.h>
#include <part.h>
#include <asm/global_data.h>
-1
View File
@@ -3,7 +3,6 @@
* Copyright (C) 2018 Xilinx, Inc.
*/
#include <common.h>
#include <command.h>
#include <log.h>
#include <asm/global_data.h>
+2 -1
View File
@@ -4,13 +4,14 @@
* Siva Durga Prasad Paladugu <siva.durga.prasad.paladugu@amd.com>>
*/
#include <common.h>
#include <command.h>
#include <cpu_func.h>
#include <env.h>
#include <malloc.h>
#include <memalign.h>
#include <vsprintf.h>
#include <zynqmp_firmware.h>
#include <linux/errno.h>
#include <asm/arch/hardware.h>
#include <asm/arch/sys_proto.h>
#include <asm/io.h>
+1 -1
View File
@@ -4,7 +4,7 @@
* Michal Simek <michal.simek@amd.com>
*/
#include <common.h>
#include <config.h>
#include <command.h>
#include <cpu_func.h>
#include <debug_uart.h>
+1 -1
View File
@@ -3,9 +3,9 @@
* (C) Copyright 2018 Xilinx, Inc. (Michal Simek)
*/
#include <common.h>
#include <fdtdec.h>
#include <init.h>
#include <linux/errno.h>
int board_init(void)
{