commit | 22061d3d2ad10e1c67e36282a8c97f505a62c252 | [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 | 74ebfb60f6890ab46d5233d13941ff9d6eea2312 [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>