]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/core/Kconfig
dm: core: Add Kconfig for simple bus driver
[karo-tx-uboot.git] / drivers / core / Kconfig
index c82b5645cdfd86dface18dac4959980b3c2361c4..41f4e695e8af8a8035f605049771b96dc4462203 100644 (file)
@@ -1,3 +1,5 @@
+menu "Generic Driver Options"
+
 config DM
        bool "Enable Driver Model"
        help
@@ -102,3 +104,20 @@ config DEBUG_DEVRES
          debug resource management for a managed device.
 
          If you are unsure about this, Say N here.
+
+config SIMPLE_BUS
+       bool "Support simple-bus driver"
+       depends on DM && OF_CONTROL
+       default y
+       help
+         Supports the 'simple-bus' driver, which is used on some systems.
+
+config SPL_SIMPLE_BUS
+       bool "Support simple-bus driver in SPL"
+       depends on SPL_DM && SPL_OF_CONTROL
+       default n
+       help
+         Supports the 'simple-bus' driver, which is used on some systems
+         in SPL.
+
+endmenu