On 26/4/23 23:16, Tong Ho wrote:
Add a check in the bit-set operation to write the backstore only if the affected bit is 0 before.With this in place, there will be no need for callers to do the checking in order to avoid unnecessary writes. Signed-off-by: Tong Ho <tong...@amd.com> --- hw/nvram/xlnx-efuse.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>