On Thu, Jan 5, 2023 at 6:49 AM Philippe Mathieu-Daudé <phi...@linaro.org> wrote: > > pflash_cfi01_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_cfi01_register() from the pflash API, > open-code it as a qdev creation call followed by an explicit > sysbus mapping. > > Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> > --- > hw/ppc/sam460ex.c | 12 ++++++++---- > hw/ppc/virtex_ml507.c | 7 ++++--- > 2 files changed, 12 insertions(+), 7 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>