* 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
This commit is contained in:
committed by
Stefan Reinauer
parent
953253f093
commit
73d5daaf97
@@ -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);
|
||||
|
Reference in New Issue
Block a user