summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-29 12:06:50 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-29 12:06:50 (EST)
commit8363d92fa62d6175b0e6517170026b04c09e7e74 (patch)
tree53a54f01701cf6884f2500c50ba3ede6c1275bc3 /resources
parent400c0f9d9fb0694ad1636702482dd05fa1292693 (diff)
downloadlibreboot-8363d92fa62d6175b0e6517170026b04c09e7e74.zip
libreboot-8363d92fa62d6175b0e6517170026b04c09e7e74.tar.gz
libreboot-8363d92fa62d6175b0e6517170026b04c09e7e74.tar.bz2
ich9gen: fix ARM. Initialize customMacAddress
Fixes bug where custom MAC address would always be wrong. Tested on a BBB.
Diffstat (limited to 'resources')
-rw-r--r--resources/utilities/ich9deblob/src/ich9gen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/utilities/ich9deblob/src/ich9gen.c b/resources/utilities/ich9deblob/src/ich9gen.c
index dfd1343..ad43a9d 100644
--- a/resources/utilities/ich9deblob/src/ich9gen.c
+++ b/resources/utilities/ich9deblob/src/ich9gen.c
@@ -69,6 +69,8 @@ int main(int argc, char *argv[])
}
}
for(i=0; i<6; i++) {
+ customMacAddress[i] = 0;
+
/* Go through each nibble of the byte */
for(j=0; j<2; j++) {
if(argv[2][(i*3)+j]>='a' && argv[2][(i*3)+j]<='f')