4.115
Last change
on this file since a762dc2 was
a762dc2,
checked in by Sebastian Huber <sebastian.huber@…>, on 01/23/12 at 10:19:22
|
Support for MPC5643L.
Rework of the start sequence to reduce the amount assembler code and to
support configuration tables which may be provided by the application.
|
-
Property mode set to
100644
|
File size:
980 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2011 embedded brains GmbH. All rights reserved. |
---|
3 | * |
---|
4 | * embedded brains GmbH |
---|
5 | * Obere Lagerstr. 30 |
---|
6 | * 82178 Puchheim |
---|
7 | * Germany |
---|
8 | * <rtems@embedded-brains.de> |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.rtems.com/license/LICENSE. |
---|
13 | */ |
---|
14 | |
---|
15 | #include <bsp/console-generic.h> |
---|
16 | #include <bsp/console-esci.h> |
---|
17 | #include <bsp/console-linflex.h> |
---|
18 | |
---|
19 | CONSOLE_GENERIC_INFO_TABLE = { |
---|
20 | #ifdef MPC55XX_HAS_ESCI |
---|
21 | CONSOLE_GENERIC_INFO(mpc55xx_esci_devices + 0, &mpc55xx_esci_callbacks, "/dev/ttyS0"), |
---|
22 | CONSOLE_GENERIC_INFO(mpc55xx_esci_devices + 1, &mpc55xx_esci_callbacks, "/dev/ttyS1") |
---|
23 | #endif |
---|
24 | #ifdef MPC55XX_HAS_LINFLEX |
---|
25 | CONSOLE_GENERIC_INFO(mpc55xx_linflex_devices + 0, &mpc55xx_linflex_callbacks, "/dev/ttyS0"), |
---|
26 | CONSOLE_GENERIC_INFO(mpc55xx_linflex_devices + 1, &mpc55xx_linflex_callbacks, "/dev/ttyS1") |
---|
27 | #endif |
---|
28 | }; |
---|
29 | |
---|
30 | CONSOLE_GENERIC_INFO_COUNT; |
---|
31 | |
---|
32 | CONSOLE_GENERIC_MINOR(0); |
---|
Note: See
TracBrowser
for help on using the repository browser.