mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-19 03:37:55 +00:00
db1bfbd60e
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
22 lines
470 B
Plaintext
22 lines
470 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Allwinner sunXi SoC drivers
|
|
#
|
|
|
|
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.
|
|
|
|
config SUNXI_SRAM
|
|
bool
|
|
default ARCH_SUNXI
|
|
select REGMAP_MMIO
|
|
help
|
|
Say y here to enable the SRAM controller support. This
|
|
device is responsible on mapping the SRAM in the sunXi SoCs
|
|
whether to the CPU/DMA, or to the devices.
|