Skip to content
Commit 22061d3d authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

bootstd: Add a new bootmeth method to set the bootflow



Normally the bootmeth driver reads the bootflow from the bootdev, since
it knows the correct way to do it.

However it is easier for some bootdevs to handle this themselves. For
example, reading from SPI flash is quite different from other devices.

Add a way for the bootdev to pass a bootflow to the bootmeth, so that
this can be supported.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 74ebfb60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment