summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen83xx/console/console-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen83xx/console/console-config.c')
-rw-r--r--c/src/lib/libbsp/powerpc/gen83xx/console/console-config.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/console/console-config.c b/c/src/lib/libbsp/powerpc/gen83xx/console/console-config.c
index d338e9207a..da554e56bb 100644
--- a/c/src/lib/libbsp/powerpc/gen83xx/console/console-config.c
+++ b/c/src/lib/libbsp/powerpc/gen83xx/console/console-config.c
@@ -80,7 +80,11 @@ console_tbl Console_Port_Tbl [PORT_COUNT] = {
.getData = NULL,
.setData = NULL,
.ulClock = 0,
+#if MPC83XX_CHIP_TYPE / 10 == 830
+ .ulIntVector = BSP_IPIC_IRQ_UART
+#else
.ulIntVector = BSP_IPIC_IRQ_UART1
+#endif
}
#ifdef BSP_USE_UART2
, {
@@ -100,7 +104,11 @@ console_tbl Console_Port_Tbl [PORT_COUNT] = {
.getData = NULL,
.setData = NULL,
.ulClock = 0,
+#if MPC83XX_CHIP_TYPE / 10 == 830
+ .ulIntVector = BSP_IPIC_IRQ_UART
+#else
.ulIntVector = BSP_IPIC_IRQ_UART2
+#endif
}
#endif
};