Philippe Mathieu-Daudé 526e744302 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>
2021-11-22 10:46:22 +10:00
..
2021-10-27 14:45:22 +02:00
2021-10-12 08:20:08 +02:00
2021-10-12 08:20:08 +02:00
2021-11-15 21:56:15 +01:00
2021-11-09 13:16:56 +01:00
2021-10-18 00:41:36 +02:00
2021-11-15 11:10:11 -05:00
2021-11-02 14:14:55 -04:00
2021-11-17 11:25:55 -07:00