qemu-e2k/hw/nvram
Tong Ho c2c1c4a35c hw/nvram: Avoid unnecessary Xilinx eFuse backstore write
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.ho@amd.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2023-07-17 11:05:52 +01:00
..
chrp_nvram.c
ds1225y.c
eeprom93xx.c
eeprom_at24c.c
fw_cfg-interface.c
fw_cfg.c
Kconfig
mac_nvram.c
meson.build
npcm7xx_otp.c
nrf51_nvm.c
spapr_nvram.c
trace-events
trace.h
xlnx-bbram.c
xlnx-efuse-crc.c
xlnx-efuse.c hw/nvram: Avoid unnecessary Xilinx eFuse backstore write 2023-07-17 11:05:52 +01:00
xlnx-versal-efuse-cache.c
xlnx-versal-efuse-ctrl.c
xlnx-zynqmp-efuse.c