diff options
author | Francis 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) |
commit | 8363d92fa62d6175b0e6517170026b04c09e7e74 (patch) | |
tree | 53a54f01701cf6884f2500c50ba3ede6c1275bc3 /resources/utilities | |
parent | 400c0f9d9fb0694ad1636702482dd05fa1292693 (diff) | |
download | libreboot-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/utilities')
-rw-r--r-- | resources/utilities/ich9deblob/src/ich9gen.c | 2 |
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') |