summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2020-04-12 00:07:49 +0200
committerNico Huber <nico.h@gmx.de>2020-04-18 21:54:11 +0000
commit3e7633a6fe48c09e08bdea06c93afbf61fb7f7c2 (patch)
tree891f1f767e9789ce0a793cfcd998f23d229068d8 /src/mainboard/emulation
parente9605bb153b199d2539eb0456144acec6658feb4 (diff)
mb/qemu-i440fx,q35: Fix option table
Reserve bytes 50 and 55 as they are handled as century bytes by QEMU. Change-Id: I9271253bce560d4ec8a51a24c45473acec469187 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40319 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/emulation')
-rw-r--r--src/mainboard/emulation/qemu-i440fx/cmos.layout12
-rw-r--r--src/mainboard/emulation/qemu-q35/cmos.layout12
2 files changed, 16 insertions, 8 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/cmos.layout b/src/mainboard/emulation/qemu-i440fx/cmos.layout
index 247a6a08a5..9019afb7a3 100644
--- a/src/mainboard/emulation/qemu-i440fx/cmos.layout
+++ b/src/mainboard/emulation/qemu-i440fx/cmos.layout
@@ -1,11 +1,15 @@
entries
0 384 r 0 reserved_memory
+
384 1 e 4 boot_option
388 4 h 0 reboot_counter
-#392 3 r 0 unused
-400 1 e 1 power_on_after_fail
-412 4 e 6 debug_level
+
+400 8 r 0 reserved_century
+440 8 r 0 reserved_ibm_ps2_century
+
+448 1 e 1 power_on_after_fail
+452 4 e 6 debug_level
456 1 e 1 ECC_memory
# VBOOT
@@ -29,4 +33,4 @@ enumerations
checksums
-checksum 392 463 1008
+checksum 448 463 1008
diff --git a/src/mainboard/emulation/qemu-q35/cmos.layout b/src/mainboard/emulation/qemu-q35/cmos.layout
index 247a6a08a5..9019afb7a3 100644
--- a/src/mainboard/emulation/qemu-q35/cmos.layout
+++ b/src/mainboard/emulation/qemu-q35/cmos.layout
@@ -1,11 +1,15 @@
entries
0 384 r 0 reserved_memory
+
384 1 e 4 boot_option
388 4 h 0 reboot_counter
-#392 3 r 0 unused
-400 1 e 1 power_on_after_fail
-412 4 e 6 debug_level
+
+400 8 r 0 reserved_century
+440 8 r 0 reserved_ibm_ps2_century
+
+448 1 e 1 power_on_after_fail
+452 4 e 6 debug_level
456 1 e 1 ECC_memory
# VBOOT
@@ -29,4 +33,4 @@ enumerations
checksums
-checksum 392 463 1008
+checksum 448 463 1008