diff options
author | Nico Huber <nico.h@gmx.de> | 2022-04-28 18:27:20 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2022-05-11 12:14:20 +0000 |
commit | 2b986700c95cd1d49f982aa17fa9da713c2ecfef (patch) | |
tree | 0fd7ee5ce24bd11703d9289a4c8e80dcceb95fad /src/southbridge/amd | |
parent | 507b0746d62cff575ab438c4e82ac7cfb0e93f26 (diff) |
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>
Diffstat (limited to 'src/southbridge/amd')
0 files changed, 0 insertions, 0 deletions