ubispl: introduce separate CONFIG_UBI_SPL_SILENCE_MSG
[platform/kernel/u-boot.git] / common / spl / Kconfig
index 31eac5a..8021661 100644 (file)
@@ -620,6 +620,13 @@ config SPL_UBI
          README.ubispl for more info.
 
 if SPL_UBI
+config SPL_UBI_LOAD_BY_VOLNAME
+       bool "Support loading volumes by name"
+       help
+         This enables support for loading UBI volumes by name. When this
+         is set, CONFIG_SPL_UBI_LOAD_MONITOR_VOLNAME can be used to
+         configure the volume name from which to load U-Boot.
+
 config SPL_UBI_MAX_VOL_LEBS
        int "Maximum number of LEBs per volume"
        depends on SPL_UBI
@@ -677,6 +684,12 @@ config SPL_UBI_LOAD_MONITOR_ID
        help
          The UBI volume id from which to load U-Boot
 
+config SPL_UBI_LOAD_MONITOR_VOLNAME
+       string "volume name of U-Boot volume"
+       depends on SPL_UBI_LOAD_BY_VOLNAME
+       help
+         The UBI volume name from which to load U-Boot
+
 config SPL_UBI_LOAD_KERNEL_ID
        int "id of kernel volume"
        depends on SPL_OS_BOOT && SPL_UBI
@@ -689,6 +702,12 @@ config SPL_UBI_LOAD_ARGS_ID
        help
          The UBI volume id from which to load the device tree
 
+config UBI_SPL_SILENCE_MSG
+       bool "silence UBI SPL messages"
+       default n
+       help
+         Disable messages from UBI SPL. This leaves warnings
+         and errors enabled.
 
 endif   # if SPL_UBI