[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH REPOST v3 08/80] arm/aspeed: use memdev for RAM
From: |
Joel Stanley |
Subject: |
Re: [PATCH REPOST v3 08/80] arm/aspeed: use memdev for RAM |
Date: |
Thu, 23 Jan 2020 12:08:25 +0000 |
On Thu, 23 Jan 2020 at 11:41, Igor Mammedov <address@hidden> 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 MachineState::ram instead of manually initializing
> RAM memory region.
>
> Signed-off-by: Igor Mammedov <address@hidden>
> Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
> Reviewed-by: Cédric Le Goater <address@hidden>
Acked-by: Joel Stanley <address@hidden>