ARM: renesas: Drop include common.h

The header file is not necessary in either of those files,
remove it as common.h is going away.

Include missing asm/arch/rmobile.h in board/renesas/rcar-common/v3-common.c
to prevent build failure of r8a77970_eagle r8a779a0_falcon r8a77980_v3hsk
and r8a77970_v3msk .

Include missing asm/u-boot.h in falcon.c and grpeach.c to fix build failure
due to missing definition of struct bd_info . Include errno.h in grpeach.c
to fix build error due to missing definition of EINVAL.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
This commit is contained in:
Marek Vasut
2024-01-21 18:31:23 +01:00
parent b90862d2f4
commit e12337915c
38 changed files with 4 additions and 38 deletions

View File

@@ -5,7 +5,6 @@
* Copyright (C) 2014, 2015 Renesas Electronics Corporation
*/
#include <common.h>
#include <cpu_func.h>
#include <env.h>
#include <hang.h>

View File

@@ -5,7 +5,6 @@
* Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
*/
#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <malloc.h>

View File

@@ -6,7 +6,6 @@
*
*/
#include <common.h>
#include <asm/processor.h>
#include <asm/mach-types.h>
#include <asm/io.h>

View File

@@ -6,7 +6,6 @@
* Copyright (C) 2016 Renesas Electronics Corporation
*/
#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <net.h>

View File

@@ -5,7 +5,6 @@
* Copyright (C) 2016 Renesas Electronics Corporation
*/
#include <common.h>
#include <asm/processor.h>
#include <asm/mach-types.h>
#include <asm/io.h>

View File

@@ -6,7 +6,6 @@
* Copyright (C) 2017 Marek Vasut <marek.vasut+renesas@gmail.com>
*/
#include <common.h>
#include <cpu_func.h>
#include <hang.h>
#include <init.h>

View File

@@ -6,7 +6,6 @@
* Copyright (C) 2020 Renesas Electronics Corp.
*/
#include <common.h>
#include <asm/arch/rmobile.h>
#include <asm/arch/sys_proto.h>
#include <asm/global_data.h>
@@ -15,6 +14,7 @@
#include <asm/processor.h>
#include <linux/errno.h>
#include <asm/system.h>
#include <asm/u-boot.h>
DECLARE_GLOBAL_DATA_PTR;

View File

@@ -5,7 +5,6 @@
* Copyright (C) 2014 Renesas Electronics Corporation
*/
#include <common.h>
#include <clock_legacy.h>
#include <cpu_func.h>
#include <env.h>

View File

@@ -5,7 +5,6 @@
* Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
*/
#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <malloc.h>

View File

@@ -6,7 +6,6 @@
* Copyright (C) 2014 Renesas Electronics Corporation
*/
#include <common.h>
#include <asm/processor.h>
#include <asm/mach-types.h>
#include <asm/io.h>

View File

@@ -4,12 +4,13 @@
* Copyright (C) Chris Brandt
*/
#include <common.h>
#include <cpu_func.h>
#include <errno.h>
#include <init.h>
#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch/sys_proto.h>
#include <asm/u-boot.h>
#define RZA1_WDT_BASE 0xfcfe0000
#define WTCSR 0x00

View File

@@ -6,7 +6,6 @@
*
*/
#include <common.h>
#include <clock_legacy.h>
#include <cpu_func.h>
#include <env.h>

View File

@@ -5,7 +5,6 @@
* Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
*/
#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <malloc.h>

View File

@@ -6,7 +6,6 @@
*
*/
#include <common.h>
#include <asm/processor.h>
#include <asm/mach-types.h>
#include <asm/io.h>

View File

@@ -7,7 +7,6 @@
* Copyright (C) 2013 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
*/
#include <common.h>
#include <clock_legacy.h>
#include <cpu_func.h>
#include <env.h>

View File

@@ -5,7 +5,6 @@
* Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
*/
#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <malloc.h>

View File

@@ -5,7 +5,6 @@
* Copyright (C) 2013,2014 Renesas Electronics Corporation
*/
#include <common.h>
#include <asm/processor.h>
#include <asm/mach-types.h>
#include <asm/io.h>

View File

@@ -6,7 +6,6 @@
* Copyright (C) 2015 Cogent Embedded, Inc.
*/
#include <common.h>
#include <clock_legacy.h>
#include <cpu_func.h>
#include <env.h>

View File

@@ -5,7 +5,6 @@
* Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
*/
#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <malloc.h>

View File

@@ -7,7 +7,6 @@
*
*/
#include <common.h>
#include <asm/processor.h>
#include <asm/mach-types.h>
#include <asm/io.h>

View File

@@ -4,7 +4,6 @@
* Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
*/
#include <common.h>
#include <ide.h>
#include <init.h>
#include <net.h>

View File

@@ -7,7 +7,6 @@
* Copyright (C) 2015 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
*/
#include <common.h>
#include <dm.h>
#include <fdt_support.h>
#include <hang.h>

View File

@@ -5,7 +5,6 @@
* Copyright (C) 2019 Marek Vasut <marek.vasut@gmail.com>
*/
#include <common.h>
#include <cpu_func.h>
#include <image.h>
#include <init.h>

View File

@@ -3,8 +3,8 @@
* Copyright (C) 2017-2023 Marek Vasut <marek.vasut+renesas@mailbox.org>
*/
#include <common.h>
#include <clock_legacy.h>
#include <asm/arch/rmobile.h>
#include <asm/io.h>
#define CPGWPR 0xE6150900

View File

@@ -7,7 +7,6 @@
* Copyright (C) 2015 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
*/
#include <common.h>
#include <cpu_func.h>
#include <image.h>
#include <init.h>

View File

@@ -7,7 +7,6 @@
*
*/
#include <common.h>
#include <asm/processor.h>
#include <asm/mach-types.h>
#include <asm/io.h>

View File

@@ -6,7 +6,6 @@
* Copyright (C) 2015 Cogent Embedded, Inc.
*/
#include <common.h>
#include <cpu_func.h>
#include <env.h>
#include <hang.h>

View File

@@ -5,7 +5,6 @@
* Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
*/
#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <malloc.h>

View File

@@ -6,7 +6,6 @@
* Copyright (C) 2021 Renesas Electronics Corp.
*/
#include <common.h>
#include <asm/arch/rmobile.h>
#include <asm/arch/sys_proto.h>
#include <asm/global_data.h>

View File

@@ -7,7 +7,6 @@
* Copyright (C) 2015 Cogent Embedded, Inc.
*/
#include <common.h>
#include <command.h>
#include <cpu_func.h>
#include <asm/io.h>

View File

@@ -7,7 +7,6 @@
* Copyright (C) 2015 Cogent Embedded, Inc.
*/
#include <common.h>
#include <asm/processor.h>
#include <asm/mach-types.h>
#include <asm/io.h>

View File

@@ -8,7 +8,6 @@
* Copyright (C) 2015 Cogent Embedded, Inc.
*/
#include <common.h>
#include <clock_legacy.h>
#include <env.h>
#include <init.h>

View File

@@ -5,7 +5,6 @@
* Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
*/
#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <malloc.h>

View File

@@ -6,7 +6,6 @@
* Copyright (C) 2017 Cogent Embedded, Inc.
*/
#include <common.h>
#include <command.h>
#include <asm/gpio.h>
#include <asm/io.h>

View File

@@ -6,7 +6,6 @@
* Copyright (C) 2017 Renesas Electronics Corporation
*/
#include <common.h>
#include <image.h>
#include <init.h>
#include <malloc.h>

View File

@@ -7,7 +7,6 @@
*
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <i2c.h>

View File

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

View File

@@ -6,7 +6,6 @@
* Copyright (C) 2021 Renesas Electronics Corp.
*/
#include <common.h>
#include <asm/arch/rmobile.h>
#include <asm/arch/sys_proto.h>
#include <asm/global_data.h>