diff options
author | John Crispin <john@openwrt.org> | 2011-11-03 15:15:52 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2011-11-03 15:15:52 +0000 |
commit | ea36ad76bcf0043d137da37ea1aee7bded76f5a2 (patch) | |
tree | f75ee0417c813ac599e78048c15bdd5f4ffacb82 /target/linux/lantiq/patches-2.6.39/990-fix-early_printk.patch | |
parent | d8722fac7046020715c41106df28371f3f521132 (diff) | |
download | upstream-ea36ad76bcf0043d137da37ea1aee7bded76f5a2.tar.gz upstream-ea36ad76bcf0043d137da37ea1aee7bded76f5a2.tar.bz2 upstream-ea36ad76bcf0043d137da37ea1aee7bded76f5a2.zip |
lantiq: bump to 3.1
SVN-Revision: 28721
Diffstat (limited to 'target/linux/lantiq/patches-2.6.39/990-fix-early_printk.patch')
-rw-r--r-- | target/linux/lantiq/patches-2.6.39/990-fix-early_printk.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/target/linux/lantiq/patches-2.6.39/990-fix-early_printk.patch b/target/linux/lantiq/patches-2.6.39/990-fix-early_printk.patch deleted file mode 100644 index 3b3b856907..0000000000 --- a/target/linux/lantiq/patches-2.6.39/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); - } |