[PATCH linux dev-4.7 2/2] ARM: dts: aspeed: Reserve memory on all P9 machines
Joel Stanley
joel at jms.id.au
Thu Feb 23 15:00:34 AEDT 2017
On Thu, Feb 23, 2017 at 2:04 PM, Mine <mine260309 at gmail.com> wrote:
>> - flash_memory: region at 94000000 {
>> + flash_memory: region at bc000000 {
>> no-map;
>> - reg = <0x94000000 0x04000000>; /* 64M */
>> + reg = <0xbc000000 0x04000000>; /* 64M */
>
> For Zaius with 512MiB RAM (what I saw in Foxconn), the memory size
> will be adjusted by Uboot,
> which is OK.
> Will this reserved memory be adjusted from 0xbc000000 to 0x9c000000?
You raise an issue I have been thinking about.
u-boot currently adjusts the /memory node to account for the VGA
framebuffer. We could instead have it populate a reserved-memory
region.
A compromise (for cases where the u-boot hasn't been updated, or the
user is testing in Qemu without u-boot) would be to have the node in
the device tree set to a default value and get u-boot to update it to
the same as the strapping.
Cheers,
Joel
More information about the openbmc
mailing list