Skip to content

Commit 57e5c81

Browse files
cache: StarFive: Require a 64-bit system
This has a bunch of {read,write}q() calls, so it won't work on 32-bit systems. I don't think there's any 32-bit StarFive systems, so for now just require 64-bit. Fixes: cabff60 ("cache: Add StarFive StarLink cache management") Acked-by: Conor Dooley <[email protected]> Reviewed-by: Emil Renner Berthing <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 63ba5b0 commit 57e5c81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/cache/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ config STARFIVE_STARLINK_CACHE
1818
bool "StarFive StarLink Cache controller"
1919
depends on RISCV
2020
depends on ARCH_STARFIVE
21+
depends on 64BIT
2122
select RISCV_DMA_NONCOHERENT
2223
select RISCV_NONSTANDARD_CACHE_OPS
2324
help

0 commit comments

Comments
 (0)