diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-10-17 10:40:00 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-10-17 10:40:00 +0000 |
commit | 4f609eec670815166ca1d18e96f7cc4ed430f4ee (patch) | |
tree | 56ef774c74a526d770c8d4686d03f6a55847fae8 /c/src/lib/libbsp/arm/lpc24xx/startup/start-config-pinsel.c | |
parent | 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-4f609eec670815166ca1d18e96f7cc4ed430f4ee.tar.bz2 |
2011-10-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/start-config.h, make/custom/lpc24xx_plx800_rom_int.cfg,
startup/linkcmds.lpc24xx_plx800_rom_int,
startup/start-config-emc-dynamic.c, startup/start-config-emc-static.c,
startup/start-config-pinsel.c: New files.
* Makefile.am, configure.ac, preinstall.am: Reflect changes above.
* startup/bspstarthooks.c: Use configuration tables for EMC
initialization.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/arm/lpc24xx/startup/start-config-pinsel.c | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/lpc24xx/startup/start-config-pinsel.c b/c/src/lib/libbsp/arm/lpc24xx/startup/start-config-pinsel.c new file mode 100644 index 0000000000..7cb3c33925 --- /dev/null +++ b/c/src/lib/libbsp/arm/lpc24xx/startup/start-config-pinsel.c @@ -0,0 +1,46 @@ +/** + * @file + * + * @ingroup lpc24xx + * + * @brief BSP start pin selection configuration. + */ + +/* + * Copyright (c) 2011 embedded brains GmbH. All rights reserved. + * + * embedded brains GmbH + * Obere Lagerstr. 30 + * 82178 Puchheim + * Germany + * <rtems@embedded-brains.de> + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#include <bsp/start-config.h> + +const BSP_START_DATA_SECTION uint32_t lpc24xx_start_config_pinsel_5_9 [] = { +#if defined(LPC24XX_EMC_MICRON) \ + || defined(LPC24XX_EMC_K4S561632E) \ + || defined(LPC24XX_EMC_NUMONYX) + 0x05010115, + 0x55555555, + 0x0, + #ifdef LPC24XX_EMC_K4S561632E + 0x15555555, + 0x0a040000 + #else + 0x55555555, + 0x40050155 + #endif +#endif +}; + +const BSP_START_DATA_SECTION size_t + lpc24xx_start_config_pinsel_5_9_size = + sizeof(lpc24xx_start_config_pinsel_5_9); |