On 10/21/19 6:59 PM, Richard Henderson wrote:
On 10/20/19 3:56 PM, Philippe Mathieu-Daudé wrote:
static void n8x0_init(MachineState *machine,
struct arm_boot_info *binfo, int model)
{
-MemoryRegion *sysmem = get_system_memory();
+MemoryRegion *sdram = g_new(Me
On 10/20/19 3:56 PM, Philippe Mathieu-Daudé wrote:
> static void n8x0_init(MachineState *machine,
>struct arm_boot_info *binfo, int model)
> {
> -MemoryRegion *sysmem = get_system_memory();
> +MemoryRegion *sdram = g_new(MemoryRegion, 1);
> struct n800_s *s =
The SDRAM is incorrectly created in the OMAP2420 SoC.
Move its creation in the board code, this will later allow the
board to have the QOM ownership of the RAM.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/arm/nseries.c | 10 +++---
hw/arm/omap2.c| 13 +
include/hw/a