]> git.sur5r.net Git - u-boot/blobdiff - cmd/Kconfig
cmd: add a new command "config" to show .config contents
[u-boot] / cmd / Kconfig
index 4a0d489696898e20586893e989fe0f7fc62ea00d..57e8e42f98c04ef3af6b2bc7fe457171bd25df4b 100644 (file)
@@ -126,6 +126,18 @@ config CMD_BDI
        help
          Print board info
 
+config CMD_CONFIG
+       bool "config"
+       select BUILD_BIN2C
+       default SANDBOX
+       help
+         Print ".config" contents.
+
+         If this option is enabled, the ".config" file contents are embedded
+         in the U-Boot image and can be printed on the console by the "config"
+         command.  This provides information of which options are enabled on
+         the running U-Boot.
+
 config CMD_CONSOLE
        bool "coninfo"
        default y