aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam McNally <sammc@chromium.org>2022-10-17 14:57:43 +1100
committerPatrick Georgi <patrick@coreboot.org>2022-10-24 11:58:49 +0000
commit1347571f9bc87c5ca634956809bc31b4d1ed8a7f (patch)
treedf58b4345017445ec8f2d3a681475e4d7a5ffab8
parentb205c5d8c1edf4bc254cc2d0944935f6dc8f26ff (diff)
mb/Kconfig: Add a prompt string for MAINBOARD_PART_NUMBER
For some nissa variants, there are build configurations that need to use different blobs, but otherwise are identical. Currently, they use the same choice of board config and configure blob paths appropriately. This avoids duplication within the Kconfig file, but the resulting firmware images can be difficult to distinguish, since they report the same FRID. Add a prompt string for MAINBOARD_PART_NUMBER so it can be overridden and round-tripped through make oldconfig, allowing customisation of the reported FRID and other MAINBOARD_PART_NUMBER-derived values with minimal overhead. BUG=b:253966060 BRANCH=None TEST=CL:3960290 MAINBOARD_PART_NUMBER configs apply successfully Signed-off-by: Sam McNally <sammc@chromium.org> Change-Id: I3497d7fa1c04c8fa2592025c771d9dbc65632e6e Reviewed-on: https://review.coreboot.org/c/coreboot/+/68496 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Reka Norman <rekanorman@chromium.org>
-rw-r--r--src/mainboard/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig
index 8f9b48cc71..aec996ab0b 100644
--- a/src/mainboard/Kconfig
+++ b/src/mainboard/Kconfig
@@ -14,7 +14,7 @@ config MAINBOARD_DIR
string
config MAINBOARD_PART_NUMBER
- string
+ string "Mainboard part number"
config MAINBOARD_VENDOR
string "Mainboard vendor name"