clk: T-Head: Disable on 32-bit Targets
PATCH 1/1 clk: T-Head: Disable on 32-bit Targets
From: Palmer Dabbelt <[email protected]>
This fails to build on 32-bit targets because of a missing __udivdi3. IIRC the right way to fix that is to avoid the division, but I just want a tree that builds and the only real T-Head platforms are 64-bit right now.
--- drivers/clk/thead/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/clk/thead/Kconfig +1 -0
@@ -3,6 +3,7 @@ config CLK_THEAD_TH1520_AP bool "T-HEAD TH1520 AP clock support" depends on ARCH_THEAD || COMPILE_TEST + depends on 64BIT default ARCH_THEAD select REGMAP_MMIO help
Signature · 1 line
2.45.2
Quoted 27 lines · Palmer Dabbelt
From: Palmer Dabbelt <[email protected]>
This fails to build on 32-bit targets because of a missing
__udivdi3. IIRC the right way to fix that is to avoid the division, but I just want a tree that builds and the only real T-Head platforms are 64-bit right now.Signed-off-by Palmer Dabbelt <[email protected]>--- drivers/clk/thead/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/clk/thead/Kconfig +1
-0@@ -3,6 +3,7 @@ config CLK_THEAD_TH1520_AP bool "T-HEAD TH1520 AP clock support" depends on ARCH_THEAD || COMPILE_TEST + depends on 64BIT default ARCH_THEAD select REGMAP_MMIO helpSignature · 1 line
2.45.2
Sorry about that. This patch makes sense as the TH1520 SoC is 64-bit and I see no valid use case to run a 32-bit kernel on it.
Drew
Quoting Palmer Dabbelt (2024-07-19 08:10:27)
Quoted 9 lines
From: Palmer Dabbelt <[email protected]>
This fails to build on 32-bit targets because of a missing
__udivdi3. IIRC the right way to fix that is to avoid the division, but I just want a tree that builds and the only real T-Head platforms are 64-bit right now.Signed-off-by Palmer Dabbelt <[email protected]>---
Applied to clk-next