From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4UHC-000362-9J for qemu-devel@nongnu.org; Tue, 08 Jul 2014 08:13:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4UHB-00087t-5y for qemu-devel@nongnu.org; Tue, 08 Jul 2014 08:13:38 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:48795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4UHA-00086v-W9 for qemu-devel@nongnu.org; Tue, 08 Jul 2014 08:13:37 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1X4UH3-0003Gg-19 for qemu-devel@nongnu.org; Tue, 08 Jul 2014 13:13:29 +0100 From: Peter Maydell Date: Tue, 8 Jul 2014 13:13:27 +0100 Message-Id: <1404821608-12529-3-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1404821608-12529-1-git-send-email-peter.maydell@linaro.org> References: <1404821608-12529-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PULL 2/3] hw/arm/vexpress: Alias NOR flash at 0 for vexpress-a9 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 Message-id: 1404310070-3561-1-git-send-email-peter.maydell@linaro.org Reviewed-by: Greg Bellows --- hw/arm/vexpress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] = { -- 1.9.1