Revision a7d518a6 hw/stellaris.c
b/hw/stellaris.c | ||
---|---|---|
7 | 7 |
* This code is licenced under the GPL. |
8 | 8 |
*/ |
9 | 9 |
|
10 |
#include "hw.h"
|
|
10 |
#include "sysbus.h"
|
|
11 | 11 |
#include "arm-misc.h" |
12 | 12 |
#include "primecell.h" |
13 | 13 |
#include "devices.h" |
... | ... | |
1330 | 1330 |
|
1331 | 1331 |
for (i = 0; i < 4; i++) { |
1332 | 1332 |
if (board->dc2 & (1 << i)) { |
1333 |
pl011_init(0x4000c000 + i * 0x1000, pic[uart_irq[i]],
|
|
1334 |
serial_hds[i], PL011_LUMINARY);
|
|
1333 |
sysbus_create_simple("pl011_luminary", 0x4000c000 + i * 0x1000,
|
|
1334 |
pic[uart_irq[i]]);
|
|
1335 | 1335 |
} |
1336 | 1336 |
} |
1337 | 1337 |
if (board->dc2 & (1 << 4)) { |
Also available in: Unified diff