coreboot-kgpe-d16/payloads/libpayload/drivers/storage
Nico Huber 2b986700c9 libpayload/nvme: Fix error paths of nvme_init()
We mustn't try to release resources that we haven't acquired yet. Also,
sending commands to the NVMe device is futile if we already timed out.

Fixes hangs after a failed init noticed in QEMU and on siemens/chili.

Change-Id: Ib83c7785d6e0dc3c44fbd50a30694c74932750d6
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63933
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2022-05-11 12:14:20 +00:00
..
Kconfig
ahci.c libpayload: Mark Intel 300 series AHCI as tested 2021-08-12 17:57:35 +00:00
ahci_ata.c
ahci_atapi.c
ahci_common.c
ahci_private.h
ata.c
atapi.c
nvme.c libpayload/nvme: Fix error paths of nvme_init() 2022-05-11 12:14:20 +00:00
storage.c