From 1aaa72836d1a51b583b7a4352bceff72ab6ff091 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Thu, 19 Mar 2020 03:17:10 +0300 Subject: util/bincfg: Add MAC address example to gbe-ich9m.set It's not obvious how to set specific byte of a multi-byte field in the set file. Add an example (and a template) for setting MAC address. Change-Id: Iea983071682ffebd61757497d43c70cc8214043d Signed-off-by: Evgeny Zinoviev Reviewed-on: https://review.coreboot.org/c/coreboot/+/39664 Tested-by: build bot (Jenkins) Reviewed-by: Swift Geek (Sebastian Grzywna) Reviewed-by: Angel Pons Reviewed-by: Jacob Garber --- util/bincfg/gbe-ich9m.set | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'util') diff --git a/util/bincfg/gbe-ich9m.set b/util/bincfg/gbe-ich9m.set index 3525470e40..f324a55526 100644 --- a/util/bincfg/gbe-ich9m.set +++ b/util/bincfg/gbe-ich9m.set @@ -72,5 +72,13 @@ "ssdid" = 0x20ee, "ssvid" = 0x17aa, "did" = 0x10f5, - "vid" = 0x8086 + "vid" = 0x8086, + + # This example sets MAC address to 00:11:22:33:44:55 + "macaddress0" = 0x00, + "macaddress1" = 0x11, + "macaddress2" = 0x22, + "macaddress3" = 0x33, + "macaddress4" = 0x44, + "macaddress5" = 0x55 } -- cgit v1.2.3