[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/3] hw/misc/mps2-scc: Support using CFG0 bit 0 for remapping
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 2/3] hw/misc/mps2-scc: Support using CFG0 bit 0 for remapping |
Date: |
Tue, 13 Apr 2021 18:30:46 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 4/12/21 3:43 PM, Peter Maydell wrote:
> On some boards, SCC config register CFG0 bit 0 controls whether
> parts of the board memory map are remapped. Support this with:
> * a device property scc-cfg0 so the board can specify the
> initial value of the CFG0 register
> * an outbound GPIO line which tracks bit 0 and which the board
> can wire up to provide the remapping
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> include/hw/misc/mps2-scc.h | 9 +++++++++
> hw/misc/mps2-scc.c | 13 ++++++++++---
> 2 files changed, 19 insertions(+), 3 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>