[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 38/44] hw/misc/mps2-fpgaio: Support AN547 DBGCTRL register
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 38/44] hw/misc/mps2-fpgaio: Support AN547 DBGCTRL register |
Date: |
Thu, 4 Mar 2021 21:24:52 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
On 2/19/21 3:46 PM, Peter Maydell wrote:
> For the AN547 image, the FPGAIO block has an extra DBGCTRL register,
> which is used to control the SPNIDEN, SPIDEN, NPIDEN and DBGEN inputs
> to the CPU. These signals control when the CPU permits use of the
> external debug interface. Our CPU models don't implement the
> external debug interface, so we model the register as
> reads-as-written.
>
> Implement the register, with a property defining whether it is
> present, and allow mps2-tz boards to specify that it is present.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> include/hw/misc/mps2-fpgaio.h | 2 ++
> hw/arm/mps2-tz.c | 5 +++++
> hw/misc/mps2-fpgaio.c | 22 ++++++++++++++++++++--
> 3 files changed, 27 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- Re: [PATCH 38/44] hw/misc/mps2-fpgaio: Support AN547 DBGCTRL register,
Philippe Mathieu-Daudé <=