summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31
diff options
context:
space:
mode:
authorWill Robertson <aliask@rockbox.org>2008-02-19 14:15:59 +0000
committerWill Robertson <aliask@rockbox.org>2008-02-19 14:15:59 +0000
commitbc4621499add05e8167a5a4ff2a587cb1092fdf9 (patch)
tree247e4e5e95cfc6ed1bcabe27b03c46817fa2bdd8 /firmware/target/arm/imx31
parented4a63505872d5c57407a4c27935b500708189a2 (diff)
downloadrockbox-bc4621499add05e8167a5a4ff2a587cb1092fdf9.tar.gz
rockbox-bc4621499add05e8167a5a4ff2a587cb1092fdf9.zip
Bring the IMX31 serial driver in line with the CONTRIBUTING guidelines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16352 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx31')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/serial-imx31.h23
1 files changed, 21 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/serial-imx31.h b/firmware/target/arm/imx31/gigabeat-s/serial-imx31.h
index 62babe0abf..c4e7578921 100644
--- a/firmware/target/arm/imx31/gigabeat-s/serial-imx31.h
+++ b/firmware/target/arm/imx31/gigabeat-s/serial-imx31.h
@@ -1,11 +1,30 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2007 by James Espinoza
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
1#ifndef SERIAL_IMX31_H 20#ifndef SERIAL_IMX31_H
2#define SERIAL_IMX31_H 21#define SERIAL_IMX31_H
3 22
4#include <stdarg.h> 23#include <stdarg.h>
5#include <stdio.h> 24#include <stdio.h>
6 25
7int Tx_Rdy(void); 26int tx_rdy(void);
8void Tx_Writec(const char c); 27void tx_writec(const char c);
9void dprintf(const char * str, ... ); 28void dprintf(const char * str, ... );
10 29
11#endif 30#endif