Re: [RFC PATCH v3 6/9] FWU: Add boot time checks as highlighted by the FWU specification

2022-01-21 Thread Ilias Apalodimas
Hi Sughosh [...] > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include > +#include > + > +static u8 trial_state = 0; > +static u8 boottime_check = 0; > + > +static int fwu_trial_state_check(void) > +{ > + int ret, i; > + efi_status_t status; > +

[RFC PATCH v3 6/9] FWU: Add boot time checks as highlighted by the FWU specification

2022-01-19 Thread Sughosh Ganu
The FWU Multi Bank Update specification requires the Update Agent to carry out certain checks at the time of platform boot. The Update Agent is the component which is responsible for updating the firmware components and maintaining and keeping the metadata in sync. The spec requires that the Updat