[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 15/22] hw/vexpress.c: Instantiate the motherboard CL
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH 15/22] hw/vexpress.c: Instantiate the motherboard CLCD |
Date: |
Fri, 17 Feb 2012 11:29:30 +0000 |
Instantiate the CLCD on the vexpress motherboard as well as one on
the daughterboard -- the A15 daughterboard does not have a CLCD
and so relies on the motherboard one.
At the moment QEMU doesn't provide infrastructure for selecting
which display device gets to actually show graphics -- the first
one registered is it. Fortunately this works for the major use
case (Linux): if the daughterboard has a CLCD it will come first
and be used, otherwise we fall back to the motherboard CLCD.
So we don't (currently) need to implement the control register
which allows software to tell the mux which video output to pass
through to the outside world.
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
---
hw/vexpress.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/vexpress.c b/hw/vexpress.c
index 8239ea1..43ad206 100644
--- a/hw/vexpress.c
+++ b/hw/vexpress.c
@@ -282,7 +282,7 @@ static void vexpress_common_init(const VEDBoardInfo
*daughterboard,
/* VE_COMPACTFLASH: not modelled */
- /* VE_CLCD: not modelled (we use the daughterboard CLCD only) */
+ sysbus_create_simple("pl111", map[VE_CLCD], pic[14]);
/* VE_NORFLASH0: not modelled */
/* VE_NORFLASH0ALIAS: not modelled */
--
1.7.1
- [Qemu-devel] [PATCH 19/22] hw/primecell.h: Remove obsolete pl080_init() declaration, (continued)
- [Qemu-devel] [PATCH 19/22] hw/primecell.h: Remove obsolete pl080_init() declaration, Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 13/22] hw/vexpress.c: Move secondary CPU boot code to SRAM, Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 10/22] MAINTAINERS: Add maintainers for Exynos SOC., Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 16/22] arm_boot: Pass base address of GIC CPU interface, not whole GIC, Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 18/22] hw/arm_sysctl: Drop legacy init function, Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 07/22] hw/lan9118: Add basic 16-bit mode support., Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 09/22] Exynos4210: added display controller implementation, Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 03/22] ARM: exynos4210: UART support, Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 01/22] ARM: exynos4210: IRQ subsystem support., Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 20/22] Remove unnecessary includes of primecell.h, Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 15/22] hw/vexpress.c: Instantiate the motherboard CLCD,
Peter Maydell <=
- [Qemu-devel] [PATCH 17/22] hw/vexpress.c: Add vexpress-a15 machine, Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 22/22] hw/pl031: Actually raise interrupt on timer expiry, Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 06/22] ARM: exynos4210: MCT support., Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 08/22] hw/exynos4210.c: Add LAN support for SMDKC210., Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 14/22] hw/vexpress.c: Factor out daughterboard-specific initialization, Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 02/22] ARM: Samsung exynos4210-based boards emulation, Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 21/22] MAINTAINERS: Add hw/highbank.c maintainer, Peter Maydell, 2012/02/17
- [Qemu-devel] [PATCH 05/22] ARM: exynos4210: basic Power Management Unit implementation, Peter Maydell, 2012/02/17
- Re: [Qemu-devel] [PULL 00/22] arm-devs queue, Anthony Liguori, 2012/02/17