mb/emulation/qemu-armv7,power8: Do resource transition
Change-Id: Ic31eb81bc98fd94877a51ebf44cfb2c69e4db0ae Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55923 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
c9a0301dfa
commit
1cc775ef9d
|
@ -39,7 +39,7 @@ static void mainboard_enable(struct device *dev)
|
|||
|
||||
discovered = probe_ramsize((uintptr_t)_dram, CONFIG_DRAM_SIZE_MB);
|
||||
printk(BIOS_DEBUG, "%d MiB of RAM discovered\n", discovered);
|
||||
ram_resource_kb(dev, 0, 0x60000000 >> 10, discovered << 10);
|
||||
ram_range(dev, 0, 0x60000000, discovered * MiB);
|
||||
init_gfx();
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ static void mainboard_enable(struct device *dev)
|
|||
}
|
||||
|
||||
/* Where does RAM live? */
|
||||
ram_resource_kb(dev, 0, 2048, 32768);
|
||||
ram_range(dev, 0, 2 * MiB, 32 * MiB);
|
||||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
|
|
Loading…
Reference in New Issue