Searched hist:"56724 d09c2c55ee2b8486b7c706f5fb9d980df88" (Results 1 – 3 of 3) sorted by relevance
| /rk3399_ARM-atf/include/drivers/fwu/ |
| H A D | fwu.h | 56724d09c2c55ee2b8486b7c706f5fb9d980df88 Thu Feb 01 11:29:01 UTC 2024 Sughosh Ganu <sughosh.ganu@linaro.org> feat(fwu): modify the check for getting the FWU bank's state
The version 2 of the FWU metadata structure has a field bank_state in the top level of the structure which can be used to check if a given bank is in the either of Trial State, Accepted State, or in an Invalid State. This is different from the binary states of Valid/Accepted States that the bank could be in, as defined in the earlier version of the specification.
Replace the fwu_is_trial_run_state() API with fwu_get_active_bank_state() to get the state the current active bank is in. The value returned by this API is then used by the caller to take appropriate action.
Change-Id: I764f486840a3713bfe5f8e03d0634bfe09b23590 Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
|
| /rk3399_ARM-atf/drivers/fwu/ |
| H A D | fwu.c | 56724d09c2c55ee2b8486b7c706f5fb9d980df88 Thu Feb 01 11:29:01 UTC 2024 Sughosh Ganu <sughosh.ganu@linaro.org> feat(fwu): modify the check for getting the FWU bank's state
The version 2 of the FWU metadata structure has a field bank_state in the top level of the structure which can be used to check if a given bank is in the either of Trial State, Accepted State, or in an Invalid State. This is different from the binary states of Valid/Accepted States that the bank could be in, as defined in the earlier version of the specification.
Replace the fwu_is_trial_run_state() API with fwu_get_active_bank_state() to get the state the current active bank is in. The value returned by this API is then used by the caller to take appropriate action.
Change-Id: I764f486840a3713bfe5f8e03d0634bfe09b23590 Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
|
| /rk3399_ARM-atf/drivers/auth/ |
| H A D | auth_mod.c | 56724d09c2c55ee2b8486b7c706f5fb9d980df88 Thu Feb 01 11:29:01 UTC 2024 Sughosh Ganu <sughosh.ganu@linaro.org> feat(fwu): modify the check for getting the FWU bank's state
The version 2 of the FWU metadata structure has a field bank_state in the top level of the structure which can be used to check if a given bank is in the either of Trial State, Accepted State, or in an Invalid State. This is different from the binary states of Valid/Accepted States that the bank could be in, as defined in the earlier version of the specification.
Replace the fwu_is_trial_run_state() API with fwu_get_active_bank_state() to get the state the current active bank is in. The value returned by this API is then used by the caller to take appropriate action.
Change-Id: I764f486840a3713bfe5f8e03d0634bfe09b23590 Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
|