From: Kever Yang <kever.yang@rock-chips.com>
To: Tom Rini <trini@konsulko.com>, u-boot@lists.denx.de
Subject: Re: [PATCH 54/81] ram: Remove <common.h> and add needed includes
Date: Fri, 10 May 2024 08:43:33 +0800 [thread overview]
Message-ID: <d4674ac2-593f-48fc-a16f-cd62a53e770e@rock-chips.com> (raw)
In-Reply-To: <20240502013138.2383421-54-trini@konsulko.com>
On 2024/5/2 09:31, Tom Rini wrote:
> Remove <common.h> from this driver directory and when needed
> add missing include files directly.
>
> Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Thanks,
- Kever
> ---
> Cc: Ryan Chen <ryan_chen@aspeedtech.com>
> Cc: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
> Cc: Aspeed BMC SW team <BMC-SW@aspeedtech.com>
> Cc: Joel Stanley <joel@jms.id.au>
> Cc: Tom Rini <trini@konsulko.com>
> Cc: Ryder Lee <ryder.lee@mediatek.com>
> Cc: Weijie Gao <weijie.gao@mediatek.com>
> Cc: Chunfeng Yun <chunfeng.yun@mediatek.com>
> Cc: GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>
> Cc: Mario Six <mario.six@gdsys.cc>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Philipp Tomsich <philipp.tomsich@vrull.eu>
> Cc: Kever Yang <kever.yang@rock-chips.com>
> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
> Cc: Patrice Chotard <patrice.chotard@foss.st.com>
> Cc: Ralph Siemsen <ralph.siemsen@linaro.org>
> Cc: Marek Vasut <marek.vasut+renesas@mailbox.org>
> Cc: Leo Yu-Chi Liang <ycliang@andestech.com>
> Cc: Yanhong Wang <yanhong.wang@starfivetech.com>
> Cc: Andre Przywara <andre.przywara@arm.com>
> ---
> drivers/ram/aspeed/sdram_ast2500.c | 2 +-
> drivers/ram/aspeed/sdram_ast2600.c | 2 +-
> drivers/ram/bmips_ram.c | 1 -
> drivers/ram/cadence/ddr_ctrl.c | 1 -
> drivers/ram/imxrt_sdram.c | 1 -
> drivers/ram/k3-am654-ddrss.c | 1 -
> drivers/ram/k3-ddrss/k3-ddrss.c | 1 -
> drivers/ram/mediatek/ddr3-mt7629.c | 2 +-
> drivers/ram/mpc83xx_sdram.c | 1 -
> drivers/ram/ram-uclass.c | 1 -
> drivers/ram/renesas/rzn1/ddr_async.c | 1 -
> drivers/ram/rockchip/dmc-rk3368.c | 2 +-
> drivers/ram/rockchip/sdram_common.c | 2 +-
> drivers/ram/rockchip/sdram_pctl_px30.c | 1 -
> drivers/ram/rockchip/sdram_phy_px30.c | 1 -
> drivers/ram/rockchip/sdram_px30.c | 2 +-
> drivers/ram/rockchip/sdram_rk3066.c | 2 +-
> drivers/ram/rockchip/sdram_rk3128.c | 2 +-
> drivers/ram/rockchip/sdram_rk3188.c | 2 +-
> drivers/ram/rockchip/sdram_rk322x.c | 2 +-
> drivers/ram/rockchip/sdram_rk3288.c | 2 +-
> drivers/ram/rockchip/sdram_rk3308.c | 2 +-
> drivers/ram/rockchip/sdram_rk3328.c | 2 +-
> drivers/ram/rockchip/sdram_rk3399.c | 2 +-
> drivers/ram/rockchip/sdram_rk3568.c | 2 +-
> drivers/ram/rockchip/sdram_rk3588.c | 2 +-
> drivers/ram/rockchip/sdram_rv1126.c | 2 +-
> drivers/ram/sandbox_ram.c | 1 -
> drivers/ram/sifive/sifive_ddr.c | 1 -
> drivers/ram/starfive/ddrcsr_boot.c | 1 -
> drivers/ram/starfive/ddrphy_start.c | 1 -
> drivers/ram/starfive/ddrphy_train.c | 2 +-
> drivers/ram/starfive/ddrphy_utils.c | 2 +-
> drivers/ram/starfive/starfive_ddr.c | 1 -
> drivers/ram/starfive/starfive_ddr.h | 2 ++
> drivers/ram/stm32_sdram.c | 1 -
> drivers/ram/stm32mp1/stm32mp1_ddr.c | 1 -
> drivers/ram/stm32mp1/stm32mp1_interactive.c | 1 -
> drivers/ram/stm32mp1/stm32mp1_ram.c | 1 -
> drivers/ram/stm32mp1/stm32mp1_tests.c | 1 -
> drivers/ram/sunxi/dram_sun20i_d1.c | 2 +-
> 41 files changed, 22 insertions(+), 40 deletions(-)
>
> diff --git a/drivers/ram/aspeed/sdram_ast2500.c b/drivers/ram/aspeed/sdram_ast2500.c
> index dc466a88e712..0d6ab79f96fc 100644
> --- a/drivers/ram/aspeed/sdram_ast2500.c
> +++ b/drivers/ram/aspeed/sdram_ast2500.c
> @@ -5,7 +5,7 @@
> * Copyright 2016 Google, Inc
> */
>
> -#include <common.h>
> +#include <config.h>
> #include <clk.h>
> #include <dm.h>
> #include <errno.h>
> diff --git a/drivers/ram/aspeed/sdram_ast2600.c b/drivers/ram/aspeed/sdram_ast2600.c
> index d463933363ee..55e80fba3dc0 100644
> --- a/drivers/ram/aspeed/sdram_ast2600.c
> +++ b/drivers/ram/aspeed/sdram_ast2600.c
> @@ -2,7 +2,7 @@
> /*
> * Copyright (C) ASPEED Technology Inc.
> */
> -#include <common.h>
> +#include <config.h>
> #include <clk.h>
> #include <dm.h>
> #include <errno.h>
> diff --git a/drivers/ram/bmips_ram.c b/drivers/ram/bmips_ram.c
> index 98045248ecfb..760bebdbba04 100644
> --- a/drivers/ram/bmips_ram.c
> +++ b/drivers/ram/bmips_ram.c
> @@ -7,7 +7,6 @@
> * Copyright (C) 2009 Florian Fainelli <florian@openwrt.org>
> */
>
> -#include <common.h>
> #include <dm.h>
> #include <errno.h>
> #include <init.h>
> diff --git a/drivers/ram/cadence/ddr_ctrl.c b/drivers/ram/cadence/ddr_ctrl.c
> index 3e5959a84a37..0fa60e766a7e 100644
> --- a/drivers/ram/cadence/ddr_ctrl.c
> +++ b/drivers/ram/cadence/ddr_ctrl.c
> @@ -24,7 +24,6 @@
> * bandwidth allocated to each AXI slave can be set.
> */
>
> -#include <common.h>
> #include <linux/delay.h>
> #include <linux/sizes.h>
> #include <asm/io.h>
> diff --git a/drivers/ram/imxrt_sdram.c b/drivers/ram/imxrt_sdram.c
> index 6a15242c20cc..3df106c9b79a 100644
> --- a/drivers/ram/imxrt_sdram.c
> +++ b/drivers/ram/imxrt_sdram.c
> @@ -4,7 +4,6 @@
> * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
> */
>
> -#include <common.h>
> #include <clk.h>
> #include <dm.h>
> #include <dm/device_compat.h>
> diff --git a/drivers/ram/k3-am654-ddrss.c b/drivers/ram/k3-am654-ddrss.c
> index cff8ffc89295..21ff9d761e1b 100644
> --- a/drivers/ram/k3-am654-ddrss.c
> +++ b/drivers/ram/k3-am654-ddrss.c
> @@ -6,7 +6,6 @@
> * Lokesh Vutla <lokeshvutla@ti.com>
> */
>
> -#include <common.h>
> #include <clk.h>
> #include <dm.h>
> #include <log.h>
> diff --git a/drivers/ram/k3-ddrss/k3-ddrss.c b/drivers/ram/k3-ddrss/k3-ddrss.c
> index a5c9b82cf1da..525b6d5b79fc 100644
> --- a/drivers/ram/k3-ddrss/k3-ddrss.c
> +++ b/drivers/ram/k3-ddrss/k3-ddrss.c
> @@ -5,7 +5,6 @@
> * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
> */
>
> -#include <common.h>
> #include <config.h>
> #include <clk.h>
> #include <div64.h>
> diff --git a/drivers/ram/mediatek/ddr3-mt7629.c b/drivers/ram/mediatek/ddr3-mt7629.c
> index f65fcf179cf6..c27c4593b9d9 100644
> --- a/drivers/ram/mediatek/ddr3-mt7629.c
> +++ b/drivers/ram/mediatek/ddr3-mt7629.c
> @@ -8,7 +8,7 @@
> */
>
> #include <clk.h>
> -#include <common.h>
> +#include <config.h>
> #include <dm.h>
> #include <ram.h>
> #include <asm/io.h>
> diff --git a/drivers/ram/mpc83xx_sdram.c b/drivers/ram/mpc83xx_sdram.c
> index 11676d4fae7e..28a663289a23 100644
> --- a/drivers/ram/mpc83xx_sdram.c
> +++ b/drivers/ram/mpc83xx_sdram.c
> @@ -4,7 +4,6 @@
> * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
> */
>
> -#include <common.h>
> #include <dm.h>
> #include <init.h>
> #include <log.h>
> diff --git a/drivers/ram/ram-uclass.c b/drivers/ram/ram-uclass.c
> index 4e21240fd4cb..a33d583cc448 100644
> --- a/drivers/ram/ram-uclass.c
> +++ b/drivers/ram/ram-uclass.c
> @@ -6,7 +6,6 @@
>
> #define LOG_CATEGORY UCLASS_RAM
>
> -#include <common.h>
> #include <ram.h>
> #include <dm.h>
> #include <errno.h>
> diff --git a/drivers/ram/renesas/rzn1/ddr_async.c b/drivers/ram/renesas/rzn1/ddr_async.c
> index 7a81497bc92b..4d470aae1914 100644
> --- a/drivers/ram/renesas/rzn1/ddr_async.c
> +++ b/drivers/ram/renesas/rzn1/ddr_async.c
> @@ -7,7 +7,6 @@
> *
> * Copyright (C) 2015 Renesas Electronics Europe Ltd
> */
> -#include <common.h>
> #include <clk.h>
> #include <dm.h>
> #include <dm/device_compat.h>
> diff --git a/drivers/ram/rockchip/dmc-rk3368.c b/drivers/ram/rockchip/dmc-rk3368.c
> index 5279bf0a1548..42114a5aa917 100644
> --- a/drivers/ram/rockchip/dmc-rk3368.c
> +++ b/drivers/ram/rockchip/dmc-rk3368.c
> @@ -3,7 +3,7 @@
> * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
> */
>
> -#include <common.h>
> +#include <config.h>
> #include <clk.h>
> #include <dm.h>
> #include <hang.h>
> diff --git a/drivers/ram/rockchip/sdram_common.c b/drivers/ram/rockchip/sdram_common.c
> index 60fc90d0a5c0..b7a8fce607c8 100644
> --- a/drivers/ram/rockchip/sdram_common.c
> +++ b/drivers/ram/rockchip/sdram_common.c
> @@ -3,7 +3,7 @@
> * (C) Copyright 2018 Rockchip Electronics Co., Ltd.
> */
>
> -#include <common.h>
> +#include <config.h>
> #include <debug_uart.h>
> #include <ram.h>
> #include <asm/io.h>
> diff --git a/drivers/ram/rockchip/sdram_pctl_px30.c b/drivers/ram/rockchip/sdram_pctl_px30.c
> index e5c80fb83b3f..3ec98af536e8 100644
> --- a/drivers/ram/rockchip/sdram_pctl_px30.c
> +++ b/drivers/ram/rockchip/sdram_pctl_px30.c
> @@ -3,7 +3,6 @@
> * (C) Copyright 2018 Rockchip Electronics Co., Ltd.
> */
>
> -#include <common.h>
> #include <ram.h>
> #include <asm/io.h>
> #include <asm/arch-rockchip/sdram.h>
> diff --git a/drivers/ram/rockchip/sdram_phy_px30.c b/drivers/ram/rockchip/sdram_phy_px30.c
> index f7f6de1ba98b..5416eef38788 100644
> --- a/drivers/ram/rockchip/sdram_phy_px30.c
> +++ b/drivers/ram/rockchip/sdram_phy_px30.c
> @@ -3,7 +3,6 @@
> * (C) Copyright 2018 Rockchip Electronics Co., Ltd.
> */
>
> -#include <common.h>
> #include <ram.h>
> #include <asm/io.h>
> #include <asm/arch-rockchip/sdram.h>
> diff --git a/drivers/ram/rockchip/sdram_px30.c b/drivers/ram/rockchip/sdram_px30.c
> index 21498e89570f..37e621205047 100644
> --- a/drivers/ram/rockchip/sdram_px30.c
> +++ b/drivers/ram/rockchip/sdram_px30.c
> @@ -3,7 +3,7 @@
> * (C) Copyright 2018 Rockchip Electronics Co., Ltd.
> */
>
> -#include <common.h>
> +#include <config.h>
> #include <debug_uart.h>
> #include <dm.h>
> #include <init.h>
> diff --git a/drivers/ram/rockchip/sdram_rk3066.c b/drivers/ram/rockchip/sdram_rk3066.c
> index 562cf544c909..a280e2d9fa1d 100644
> --- a/drivers/ram/rockchip/sdram_rk3066.c
> +++ b/drivers/ram/rockchip/sdram_rk3066.c
> @@ -6,7 +6,7 @@
> * Adapted from the very similar rk3188 ddr init.
> */
>
> -#include <common.h>
> +#include <config.h>
> #include <clk.h>
> #include <dm.h>
> #include <dt-structs.h>
> diff --git a/drivers/ram/rockchip/sdram_rk3128.c b/drivers/ram/rockchip/sdram_rk3128.c
> index ded65393806e..66611f80b2da 100644
> --- a/drivers/ram/rockchip/sdram_rk3128.c
> +++ b/drivers/ram/rockchip/sdram_rk3128.c
> @@ -3,7 +3,7 @@
> * (C) Copyright 2017 Rockchip Electronics Co., Ltd.
> */
>
> -#include <common.h>
> +#include <config.h>
> #include <dm.h>
> #include <log.h>
> #include <ram.h>
> diff --git a/drivers/ram/rockchip/sdram_rk3188.c b/drivers/ram/rockchip/sdram_rk3188.c
> index e1b28c6e5933..618bce5c9f49 100644
> --- a/drivers/ram/rockchip/sdram_rk3188.c
> +++ b/drivers/ram/rockchip/sdram_rk3188.c
> @@ -6,7 +6,7 @@
> * Adapted from the very similar rk3288 ddr init.
> */
>
> -#include <common.h>
> +#include <config.h>
> #include <clk.h>
> #include <dm.h>
> #include <dt-structs.h>
> diff --git a/drivers/ram/rockchip/sdram_rk322x.c b/drivers/ram/rockchip/sdram_rk322x.c
> index 5fc23c11193f..a48a50911844 100644
> --- a/drivers/ram/rockchip/sdram_rk322x.c
> +++ b/drivers/ram/rockchip/sdram_rk322x.c
> @@ -2,7 +2,7 @@
> /*
> * (C) Copyright 2017 Rockchip Electronics Co., Ltd
> */
> -#include <common.h>
> +#include <config.h>
> #include <clk.h>
> #include <dm.h>
> #include <dt-structs.h>
> diff --git a/drivers/ram/rockchip/sdram_rk3288.c b/drivers/ram/rockchip/sdram_rk3288.c
> index 242d564a7d26..c9f61e933e9a 100644
> --- a/drivers/ram/rockchip/sdram_rk3288.c
> +++ b/drivers/ram/rockchip/sdram_rk3288.c
> @@ -6,7 +6,7 @@
> * Adapted from coreboot.
> */
>
> -#include <common.h>
> +#include <config.h>
> #include <clk.h>
> #include <dm.h>
> #include <dt-structs.h>
> diff --git a/drivers/ram/rockchip/sdram_rk3308.c b/drivers/ram/rockchip/sdram_rk3308.c
> index 264366291cf8..8071997f8d86 100644
> --- a/drivers/ram/rockchip/sdram_rk3308.c
> +++ b/drivers/ram/rockchip/sdram_rk3308.c
> @@ -3,7 +3,7 @@
> * (C) Copyright 2019 Rockchip Electronics Co., Ltd.
> */
>
> -#include <common.h>
> +#include <config.h>
> #include <dm.h>
> #include <ram.h>
> #include <syscon.h>
> diff --git a/drivers/ram/rockchip/sdram_rk3328.c b/drivers/ram/rockchip/sdram_rk3328.c
> index b5ca8ca436f5..99690d67a501 100644
> --- a/drivers/ram/rockchip/sdram_rk3328.c
> +++ b/drivers/ram/rockchip/sdram_rk3328.c
> @@ -2,7 +2,7 @@
> /*
> * (C) Copyright 2017 Rockchip Electronics Co., Ltd.
> */
> -#include <common.h>
> +#include <config.h>
> #include <clk.h>
> #include <debug_uart.h>
> #include <dm.h>
> diff --git a/drivers/ram/rockchip/sdram_rk3399.c b/drivers/ram/rockchip/sdram_rk3399.c
> index 02cc4a38cf0b..ef9a1824b2b3 100644
> --- a/drivers/ram/rockchip/sdram_rk3399.c
> +++ b/drivers/ram/rockchip/sdram_rk3399.c
> @@ -5,7 +5,7 @@
> * Adapted from coreboot.
> */
>
> -#include <common.h>
> +#include <config.h>
> #include <clk.h>
> #include <dm.h>
> #include <dt-structs.h>
> diff --git a/drivers/ram/rockchip/sdram_rk3568.c b/drivers/ram/rockchip/sdram_rk3568.c
> index f661615c1b91..a252d5c70106 100644
> --- a/drivers/ram/rockchip/sdram_rk3568.c
> +++ b/drivers/ram/rockchip/sdram_rk3568.c
> @@ -3,7 +3,7 @@
> * (C) Copyright 2021 Rockchip Electronics Co., Ltd.
> */
>
> -#include <common.h>
> +#include <config.h>
> #include <dm.h>
> #include <ram.h>
> #include <syscon.h>
> diff --git a/drivers/ram/rockchip/sdram_rk3588.c b/drivers/ram/rockchip/sdram_rk3588.c
> index cf56e2a94121..a144b432d76f 100644
> --- a/drivers/ram/rockchip/sdram_rk3588.c
> +++ b/drivers/ram/rockchip/sdram_rk3588.c
> @@ -3,7 +3,7 @@
> * (C) Copyright 2021 Rockchip Electronics Co., Ltd.
> */
>
> -#include <common.h>
> +#include <config.h>
> #include <dm.h>
> #include <ram.h>
> #include <syscon.h>
> diff --git a/drivers/ram/rockchip/sdram_rv1126.c b/drivers/ram/rockchip/sdram_rv1126.c
> index 849e15a91932..4fbb088a8d98 100644
> --- a/drivers/ram/rockchip/sdram_rv1126.c
> +++ b/drivers/ram/rockchip/sdram_rv1126.c
> @@ -4,7 +4,7 @@
> * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd.
> */
>
> -#include <common.h>
> +#include <config.h>
> #include <debug_uart.h>
> #include <dm.h>
> #include <ram.h>
> diff --git a/drivers/ram/sandbox_ram.c b/drivers/ram/sandbox_ram.c
> index 910dce623e90..2097da565322 100644
> --- a/drivers/ram/sandbox_ram.c
> +++ b/drivers/ram/sandbox_ram.c
> @@ -4,7 +4,6 @@
> * Written by Simon Glass <sjg@chromium.org>
> */
>
> -#include <common.h>
> #include <dm.h>
> #include <errno.h>
> #include <ram.h>
> diff --git a/drivers/ram/sifive/sifive_ddr.c b/drivers/ram/sifive/sifive_ddr.c
> index 4bd69a62be2b..bd2f438d7271 100644
> --- a/drivers/ram/sifive/sifive_ddr.c
> +++ b/drivers/ram/sifive/sifive_ddr.c
> @@ -6,7 +6,6 @@
> * Pragnesh Patel <pragnesh.patel@sifive.com>
> */
>
> -#include <common.h>
> #include <dm.h>
> #include <fdtdec.h>
> #include <init.h>
> diff --git a/drivers/ram/starfive/ddrcsr_boot.c b/drivers/ram/starfive/ddrcsr_boot.c
> index f2dd55f74a08..6764b3ed5cc9 100644
> --- a/drivers/ram/starfive/ddrcsr_boot.c
> +++ b/drivers/ram/starfive/ddrcsr_boot.c
> @@ -4,7 +4,6 @@
> * Author: Yanhong Wang<yanhong.wang@starfivetech.com>
> */
>
> -#include <common.h>
> #include <asm/io.h>
> #include <asm/arch/regs.h>
> #include <linux/delay.h>
> diff --git a/drivers/ram/starfive/ddrphy_start.c b/drivers/ram/starfive/ddrphy_start.c
> index 479b6ef10418..efe3f8a181a5 100644
> --- a/drivers/ram/starfive/ddrphy_start.c
> +++ b/drivers/ram/starfive/ddrphy_start.c
> @@ -4,7 +4,6 @@
> * Author: Yanhong Wang<yanhong.wang@starfivetech.com>
> */
>
> -#include <common.h>
> #include <asm/io.h>
>
> #include "starfive_ddr.h"
> diff --git a/drivers/ram/starfive/ddrphy_train.c b/drivers/ram/starfive/ddrphy_train.c
> index 0740f49be5bb..0aff1e8727ef 100644
> --- a/drivers/ram/starfive/ddrphy_train.c
> +++ b/drivers/ram/starfive/ddrphy_train.c
> @@ -4,7 +4,7 @@
> * Author: Yanhong Wang<yanhong.wang@starfivetech.com>
> */
>
> -#include <common.h>
> +#include <linux/kernel.h>
> #include <asm/io.h>
>
> static const u32 ddr_train_data[] = {
> diff --git a/drivers/ram/starfive/ddrphy_utils.c b/drivers/ram/starfive/ddrphy_utils.c
> index 1c9fe0a78465..d6dd6ee7a859 100644
> --- a/drivers/ram/starfive/ddrphy_utils.c
> +++ b/drivers/ram/starfive/ddrphy_utils.c
> @@ -4,7 +4,7 @@
> * Author: Yanhong Wang<yanhong.wang@starfivetech.com>
> */
>
> -#include <common.h>
> +#include <linux/kernel.h>
> #include <asm/io.h>
>
> static const u32 ddr_phy_data[] = {
> diff --git a/drivers/ram/starfive/starfive_ddr.c b/drivers/ram/starfive/starfive_ddr.c
> index a0a3d6b33dc2..b31ed3bcf617 100644
> --- a/drivers/ram/starfive/starfive_ddr.c
> +++ b/drivers/ram/starfive/starfive_ddr.c
> @@ -4,7 +4,6 @@
> * Author: Yanhong Wang<yanhong.wang@starfivetech.com>
> */
>
> -#include <common.h>
> #include <asm/arch/regs.h>
> #include <asm/io.h>
> #include <clk.h>
> diff --git a/drivers/ram/starfive/starfive_ddr.h b/drivers/ram/starfive/starfive_ddr.h
> index d0ec1c1da807..c29d26b510c9 100644
> --- a/drivers/ram/starfive/starfive_ddr.h
> +++ b/drivers/ram/starfive/starfive_ddr.h
> @@ -7,6 +7,8 @@
> #ifndef __STARFIVE_DDR_H__
> #define __STARFIVE_DDR_H__
>
> +#include <linux/kernel.h>
> +
> #define SEC_CTRL_ADDR 0x1000
> #define PHY_BASE_ADDR 0x800
> #define PHY_AC_BASE_ADDR 0x1000
> diff --git a/drivers/ram/stm32_sdram.c b/drivers/ram/stm32_sdram.c
> index 891f4137813e..10dc05dd6404 100644
> --- a/drivers/ram/stm32_sdram.c
> +++ b/drivers/ram/stm32_sdram.c
> @@ -6,7 +6,6 @@
>
> #define LOG_CATEGORY UCLASS_RAM
>
> -#include <common.h>
> #include <clk.h>
> #include <dm.h>
> #include <init.h>
> diff --git a/drivers/ram/stm32mp1/stm32mp1_ddr.c b/drivers/ram/stm32mp1/stm32mp1_ddr.c
> index 8ee4e24f39df..d7834b322992 100644
> --- a/drivers/ram/stm32mp1/stm32mp1_ddr.c
> +++ b/drivers/ram/stm32mp1/stm32mp1_ddr.c
> @@ -5,7 +5,6 @@
>
> #define LOG_CATEGORY UCLASS_RAM
>
> -#include <common.h>
> #include <clk.h>
> #include <log.h>
> #include <ram.h>
> diff --git a/drivers/ram/stm32mp1/stm32mp1_interactive.c b/drivers/ram/stm32mp1/stm32mp1_interactive.c
> index 2c19847c6633..6340afbb8709 100644
> --- a/drivers/ram/stm32mp1/stm32mp1_interactive.c
> +++ b/drivers/ram/stm32mp1/stm32mp1_interactive.c
> @@ -5,7 +5,6 @@
>
> #define LOG_CATEGORY UCLASS_RAM
>
> -#include <common.h>
> #include <command.h>
> #include <console.h>
> #include <cli.h>
> diff --git a/drivers/ram/stm32mp1/stm32mp1_ram.c b/drivers/ram/stm32mp1/stm32mp1_ram.c
> index a82b1db7592d..debc458c0e2e 100644
> --- a/drivers/ram/stm32mp1/stm32mp1_ram.c
> +++ b/drivers/ram/stm32mp1/stm32mp1_ram.c
> @@ -5,7 +5,6 @@
>
> #define LOG_CATEGORY UCLASS_RAM
>
> -#include <common.h>
> #include <clk.h>
> #include <dm.h>
> #include <init.h>
> diff --git a/drivers/ram/stm32mp1/stm32mp1_tests.c b/drivers/ram/stm32mp1/stm32mp1_tests.c
> index c5f33544144f..6108faa70730 100644
> --- a/drivers/ram/stm32mp1/stm32mp1_tests.c
> +++ b/drivers/ram/stm32mp1/stm32mp1_tests.c
> @@ -5,7 +5,6 @@
>
> #define LOG_CATEGORY UCLASS_RAM
>
> -#include <common.h>
> #include <console.h>
> #include <init.h>
> #include <log.h>
> diff --git a/drivers/ram/sunxi/dram_sun20i_d1.c b/drivers/ram/sunxi/dram_sun20i_d1.c
> index 38379281d739..a1794032f3b8 100644
> --- a/drivers/ram/sunxi/dram_sun20i_d1.c
> +++ b/drivers/ram/sunxi/dram_sun20i_d1.c
> @@ -13,7 +13,7 @@
> */
>
> #include <asm/io.h>
> -#include <common.h>
> +#include <config.h>
> #ifdef CONFIG_RAM
> #include <dm.h>
> #include <ram.h>
next prev parent reply other threads:[~2024-05-10 0:43 UTC|newest]
Thread overview: 136+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20240502013146epcas1p3dce70115dbffcbd41eb7f657d6188d2e@epcas1p3.samsung.com>
2024-05-02 1:30 ` [PATCH 01/81] mmc: Migrate MMC_SUPPORTS_TUNING to Kconfig Tom Rini
2024-05-02 1:30 ` [PATCH 02/81] arm: aspeed: Add missing <linux/types.h> Tom Rini
2024-05-02 1:30 ` [PATCH 03/81] arm: sunxi: " Tom Rini
2024-05-02 1:30 ` [PATCH 04/81] arm: nexell: " Tom Rini
2024-05-09 8:54 ` Stefan Bosch
2024-05-02 1:30 ` [PATCH 05/81] arm: socfpga: " Tom Rini
2024-05-02 1:30 ` [PATCH 06/81] x86: " Tom Rini
2024-05-02 1:30 ` [PATCH 07/81] include: " Tom Rini
2024-05-02 1:30 ` [PATCH 08/81] fsl_ifc.h: Add <asm/ppc.h> Tom Rini
2024-05-02 1:30 ` [PATCH 09/81] include/linux/compat.h: Add <time.h> Tom Rini
2024-05-02 1:30 ` [PATCH 10/81] adc: Remove <common.h> and add needed includes Tom Rini
2024-05-02 1:30 ` [PATCH 11/81] ata: " Tom Rini
2024-05-02 3:32 ` Tony Dinh
2024-05-02 1:30 ` [PATCH 12/81] axi: " Tom Rini
2024-05-02 1:30 ` [PATCH 13/81] bios_emulator: " Tom Rini
2024-05-02 1:30 ` [PATCH 14/81] block: " Tom Rini
2024-05-02 7:25 ` Mattijs Korpershoek
2024-05-10 0:40 ` Kever Yang
2024-05-02 1:30 ` [PATCH 15/81] bootcount: " Tom Rini
2024-05-02 1:30 ` [PATCH 16/81] bus: " Tom Rini
2024-05-02 1:30 ` [PATCH 17/81] button: " Tom Rini
2024-05-02 1:30 ` [PATCH 18/81] cache: " Tom Rini
2024-05-02 1:30 ` [PATCH 19/81] clk: " Tom Rini
2024-05-09 9:07 ` Stefan Bosch
2024-05-10 0:40 ` Kever Yang
2024-05-02 1:30 ` [PATCH 20/81] core: " Tom Rini
2024-05-02 1:30 ` [PATCH 21/81] cpu: " Tom Rini
2024-05-02 1:30 ` [PATCH 22/81] crypto: " Tom Rini
2024-05-02 1:30 ` [PATCH 23/81] ddr: " Tom Rini
2024-05-02 1:30 ` [PATCH 24/81] demo: " Tom Rini
2024-05-02 1:30 ` [PATCH 25/81] dfu: " Tom Rini
2024-05-02 7:28 ` Mattijs Korpershoek
2024-05-02 14:45 ` Tom Rini
2024-05-02 1:30 ` [PATCH 26/81] dma: " Tom Rini
2024-05-02 1:30 ` [PATCH 27/81] extcon: " Tom Rini
2024-05-02 1:30 ` [PATCH 28/81] fastboot: " Tom Rini
2024-05-02 7:29 ` Mattijs Korpershoek
2024-05-02 1:30 ` [PATCH 29/81] firmware: " Tom Rini
2024-05-07 7:37 ` Ilias Apalodimas
2024-05-02 1:30 ` [PATCH 30/81] fpga: " Tom Rini
2024-05-02 1:30 ` [PATCH 31/81] fuzz: " Tom Rini
2024-05-02 1:30 ` [PATCH 32/81] fwu-mdata: " Tom Rini
2024-05-02 13:15 ` Jassi Brar
2024-05-07 7:39 ` Ilias Apalodimas
2024-05-02 1:30 ` [PATCH 33/81] gpio: " Tom Rini
2024-05-02 11:10 ` Peter Robinson
2024-05-03 3:58 ` Heiko Schocher
2024-05-09 9:09 ` Stefan Bosch
2024-05-10 0:40 ` Kever Yang
2024-05-02 1:30 ` [PATCH 34/81] hwspinlock: " Tom Rini
2024-05-02 1:30 ` [PATCH 35/81] i2c: " Tom Rini
2024-05-03 3:58 ` Heiko Schocher
2024-05-09 9:09 ` Stefan Bosch
2024-05-02 1:30 ` [PATCH 36/81] input: " Tom Rini
2024-05-02 1:30 ` [PATCH 37/81] iommu: " Tom Rini
2024-05-02 1:30 ` [PATCH 38/81] led: " Tom Rini
2024-05-02 1:30 ` [PATCH 39/81] mailbox: " Tom Rini
2024-05-02 1:30 ` [PATCH 40/81] memory: " Tom Rini
2024-05-02 1:30 ` [PATCH 41/81] misc: " Tom Rini
2024-05-10 0:40 ` Kever Yang
2024-05-02 1:30 ` [PATCH 42/81] mmc: " Tom Rini
2024-05-02 11:10 ` Peter Robinson
2024-05-03 2:31 ` Jaehoon Chung
2024-05-10 0:41 ` Kever Yang
2024-05-02 1:31 ` [PATCH 43/81] mtd: " Tom Rini
2024-05-03 4:21 ` William Zhang
2024-05-02 1:31 ` [PATCH 44/81] mux: " Tom Rini
2024-05-02 1:31 ` [PATCH 45/81] net: " Tom Rini
2024-05-10 0:41 ` Kever Yang
2024-05-02 1:31 ` [PATCH 46/81] nvme: " Tom Rini
2024-05-02 1:31 ` [PATCH 47/81] pch: " Tom Rini
2024-05-02 1:31 ` [PATCH 48/81] pci: " Tom Rini
2024-05-03 3:59 ` Heiko Schocher
2024-05-10 0:42 ` Kever Yang
2024-05-02 1:31 ` [PATCH 49/81] pci_endpoint: " Tom Rini
2024-05-02 1:31 ` [PATCH 50/81] phy: " Tom Rini
2024-05-09 9:10 ` Stefan Bosch
2024-05-10 0:42 ` Kever Yang
2024-05-02 1:31 ` [PATCH 51/81] pinctrl: " Tom Rini
2024-05-02 11:11 ` Peter Robinson
2024-05-09 9:10 ` Stefan Bosch
2024-05-10 0:42 ` Kever Yang
2024-05-02 1:31 ` [PATCH 52/81] power: " Tom Rini
2024-05-10 0:43 ` Kever Yang
2024-05-02 1:31 ` [PATCH 53/81] pwm: " Tom Rini
2024-05-09 9:11 ` Stefan Bosch
2024-05-02 1:31 ` [PATCH 54/81] ram: " Tom Rini
2024-05-10 0:43 ` Kever Yang [this message]
2024-05-02 1:31 ` [PATCH 55/81] reboot-mode: " Tom Rini
2024-05-02 1:31 ` [PATCH 56/81] remoteproc: " Tom Rini
2024-05-02 1:31 ` [PATCH 57/81] reset: " Tom Rini
2024-05-10 0:43 ` Kever Yang
2024-05-02 1:31 ` [PATCH 58/81] rtc: " Tom Rini
2024-05-02 1:31 ` [PATCH 59/81] scsi: " Tom Rini
2024-05-02 1:31 ` [PATCH 60/81] serial: " Tom Rini
2024-05-02 11:11 ` Peter Robinson
2024-05-09 9:12 ` Stefan Bosch
2024-05-02 1:31 ` [PATCH 61/81] sm: " Tom Rini
2024-05-02 1:31 ` [PATCH 62/81] smem: " Tom Rini
2024-05-02 1:31 ` [PATCH 63/81] soc: " Tom Rini
2024-05-03 14:44 ` Bryan Brattlof
2024-05-02 1:31 ` [PATCH 64/81] sound: " Tom Rini
2024-05-10 0:44 ` Kever Yang
2024-05-02 1:31 ` [PATCH 65/81] spi: " Tom Rini
2024-05-03 4:25 ` William Zhang
2024-05-03 5:47 ` Cédric Le Goater
2024-05-02 1:31 ` [PATCH 66/81] spmi: " Tom Rini
2024-05-02 1:31 ` [PATCH 67/81] sysinfo: " Tom Rini
2024-05-02 1:31 ` [PATCH 68/81] sysreset: " Tom Rini
2024-05-10 0:44 ` Kever Yang
2024-05-02 1:31 ` [PATCH 69/81] thermal: " Tom Rini
2024-05-02 1:31 ` [PATCH 70/81] timer: " Tom Rini
2024-05-10 0:44 ` Kever Yang
2024-05-02 1:31 ` [PATCH 71/81] tpm: " Tom Rini
2024-05-07 7:36 ` Ilias Apalodimas
2024-05-02 1:31 ` [PATCH 72/81] ufs: " Tom Rini
2024-05-02 1:31 ` [PATCH 73/81] usb: " Tom Rini
2024-05-02 7:40 ` Mattijs Korpershoek
2024-05-02 14:51 ` Tom Rini
2024-05-03 7:20 ` Mattijs Korpershoek
2024-05-04 17:09 ` E Shattow
2024-05-04 18:33 ` Tom Rini
2024-05-02 1:31 ` [PATCH 74/81] video: " Tom Rini
2024-05-02 11:14 ` Peter Robinson
2024-05-09 9:13 ` Stefan Bosch
2024-05-10 0:45 ` Kever Yang
2024-05-02 1:31 ` [PATCH 75/81] virtio: " Tom Rini
2024-05-02 1:31 ` [PATCH 76/81] w1: " Tom Rini
2024-05-02 1:31 ` [PATCH 77/81] w1-eeprom: " Tom Rini
2024-05-02 1:31 ` [PATCH 78/81] watchdog: " Tom Rini
2024-05-02 6:49 ` Angelo Dureghello
2024-05-02 1:31 ` [PATCH 79/81] xen: " Tom Rini
2024-05-02 1:31 ` [PATCH 80/81] api: " Tom Rini
2024-05-02 1:31 ` [PATCH 81/81] common.h: Remove this file and all references Tom Rini
2024-05-03 2:29 ` [PATCH 01/81] mmc: Migrate MMC_SUPPORTS_TUNING to Kconfig Jaehoon Chung
2024-05-07 14:02 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d4674ac2-593f-48fc-a16f-cd62a53e770e@rock-chips.com \
--to=kever.yang@rock-chips.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox