diff options
| author | Green Wan <green.wan@sifive.com> | 2020-10-20 11:37:31 +0800 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2020-10-22 12:00:46 -0700 |
| commit | a54d259157e2575b69e2cf7cf03592c74559cb7e (patch) | |
| tree | 4360abfcffc7237a2fc593abec5d58a6c983adff /scripts/tracetool.py | |
| parent | 33a9a57d2c31ec9ed68858911dc490b5de15f342 (diff) | |
| download | focaccia-qemu-a54d259157e2575b69e2cf7cf03592c74559cb7e.tar.gz focaccia-qemu-a54d259157e2575b69e2cf7cf03592c74559cb7e.zip | |
hw/misc/sifive_u_otp: Add write function and write-once protection
- Add write operation to update fuse data bit when PWE bit is on. - Add array, fuse_wo, to store the 'written' status for all bits of OTP to block the write operation. Signed-off-by: Green Wan <green.wan@sifive.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Bin Meng <bin.meng@windriver.com> Tested-by: Bin Meng <bin.meng@windriver.com> Message-id: 20201020033732.12921-2-green.wan@sifive.com Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'scripts/tracetool.py')
0 files changed, 0 insertions, 0 deletions