commit | a63bda6c9b619826c98032bde27e6425fc50f322 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Jan 17 10:48:01 2023 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Jan 23 18:11:41 2023 -0500 |
tree | d46f11617a3b8ef265937b9c74c33f451046b6c2 | |
parent | 7370825ab69c1fa0ad7732d24141223ef9a4b76d [diff] |
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: Simon Glass <sjg@chromium.org>