]> xenbits.xensource.com Git - seabios.git/commitdiff
NVMe: Allow NVMe to be enabled on real hardware
authorKevin O'Connor <kevin@koconnor.net>
Wed, 10 May 2017 20:14:39 +0000 (16:14 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 10 May 2017 20:14:39 +0000 (16:14 -0400)
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
src/hw/nvme.c

index e1b83a4ff4feec548235bf3f5a4eda80095ddd5a..77ec9c7a911708cbe528c0e445cd7d92ae5d17c8 100644 (file)
@@ -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
index 60557ae0e64463523ad568f95c0690c23ad04815..1c2bce5a089c60c31f432b8780b438765fbe4779 100644 (file)
@@ -618,7 +618,7 @@ void
 nvme_setup(void)
 {
     ASSERT32FLAT();
-    if (!CONFIG_NVME || !runningOnQEMU())
+    if (!CONFIG_NVME)
         return;
 
     dprintf(3, "init nvme\n");