- Assorted code clean-ups
This commit is contained in:
Tom Rini 2024-01-27 20:43:20 -05:00
commit 526a865fe4
77 changed files with 5 additions and 78 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>
@ -32,7 +31,7 @@ static void init_generic_timer(void)
static void init_gic_v3(void)
{
/* GIC v3 power on */
/* GIC v3 power on */
writel(BIT(1), GICR_LPI_PWRR);
/* Wait till the WAKER_CA_BIT changes to 0 */

View file

@ -10,7 +10,6 @@
* Copyright (C) 2016 Glider bvba
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <errno.h>

View file

@ -10,7 +10,6 @@
* Copyright (C) 2016 Glider bvba
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <dm/device-internal.h>

View file

@ -9,7 +9,6 @@
* Copyright (C) 2016 Glider bvba
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>

View file

@ -9,7 +9,6 @@
* Copyright (C) 2016 Glider bvba
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>

View file

@ -10,7 +10,6 @@
* Copyright (C) 2015 Renesas Electronics Corp.
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <linux/bitops.h>

View file

@ -9,7 +9,6 @@
* Copyright (C) 2015 Glider bvba
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <linux/bitops.h>

View file

@ -9,7 +9,6 @@
* Copyright (C) 2013 Ideas On Board SPRL
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <linux/bitops.h>

View file

@ -9,7 +9,6 @@
* Copyright (C) 2013 Ideas On Board SPRL
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <linux/bitops.h>

View file

@ -9,7 +9,6 @@
* Copyright (C) 2013 Ideas On Board SPRL
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <linux/bitops.h>

View file

@ -9,7 +9,6 @@
* Copyright (C) 2013 Ideas On Board SPRL
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <linux/bitops.h>

View file

@ -10,7 +10,6 @@
* Copyright (C) 2015 Renesas Electronics Corp.
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <linux/bitops.h>

View file

@ -12,7 +12,6 @@
* Copyright (C) 2015 Renesas Electronics Corp.
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <linux/bitops.h>

View file

@ -11,7 +11,6 @@
* Copyright (C) 2015 Renesas Electronics Corp.
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <linux/bitops.h>

View file

@ -9,7 +9,6 @@
* Copyright (C) 2015 Glider bvba
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <linux/bitops.h>

View file

@ -10,7 +10,6 @@
* Copyright (C) 2015 Glider bvba
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <linux/bitops.h>

View file

@ -10,7 +10,6 @@
* Copyright (C) 2015 Renesas Electronics Corp.
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <linux/bitops.h>

View file

@ -10,7 +10,6 @@
* Copyright (C) 2015 Renesas Electronics Corp.
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <linux/bitops.h>

View file

@ -10,7 +10,6 @@
* Copyright (C) 2015 Renesas Electronics Corp.
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>

View file

@ -7,7 +7,6 @@
* Based on r8a779a0-cpg-mssr.c
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>

View file

@ -7,7 +7,6 @@
* Based on r8a779f0-cpg-mssr.c
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>

View file

@ -7,7 +7,6 @@
* Michel Pollet <michel.pollet@bp.renesas.com>, <buserror@gmail.com>
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <dm/device_compat.h>

View file

@ -10,7 +10,6 @@
* Copyright (C) 2016 Glider bvba
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <errno.h>

View file

@ -9,7 +9,6 @@
*
* Copyright (C) 2016 Glider bvba
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm.h>
#include <errno.h>

View file

@ -8,7 +8,6 @@
* Copyright (C) 2012 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <dm/pinctrl.h>

View file

@ -6,7 +6,6 @@
* Copyright (C) 2014-2017 Cogent Embedded, Inc.
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <dm/pinctrl.h>

View file

@ -6,7 +6,6 @@
* Copyright (C) 2016 Cogent Embedded, Inc., <source@cogentembedded.com>
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <dm/pinctrl.h>

View file

@ -7,7 +7,6 @@
* Copyright (C) 2015-2017 Cogent Embedded, Inc. <source@cogentembedded.com>
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <dm/pinctrl.h>

View file

@ -5,7 +5,6 @@
* Copyright (C) 2015-2019 Renesas Electronics Corporation
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <dm/pinctrl.h>

View file

@ -11,7 +11,6 @@
* Copyright (C) 2015 Renesas Electronics Corporation
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <dm/pinctrl.h>

View file

@ -12,7 +12,6 @@
* Copyright (C) 2015 Renesas Electronics Corporation
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <dm/pinctrl.h>

View file

@ -12,7 +12,6 @@
* Copyright (C) 2015 Renesas Electronics Corporation
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <dm/pinctrl.h>

View file

@ -12,7 +12,6 @@
* Copyright (C) 2015 Renesas Electronics Corporation
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <dm/pinctrl.h>

View file

@ -11,7 +11,6 @@
* Copyright (C) 2016-2017 Renesas Electronics Corp.
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <dm/pinctrl.h>

View file

@ -11,7 +11,6 @@
* Copyright (C) 2015 Renesas Electronics Corporation
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <dm/pinctrl.h>

View file

@ -7,7 +7,6 @@
* This file is based on the drivers/pinctrl/renesas/pfc-r8a7795.c
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <dm/pinctrl.h>

View file

@ -7,7 +7,6 @@
* This file is based on the drivers/pinctrl/renesas/pfc-r8a779a0.c
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <dm/pinctrl.h>

View file

@ -7,7 +7,6 @@
* This file is based on the drivers/pinctrl/renesas/pfc-r8a779a0.c
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <dm/pinctrl.h>

View file

@ -11,7 +11,6 @@
#define DRV_NAME "sh-pfc"
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <dm/device_compat.h>

View file

@ -5,7 +5,6 @@
* Copyright (C) 2019 Marek Vasut <marek.vasut@gmail.com>
*/
#include <common.h>
#include <dm.h>
#include <asm/global_data.h>
#include <dm/lists.h>