[SeaBIOS] [PATCH 2/3] Drop coreboot qemu detection

Gerd Hoffmann kraxel at redhat.com
Tue Sep 3 14:37:42 CEST 2013


Not needed any more, the new qemu_detect() function
does the job instead.

Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
 src/coreboot.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/coreboot.c b/src/coreboot.c
index 983a2b5..fbfbeb7 100644
--- a/src/coreboot.c
+++ b/src/coreboot.c
@@ -188,10 +188,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);
     }
 
-- 
1.8.3.1




More information about the SeaBIOS mailing list