[coreboot-gerrit] Change in seabios[master]: NVMe: Enable NVMe support for non-qemu hardware
Youness Alaoui (Code Review)
gerrit at coreboot.org
Tue Apr 25 17:29:04 CEST 2017
Youness Alaoui has uploaded a new change for review. ( https://review.coreboot.org/19443 )
Change subject: NVMe: Enable NVMe support for non-qemu hardware
......................................................................
NVMe: Enable NVMe support for non-qemu hardware
NVMe support was tested on purism/librem13 laptops and SeaBIOS had
no problems in detecting and booting the drives.
Change-Id: I9d8a30f93462eb1b2838eb72524b498566af35bb
Signed-off-by: Youness Alaoui <youness.alaoui at puri.sm>
---
M src/Kconfig
M src/hw/nvme.c
2 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/seabios refs/changes/43/19443/1
diff --git a/src/Kconfig b/src/Kconfig
index e1b83a4..77ec9c7 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -228,7 +228,7 @@
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..11583ad 100644
--- a/src/hw/nvme.c
+++ b/src/hw/nvme.c
@@ -599,7 +599,7 @@
int
nvme_process_op(struct disk_op_s *op)
{
- if (!CONFIG_NVME || !runningOnQEMU())
+ if (!CONFIG_NVME)
return DISK_RET_SUCCESS;
struct nvme_namespace *ns = container_of(op->drive_gf, struct nvme_namespace,
@@ -618,7 +618,7 @@
nvme_setup(void)
{
ASSERT32FLAT();
- if (!CONFIG_NVME || !runningOnQEMU())
+ if (!CONFIG_NVME)
return;
dprintf(3, "init nvme\n");
--
To view, visit https://review.coreboot.org/19443
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9d8a30f93462eb1b2838eb72524b498566af35bb
Gerrit-PatchSet: 1
Gerrit-Project: seabios
Gerrit-Branch: master
Gerrit-Owner: Youness Alaoui <snifikino at gmail.com>
More information about the coreboot-gerrit
mailing list