SD card emulation (initial implementation by Andrzei Zaborowski).


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2620 c046a42c-6fe2-441c-8c8c-71466251a162
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 @@
 
     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);