diff options
author | Samuel Holland | 2022-07-01 22:25:20 -0500 |
---|---|---|
committer | Jernej Skrabec | 2022-07-05 22:05:59 +0200 |
commit | db1bfbd60e325abddc824c49b2fd45a39a10b2f5 (patch) | |
tree | 9eaf7484f296e7dbab6d4728fc8882527fe7118d /drivers/soc/sunxi | |
parent | f2906aa863381afb0015a9eb7fefad885d4e5a56 (diff) |
soc: sunxi: mbus: Only build the driver on ARM/ARM64
This driver exists as a workaround for old devicetrees which are missing
interconnects properties, so it is only useful for those specific
platforms, which all happen to be ARM or ARM64.
This solves the issue that the driver fails to build on RISC-V, where
PHYS_OFFSET is not defined.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20220702032520.22129-1-samuel@sholland.org
Diffstat (limited to 'drivers/soc/sunxi')
-rw-r--r-- | drivers/soc/sunxi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/sunxi/Kconfig b/drivers/soc/sunxi/Kconfig index 1fef0e711056..8aecbc9b1976 100644 --- a/drivers/soc/sunxi/Kconfig +++ b/drivers/soc/sunxi/Kconfig @@ -6,6 +6,7 @@ config SUNXI_MBUS bool default ARCH_SUNXI + depends on ARM || ARM64 help Say y to enable the fixups needed to support the Allwinner MBUS DMA quirks. |