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>
This commit is contained in:
committed by
Patrick Georgi
parent
bb0d839b68
commit
2b2f89565e
@@ -5,7 +5,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||||||
select CPU_QEMU_X86
|
select CPU_QEMU_X86
|
||||||
select SOUTHBRIDGE_INTEL_I82801IX
|
select SOUTHBRIDGE_INTEL_I82801IX
|
||||||
select IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS
|
select IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS
|
||||||
# select HAVE_OPTION_TABLE
|
select HAVE_OPTION_TABLE
|
||||||
# select HAVE_PIRQ_TABLE
|
# select HAVE_PIRQ_TABLE
|
||||||
select HAVE_ACPI_TABLES
|
select HAVE_ACPI_TABLES
|
||||||
select BOARD_ROMSIZE_KB_2048
|
select BOARD_ROMSIZE_KB_2048
|
||||||
|
4
src/mainboard/emulation/qemu-q35/cmos.default
Normal file
4
src/mainboard/emulation/qemu-q35/cmos.default
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
boot_option = Fallback
|
||||||
|
power_on_after_fail = Enable
|
||||||
|
debug_level = Spew
|
||||||
|
ECC_memory = Disable
|
28
src/mainboard/emulation/qemu-q35/cmos.layout
Normal file
28
src/mainboard/emulation/qemu-q35/cmos.layout
Normal file
@@ -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
|
Reference in New Issue
Block a user