]> xenbits.xensource.com Git - seabios.git/commitdiff
Drop coreboot qemu detection
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 3 Sep 2013 09:41:56 +0000 (11:41 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 19 Sep 2013 09:48:59 +0000 (11:48 +0200)
Not needed any more, the new qemu_detect() function
does the job instead.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
src/fw/coreboot.c

index a234e97f68de92cb79e2f74bf07255fa78cc6594..70a99a0783645f3577f689cb00178f6a497d3b51 100644 (file)
@@ -190,10 +190,6 @@ coreboot_preinit(void)
     if (cbmb) {
         CBvendor = &cbmb->strings[cbmb->vendor_idx];
         CBpart = &cbmb->strings[cbmb->part_idx];
-        if (strcmp(CBvendor, "Emulation") == 0 &&
-            memcmp(CBpart, "QEMU", 4) == 0) {
-            PlatformRunningOn |= PF_QEMU;
-        }
         dprintf(1, "Found mainboard %s %s\n", CBvendor, CBpart);
     }