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:
@@ -3,7 +3,7 @@
|
|||||||
* Copyright (C) 2018 Marvell International Ltd.
|
* Copyright (C) 2018 Marvell International Ltd.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <config.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <fdtdec.h>
|
#include <fdtdec.h>
|
||||||
#include <linux/libfdt.h>
|
#include <linux/libfdt.h>
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
* Copyright (C) 2018 Marvell International Ltd.
|
* Copyright (C) 2018 Marvell International Ltd.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <asm/arch-armada8k/cache_llc.h>
|
#include <asm/arch-armada8k/cache_llc.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/arch/cpu.h>
|
#include <asm/arch/cpu.h>
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
* Copyright (C) 2016 Stefan Roese <sr@denx.de>
|
* Copyright (C) 2016 Stefan Roese <sr@denx.de>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <config.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <fdtdec.h>
|
#include <fdtdec.h>
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
|
@@ -4,7 +4,6 @@
|
|||||||
* Copyright (C) 2020 Marek Behún <kabel@kernel.org>
|
* Copyright (C) 2020 Marek Behún <kabel@kernel.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <cpu_func.h>
|
#include <cpu_func.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <fdtdec.h>
|
#include <fdtdec.h>
|
||||||
|
@@ -5,9 +5,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <common.h>
|
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
#include <linux/errno.h>
|
||||||
|
#include <linux/types.h>
|
||||||
#include <mach/mbox.h>
|
#include <mach/mbox.h>
|
||||||
#include <mach/soc.h>
|
#include <mach/soc.h>
|
||||||
|
|
||||||
|
@@ -4,11 +4,11 @@
|
|||||||
* Copyright (C) 2021 Pali Rohár <pali@kernel.org>
|
* Copyright (C) 2021 Pali Rohár <pali@kernel.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <asm/arch/soc.h>
|
#include <asm/arch/soc.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <linux/bitops.h>
|
#include <linux/bitops.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
#include <linux/errno.h>
|
||||||
#include <mach/mbox.h>
|
#include <mach/mbox.h>
|
||||||
|
|
||||||
#define RWTM_BASE (MVEBU_REGISTER(0xb0000))
|
#define RWTM_BASE (MVEBU_REGISTER(0xb0000))
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
* Copyright (C) 2016 Stefan Roese <sr@denx.de>
|
* Copyright (C) 2016 Stefan Roese <sr@denx.de>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <cpu_func.h>
|
#include <cpu_func.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <fdtdec.h>
|
#include <fdtdec.h>
|
||||||
|
@@ -3,10 +3,11 @@
|
|||||||
* Copyright (C) 2016 Stefan Roese <sr@denx.de>
|
* Copyright (C) 2016 Stefan Roese <sr@denx.de>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <config.h>
|
||||||
#include <asm/arch/cpu.h>
|
#include <asm/arch/cpu.h>
|
||||||
#include <asm/arch/soc.h>
|
#include <asm/arch/soc.h>
|
||||||
#include <asm/global_data.h>
|
#include <asm/global_data.h>
|
||||||
|
#include <asm/u-boot.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/system.h>
|
#include <asm/system.h>
|
||||||
#include <linux/sizes.h>
|
#include <linux/sizes.h>
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
* Copyright (C) 2014-2016 Stefan Roese <sr@denx.de>
|
* Copyright (C) 2014-2016 Stefan Roese <sr@denx.de>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <config.h>
|
||||||
#include <ahci.h>
|
#include <ahci.h>
|
||||||
#include <cpu_func.h>
|
#include <cpu_func.h>
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
|
@@ -6,9 +6,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <common.h>
|
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
#include <asm/global_data.h>
|
#include <asm/global_data.h>
|
||||||
|
#include <asm/u-boot.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/arch/cpu.h>
|
#include <asm/arch/cpu.h>
|
||||||
#include <asm/arch/soc.h>
|
#include <asm/arch/soc.h>
|
||||||
|
@@ -4,7 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <common.h>
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/arch/cpu.h>
|
#include <asm/arch/cpu.h>
|
||||||
|
@@ -5,7 +5,6 @@
|
|||||||
* Written-by: Prafulla Wadaskar <prafulla@marvell.com>
|
* Written-by: Prafulla Wadaskar <prafulla@marvell.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/arch/cpu.h>
|
#include <asm/arch/cpu.h>
|
||||||
#include <asm/arch/soc.h>
|
#include <asm/arch/soc.h>
|
||||||
|
@@ -46,7 +46,7 @@
|
|||||||
* mvebu_mbus_del_window().
|
* mvebu_mbus_del_window().
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <config.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <linux/bitops.h>
|
#include <linux/bitops.h>
|
||||||
#include <linux/errno.h>
|
#include <linux/errno.h>
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
* Copyright (C) Marvell International Ltd. and its affiliates
|
* Copyright (C) Marvell International Ltd. and its affiliates
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <spl.h>
|
#include <spl.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/arch/cpu.h>
|
#include <asm/arch/cpu.h>
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
* Copyright (C) Marvell International Ltd. and its affiliates
|
* Copyright (C) Marvell International Ltd. and its affiliates
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <config.h>
|
||||||
#include <spl.h>
|
#include <spl.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/arch/cpu.h>
|
#include <asm/arch/cpu.h>
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
* Copyright (C) Marvell International Ltd. and its affiliates
|
* Copyright (C) Marvell International Ltd. and its affiliates
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <spl.h>
|
#include <spl.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/arch/cpu.h>
|
#include <asm/arch/cpu.h>
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
* Copyright (C) Marvell International Ltd. and its affiliates
|
* Copyright (C) Marvell International Ltd. and its affiliates
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <spl.h>
|
#include <spl.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/arch/cpu.h>
|
#include <asm/arch/cpu.h>
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
* Copyright (C) Marvell International Ltd. and its affiliates
|
* Copyright (C) Marvell International Ltd. and its affiliates
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <config.h>
|
||||||
#include <i2c.h>
|
#include <i2c.h>
|
||||||
#include <spl.h>
|
#include <spl.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
* Copyright (C) Marvell International Ltd. and its affiliates
|
* Copyright (C) Marvell International Ltd. and its affiliates
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <spl.h>
|
#include <spl.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/arch/cpu.h>
|
#include <asm/arch/cpu.h>
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
* Copyright (C) 2014-2016 Stefan Roese <sr@denx.de>
|
* Copyright (C) 2014-2016 Stefan Roese <sr@denx.de>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <cpu_func.h>
|
#include <cpu_func.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <fdtdec.h>
|
#include <fdtdec.h>
|
||||||
|
@@ -4,7 +4,6 @@
|
|||||||
* Copyright (C) 2024 Marek Behún <kabel@kernel.org>
|
* Copyright (C) 2024 Marek Behún <kabel@kernel.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <dm/lists.h>
|
#include <dm/lists.h>
|
||||||
#include <regmap.h>
|
#include <regmap.h>
|
||||||
|
Reference in New Issue
Block a user