summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.0/990-fix-early_printk.patch
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-10 15:13:46 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-10 15:13:46 +0000
commiteac20bee29a59c0527af99876295984b61f6b955 (patch)
tree0f8c817f0dfc9ae67a7e62306b3070c4b4c8f1c0 /target/linux/lantiq/patches-3.0/990-fix-early_printk.patch
parent001373d3bc5f5e7be6c83da0a6b476b668878969 (diff)
[lantiq]
* update patches to 3.0 * add basic vr9 support * backport 3.1 fixes * backport 3.2 queue (falcon) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28405 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-3.0/990-fix-early_printk.patch')
-rw-r--r--target/linux/lantiq/patches-3.0/990-fix-early_printk.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/target/linux/lantiq/patches-3.0/990-fix-early_printk.patch b/target/linux/lantiq/patches-3.0/990-fix-early_printk.patch
deleted file mode 100644
index 3b3b85690..000000000
--- a/target/linux/lantiq/patches-3.0/990-fix-early_printk.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/arch/mips/lantiq/early_printk.c
-+++ b/arch/mips/lantiq/early_printk.c
-@@ -20,7 +20,12 @@
- #endif
- #define ASC_BUF 1024
- #define LTQ_ASC_FSTAT ((u32 *)(LTQ_ASC_BASE + 0x0048))
--#define LTQ_ASC_TBUF ((u32 *)(LTQ_ASC_BASE + 0x0020))
-+#ifdef __BIG_ENDIAN
-+#define LTQ_ASC_TBUF ((u8 *)(LTQ_ASC_BASE + 0x0023))
-+#else
-+#define LTQ_ASC_TBUF ((u8 *)(LTQ_ASC_BASE + 0x0020))
-+#endif
-+
- #define TXMASK 0x3F00
- #define TXOFFSET 8
-
-@@ -30,8 +35,6 @@ void prom_putchar(char c)
-
- local_irq_save(flags);
- do { } while ((ltq_r32(LTQ_ASC_FSTAT) & TXMASK) >> TXOFFSET);
-- if (c == '\n')
-- ltq_w32('\r', LTQ_ASC_TBUF);
-- ltq_w32(c, LTQ_ASC_TBUF);
-+ ltq_w8(c, LTQ_ASC_TBUF);
- local_irq_restore(flags);
- }