summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2017-04-27 16:29:02 -0700
committerJulius Werner <jwerner@chromium.org>2017-04-29 01:44:10 +0200
commit46f292f9bf508b48f5e74f713884b2424e199f42 (patch)
tree12a438af7a3355c03dc0c5d4eaf9ed5f42188c2f /src
parentbf8495015495725716be04acd76d43ae6ece3c05 (diff)
vboot: Separate board name and version number in FWID with a dot
It's standard practice in vboot that the FWID consists of <board_name>.<version_number> (e.g. Google_Kevin.8785.57.0). In fact, some tools rely on this and cut the string at the first dot to separate the two. The current Kconfig default in coreboot instead leads to ugly, parser-breaking FWIDs like Google_Kevin4.5-1234-5678abcd. This patch fixes that. Change-Id: I65cd5285c69e2e485d55a41a65d735f6a2291c16 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/19487 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/vboot/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vboot/Kconfig b/src/vboot/Kconfig
index 4ddf3e3534..c4b4687585 100644
--- a/src/vboot/Kconfig
+++ b/src/vboot/Kconfig
@@ -206,7 +206,7 @@ config VBOOT_FWID_MODEL
config VBOOT_FWID_VERSION
string "Firmware ID version"
- default "$(KERNELVERSION)"
+ default ".$(KERNELVERSION)"
help
This is the second part of the FWID written to various regions of a
vboot firmware image to identify its version.