diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2020-03-19 03:17:10 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-02-09 07:49:22 +0000 |
commit | 1aaa72836d1a51b583b7a4352bceff72ab6ff091 (patch) | |
tree | 8c24d4c305a930364569eb84d7dd7f648223d973 /util | |
parent | df89df7e59ced6aef7d1c6f0b262912d6d384220 (diff) |
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 <me@ch1p.io>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39664
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Swift Geek (Sebastian Grzywna) <swiftgeek@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Jacob Garber <jgarber1@ualberta.ca>
Diffstat (limited to 'util')
-rw-r--r-- | util/bincfg/gbe-ich9m.set | 10 |
1 files changed, 9 insertions, 1 deletions
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 } |