From a1bb27b1e98a372545f37a599c0f9ea785502554 Mon Sep 17 00:00:00 2001 From: pbrook Date: Fri, 6 Apr 2007 16:49:48 +0000 Subject: SD card emulation (initial implementation by Andrzei Zaborowski). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2620 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/realview.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hw/realview.c') diff --git a/hw/realview.c b/hw/realview.c index a5607e7..1d351bf 100644 --- a/hw/realview.c +++ b/hw/realview.c @@ -1,7 +1,7 @@ /* * ARM RealView Baseboard System emulation. * - * Copyright (c) 2006 CodeSourcery. + * Copyright (c) 2006-2007 CodeSourcery. * Written by Paul Brook * * This code is licenced under the GPL. @@ -55,6 +55,8 @@ static void realview_init(int ram_size, int vga_ram_size, int boot_device, pl110_init(ds, 0x10020000, pic, 23, 1); + pl181_init(0x10005000, sd_bdrv, pic, 17, 18); + pci_bus = pci_vpb_init(pic, 48, 1); if (usb_enabled) { usb_ohci_init_pci(pci_bus, 3, -1); -- cgit v1.1