hw/vexpress.c: Make motherboard peripheral memory map table-driven
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 16 Feb 2012 09:56:08 +0000 (09:56 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 17 Feb 2012 11:13:19 +0000 (11:13 +0000)
commit2558e0a67b5573cfd29c9346350ac5d5dc6f866f
treeef6c5f42a894762aee3b354879bffee970eac025
parent5d782e0805b4d216909b21883dcd513c3061aa3d
hw/vexpress.c: Make motherboard peripheral memory map table-driven

Pull the addresses used for mapping motherboard peripherals into
memory out into a table. This will allow us to simply provide a
second table to implement the "Cortex-A Series" memory map used by
the A15 variant of Versatile Express, as well as the current
"Legacy" map used by A9.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
hw/vexpress.c