cmd: Add an option to enable the ini command
authorSimon Glass <sjg@chromium.org>
Wed, 1 Feb 2023 20:19:24 +0000 (13:19 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 7 Feb 2023 19:33:48 +0000 (14:33 -0500)
This command has no Kconfig option at present, but seems useful enough to
keep around. Add one.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/Kconfig

index b50e14f..c7344ee 100644 (file)
@@ -2021,6 +2021,13 @@ config CMD_LED
          with led on/off/togle/blink. Any LED drivers can be controlled with
          this command, e.g. led_gpio.
 
+config CMD_INI
+       bool "ini"
+       help
+         Enable the 'ini' command which allows a .ini file to be parsed and
+         placed into environment variables. Please check the source code for
+         this as there is no documentation.
+
 config CMD_DATE
        bool "date"
        default y if DM_RTC