summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/sysinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include/sysinfo.h')
-rw-r--r--payloads/libpayload/include/sysinfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/payloads/libpayload/include/sysinfo.h b/payloads/libpayload/include/sysinfo.h
index 1753f6f1c6..1c49f9dce2 100644
--- a/payloads/libpayload/include/sysinfo.h
+++ b/payloads/libpayload/include/sysinfo.h
@@ -35,6 +35,9 @@
/* Allow a maximum of 8 GPIOs */
#define SYSINFO_MAX_GPIOS 8
+/* Up to 10 MAC addresses */
+#define SYSINFO_MAX_MACS 10
+
#include <coreboot_tables.h>
struct cb_serial;
@@ -86,6 +89,8 @@ struct sysinfo_t {
#ifdef CONFIG_LP_CHROMEOS
int num_gpios;
struct cb_gpio gpios[SYSINFO_MAX_GPIOS];
+ int num_macs;
+ struct mac_address macs[SYSINFO_MAX_MACS];
#endif
unsigned long *mbtable; /** Pointer to the multiboot table */