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

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: 228c6722 ("x86: zboot: Avoid iteration in do_zboot_states()")

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 688ddc58
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