bootstd: Allow EFI bootmgr to support an invalid bootflow
authorSimon Glass <sjg@chromium.org>
Sat, 30 Jul 2022 21:52:22 +0000 (15:52 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 12 Aug 2022 12:17:10 +0000 (08:17 -0400)
commit2662b54d70fc04f070f0e4a9742d4b3197c9f3ea
tree6569dd30d4ddc4b0af0f4216b9e7bf3ba0a3c1d0
parentbc06aa035d8f78a713a3d339d45f3d05ef0f0d67
bootstd: Allow EFI bootmgr to support an invalid bootflow

For most testing we don't want this bootmeth to actually do anything. For
the one test where we do, add a test hook to obtain the correct behaviour.
This will allow us to bind the device always, rather than just doing it
for this test.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/include/asm/test.h
boot/bootmeth_efi_mgr.c
test/boot/bootflow.c