summaryrefslogtreecommitdiff
path: root/util/options
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-04-22 09:03:08 +0000
committerStefan Reinauer <stepan@openbios.org>2009-04-22 09:03:08 +0000
commit73d5daaf97465776a4ef6ae5c99a5badaeba292b (patch)
treeeb21aeb759061616ec4892104d010910f5196ab4 /util/options
parent953253f093302ccee1cc634772a4561ffbe32355 (diff)
downloadcoreboot-73d5daaf97465776a4ef6ae5c99a5badaeba292b.tar.xz
* Allow coreboot to use the full 256 bytes of CMOS memory
* Make functions out of the accessor macros in mc146818rtc.c * don't hide reserved cmos entries from coreboot, only from the user. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4170 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/options')
-rw-r--r--util/options/build_opt_tbl.c6
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);