[PATCH] clk: sunxi: Move header out of arch directory

Bin Meng bmeng.cn at gmail.com
Mon Sep 13 01:13:44 CEST 2021


On Mon, Sep 13, 2021 at 12:49 AM Samuel Holland <samuel at sholland.org> wrote:
>
> The CCU header is only used by the DM drivers, not any platform code.
> Its current location adds an artificial dependency on CONFIG_ARM and
> ARCH_SUNXI, which will be problematic when adding the CCU driver for
> a RISC-V sunxi platform.
>
> Signed-off-by: Samuel Holland <samuel at sholland.org>
> ---
> This patch trivially conflicts with the one adding the PRCM drivers.
> Feel free to fix that when applying, or I can rebase either patch.
>
>  drivers/clk/sunxi/clk_a10.c                               | 2 +-
>  drivers/clk/sunxi/clk_a10s.c                              | 2 +-
>  drivers/clk/sunxi/clk_a23.c                               | 2 +-
>  drivers/clk/sunxi/clk_a31.c                               | 2 +-
>  drivers/clk/sunxi/clk_a64.c                               | 2 +-
>  drivers/clk/sunxi/clk_a80.c                               | 2 +-
>  drivers/clk/sunxi/clk_a83t.c                              | 2 +-
>  drivers/clk/sunxi/clk_h3.c                                | 2 +-
>  drivers/clk/sunxi/clk_h6.c                                | 2 +-
>  drivers/clk/sunxi/clk_h616.c                              | 2 +-
>  drivers/clk/sunxi/clk_r40.c                               | 2 +-
>  drivers/clk/sunxi/clk_sunxi.c                             | 2 +-
>  drivers/clk/sunxi/clk_v3s.c                               | 2 +-
>  drivers/reset/reset-sunxi.c                               | 2 +-
>  .../include/asm/arch-sunxi/ccu.h => include/clk/sunxi.h   | 8 +++-----
>  15 files changed, 17 insertions(+), 19 deletions(-)
>  rename arch/arm/include/asm/arch-sunxi/ccu.h => include/clk/sunxi.h (94%)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list