saimaa: low-RAM scratch at 0x3000 for SBL probes
This commit is contained in:
@@ -290,6 +290,15 @@ static void saimaa_machine_init(MachineState *machine)
|
||||
memory_region_add_subregion(sysmem, 0x0, vec);
|
||||
}
|
||||
|
||||
/* Low-RAM scratch for SBL1 low-address probes (e.g. [0x3146]).
|
||||
* Real HW has PBL ROM/XPU here; zeros for now (WIP). */
|
||||
{
|
||||
MemoryRegion *low = g_new(MemoryRegion, 1);
|
||||
memory_region_init_ram(low, NULL, "saimaa.low", 0x1000,
|
||||
&error_fatal);
|
||||
memory_region_add_subregion(sysmem, 0x3000, low);
|
||||
}
|
||||
|
||||
/* SDHCI + eMMC image */
|
||||
DeviceState *sdhci = qdev_new(TYPE_SYSBUS_SDHCI);
|
||||
sysbus_realize(SYS_BUS_DEVICE(sdhci), &error_fatal);
|
||||
|
||||
Reference in New Issue
Block a user