Revision 87ecb68b hw/pxa2xx.c

b/hw/pxa2xx.c
7 7
 * This code is licenced under the GPL.
8 8
 */
9 9

  
10
# include "vl.h"
10
#include "hw.h"
11
#include "pxa.h"
12
#include "sysemu.h"
13
#include "pc.h"
14
#include "i2c.h"
15
#include "qemu-timer.h"
16
#include "qemu-char.h"
11 17

  
12 18
static struct {
13 19
    target_phys_addr_t io_base;
......
2064 2070

  
2065 2071
    s->gpio = pxa2xx_gpio_init(0x40e00000, s->env, s->pic, 121);
2066 2072

  
2067
    s->mmc = pxa2xx_mmci_init(0x41100000, s->pic[PXA2XX_PIC_MMC], s->dma);
2073
    s->mmc = pxa2xx_mmci_init(0x41100000, sd_bdrv, s->pic[PXA2XX_PIC_MMC],
2074
                              s->dma);
2068 2075

  
2069 2076
    for (i = 0; pxa270_serial[i].io_base; i ++)
2070 2077
        if (serial_hds[i])
......
2180 2187

  
2181 2188
    s->gpio = pxa2xx_gpio_init(0x40e00000, s->env, s->pic, 85);
2182 2189

  
2183
    s->mmc = pxa2xx_mmci_init(0x41100000, s->pic[PXA2XX_PIC_MMC], s->dma);
2190
    s->mmc = pxa2xx_mmci_init(0x41100000, sd_bdrv, s->pic[PXA2XX_PIC_MMC],
2191
                              s->dma);
2184 2192

  
2185 2193
    for (i = 0; pxa255_serial[i].io_base; i ++)
2186 2194
        if (serial_hds[i])

Also available in: Unified diff