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

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

Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2024-04-30 20:40:57 -06:00
parent f2c215fe46
commit eadad7f88b
14 changed files with 7 additions and 13 deletions

View File

@@ -8,6 +8,8 @@
#ifndef __KIRKWOOD_MPP_H
#define __KIRKWOOD_MPP_H
#include <linux/types.h>
#define MPP(_num, _sel, _in, _out, _F6180, _F6190, _F6192, _F6281) ( \
/* MPP number */ ((_num) & 0xff) | \
/* MPP select value */ (((_sel) & 0xf) << 8) | \

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2016 Stefan Roese <sr@denx.de>
*/
#include <common.h>
#include <init.h>
#include <miiphy.h>
#include <net.h>

View File

@@ -3,7 +3,7 @@
* Copyright (C) 2015 Stefan Roese <sr@denx.de>
*/
#include <common.h>
#include <config.h>
#include <i2c.h>
#include <init.h>
#include <miiphy.h>

View File

@@ -3,7 +3,7 @@
* Copyright (C) 2015 Stefan Roese <sr@denx.de>
*/
#include <common.h>
#include <config.h>
#include <i2c.h>
#include <init.h>
#include <miiphy.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2014 Stefan Roese <sr@denx.de>
*/
#include <common.h>
#include <init.h>
#include <miiphy.h>
#include <net.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2015 Stefan Roese <sr@denx.de>
*/
#include <common.h>
#include <i2c.h>
#include <init.h>
#include <asm/global_data.h>

View File

@@ -8,7 +8,6 @@
* Written-by: Siddarth Gore <gores@marvell.com>
*/
#include <common.h>
#include <init.h>
#include <netdev.h>
#include <asm/arch/cpu.h>

View File

@@ -5,7 +5,6 @@
* Written-by: Siddarth Gore <gores@marvell.com>
*/
#include <common.h>
#include <init.h>
#include <miiphy.h>
#include <net.h>

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0+
#include <common.h>
#include <config.h>
#include <asm/global_data.h>
DECLARE_GLOBAL_DATA_PTR;

View File

@@ -3,7 +3,7 @@
* Copyright (C) 2016 Stefan Roese <sr@denx.de>
*/
#include <common.h>
#include <config.h>
#include <dm.h>
#include <dm/device-internal.h>
#include <env.h>

View File

@@ -3,7 +3,7 @@
* Copyright (C) 2016 Stefan Roese <sr@denx.de>
*/
#include <common.h>
#include <config.h>
#include <dm.h>
#include <i2c.h>
#include <init.h>

View File

@@ -5,7 +5,6 @@
* https://spdx.org/licenses
*/
#include <common.h>
#include <dm.h>
#include <malloc.h>
#include <errno.h>

View File

@@ -10,7 +10,6 @@
* Written-by: Prafulla Wadaskar <prafulla@marvell.com>
*/
#include <common.h>
#include <init.h>
#include <miiphy.h>
#include <net.h>

View File

@@ -6,7 +6,6 @@
* Written-by: Prafulla Wadaskar <prafulla@marvell.com>
*/
#include <common.h>
#include <init.h>
#include <netdev.h>
#include <asm/global_data.h>