hw/mips/boston: Massage memory map information
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Sat, 2 Oct 2021 18:45:37 +0000 (19:45 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 17 Oct 2021 22:41:36 +0000 (00:41 +0200)
commite07f3e265b90d078d69c1f305563f04f1371b7aa
treea3861521ff43870415a5791c074efeef3fe4b699
parent719f874b83792951faa3fe67378eca4034bec3dc
hw/mips/boston: Massage memory map information

Use memmap array to uinfy address of memory map.
That would allow us reuse address information for FDT generation.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[PMD: Use local 'regaddr' in gen_firmware(), fix coding style]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211002184539.169-2-jiaxun.yang@flygoat.com>
hw/mips/boston.c