linux-mips
[Top] [All Lists]

Re: [PATCH -queue 2/2] [loongson] Cleanup the serial port support

To: Wu Zhangjin <wuzhangjin@gmail.com>
Subject: Re: [PATCH -queue 2/2] [loongson] Cleanup the serial port support
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 6 Nov 2009 13:50:30 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <e87bb620cae987f747311920dffd99daf75b1f1f.1257503696.git.wuzhangjin@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cover.1257503696.git.wuzhangjin@gmail.com> <e87bb620cae987f747311920dffd99daf75b1f1f.1257503696.git.wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.19 (2009-01-05)
On Fri, Nov 06, 2009 at 06:35:34PM +0800, Wu Zhangjin wrote:

> To share the same kernel image amon different machines, we have added
> the machtype command line support.
> 
> but in the old serial port implementation, we have hardcoded the uart
> base address as a macro in machine.h, which will break the intention of
> machtype. this patch fixes it, and also move the initialization of uart
> base address to uart_base.c to avoid remapping twice for early_printk.c
> and serial.c.
> 
> Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>

Thanks, queued for 2.6.33.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>