diff options
author | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2009-02-27 11:26:44 +0000 |
---|---|---|
committer | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2009-02-27 11:26:44 +0000 |
commit | 9647f7feac36cc41c25b852eb8ecdd728b5486d1 (patch) | |
tree | 3b331d67718faf43d1c38e7896cb2be5f108d328 /c/src/lib/libbsp/arm/lpc24xx/console/console-config.c | |
parent | * bsp_specs: Added crtbegin.o and crtend.o to support global C++ (diff) | |
download | rtems-9647f7feac36cc41c25b852eb8ecdd728b5486d1.tar.bz2 |
* README: Added NCS.
* Makefile.am, configure.ac, preinstall.am: Added BSP variants.
* console/console-config.c, clock/clock-config.c, ssp/ssp.c: Fixed
register settings. Cleanup.
* include/bsp.h: Added network defines and functions.
* include/lpc24xx.h: Added AHB and EMC defines. Fixed Ethernet status
sizes.
* include/system-clocks.h, misc/system-clocks.c: Added micro seconds
delay function that uses Timer 1. Changed PLL setup.
* network/network.c, startup/bspreset.c, startup/linkcmds.lpc2478,
startup/linkcmds.lpc2478_ncs, startup/linkcmds.lpc2478_ncs_ram: New
files.
* startup/bspstart.c: Added EMC initialization. Changes for ROM boot.
Diffstat (limited to 'c/src/lib/libbsp/arm/lpc24xx/console/console-config.c')
-rw-r--r-- | c/src/lib/libbsp/arm/lpc24xx/console/console-config.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/arm/lpc24xx/console/console-config.c b/c/src/lib/libbsp/arm/lpc24xx/console/console-config.c index 53be3eeb2b..0c298421da 100644 --- a/c/src/lib/libbsp/arm/lpc24xx/console/console-config.c +++ b/c/src/lib/libbsp/arm/lpc24xx/console/console-config.c @@ -21,6 +21,7 @@ #include <libchip/serial.h> #include <libchip/ns16550.h> +#include <bsp.h> #include <bsp/lpc24xx.h> #include <bsp/irq.h> @@ -55,7 +56,7 @@ console_tbl Console_Port_Tbl [LPC24XX_UART_NUMBER] = { .pDeviceFlow = NULL, .ulMargin = 16, .ulHysteresis = 8, - .pDeviceParams = (void *) 38400, + .pDeviceParams = (void *) LPC24XX_UART_BAUD, .ulCtrlPort1 = UART0_BASE_ADDR, .ulCtrlPort2 = 0, .ulDataPort = UART0_BASE_ADDR, @@ -63,7 +64,7 @@ console_tbl Console_Port_Tbl [LPC24XX_UART_NUMBER] = { .setRegister = lpc24xx_uart_set_register, .getData = NULL, .setData = NULL, - .ulClock = 57600000, + .ulClock = LPC24XX_CCLK, .ulIntVector = LPC24XX_IRQ_UART_0 } }; |