[PATCH] clk: starfive-jh7100: Fix duplicate numbers
Ahmad Fatoum
a.fatoum at pengutronix.de
Thu Jun 24 12:05:20 PDT 2021
Hello Geert,
On 24.06.21 17:09, Geert Uytterhoeven wrote:
> Fixes: 6f92e74e5b94d8e6 ("clk: add initial StarFive clock support")
> Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
> ---
> Completely untested.
Thanks for catching!
Gave it a run and it[1] still boots to shell:
Tested-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
[1]: https://github.com/a3f/barebox/tree/beaglev
>
> include/dt-bindings/clock/starfive-jh7100.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/dt-bindings/clock/starfive-jh7100.h b/include/dt-bindings/clock/starfive-jh7100.h
> index 9ad5e7f9bfd5f655..2512bb810ec45c8b 100644
> --- a/include/dt-bindings/clock/starfive-jh7100.h
> +++ b/include/dt-bindings/clock/starfive-jh7100.h
> @@ -42,9 +42,9 @@
> #define CLK_U74_CORE1 33
> #define CLK_U74_AXI 34
> #define CLK_U74RTC_TOGGLE 35
> -#define CLK_SGDMA2P_AXI 35
> +#define CLK_SGDMA2P_AXI 36
> #define CLK_DMA2PNOC_AXI 37
> -#define CLK_SGDMA2P_AHB 37
> +#define CLK_SGDMA2P_AHB 38
> #define CLK_DLA_BUS 39
> #define CLK_DLA_AXI 40
> #define CLK_DLANOC_AXI 41
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list