From: Simon Glass <sjg@chromium.org>
Date: Wed, 1 Feb 2023 20:19:24 +0000 (-0700)
Subject: cmd: Add an option to enable the ini command
X-Git-Tag: v2025.01-rc5-pxa1908~1117^2~59
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/gitweb.css?a=commitdiff_plain;h=e158c948832a720d39f9e3c604505f5be224d147;p=u-boot.git

cmd: Add an option to enable the ini command

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>
---

diff --git a/cmd/Kconfig b/cmd/Kconfig
index b50e14f70a..c7344ee1f6 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -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