drivers: group DW configs in one Kconfig file

It is better to have company/family related features grouped.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
Janusz Jankowski 2019-06-11 11:16:46 +02:00 committed by Tomasz Lauda
parent c71a45e718
commit def3e2de5d
3 changed files with 26 additions and 20 deletions

View File

@ -61,18 +61,10 @@ config MEM_WND
bool bool
default n default n
config DW_SPI
bool
default n
config INTEL_IOMUX config INTEL_IOMUX
bool bool
default n default n
config DW_GPIO
bool
default n
config HW_LLI config HW_LLI
bool bool
default n default n

View File

@ -4,17 +4,6 @@ menu "Drivers"
source "src/drivers/intel/cavs/Kconfig" source "src/drivers/intel/cavs/Kconfig"
config DW source "src/drivers/dw/Kconfig"
bool
default n
help
This has to be selected if platform supports Designware features.
config DW_DMA
bool "Designware DMA driver"
depends on DW
default n
help
Select this to enable support for the Designware DMA controller.
endmenu # "Drivers" endmenu # "Drivers"

25
src/drivers/dw/Kconfig Normal file
View File

@ -0,0 +1,25 @@
# SPDX-License-Identifier: BSD-3-Clause
config DW
bool
default n
help
This has to be selected if platform supports Designware features.
if DW
config DW_DMA
bool "Designware DMA driver"
default n
help
Select this to enable support for the Designware DMA controller.
config DW_SPI
bool
default n
config DW_GPIO
bool
default n
endif # DW