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:
@@ -6,7 +6,6 @@
|
||||
* Michal Simek <michal.simek@amd.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <efi.h>
|
||||
#include <efi_loader.h>
|
||||
#include <env.h>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
* Michal Simek <michal.simek@amd.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <soc.h>
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* (C) Copyright 2019 - 2020 Xilinx, Inc.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <fdtdec.h>
|
||||
#include <malloc.h>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
* Michal Simek <michal.simek@amd.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <fdtdec.h>
|
||||
#include <init.h>
|
||||
|
||||
@@ -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>
|
||||
|
||||
/**
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <env.h>
|
||||
#include <fdtdec.h>
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Copyright (C) 2018 Xilinx, Inc.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <part.h>
|
||||
#include <asm/global_data.h>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Copyright (C) 2018 Xilinx, Inc.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <log.h>
|
||||
#include <asm/global_data.h>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user