board: advantech: Remove <common.h> and add needed includes

Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Acked-by: Oliver Graute <oliver.graute@kococonnector.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2024-04-30 20:41:00 -06:00
parent 956f550c28
commit 2577179bb7
7 changed files with 3 additions and 7 deletions

View file

@ -4,7 +4,6 @@
* Copyright 2022 Linaro * Copyright 2022 Linaro
*/ */
#include <common.h>
#include <dwc3-uboot.h> #include <dwc3-uboot.h>
#include <efi.h> #include <efi.h>
#include <efi_loader.h> #include <efi_loader.h>

View file

@ -4,7 +4,7 @@
* Copyright 2022 Linaro * Copyright 2022 Linaro
*/ */
#include <common.h> #include <config.h>
#include <command.h> #include <command.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <errno.h> #include <errno.h>

View file

@ -4,7 +4,6 @@
* Copyright 2019-2023 Kococonnector GmbH * Copyright 2019-2023 Kococonnector GmbH
*/ */
#include <common.h>
#include <errno.h> #include <errno.h>
#include <linux/libfdt.h> #include <linux/libfdt.h>
#include <asm/io.h> #include <asm/io.h>

View file

@ -3,7 +3,7 @@
* Copyright 2017-2018 NXP * Copyright 2017-2018 NXP
* Copyright 2019-2023 Kococonnector GmbH * Copyright 2019-2023 Kococonnector GmbH
*/ */
#include <common.h> #include <config.h>
#include <dm.h> #include <dm.h>
#include <spl.h> #include <spl.h>
#include <init.h> #include <init.h>

View file

@ -4,7 +4,6 @@
* Copyright (C) 2019 Oliver Graute <oliver.graute@kococonnector.com> * Copyright (C) 2019 Oliver Graute <oliver.graute@kococonnector.com>
*/ */
#include <common.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <env.h> #include <env.h>
#include <errno.h> #include <errno.h>

View file

@ -2,7 +2,7 @@
/* /*
* Copyright 2017-2018 NXP * Copyright 2017-2018 NXP
*/ */
#include <common.h> #include <config.h>
#include <dm.h> #include <dm.h>
#include <image.h> #include <image.h>
#include <init.h> #include <init.h>

View file

@ -4,7 +4,6 @@
* Copyright (C) 2016 George McCollister <george.mccollister@gmail.com> * Copyright (C) 2016 George McCollister <george.mccollister@gmail.com>
*/ */
#include <common.h>
#include <init.h> #include <init.h>
#include <asm/fsp1/fsp_support.h> #include <asm/fsp1/fsp_support.h>