commit | 1f613c6bf59a500e271789fc505a7665be88f103 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jun 19 06:34:52 2024 -0600 |
committer | Tom Rini <trini@konsulko.com> | Wed Jun 26 13:17:52 2024 -0600 |
tree | fbaaa1542de6deb125f6bf55974e7846f5d728f2 | |
parent | 95c8c8b5ea5b633da764b9d76628fa275e55e0ee [diff] |
zboot: Correct use of state_mask argument There is confusion in this function between the flag and state_mask parameters, which prevents the boot from actually happening. Correct this by using state_mask instead of flag for deciding which states to go through. This fixes booting of some 32-bit Debian kernels. Note: Some sort of CI for this is in the works. Fixes: 228c6722d44 ("x86: zboot: Avoid iteration in do_zboot_states()") Signed-off-by: Simon Glass <sjg@chromium.org>