[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/4] hw/xtensa/xtfpga: Get pflash MemoryRegion with sysbus_mm
From: |
Max Filippov |
Subject: |
Re: [PATCH 3/4] hw/xtensa/xtfpga: Get pflash MemoryRegion with sysbus_mmio_get_region() |
Date: |
Mon, 8 Mar 2021 00:20:43 -0800 |
On Sun, Mar 7, 2021 at 2:26 PM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> TYPE_PFLASH_CFI01 is a TYPE_SYS_BUS_DEVICE which registers its romd
> MemoryRegion with sysbus_init_mmio(), so we can use the generic
> sysbus_mmio_get_region() to get the region, no need for a specific
> pflash_cfi01_get_memory() helper.
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> hw/xtensa/xtfpga.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
--
Thanks.
-- Max
- [PATCH 0/4] hw/block/pflash_cfi01: Remove pflash_cfi01_get_memory(), Philippe Mathieu-Daudé, 2021/03/07
- [PATCH 1/4] hw/i386/pc: Get pflash MemoryRegion with sysbus_mmio_get_region(), Philippe Mathieu-Daudé, 2021/03/07
- [PATCH 2/4] hw/mips/malta: Get pflash MemoryRegion with sysbus_mmio_get_region(), Philippe Mathieu-Daudé, 2021/03/07
- [PATCH 3/4] hw/xtensa/xtfpga: Get pflash MemoryRegion with sysbus_mmio_get_region(), Philippe Mathieu-Daudé, 2021/03/07
- Re: [PATCH 3/4] hw/xtensa/xtfpga: Get pflash MemoryRegion with sysbus_mmio_get_region(),
Max Filippov <=
- [PATCH 4/4] hw/block/pflash_cfi01: Remove pflash_cfi01_get_memory(), Philippe Mathieu-Daudé, 2021/03/07
- Re: [PATCH 0/4] hw/block/pflash_cfi01: Remove pflash_cfi01_get_memory(), Paolo Bonzini, 2021/03/15