Re: [PATCH v2 11/21] hw/arm/digic: Open-code pflash_cfi02_register()

2023-01-13 Thread Peter Maydell
On Mon, 9 Jan 2023 at 12:31, Philippe Mathieu-Daudé 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 pflash_cfi02_register() from the pfl

[PATCH v2 11/21] hw/arm/digic: Open-code pflash_cfi02_register()

2023-01-09 Thread Philippe Mathieu-Daudé
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 pflash_cfi02_register() from the pflash API, open-code it as a qdev creation call followed by an explicit