kconfig: move dts Kconfigs to dts/

Those were placed under kernel/ for no good reason.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-08-03 07:47:44 -04:00 committed by Kumar Gala
commit c6ba67fe3f
3 changed files with 23 additions and 21 deletions

View file

@ -14,6 +14,8 @@ source "arch/Kconfig"
source "kernel/Kconfig"
source "dts/Kconfig"
source "drivers/Kconfig"
source "net/Kconfig"

21
dts/Kconfig Normal file
View file

@ -0,0 +1,21 @@
config HAS_DTS
bool "Uses Device Tree"
help
This option specifies that the target platform supports device tree
configuration.
config HAS_DTS_ADC
bool "ADC uses Device Tree"
depends on HAS_DTS
help
This option specifies that the target platform supports device tree
configuration for ADC.
config HAS_DTS_I2C
bool "I2C uses Device Tree"
default n
depends on HAS_DTS
help
This option specifies that the target platform supports device tree
configuration for I2c.

View file

@ -9,27 +9,6 @@
menu "General Kernel Options"
config HAS_DTS
bool "Uses Device Tree"
help
This option specifies that the target platform supports device tree
configuration.
config HAS_DTS_ADC
bool "ADC uses Device Tree"
depends on HAS_DTS
help
This option specifies that the target platform supports device tree
configuration for ADC.
config HAS_DTS_I2C
bool "I2C uses Device Tree"
default n
depends on HAS_DTS
help
This option specifies that the target platform supports device tree
configuration for I2c.
config MULTITHREADING
bool
prompt "Multi-threading"