summaryrefslogtreecommitdiff
path: root/drivers/clk/thead
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@rivosinc.com>2024-07-19 18:10:27 +0300
committerStephen Boyd <sboyd@kernel.org>2024-07-23 00:29:23 +0300
commit0e91ac701c69c44840e8d36566604cac1b638880 (patch)
tree59faa50a6dced321aeda234ed4973c19c46ef5b6 /drivers/clk/thead
parent5a6a25ea5bcd5bdf80fb13acd65a03fc6b8794b1 (diff)
downloadlinux-0e91ac701c69c44840e8d36566604cac1b638880.tar.xz
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>
Diffstat (limited to 'drivers/clk/thead')
-rw-r--r--drivers/clk/thead/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/thead/Kconfig b/drivers/clk/thead/Kconfig
index 1710d50bf9d4..95e0d9eb965e 100644
--- a/drivers/clk/thead/Kconfig
+++ b/drivers/clk/thead/Kconfig
@@ -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