diff options
| author | Tong Ho <tong.ho@amd.com> | 2023-04-26 14:16:07 -0700 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2023-07-17 11:05:52 +0100 |
| commit | c2c1c4a35c7c2b1a4140b0942b9797c857e476a4 (patch) | |
| tree | 83c0c79893044cb23d374180c3fee16195fc95df /scripts/git-submodule.sh | |
| parent | e60a7d0d4d89c8bca8a74a877e31abce50e848e3 (diff) | |
| download | focaccia-qemu-c2c1c4a35c7c2b1a4140b0942b9797c857e476a4.tar.gz focaccia-qemu-c2c1c4a35c7c2b1a4140b0942b9797c857e476a4.zip | |
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>
Diffstat (limited to 'scripts/git-submodule.sh')
0 files changed, 0 insertions, 0 deletions