Changeset
src/Kconfig   | 2 +-
src/hw/nvme.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Git apply log
Switched to a new branch '20170510201546.12880-1-kevin@koconnor.net'
Applying: NVMe: Allow NVMe to be enabled on real hardware
To https://github.com/patchew-project/seabios
 * [new tag]         patchew/20170510201546.12880-1-kevin@koconnor.net -> patchew/20170510201546.12880-1-kevin@koconnor.net
[SeaBIOS] [PATCH] NVMe: Allow NVMe to be enabled on real hardware
Posted by Kevin O'Connor, 19 weeks ago
A couple of users have reported success with the NVMe driver on real
hardware, so allow it to be enabled outside of QEMU.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
---
 src/Kconfig   | 2 +-
 src/hw/nvme.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Kconfig b/src/Kconfig
index e1b83a4..77ec9c7 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -228,7 +228,7 @@ menu "Hardware support"
             Support floppy images stored in coreboot flash or from
             QEMU fw_cfg.
     config NVME
-        depends on DRIVES && QEMU_HARDWARE
+        depends on DRIVES
         bool "NVMe controllers"
         default y
         help
diff --git a/src/hw/nvme.c b/src/hw/nvme.c
index 60557ae..1c2bce5 100644
--- a/src/hw/nvme.c
+++ b/src/hw/nvme.c
@@ -618,7 +618,7 @@ void
 nvme_setup(void)
 {
     ASSERT32FLAT();
-    if (!CONFIG_NVME || !runningOnQEMU())
+    if (!CONFIG_NVME)
         return;
 
     dprintf(3, "init nvme\n");
-- 
2.9.3


_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
https://mail.coreboot.org/mailman/listinfo/seabios