aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-q35/cmos.layout
diff options
context:
space:
mode:
authorPaul Menzel <pmenzel@molgen.mpg.de>2018-05-13 18:39:58 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-15 11:16:08 +0000
commit2b2f89565e1298ba9dad355d2de0c943a846acbb (patch)
treecf088720505bda5d7a25aa9425da35bc905582a1 /src/mainboard/emulation/qemu-q35/cmos.layout
parentbb0d839b6895698367d3eab31cfa01f12376ddb2 (diff)
mb/emulation/qemu-q35: Enable user option table support
It’s unclear why this option was commented out. Activate the line, and copy the CMOS layout and defaults from qemu-i440fx. TEST=Boot 2.11.1(Debian 1:2.11+dfsg-1ubuntu7) and see that nvramcui works. A changed value doesn’t survive a reboot though. Change-Id: Ieef86f092d323c68a6d2d0cc6c04c395f743a935 Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/26265 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/emulation/qemu-q35/cmos.layout')
-rw-r--r--src/mainboard/emulation/qemu-q35/cmos.layout28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-q35/cmos.layout b/src/mainboard/emulation/qemu-q35/cmos.layout
new file mode 100644
index 0000000000..b238a379d8
--- /dev/null
+++ b/src/mainboard/emulation/qemu-q35/cmos.layout
@@ -0,0 +1,28 @@
+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
+456 1 e 1 ECC_memory
+1008 16 h 0 check_sum
+
+enumerations
+
+#ID value text
+1 0 Disable
+1 1 Enable
+2 0 Enable
+2 1 Disable
+4 0 Fallback
+4 1 Normal
+6 5 Notice
+6 6 Info
+6 7 Debug
+6 8 Spew
+
+checksums
+
+checksum 392 1007 1008