libpayload: configs: Add new config.featuretest to broaden CI
[coreboot2.git] / src / drivers / secunet / dmi / eeprom.h
blob602af4088248c5e8d439f0fe1ff52baef6443cc0
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef _SECUNET_DMI_EEPROM_H
4 #define _SECUNET_DMI_EEPROM_H
6 #include <stdint.h>
8 enum bx26_strings {
9 BOARD_MATNR,
10 BOARD_SERIAL_NUMBER,
11 BOARD_VERSION,
12 BOARD_MCTRL_FW_VERSION,
13 BOARD_CCR_FW_VERSION,
14 BOARD_NIC_FW_VERSION,
15 BOARD_LP_VERSION,
16 BOARD_VERSION_ID,
18 SYSTEM_PRODUCT_NAME,
19 SYSTEM_VERSION,
20 SYSTEM_SERIAL_NUMBER,
21 SYSTEM_UUID,
22 SYSTEM_MANUFACTURER,
23 SYSTEM_PRODUCTION_DATE,
24 SYSTEM_MLFB,
25 SYSTEM_MATNR,
28 struct bx26_location {
29 uint16_t offset;
30 uint16_t length;
33 static const struct bx26_location bx26_locations[] = {
34 [BOARD_MATNR] = { 0x0000, 0x20 },
35 [BOARD_SERIAL_NUMBER] = { 0x0020, 0x20 },
36 [BOARD_VERSION] = { 0x0040, 0x20 },
37 [BOARD_MCTRL_FW_VERSION] = { 0x0060, 0x20 },
38 [BOARD_CCR_FW_VERSION] = { 0x0080, 0x20 },
39 [BOARD_NIC_FW_VERSION] = { 0x00a0, 0x20 },
40 [BOARD_LP_VERSION] = { 0x00c0, 0x20 },
41 [BOARD_VERSION_ID] = { 0x0100, 0x20 },
43 [SYSTEM_PRODUCT_NAME] = { 0x4000, 0x20 },
44 [SYSTEM_VERSION] = { 0x4040, 0x10 },
45 [SYSTEM_SERIAL_NUMBER] = { 0x4060, 0x10 },
46 [SYSTEM_UUID] = { 0x4080, 0x24 },
47 [SYSTEM_MANUFACTURER] = { 0x40c0, 0x20 },
48 [SYSTEM_PRODUCTION_DATE] = { 0x4100, 0x20 },
49 [SYSTEM_MLFB] = { 0x4140, 0x20 },
50 [SYSTEM_MATNR] = { 0x4180, 0x20 },
53 #endif