summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen83xx/console
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2011-09-26 10:08:29 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2011-09-26 10:08:29 +0000
commit7a752161b488ccee4b085a0931a6d9d1816bc178 (patch)
treec14402a10f3e400aba035428a91c2e117e84be89 /c/src/lib/libbsp/powerpc/gen83xx/console
parent2011-09-27 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-7a752161b488ccee4b085a0931a6d9d1816bc178.tar.bz2
2011-09-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* make/custom/mpc8309som.cfg, startup/linkcmds.mpc8309som: New file. * Makefile.am, preinstall.am: Reflect changes above. * configure.ac, console/console-config.c, include/bsp.h, include/hwreg_vals.h, include/irq.h, network/network.c, spi/spi_init.c, startup/cpuinit.c: Renamed various BSP options. * make/custom/gen83xx.inc, make/custom/hsc_cm01.cfg, make/custom/mpc8313erdb.cfg, make/custom/mpc8349eamds.cfg: Avoid special linkcmds.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen83xx/console')
-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
};