[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v7 1/2] hw/misc/sifive_u_otp: Add write function and writ
From: |
Bin Meng |
Subject: |
Re: [RFC PATCH v7 1/2] hw/misc/sifive_u_otp: Add write function and write-once protection |
Date: |
Thu, 15 Oct 2020 16:00:40 +0800 |
On Thu, Oct 15, 2020 at 12:15 PM Green Wan <green.wan@sifive.com> wrote:
>
> - 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>
> ---
> hw/misc/sifive_u_otp.c | 30 +++++++++++++++++++++++++++++-
> include/hw/misc/sifive_u_otp.h | 3 +++
> 2 files changed, 32 insertions(+), 1 deletion(-)
>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Tested-by: Bin Meng <bin.meng@windriver.com>