diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/options/build_opt_tbl.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/util/options/build_opt_tbl.c b/util/options/build_opt_tbl.c index 4d98f8ecee..cca1b7c464 100644 --- a/util/options/build_opt_tbl.c +++ b/util/options/build_opt_tbl.c @@ -8,7 +8,7 @@ #include "../../src/include/pc80/mc146818rtc.h" #include "../../src/include/boot/coreboot_tables.h" -#define CMOS_IMAGE_BUFFER_SIZE 128 +#define CMOS_IMAGE_BUFFER_SIZE 256 #define INPUT_LINE_MAX 256 #define MAX_VALUE_BYTE_LENGTH 64 @@ -563,9 +563,7 @@ int main(int argc, char **argv) continue; } ce = (struct cmos_entries *)ptr; - if (ce->config == 'r') { - continue; - } + if (!is_ident((char *)ce->name)) { fprintf(stderr, "Invalid identifier: %s\n", ce->name); |