Thread (11 messages) 11 messages, 3 authors, 2011-11-16

Re: [PATCH 1/8] MIPS: lantiq: fix early printk

From: Sergei Shtylyov <hidden>
Date: 2011-08-24 09:16:16

Hello.

On 24-08-2011 12:31, John Crispin wrote:
The code was using a 32bit write operation in the early_printk code. This
resulted in 3 zero bytes also being written to the serial port. Change the
memory access to 8bit.
Signed-off-by: Thomas Langer<redacted>
Signed-off-by: John Crispin<redacted>
Cc: linux-mips@linux-mips.org
---
  .../mips/include/asm/mach-lantiq/xway/lantiq_soc.h |    4 ++++
  arch/mips/lantiq/early_printk.c                    |   14 ++++++++------
  2 files changed, 12 insertions(+), 6 deletions(-)
quoted hunk ↗ jump to hunk
diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
index 8a3c6be..e6d1ca0 100644
--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
@@ -34,6 +34,10 @@
  #define LTQ_ASC1_BASE_ADDR	0x1E100C00
  #define LTQ_ASC_SIZE		0x400

+/* during early_printk no ioremap is possible
+   lets use KSEG1 instead  */
    The preferred style of multi-line comments is:

/*
  * bla
  * bla
  */

WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help