diff options
author | Julius Werner <jwerner@chromium.org> | 2017-12-01 19:12:14 -0800 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2017-12-07 01:19:32 +0000 |
commit | 96ed92d49dca18ca0d19de352831cf8df6f2e84c (patch) | |
tree | 28ddf5f6fee191542a88e1fadc9c8f3cb248dff5 /src/commonlib | |
parent | 4ec3d9d69efddf23de13ffa70c56cad478b219e8 (diff) |
boardid: Add helpers to read sku_id strapping into coreboot tables
On many recent Chrome OS boards, the desire to unite more configurations
under the same image has led to the need of a "SKU ID" that identifies
different configurations of the same board (e.g. with certain optional
components stuffed or not stuffed, or replaced with a comparable
component). This is markedly different from the existing "board ID",
because that is reserved to count "revisions" -- changes made to the
same configuration over time during the development process. This patch
adds support to have a mainboard define this SKU ID and pass it through
the coreboot table like we already have for board IDs.
Change-Id: I8aabffe8e1003b0d6fb70d689ae513ca4b46aeda
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/22696
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/commonlib')
-rw-r--r-- | src/commonlib/include/commonlib/coreboot_tables.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commonlib/include/commonlib/coreboot_tables.h b/src/commonlib/include/commonlib/coreboot_tables.h index feee17274a..eaa3c4eec0 100644 --- a/src/commonlib/include/commonlib/coreboot_tables.h +++ b/src/commonlib/include/commonlib/coreboot_tables.h @@ -290,6 +290,7 @@ struct lb_x86_rom_mtrr { #define LB_TAG_BOARD_ID 0x0025 #define LB_TAG_RAM_CODE 0x0028 +#define LB_TAG_SKU_ID 0x002d struct lb_strapping_id { uint32_t tag; |