From 3f83e13b50c90e3ea33fd366afa156e66089da78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Fri, 20 Nov 2015 12:43:04 +0000 Subject: [PATCH] make separate section to enable external interrupts on the MCF54455 --- BaS_gcc/sys/BaS.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/BaS_gcc/sys/BaS.c b/BaS_gcc/sys/BaS.c index dfdae7f..5614cde 100644 --- a/BaS_gcc/sys/BaS.c +++ b/BaS_gcc/sys/BaS.c @@ -255,6 +255,18 @@ void enable_pci_interrupts() FBEE_INTR_PCI_INTC | FBEE_INTR_PCI_INTD; ; +#elif defined(MACHINE_M5484LITE) + /* + * MCF 5484 interrupts are configured at the CPLD for the FireEngine + */ + + /* TODO: enable PCI interrupts on the LITEKIT */ +#elif defined(MACHINE_M54455) + /* MCF 54455 interrupts are configured at the FPGA */ + + /* TODO: enable PCI interrupts on the MCF54455 */ +#else +#error unknown machine! #endif } @@ -273,6 +285,9 @@ void disable_coldfire_interrupts() NIF nif1; #if defined(MACHINE_M5484LITE) + /* + * on the MCF 5484 LITEKIT, the second FEC interface is usable + */ NIF nif2; #endif