commit | e36d01a861a635c84ae59e1b920c1acba8fd8351 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jan 15 18:27:14 2025 -0700 |
committer | Tom Rini <trini@konsulko.com> | Wed Jan 22 09:47:49 2025 -0600 |
tree | 14f6355e475ca8c2c6b6c0e166d05d35c413d3ac | |
parent | 4588f95b6e78af703724a702bec0d5b35908d621 [diff] |
vbe: Handle loading from an unaligned offset There is no guarantee that an FIT image starts on a block boundary. When it doesn't, the image starts part-way through the first block. Add logic to detect this and copy the image down into place. Signed-off-by: Simon Glass <sjg@chromium.org>