On 8/12/21 11:33 AM, Peter Maydell wrote:
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.mayd...@linaro.org>

Reviewed-by: Alexandre Iooss <erdn...@crans.org>

-- Alexandre


Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to