From c83e15b60b7c59552a44d71d0582f2d62a6084a7 Mon Sep 17 00:00:00 2001 From: Julian Stecklina Date: Mon, 13 Feb 2017 10:03:59 +0100 Subject: block: add NVMe boot support This patch enables SeaBIOS to boot from NVMe. Finding namespaces and basic I/O works. Testing has been done in qemu and so far it works with Grub, syslinux, and the FreeBSD loader. You need a recent Qemu (>= 2.7.0), because older versions have buggy NVMe support. The NVMe code is currently only enabled on Qemu due to lack of testing on real hardware. Signed-off-by: Julian Stecklina --- src/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Kconfig') diff --git a/src/Kconfig b/src/Kconfig index 457d082c..e1b83a4f 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -227,6 +227,12 @@ menu "Hardware support" help Support floppy images stored in coreboot flash or from QEMU fw_cfg. + config NVME + depends on DRIVES && QEMU_HARDWARE + bool "NVMe controllers" + default y + help + Support for NVMe disk code. config PS2PORT depends on KEYBOARD || MOUSE -- cgit