diff mbox

[PULL,2/3] hw/arm/vexpress: Alias NOR flash at 0 for vexpress-a9

Message ID 1404821608-12529-3-git-send-email-peter.maydell@linaro.org
State Not Applicable
Headers show

Commit Message

Peter Maydell July 8, 2014, 12:13 p.m. UTC
Make the vexpress-a9 board alias the first NOR flash region at
address zero, like vexpress-a15. This makes "-bios" actually usable
on this board.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1404310070-3561-1-git-send-email-peter.maydell@linaro.org
Reviewed-by: Greg Bellows <greg.bellows@linaro.org>
---
 hw/arm/vexpress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Maydell July 10, 2014, 9 a.m. UTC | #1
On 8 July 2014 13:13, Peter Maydell <peter.maydell@linaro.org> wrote:
> Make the vexpress-a9 board alias the first NOR flash region at
> address zero, like vexpress-a15. This makes "-bios" actually usable
> on this board.

Oof. Judging by the headers lists.gnu sat on this email for over
36 hours...

-- PMM
Eric Blake July 10, 2014, 12:40 p.m. UTC | #2
On 07/10/2014 03:00 AM, Peter Maydell wrote:
> On 8 July 2014 13:13, Peter Maydell <peter.maydell@linaro.org> wrote:
>> Make the vexpress-a9 board alias the first NOR flash region at
>> address zero, like vexpress-a15. This makes "-bios" actually usable
>> on this board.
> 
> Oof. Judging by the headers lists.gnu sat on this email for over
> 36 hours...

Yes, the gnu mailserver was exceptionally slow in the last 48 hours (and
not just for this list); it looks like some of the backlog is finally
clearing out, but as an observer on the side I wish I had more insight
into what was cause, and if there is somewhere that such incidents can
be reported/tracked.
diff mbox

Patch

diff --git a/hw/arm/vexpress.c b/hw/arm/vexpress.c
index 3d83e6c..a88732c 100644
--- a/hw/arm/vexpress.c
+++ b/hw/arm/vexpress.c
@@ -84,6 +84,7 @@  enum {
 };
 
 static hwaddr motherboard_legacy_map[] = {
+    [VE_NORFLASHALIAS] = 0,
     /* CS7: 0x10000000 .. 0x10020000 */
     [VE_SYSREGS] = 0x10000000,
     [VE_SP810] = 0x10001000,
@@ -114,7 +115,6 @@  static hwaddr motherboard_legacy_map[] = {
     [VE_VIDEORAM] = 0x4c000000,
     [VE_ETHERNET] = 0x4e000000,
     [VE_USB] = 0x4f000000,
-    [VE_NORFLASHALIAS] = -1, /* not present */
 };
 
 static hwaddr motherboard_aseries_map[] = {