arm: mach-rmobile: Drop <common.h>

For most source files we can just drop <common.h>. We need to add an
include for <asm/u-boot.h> in a couple of places. Also sort the include
list in memmap-gen3.c while we're here.

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
This commit is contained in:
Paul Barker 2023-11-01 20:05:53 +00:00 committed by Marek Vasut
parent 0a5d5fe30d
commit 93565cc94c
11 changed files with 9 additions and 12 deletions

View File

@ -3,7 +3,7 @@
* (C) Copyright 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
* (C) Copyright 2012 Renesas Solutions Corp.
*/
#include <common.h>
#include <init.h>
#include <asm/io.h>

View File

@ -3,7 +3,7 @@
* (C) Copyright 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
* (C) Copyright 2012 Renesas Solutions Corp.
*/
#include <common.h>
#include <asm/io.h>
u32 rmobile_get_cpu_type(void)

View File

@ -4,7 +4,7 @@
*
* Copyright (C) 2013,2014 Renesas Electronics Corporation
*/
#include <common.h>
#include <asm/io.h>
#define PRR_MASK 0x7fff

View File

@ -3,7 +3,7 @@
* Copyright (C) 2021 Renesas Electronics Corporation
*
*/
#include <common.h>
#include <linux/libfdt.h>
/* If the firmware passed a device tree, use it for soc identification. */

View File

@ -4,7 +4,6 @@
*
*/
#include <common.h>
#include <asm/io.h>
#include <linux/libfdt.h>

View File

@ -3,7 +3,7 @@
* (C) Copyright 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
* (C) Copyright 2012-2021 Renesas Solutions Corp.
*/
#include <common.h>
#include <cpu_func.h>
#include <asm/cache.h>
#include <init.h>

View File

@ -6,7 +6,6 @@
* Copyright (C) 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
*/
#include <common.h>
#include <net.h>
#include <linux/errno.h>
#include <netdev.h>

View File

@ -5,10 +5,10 @@
* Copyright (C) 2017 Marek Vasut <marek.vasut@gmail.com>
*/
#include <common.h>
#include <cpu_func.h>
#include <asm/armv8/mmu.h>
#include <asm/global_data.h>
#include <asm/u-boot.h>
#include <cpu_func.h>
#define GEN3_NR_REGIONS 16

View File

@ -6,9 +6,9 @@
* Copyright (C) 2023 Renesas Electronics Corp.
*/
#include <common.h>
#include <asm/armv8/mmu.h>
#include <asm/global_data.h>
#include <asm/u-boot.h>
#include <cpu_func.h>
#define RZG2L_NR_REGIONS 16

View File

@ -18,7 +18,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <common.h>
#include <sh_pfc.h>
#include <asm/gpio.h>
#include <asm/arch/irqs.h>

View File

@ -6,7 +6,6 @@
*
*/
#include <common.h>
#include <asm/io.h>
#include <asm/psci.h>
#include <asm/secure.h>