aboutsummaryrefslogtreecommitdiff
path: root/hw/loader.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-02-14 07:24:03 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-02-14 07:24:03 +0000
commitbc798c77e54f73b637e02bdc02bd799660adb7b7 (patch)
treebdf6a28d98d9f030d501d7b112d576437419f522 /hw/loader.c
parentee0dc6d3937e10d9813ede4710bdcb9a4687d96f (diff)
downloadqemu-bc798c77e54f73b637e02bdc02bd799660adb7b7.zip
qemu-bc798c77e54f73b637e02bdc02bd799660adb7b7.tar.gz
qemu-bc798c77e54f73b637e02bdc02bd799660adb7b7.tar.bz2
Remove conditional rom loading support
Commit c2039bd0ffce8807e0eaac55254fde790825fa92 made rom loading automatic for non-PC architectures. Remove now mostly unused conditional rom loading support. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/loader.c')
-rw-r--r--hw/loader.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/loader.c b/hw/loader.c
index b3bbd77..1448887 100644
--- a/hw/loader.c
+++ b/hw/loader.c
@@ -537,7 +537,6 @@ struct Rom {
static FWCfgState *fw_cfg;
static QTAILQ_HEAD(, Rom) roms = QTAILQ_HEAD_INITIALIZER(roms);
-int rom_enable_driver_roms;
static void rom_insert(Rom *rom)
{
@@ -624,15 +623,11 @@ int rom_add_blob(const char *name, const void *blob, size_t len,
int rom_add_vga(const char *file)
{
- if (!rom_enable_driver_roms)
- return 0;
return rom_add_file(file, "vgaroms", 0);
}
int rom_add_option(const char *file)
{
- if (!rom_enable_driver_roms)
- return 0;
return rom_add_file(file, "genroms", 0);
}