commit | ca99a17e02ab4f99b1455be349858d5a7aa7553c | [log] [tgz] |
---|---|---|
author | Mark Kettenis <kettenis@openbsd.org> | Sat Jan 22 20:38:16 2022 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Feb 10 16:44:23 2022 -0500 |
tree | d4e31a46d0642abcf85603c3bd818122181dd4ef | |
parent | 19d9dad39c28a6e932ee2ec8361f42211613761d [diff] |
nvme: Add shutdown function Add a function to disable the NVMe controller. This will be used to let the driver for the NVMe storage integrated on Apple SoCs shutdown the NVMe controller such we can shutdown the NVMe IOP controller in a clean way afterwards before handing control to the OS. Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Simon Glass <sjg@chromium.org> Tested on: Macbook Air M1 Tested-by: Simon Glass <sjg@chromium.org>