On Thu, Jan 5, 2023 at 6:48 AM Philippe Mathieu-Daudé <phi...@linaro.org> wrote: > > pflash_cfi02_register() hides an implicit sysbus mapping of > MMIO region #0. This is not practical in a heterogeneous world > where multiple cores use different address spaces. In order to > remove to remove pflash_cfi02_register() from the pflash API,
same issue as the cfi 01 commits > open-code it as a qdev creation call followed by an explicit > sysbus mapping. > > Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> > --- > hw/arm/digic_boards.c | 14 ++++++++------ > hw/arm/musicpal.c | 13 +++++++------ > hw/arm/xilinx_zynq.c | 10 +++++----- > 3 files changed, 20 insertions(+), 17 deletions(-) > Reviewed-by: Bin Meng <bmeng...@gmail.com>