aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-05-10 16:14:39 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-05-10 16:14:39 -0400
commit235a8190a05b29cb0fd2eaa3a4c9ed8cb651d96e (patch)
tree7149ef5a14bf8ad7ee9cc7d12fe0410c380a13b9
parent3fdabaee7d4c36231fe2f052b2d3464dba690acc (diff)
downloadseabios-235a8190a05b29cb0fd2eaa3a4c9ed8cb651d96e.zip
seabios-235a8190a05b29cb0fd2eaa3a4c9ed8cb651d96e.tar.gz
seabios-235a8190a05b29cb0fd2eaa3a4c9ed8cb651d96e.tar.bz2
NVMe: Allow NVMe to be enabled on real hardware
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>
-rw-r--r--src/Kconfig2
-rw-r--r--src/hw/nvme.c2
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");