projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
I have new e-mail address. Thanks to Kaloz ;)
[openwrt.git]
/
target
/
linux
/
adm5120-2.6
/
image
/
lzma-loader
/
src
/
board.c
diff --git
a/target/linux/adm5120-2.6/image/lzma-loader/src/board.c
b/target/linux/adm5120-2.6/image/lzma-loader/src/board.c
index
baffe04
..
22317f9
100644
(file)
--- a/
target/linux/adm5120-2.6/image/lzma-loader/src/board.c
+++ b/
target/linux/adm5120-2.6/image/lzma-loader/src/board.c
@@
-2,7
+2,7
@@
* ADM5120 specific board support for LZMA decompressor
*
* Copyright (C) 2007 OpenWrt.org
* ADM5120 specific board support for LZMA decompressor
*
* Copyright (C) 2007 OpenWrt.org
- * Copyright (C) 2007 Gabor Juhos <juhosg
@freemail.hu
>
+ * Copyright (C) 2007 Gabor Juhos <juhosg
at openwrt.org
>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-121,15
+121,6
@@
static void uart_init(void)
#endif
}
#endif
}
-static void uart_putc(int ch)
-{
- while ((UART_READ(UART_REG_FLAG) & UART_FLAG_TXFE) == 0);
-
- UART_WRITE(UART_REG_DATA, ch);
-
- while ((UART_READ(UART_REG_FLAG) & UART_FLAG_TXFE) == 0);
-}
-
/*
* INTC routines
*/
/*
* INTC routines
*/
@@
-170,12
+161,13
@@
static void switch_init(void)
SWITCH_WRITE(SWITCH_REG_PORT4_LED, 0);
}
SWITCH_WRITE(SWITCH_REG_PORT4_LED, 0);
}
-/*
- * routines needed by decompress.c
- */
void board_putc(int ch)
{
void board_putc(int ch)
{
- uart_putc(ch);
+ while ((UART_READ(UART_REG_FLAG) & UART_FLAG_TXFE) == 0);
+
+ UART_WRITE(UART_REG_DATA, ch);
+
+ while ((UART_READ(UART_REG_FLAG) & UART_FLAG_TXFE) == 0);
}
void board_init(void)
}
void board_init(void)
This page took
0.021077 seconds
and
4
git commands to generate.