[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw: timer: ibex_timer: Fixup reading w/o register
From: |
Bin Meng |
Subject: |
Re: [PATCH] hw: timer: ibex_timer: Fixup reading w/o register |
Date: |
Mon, 10 Jan 2022 13:57:48 +0800 |
On Mon, Jan 10, 2022 at 1:16 PM Alistair Francis
<alistair.francis@opensource.wdc.com> wrote:
>
> From: Wilfred Mallawa <wilfred.mallawa@wdc.com>
>
> This change fixes a bug where a write only register is read.
> As per https://docs.opentitan.org/hw/ip/rv_timer/doc/#register-table
> the 'INTR_TEST0' register is write only.
>
> Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
> ---
> hw/timer/ibex_timer.c | 14 +++++---------
> include/hw/timer/ibex_timer.h | 1 -
> 2 files changed, 5 insertions(+), 10 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>