Home
last modified time | relevance | path

Searched hist:"999 da91a441b12cff7fdf0e192ba726a2756d77e" (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/include/drivers/
H A Dls_sfp.h999da91a441b12cff7fdf0e192ba726a2756d77e Tue Dec 20 21:31:21 UTC 2022 Andrew Mustea <andrew.mustea@microsoft.com> core: drivers: nxp: bit shift the ITS and SB bits when reading the SFP

- The Intent to Secure (ITS) and Secure Boot (SB) flags are written to a
given pointer in ls_sfp_get_its() and ls_sfp_get_sb() respectively.
- The written values are equivalent to the entire masked OSPR0 and OSPR1
registers.
- The two functions should instead update a pointer with a boolean
integer containing the bit shifted value of the desired flag.

Signed-off-by: Andrew Mustea <andrew.mustea@microsoft.com>
Reviewed-by: Sahil Malhotra <sahil.malhotra@nxp.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
/optee_os/core/drivers/
H A Dls_sfp.c999da91a441b12cff7fdf0e192ba726a2756d77e Tue Dec 20 21:31:21 UTC 2022 Andrew Mustea <andrew.mustea@microsoft.com> core: drivers: nxp: bit shift the ITS and SB bits when reading the SFP

- The Intent to Secure (ITS) and Secure Boot (SB) flags are written to a
given pointer in ls_sfp_get_its() and ls_sfp_get_sb() respectively.
- The written values are equivalent to the entire masked OSPR0 and OSPR1
registers.
- The two functions should instead update a pointer with a boolean
integer containing the bit shifted value of the desired flag.

Signed-off-by: Andrew Mustea <andrew.mustea@microsoft.com>
Reviewed-by: Sahil Malhotra <sahil.malhotra@nxp.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>