Add AIC to at91sam9260 support, now that it is needed for multipass to
work. This gets my AT91SAM9260-based boards almost booting with current in multi pass. The MCI driver is broken, but it is equally broken before multi-pass.
This commit is contained in:
parent
9a6e86e109
commit
9fedbe51c6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=269960
@ -255,7 +255,7 @@ at91_cpu_add_builtin_children(device_t dev, const struct cpu_devs *walker)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 1; walker->name; i++, walker++) {
|
||||
for (i = 0; walker->name; i++, walker++) {
|
||||
at91_add_child(dev, i, walker->name, walker->unit,
|
||||
walker->mem_base, walker->mem_len, walker->irq0,
|
||||
walker->irq1, walker->irq2);
|
||||
|
@ -103,6 +103,7 @@ static const uint32_t at91_pio_base[] = {
|
||||
|
||||
static const struct cpu_devs at91_devs[] =
|
||||
{
|
||||
DEVICE("at91_aic", AIC, 0),
|
||||
DEVICE("at91_pmc", PMC, 0),
|
||||
DEVICE("at91_wdt", WDT, 0),
|
||||
DEVICE("at91_rst", RSTC, 0),
|
||||
|
@ -220,6 +220,7 @@
|
||||
#define AT91SAM9260_IRQ_RSTC AT91SAM9260_IRQ_SYSTEM
|
||||
#define AT91SAM9260_IRQ_OHCI AT91SAM9260_IRQ_UHP
|
||||
#define AT91SAM9260_IRQ_NAND (-1)
|
||||
#define AT91SAM9260_IRQ_AIC (-1)
|
||||
|
||||
#define AT91SAM9260_AIC_BASE 0xffff000
|
||||
#define AT91SAM9260_AIC_SIZE 0x200
|
||||
|
Loading…
Reference in New Issue
Block a user