summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-06-17 09:57:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-06-17 10:01:35 +0200
commitcf46db85169d123d1071ef8f3f063f16c2f00d0f (patch)
treeed663433069cb433eae4c74f1b7f94624d609b0a /c/src/lib/libbsp/shared
parentbsps: Add missing include (diff)
downloadrtems-cf46db85169d123d1071ef8f3f063f16c2f00d0f.tar.bz2
bsps: Provide simple console selection
Diffstat (limited to 'c/src/lib/libbsp/shared')
-rw-r--r--c/src/lib/libbsp/shared/console_select_simple.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/shared/console_select_simple.c b/c/src/lib/libbsp/shared/console_select_simple.c
new file mode 100644
index 0000000000..b88ad81268
--- /dev/null
+++ b/c/src/lib/libbsp/shared/console_select_simple.c
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2013 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Dornierstr. 4
+ * 82178 Puchheim
+ * Germany
+ * <info@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.
+ */
+
+#include "console_private.h"
+
+#include <bsp.h>
+
+void bsp_console_select(void)
+{
+ Console_Port_Minor = BSP_CONSOLE_MINOR;
+}