ifdtool: Enable warnings as errors, and fix any issues
Change-Id: Id462a10c2affac54ec48a1cc2a5b2ca66112848e Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/11613 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
@@ -42,7 +42,7 @@ static const struct region_name region_names[MAX_REGIONS] = {
|
||||
{ "Reserved", "res1" },
|
||||
{ "Reserved", "res2" },
|
||||
{ "Reserved", "res3" },
|
||||
{ "EC" "ec" },
|
||||
{ "EC", "ec" },
|
||||
};
|
||||
|
||||
static fdbar_t *find_fd(char *image, int size)
|
||||
@@ -729,6 +729,9 @@ static void set_em100_mode(char *filename, char *image, int size)
|
||||
case IFD_VERSION_2:
|
||||
freq = SPI_FREQUENCY_17MHZ;
|
||||
break;
|
||||
default:
|
||||
freq = SPI_FREQUENCY_17MHZ;
|
||||
break;
|
||||
}
|
||||
|
||||
fcba->flcomp &= ~(1 << 30);
|
||||
|
Reference in New Issue
Block a user