Re: [PATCH v2 48/86] lm32:milkymist: use memdev for RAM

2020-01-16 Thread Igor Mammedov
On Wed, 15 Jan 2020 19:32:19 +0100 Philippe Mathieu-Daudé wrote: > On 1/15/20 4:07 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

Re: [PATCH v2 48/86] lm32:milkymist: use memdev for RAM

2020-01-15 Thread Philippe Mathieu-Daudé
On 1/15/20 4:07 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 Mach