Ard Biesheuvel <ard.biesheuvel at linaro.org> wrote: > > + if (val != 1) > > + return 0; > > val == 0 is better imo, since that will prevent unexpected values from > being interpreted as 'secure boot disabled' I've made that change. David