diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2017-10-29 03:20:40 -0700 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2017-10-29 18:07:51 +0000 |
commit | 8db7f8bad7b3f3634f6cab7dede42514c692b8b0 (patch) | |
tree | 39e0ae2a101b318bf8a932339c8523b13746bfd0 | |
parent | 73abfead52afd8e45dee7cb515bc111f34860104 (diff) |
LB_TAGS: change the value of CB_TAG_MAC_ADDRS to 0x33
When building the Go version of cbmem I found that
LB_TAG_MAC_ADDRS has the same value as LB_TAG_VERSION_TIMESTAMP.
I am guessing that this tag was little used. In any event, move it
forward to 0x33.
Change-Id: I038ad68e787e56903a2ed9cb530809a55821c313
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: https://review.coreboot.org/22218
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r-- | payloads/libpayload/include/coreboot_tables.h | 26 | ||||
-rw-r--r-- | src/commonlib/include/commonlib/coreboot_tables.h | 26 |
2 files changed, 26 insertions, 26 deletions
diff --git a/payloads/libpayload/include/coreboot_tables.h b/payloads/libpayload/include/coreboot_tables.h index 9e00c0ec47..842f206747 100644 --- a/payloads/libpayload/include/coreboot_tables.h +++ b/payloads/libpayload/include/coreboot_tables.h @@ -244,19 +244,6 @@ struct cb_x86_rom_mtrr { uint32_t index; }; -#define CB_TAG_MAC_ADDRS 0x0026 -struct mac_address { - uint8_t mac_addr[6]; - uint8_t pad[2]; /* Pad it to 8 bytes to keep it simple. */ -}; - -struct cb_macs { - uint32_t tag; - uint32_t size; - uint32_t count; - struct mac_address mac_addrs[0]; -}; - #define CB_TAG_RAM_CODE 0x0028 struct cb_ram_code { uint32_t tag; @@ -292,6 +279,19 @@ struct cb_tsc_info { uint32_t freq_khz; }; +#define CB_TAG_MAC_ADDRS 0x0033 +struct mac_address { + uint8_t mac_addr[6]; + uint8_t pad[2]; /* Pad it to 8 bytes to keep it simple. */ +}; + +struct cb_macs { + uint32_t tag; + uint32_t size; + uint32_t count; + struct mac_address mac_addrs[0]; +}; + #define CB_TAG_SERIALNO 0x002a #define CB_MAX_SERIALNO_LENGTH 32 diff --git a/src/commonlib/include/commonlib/coreboot_tables.h b/src/commonlib/include/commonlib/coreboot_tables.h index 7c3130e793..4b3f787885 100644 --- a/src/commonlib/include/commonlib/coreboot_tables.h +++ b/src/commonlib/include/commonlib/coreboot_tables.h @@ -296,19 +296,6 @@ struct lb_board_id { uint32_t board_id; }; -#define LB_TAG_MAC_ADDRS 0x0026 -struct mac_address { - uint8_t mac_addr[6]; - uint8_t pad[2]; /* Pad it to 8 bytes to keep it simple. */ -}; - -struct lb_macs { - uint32_t tag; - uint32_t size; - uint32_t count; - struct mac_address mac_addrs[0]; -}; - #define LB_TAG_RAM_CODE 0x0028 struct lb_ram_code { uint32_t tag; @@ -357,6 +344,19 @@ struct lb_tsc_info { uint32_t freq_khz; }; +#define LB_TAG_MAC_ADDRS 0x0033 +struct mac_address { + uint8_t mac_addr[6]; + uint8_t pad[2]; /* Pad it to 8 bytes to keep it simple. */ +}; + +struct lb_macs { + uint32_t tag; + uint32_t size; + uint32_t count; + struct mac_address mac_addrs[0]; +}; + #define LB_TAG_SERIALNO 0x002a #define MAX_SERIALNO_LENGTH 32 |