diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:07 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:07 +0100 |
commit | a7d518a61bfdfc5e171b1aaf0bad77ae0bbeb0c2 (patch) | |
tree | f58239e2318822420d5209cfc5fbf87457c47a33 /hw/stellaris.c | |
parent | 2e9bdce56f307db907f4d6533d3a3917259f859f (diff) | |
download | qemu-a7d518a61bfdfc5e171b1aaf0bad77ae0bbeb0c2.zip qemu-a7d518a61bfdfc5e171b1aaf0bad77ae0bbeb0c2.tar.gz qemu-a7d518a61bfdfc5e171b1aaf0bad77ae0bbeb0c2.tar.bz2 |
PL011 qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/stellaris.c')
-rw-r--r-- | hw/stellaris.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/stellaris.c b/hw/stellaris.c index cfd1de9..31206c3 100644 --- a/hw/stellaris.c +++ b/hw/stellaris.c @@ -7,7 +7,7 @@ * This code is licenced under the GPL. */ -#include "hw.h" +#include "sysbus.h" #include "arm-misc.h" #include "primecell.h" #include "devices.h" @@ -1330,8 +1330,8 @@ static void stellaris_init(const char *kernel_filename, const char *cpu_model, for (i = 0; i < 4; i++) { if (board->dc2 & (1 << i)) { - pl011_init(0x4000c000 + i * 0x1000, pic[uart_irq[i]], - serial_hds[i], PL011_LUMINARY); + sysbus_create_simple("pl011_luminary", 0x4000c000 + i * 0x1000, + pic[uart_irq[i]]); } } if (board->dc2 & (1 << 4)) { |