From d37a5bc29ec0f69fad55e3bfb6f6aeb7e1027607 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Mon, 28 May 2018 13:42:22 +0200 Subject: mb/pcengines: Remove unneeded includes and dead code Fix coding style. Change-Id: Id13c0ee284293c0c06d46c75c850bc7e81cfc1f6 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26633 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/mainboard/pcengines/apu2/acpi/gpe.asl | 2 +- src/mainboard/pcengines/apu2/dsdt.asl | 2 +- src/mainboard/pcengines/apu2/mptable.c | 43 ------------------------------- 3 files changed, 2 insertions(+), 45 deletions(-) (limited to 'src/mainboard/pcengines/apu2') diff --git a/src/mainboard/pcengines/apu2/acpi/gpe.asl b/src/mainboard/pcengines/apu2/acpi/gpe.asl index cd366dcc5d..4a6f6f8158 100644 --- a/src/mainboard/pcengines/apu2/acpi/gpe.asl +++ b/src/mainboard/pcengines/apu2/acpi/gpe.asl @@ -64,4 +64,4 @@ Scope(\_GPE) { /* Start Scope GPE */ Notify(\_SB.PCI0.PBR7, 0x02) /* NOTIFY_DEVICE_WAKE */ Notify(\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */ } -} /* End Scope GPE */ +} /* End Scope GPE */ diff --git a/src/mainboard/pcengines/apu2/dsdt.asl b/src/mainboard/pcengines/apu2/dsdt.asl index d3fb3b1e6b..03bd33ec5e 100644 --- a/src/mainboard/pcengines/apu2/dsdt.asl +++ b/src/mainboard/pcengines/apu2/dsdt.asl @@ -46,7 +46,7 @@ DefinitionBlock ( /* System Bus */ Scope(\_SB) { /* Start \_SB scope */ - /* global utility methods expected within the \_SB scope */ + /* global utility methods expected within the \_SB scope */ #include /* Describe IRQ Routing mapping for this platform (within the \_SB scope) */ diff --git a/src/mainboard/pcengines/apu2/mptable.c b/src/mainboard/pcengines/apu2/mptable.c index 228e2811f2..dff5fbda14 100644 --- a/src/mainboard/pcengines/apu2/mptable.c +++ b/src/mainboard/pcengines/apu2/mptable.c @@ -14,54 +14,11 @@ * GNU General Public License for more details. */ -#include #include -#include -#include #include -#include #include -#include -#include #include -#if 0 -u8 picr_data[FCH_INT_TABLE_SIZE] = { - 0x03,0x03,0x05,0x07,0x0B,0x0A,0x1F,0x1F, /* 00 - 07 : INTA - INTF and 2 reserved dont map 4*/ - 0xFA,0xF1,0x00,0x00,0x1F,0x1F,0x1F,0x1F, /* 08 - 0F */ - 0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F, /* 10 - 17 */ - 0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 18 - 1F */ - 0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x00,0x00, /* 20 - 27 */ - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 28 - 2F */ - 0x05,0x1F,0x05,0x1F,0x04,0x1F,0x1F,0x1F, /* 30 - 37 */ - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 38 - 3F */ - 0x1F,0x1F,0x00,0x00,0x00,0x00,0x00,0x00, /* 40 - 47 */ - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 48 - 4F */ -// 0x03,0x04,0x05,0x07,0x00,0x00,0x00,0x00, /* 50 - 57 */ - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 50 - 57 */ - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 58 - 5F */ - 0x00,0x00,0x1F /* 60 - 62 */ -}; -u8 intr_data[FCH_INT_TABLE_SIZE] = { - 0x10,0x10,0x12,0x13,0x14,0x15,0x1F,0x1F, /* 00 - 07 : INTA - INTF and 2 reserved dont map 4*/ - 0x00,0x00,0x00,0x00,0x1F,0x1F,0x1F,0x1F, /* 08 - 0F */ - 0x09,0x1F,0x1F,0x1F,0x1F,0x1f,0x1F,0x10, /* 10 - 17 */ - 0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 18 - 1F */ - 0x05,0x1F,0x1F,0x1F,0x1F,0x1F,0x00,0x00, /* 20 - 27 */ - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 28 - 2F */ - 0x12,0x1f,0x12,0x1F,0x12,0x1F,0x1F,0x00, /* 30 - 37 */ - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 38 - 3F */ - 0x1f,0x13,0x00,0x00,0x00,0x00,0x00,0x00, /* 40 - 47 */ - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 48 - 4F */ -// 0x10,0x11,0x12,0x13,0x00,0x00,0x00,0x00, /* 50 - 57 */ - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 50 - 57 */ - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 58 - 5F */ - 0x00,0x00,0x1F /* 60 - 62 */ -}; - -#endif - - static void *smp_write_config_table(void *v) { struct mp_config_table *mc; -- cgit v1.2.3