[SeaBIOS] [PATCH 2/3] Drop coreboot qemu detection
Gerd Hoffmann
kraxel at redhat.com
Mon Sep 16 12:36:29 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/fw/coreboot.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/fw/coreboot.c b/src/fw/coreboot.c
index a234e97..70a99a0 100644
--- a/src/fw/coreboot.c
+++ b/src/fw/coreboot.c
@@ -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);
}
--
1.8.3.1
More information about the SeaBIOS
mailing list