upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1012 B
48 lines
1012 B
/*
|
|
* Copyright (C) 2007-2009 coresystems GmbH
|
|
* Copyright (C) 2013 Google Inc.
|
|
* Copyright (C) 2016 Bin Meng <bmeng.cn@gmail.com>
|
|
*
|
|
* Modified from coreboot src/soc/intel/baytrail/acpi/irqroute.asl
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
Name(\PICM, 0)
|
|
|
|
/*
|
|
* The _PIC method is called by the OS to choose between interrupt
|
|
* routing via the i8259 interrupt controller or the APIC.
|
|
*
|
|
* _PIC is called with a parameter of 0 for i8259 configuration and
|
|
* with a parameter of 1 for Local APIC/IOAPIC configuration.
|
|
*/
|
|
Method(\_PIC, 1)
|
|
{
|
|
/* Remember the OS' IRQ routing choice */
|
|
Store(Arg0, PICM)
|
|
}
|
|
|
|
/* PCI interrupt routing */
|
|
Method(_PRT) {
|
|
If (PICM) {
|
|
Return (Package() {
|
|
#undef PIC_MODE
|
|
#include "irq_helper.h"
|
|
PCI_DEV_PIRQ_ROUTES
|
|
})
|
|
} Else {
|
|
Return (Package() {
|
|
#define PIC_MODE
|
|
#include "irq_helper.h"
|
|
PCI_DEV_PIRQ_ROUTES
|
|
})
|
|
}
|
|
|
|
}
|
|
|
|
/* PCIe downstream ports interrupt routing */
|
|
PCIE_BRIDGE_IRQ_ROUTES
|
|
#undef PIC_MODE
|
|
#include "irq_helper.h"
|
|
PCIE_BRIDGE_IRQ_ROUTES
|
|
|