vendorcode/siemens: Add HWID to hwilib
Add the location of HWID field so that hwilib supports this value as well. Change-Id: If6d4695f861232231ac8f9c247c0a10410dac1c5 Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/17575 Tested-by: build bot (Jenkins) Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
This commit is contained in:
@ -107,6 +107,10 @@ static const struct param_info params[] = {
|
|||||||
[SIB_HwRev] = {
|
[SIB_HwRev] = {
|
||||||
.pos[0] = {.blk_type = BLK_SIB, .offset = 0xc8, .len = 2},
|
.pos[0] = {.blk_type = BLK_SIB, .offset = 0xc8, .len = 2},
|
||||||
.get_field = hwilib_read_bytes },
|
.get_field = hwilib_read_bytes },
|
||||||
|
[HWID] = {
|
||||||
|
.pos[0] = {.blk_type = BLK_HIB, .offset = 0x1a8, .len = 4},
|
||||||
|
.pos[1] = {.blk_type = BLK_SIB, .offset = 0xd0, .len = 4},
|
||||||
|
.get_field = hwilib_read_bytes },
|
||||||
[UniqueNum] = {
|
[UniqueNum] = {
|
||||||
.pos[0] = {.blk_type = BLK_HIB, .offset = 0xa2, .len = 10},
|
.pos[0] = {.blk_type = BLK_HIB, .offset = 0xa2, .len = 10},
|
||||||
.pos[1] = {.blk_type = BLK_SIB, .offset = 0xa2, .len = 10},
|
.pos[1] = {.blk_type = BLK_SIB, .offset = 0xa2, .len = 10},
|
||||||
|
@ -26,6 +26,7 @@ typedef enum {
|
|||||||
XIB_VerID,
|
XIB_VerID,
|
||||||
HIB_HwRev,
|
HIB_HwRev,
|
||||||
SIB_HwRev,
|
SIB_HwRev,
|
||||||
|
HWID,
|
||||||
UniqueNum,
|
UniqueNum,
|
||||||
Mac1,
|
Mac1,
|
||||||
Mac2,
|
Mac2,
|
||||||
|
Reference in New Issue
Block a user