URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
207 |
jeremybenn |
/* uart-dummy.c. UART dummy initialization function.
|
2 |
|
|
|
3 |
|
|
Copyright (C) 2004, Jacob Bower
|
4 |
|
|
Copyright (C) 2010, Embecosm Limited <info@embecosm.com>
|
5 |
|
|
|
6 |
|
|
Contributor Jeremy Bennett <jeremy.bennett@embecosm.com>
|
7 |
|
|
|
8 |
|
|
This file is part of Newlib.
|
9 |
|
|
|
10 |
|
|
The original work by Jacob Bower is provided as-is without any kind of
|
11 |
|
|
warranty. Use it at your own risk!
|
12 |
|
|
|
13 |
|
|
All subsequent work is bound by version 3 of the GPL as follows.
|
14 |
|
|
|
15 |
|
|
This program is free software; you can redistribute it and/or modify it
|
16 |
|
|
under the terms of the GNU General Public License as published by the Free
|
17 |
|
|
Software Foundation; either version 3 of the License, or (at your option)
|
18 |
|
|
any later version.
|
19 |
|
|
|
20 |
|
|
This program is distributed in the hope that it will be useful, but WITHOUT
|
21 |
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
22 |
|
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
23 |
|
|
more details.
|
24 |
|
|
|
25 |
|
|
You should have received a copy of the GNU General Public License along
|
26 |
|
|
with this program. If not, see <http:#www.gnu.org/licenses/>. */
|
27 |
|
|
/* -------------------------------------------------------------------------- */
|
28 |
|
|
/* This program is commented throughout in a fashion suitable for processing
|
29 |
|
|
with Doxygen. */
|
30 |
|
|
/* -------------------------------------------------------------------------- */
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
/* -------------------------------------------------------------------------- */
|
34 |
|
|
/*!Dummy UART initialization.
|
35 |
|
|
|
36 |
|
|
To allow the same crt0 to be used with or without a UART, we provide a
|
37 |
|
|
dummy UART initialization, which can be called when the UART is not
|
38 |
|
|
actually present.
|
39 |
|
|
|
40 |
|
|
It does nothing!
|
41 |
|
|
/* -------------------------------------------------------------------------- */
|
42 |
|
|
void
|
43 |
|
|
_uart_init ()
|
44 |
|
|
{
|
45 |
|
|
} /* _uart_init () */
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.