board: mediatek: 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-04-30 20:42:15 -06:00
parent b0358cdd9a
commit 1e9179fd7b
7 changed files with 3 additions and 7 deletions

View File

@ -4,7 +4,6 @@
* Author: Sam Shih <sam.shih@mediatek.com> * Author: Sam Shih <sam.shih@mediatek.com>
*/ */
#include <common.h>
#include <config.h> #include <config.h>
#include <env.h> #include <env.h>
#include <init.h> #include <init.h>

View File

@ -3,7 +3,7 @@
* Copyright (C) 2018 MediaTek Inc. * Copyright (C) 2018 MediaTek Inc.
*/ */
#include <common.h> #include <config.h>
#include <mmc.h> #include <mmc.h>
#include <asm/global_data.h> #include <asm/global_data.h>

View File

@ -3,7 +3,7 @@
* Copyright (C) 2018 MediaTek Inc. * Copyright (C) 2018 MediaTek Inc.
*/ */
#include <common.h> #include <config.h>
#include <asm/global_data.h> #include <asm/global_data.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@ -4,7 +4,6 @@
* Author: Fabien Parent <fparent@baylibre.com> * Author: Fabien Parent <fparent@baylibre.com>
*/ */
#include <common.h>
#include <dm.h> #include <dm.h>
#include <net.h> #include <net.h>

View File

@ -3,7 +3,6 @@
* Copyright (C) 2019 MediaTek Inc. * Copyright (C) 2019 MediaTek Inc.
*/ */
#include <common.h>
#include <dm.h> #include <dm.h>
#include <log.h> #include <log.h>
#include <wdt.h> #include <wdt.h>

View File

@ -3,7 +3,6 @@
* Copyright (C) 2019 BayLibre SAS * Copyright (C) 2019 BayLibre SAS
*/ */
#include <common.h>
#include <dm.h> #include <dm.h>
#include <net.h> #include <net.h>

View File

@ -3,7 +3,7 @@
* Copyright (C) 2019 MediaTek Inc. * Copyright (C) 2019 MediaTek Inc.
*/ */
#include <common.h> #include <config.h>
#include <dm.h> #include <dm.h>
#include <init.h> #include <init.h>
#include <log.h> #include <log.h>