Done with sed and God Lines. Only done for C-like code for now. Change-Id: Ib41169395ab239e520f6047ac6bd307ec50776d4 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40209 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
21 lines
403 B
Plaintext
21 lines
403 B
Plaintext
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* This file is part of the coreboot project. */
|
|
|
|
// PCI Interrupt Routing
|
|
Method(_PRT)
|
|
{
|
|
If (PICM) {
|
|
Return (Package() {
|
|
#undef PIC_MODE
|
|
#include <soc/intel/baytrail/acpi/irq_helper.h>
|
|
PCI_DEV_PIRQ_ROUTES
|
|
})
|
|
} Else {
|
|
Return (Package() {
|
|
#define PIC_MODE
|
|
#include <soc/intel/baytrail/acpi/irq_helper.h>
|
|
PCI_DEV_PIRQ_ROUTES
|
|
})
|
|
}
|
|
}
|