Re: [PATCH 21/86] arm:kzm: use memdev for RAM

2019-12-31 Thread Philippe Mathieu-Daudé
On 12/31/19 2:03 PM, Igor Mammedov wrote: memory_region_allocate_system_memory() API is going away, so replace it with memdev allocated MemoryRegion. The later is initialized by generic code, so board only needs to opt in to memdev scheme by providing MachineClass::default_ram_id and using Mac

[PATCH 21/86] arm:kzm: use memdev for RAM

2019-12-31 Thread Igor Mammedov
memory_region_allocate_system_memory() API is going away, so replace it with memdev allocated MemoryRegion. The later is initialized by generic code, so board only needs to opt in to memdev scheme by providing MachineClass::default_ram_id and using MachineState::ram instead of manually initializi