diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2012-02-21 23:18:56 -0800 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-02-22 09:02:18 -0600 |
commit | 1b89fafe47b74e458f5e179b6c0e56c8b2633b62 (patch) | |
tree | f78813b2b9a515ccbd352b722d8c47a53deaad26 /hw/pc_sysfw.c | |
parent | 382b3a681d002749f22cb87ec6b523432f81e8f2 (diff) |
pc_piix/pc_sysfw: enable flash by default
Now, the pc-sysfw:rom_only property will default
to false which enables flash by default.
All pc types below pc-1.1 set rom_only to true.
This prevents flash from being enabled on these
pc machine types.
For pc-1.1 rom_only will use the default (false),
which will allow flash to be used for pc-1.1.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pc_sysfw.c')
-rw-r--r-- | hw/pc_sysfw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pc_sysfw.c b/hw/pc_sysfw.c index 972706c1fa..abf9004182 100644 --- a/hw/pc_sysfw.c +++ b/hw/pc_sysfw.c @@ -226,7 +226,7 @@ void pc_system_firmware_init(MemoryRegion *rom_memory) } static Property pcsysfw_properties[] = { - DEFINE_PROP_UINT8("rom_only", PcSysFwDevice, rom_only, 1), + DEFINE_PROP_UINT8("rom_only", PcSysFwDevice, rom_only, 0), DEFINE_PROP_END_OF_LIST(), }; |