firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-drivers_soc_sunxi_Kco...

38 lines
1016 B
Diff

diff -drupN a/drivers/soc/sunxi/Kconfig b/drivers/soc/sunxi/Kconfig
--- a/drivers/soc/sunxi/Kconfig 2018-08-06 17:23:04.000000000 +0300
+++ b/drivers/soc/sunxi/Kconfig 2022-06-12 05:28:14.000000000 +0300
@@ -1,10 +1,31 @@
#
# Allwinner sunXi SoC drivers
#
+menuconfig SOC_SUNXI
+ bool "SUNXI SoC drivers support"
+
+if SOC_SUNXI
+
config SUNXI_SRAM
- bool
- default ARCH_SUNXI
+ tristate "Sunxi sram support"
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.
+
+config SUNXI_SUSPEND
+ tristate "Sunxi suspend support"
+ default ARCH_SUNXI
+ depends on PM_SLEEP
+ help
+ Say y here to enable the sunxi standby support.
+
+config SUNXI_SUSPEND_NONARISC
+ tristate "Sunxi suspend support without arisc"
+ depends on SUNXI_SUSPEND && !SUNXI_ARISC
+ default !SUNXI_ARISC
+ help
+ Say y here to enter standby without arisc.
+
+source "drivers/soc/sunxi/arisc/Kconfig"
+endif # SOC_SUNXI