Cosmetic fix for firmware.c
Use a nicer looking memset, for Ron.
Change-Id: I5cff2919848337a545c9a31a68b1e158071687b9
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: https://review.coreboot.org/23365
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
diff --git a/firmware.c b/firmware.c
index 5f66c65..b3abafe 100644
--- a/firmware.c
+++ b/firmware.c
@@ -109,7 +109,7 @@
char fpga_version[8];
unsigned char header[0x100];
- memset(all_ff, 255, 256 * sizeof(char));
+ memset(all_ff, 255, sizeof(all_ff));
for (i = 0; i < 0x100000; i+=0x100) {
if (memcmp(data+i, all_ff, 256) == 0)
break;