diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-09 02:38:34 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-09 02:38:34 +0000 |
commit | f1de13340854e97c8acc86dabf61c7d066a8c5da (patch) | |
tree | f0038ce3f90b4c03ea7c182570ae9de66731ded8 /hw/mainstone.c | |
parent | 788f5ec40d03a79ae7aa3335d7e3cfea72c502a8 (diff) | |
download | qemu-f1de13340854e97c8acc86dabf61c7d066a8c5da.zip qemu-f1de13340854e97c8acc86dabf61c7d066a8c5da.tar.gz qemu-f1de13340854e97c8acc86dabf61c7d066a8c5da.tar.bz2 |
Mainstone mmc support, by Armin Kuster.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3781 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mainstone.c')
-rw-r--r-- | hw/mainstone.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/mainstone.c b/hw/mainstone.c index 3540152..cf05675 100644 --- a/hw/mainstone.c +++ b/hw/mainstone.c @@ -76,6 +76,10 @@ static void mainstone_common_init(int ram_size, int vga_ram_size, } mst_irq = mst_irq_init(cpu, MST_FPGA_PHYS, PXA2XX_PIC_GPIO_0); + + /* MMC/SD host */ + pxa2xx_mmci_handlers(cpu->mmc, mst_irq[MMC_IRQ], mst_irq[MMC_IRQ]); + smc91c111_init(&nd_table[0], MST_ETH_PHYS, mst_irq[ETHERNET_IRQ]); arm_load_kernel(cpu->env, mainstone_ram, kernel_filename, kernel_cmdline, |