Skip to content

Commit 0e91ac7

Browse files
palmer-dabbeltbebarino
authored andcommitted
clk: T-Head: Disable on 32-bit Targets
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 <palmer@rivosinc.com> Link: https://lore.kernel.org/r/20240719151027.16152-1-palmer@rivosinc.com Acked-by: Drew Fustini <drew@pdp7.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 5a6a25e commit 0e91ac7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/clk/thead/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
config CLK_THEAD_TH1520_AP
44
bool "T-HEAD TH1520 AP clock support"
55
depends on ARCH_THEAD || COMPILE_TEST
6+
depends on 64BIT
67
default ARCH_THEAD
78
select REGMAP_MMIO
89
help

0 commit comments

Comments
 (0)