arm: mvebu: Remove <common.h> and add needed includes

Remove <common.h> from all mach-mvebu files 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 07:35:44 -06:00
parent df8caa54a5
commit 0e34e80fbf
21 changed files with 12 additions and 21 deletions

View File

@@ -3,7 +3,7 @@
* Copyright (C) 2018 Marvell International Ltd.
*/
#include <common.h>
#include <config.h>
#include <dm.h>
#include <fdtdec.h>
#include <linux/libfdt.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2018 Marvell International Ltd.
*/
#include <common.h>
#include <asm/arch-armada8k/cache_llc.h>
#include <asm/io.h>
#include <asm/arch/cpu.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 <fdtdec.h>
#include <init.h>

View File

@@ -4,7 +4,6 @@
* Copyright (C) 2020 Marek Behún <kabel@kernel.org>
*/
#include <common.h>
#include <cpu_func.h>
#include <dm.h>
#include <fdtdec.h>

View File

@@ -5,9 +5,10 @@
*/
#include <config.h>
#include <common.h>
#include <asm/io.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <mach/mbox.h>
#include <mach/soc.h>

View File

@@ -4,11 +4,11 @@
* Copyright (C) 2021 Pali Rohár <pali@kernel.org>
*/
#include <common.h>
#include <asm/arch/soc.h>
#include <asm/io.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <mach/mbox.h>
#define RWTM_BASE (MVEBU_REGISTER(0xb0000))

View File

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

View File

@@ -3,10 +3,11 @@
* Copyright (C) 2016 Stefan Roese <sr@denx.de>
*/
#include <common.h>
#include <config.h>
#include <asm/arch/cpu.h>
#include <asm/arch/soc.h>
#include <asm/global_data.h>
#include <asm/u-boot.h>
#include <asm/ptrace.h>
#include <asm/system.h>
#include <linux/sizes.h>

View File

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

View File

@@ -6,9 +6,9 @@
*/
#include <config.h>
#include <common.h>
#include <init.h>
#include <asm/global_data.h>
#include <asm/u-boot.h>
#include <asm/io.h>
#include <asm/arch/cpu.h>
#include <asm/arch/soc.h>

View File

@@ -4,7 +4,6 @@
*/
#include <config.h>
#include <common.h>
#include <errno.h>
#include <asm/io.h>
#include <asm/arch/cpu.h>

View File

@@ -5,7 +5,6 @@
* Written-by: Prafulla Wadaskar <prafulla@marvell.com>
*/
#include <common.h>
#include <asm/io.h>
#include <asm/arch/cpu.h>
#include <asm/arch/soc.h>

View File

@@ -46,7 +46,7 @@
* mvebu_mbus_del_window().
*/
#include <common.h>
#include <config.h>
#include <malloc.h>
#include <linux/bitops.h>
#include <linux/errno.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) Marvell International Ltd. and its affiliates
*/
#include <common.h>
#include <spl.h>
#include <asm/io.h>
#include <asm/arch/cpu.h>

View File

@@ -3,7 +3,7 @@
* Copyright (C) Marvell International Ltd. and its affiliates
*/
#include <common.h>
#include <config.h>
#include <spl.h>
#include <asm/io.h>
#include <asm/arch/cpu.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) Marvell International Ltd. and its affiliates
*/
#include <common.h>
#include <spl.h>
#include <asm/io.h>
#include <asm/arch/cpu.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) Marvell International Ltd. and its affiliates
*/
#include <common.h>
#include <spl.h>
#include <asm/io.h>
#include <asm/arch/cpu.h>

View File

@@ -3,7 +3,7 @@
* Copyright (C) Marvell International Ltd. and its affiliates
*/
#include <common.h>
#include <config.h>
#include <i2c.h>
#include <spl.h>
#include <asm/io.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) Marvell International Ltd. and its affiliates
*/
#include <common.h>
#include <spl.h>
#include <asm/io.h>
#include <asm/arch/cpu.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2014-2016 Stefan Roese <sr@denx.de>
*/
#include <common.h>
#include <cpu_func.h>
#include <dm.h>
#include <fdtdec.h>

View File

@@ -4,7 +4,6 @@
* Copyright (C) 2024 Marek Behún <kabel@kernel.org>
*/
#include <common.h>
#include <dm.h>
#include <dm/lists.h>
#include <regmap.h>