diff options
author | Philippe Mathieu-Daudé | 2021-11-19 11:47:57 +0100 |
---|---|---|
committer | Alistair Francis | 2021-11-22 01:46:22 +0100 |
commit | 526e7443027c71fe7b04c29df529e1f9f425f9e3 (patch) | |
tree | 501b5aa7d1b621ac6587cd6550a644ba68d16ee9 /python/qemu | |
parent | hw/misc/sifive_u_otp: Use IF_PFLASH for the OTP device instead of IF_NONE (diff) | |
download | qemu-526e7443027c71fe7b04c29df529e1f9f425f9e3.tar.gz qemu-526e7443027c71fe7b04c29df529e1f9f425f9e3.tar.xz qemu-526e7443027c71fe7b04c29df529e1f9f425f9e3.zip |
hw/misc/sifive_u_otp: Do not reset OTP content on hardware reset
Once a "One Time Programmable" is programmed, it shouldn't be reset.
Do not re-initialize the OTP content in the DeviceReset handler,
initialize it once in the DeviceRealize one.
Fixes: 9fb45c62ae8 ("riscv: sifive: Implement a model for SiFive FU540 OTP")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20211119104757.331579-1-f4bug@amsat.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'python/qemu')
0 files changed, 0 insertions, 0 deletions