Home
last modified time | relevance | path

Searched hist:a4b1e9d3 (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/include/hw/arm/
H A Dmsf2-soc.ha4b1e9d3 Thu Aug 12 04:33:49 CDT 2021 Peter Maydell <peter.maydell@linaro.org> hw/arm/msf2_soc: Don't allocate separate MemoryRegions

In the realize method of the msf2-soc SoC object, we call g_new() to
create new MemoryRegion objects for the nvm, nvm_alias, and sram.
This is unnecessary; make these MemoryRegions member fields of the
device state struct instead.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alexandre Iooss <erdnaxe@crans.org>
Message-id: 20210812093356.1946-19-peter.maydell@linaro.org
/openbmc/qemu/hw/arm/
H A Dmsf2-soc.ca4b1e9d3 Thu Aug 12 04:33:49 CDT 2021 Peter Maydell <peter.maydell@linaro.org> hw/arm/msf2_soc: Don't allocate separate MemoryRegions

In the realize method of the msf2-soc SoC object, we call g_new() to
create new MemoryRegion objects for the nvm, nvm_alias, and sram.
This is unnecessary; make these MemoryRegions member fields of the
device state struct instead.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alexandre Iooss <erdnaxe@crans.org>
Message-id: 20210812093356.1946-19-peter.maydell@linaro.org