summaryrefslogtreecommitdiff
path: root/payloads/coreinfo/Kconfig
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2008-08-05 14:36:20 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-08-05 14:36:20 +0000
commita70872cfde84863637dba1fb00498dc8a61dba48 (patch)
tree38d5deedb9f4a9cbd378e737ef8e57d1de13fa11 /payloads/coreinfo/Kconfig
parent754edf712cc5ee4a8014dc115ee18bb9126cbb64 (diff)
downloadcoreboot-a70872cfde84863637dba1fb00498dc8a61dba48.tar.xz
Move out some hardcoded strings in coreinfo to become Kconfig variables.
This is useful for use with (e.g.) Bayou in order let the user customize the payload name, description, version, etc. For instance, instead of using stock coreinfo and calling the payload "coreinfo" and the Bayou menu item "Show system information" a user might only be interested in an NVRAM dump payload. Thus, he/she can enable only the NVRAM coreinfo module via Kconfig, and tell Kconfig to call the payload "NVRAMdumper" and the Bayou menu item "Show NVRAM contents". This is build-tested, and tested against Bayou in QEMU. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Jordan Crouse <jordan.crouse@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3472 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/coreinfo/Kconfig')
-rw-r--r--payloads/coreinfo/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/payloads/coreinfo/Kconfig b/payloads/coreinfo/Kconfig
index 4281c66829..0cca33c016 100644
--- a/payloads/coreinfo/Kconfig
+++ b/payloads/coreinfo/Kconfig
@@ -36,6 +36,30 @@ config SHOW_DATE_TIME
This option will increase the ELF file size by ca. 256 bytes.
+config PAYLOAD_INFO_NAME
+ string "Payload name"
+ default "coreinfo"
+ help
+ The name of this payload for use in (e.g.) Bayou.
+
+config PAYLOAD_INFO_LISTNAME
+ string "Payload menu entry name"
+ default "System Information"
+ help
+ The name of this payload's menu entry for use in (e.g.) Bayou.
+
+config PAYLOAD_INFO_DESC
+ string "Payload description"
+ default "Display information about the system"
+ help
+ The description of this payload for use in (e.g.) Bayou.
+
+config PAYLOAD_INFO_VERSION
+ string "Payload version"
+ default "0.1"
+ help
+ The version number of this payload.
+
endmenu
menu "Modules"