linux-mips
[Top] [All Lists]

Re: [PATCH] mips/alchemy: add basic support for the GPR board

To: Wolfgang Grandegger <wg@grandegger.com>
Subject: Re: [PATCH] mips/alchemy: add basic support for the GPR board
From: Manuel Lauss <manuel.lauss@googlemail.com>
Date: Wed, 14 Jul 2010 12:12:31 +0200
Cc: linux-mips@linux-mips.org, Wolfgang Grandegger <wg@denx.de>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LvEsJMwqbSTcg/hnFK5oDwPF2gJXX9w+PijR5kBwJTU=; b=C7SVrSQXwEH5WRq/mmO6GLW0tRCZ9l3lFGASTSSkZ+HubpY39mLQ6oqcD6bff1zcZx 4N7M079WoPGyZIjscJTCAVDXrQvkFUWNucQfASykNOt4eRhfko4XOaPlJAIeBPyyDNmQ 48sGU4wOlQycOvVinOPJOei3TlwKHdYTHPFg8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=n1QTzl6g6pRtcJIX97+69PvVUNusfBuN5g2RD7eSwIVO8wOk8k4NAK+kaVA0+Q6aMX 3qqWUk/mlfXptSYUBZPtP+WlEt5f6fznHglhRaNOSRvGCynxNXyzj7FI9mGrcPyuyoQc SYKhvCnSi5TgPFhXpEKmV+HIppVSlZ1d+vPzc=
In-reply-to: <1279101547-14498-1-git-send-email-wg@grandegger.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1279101547-14498-1-git-send-email-wg@grandegger.com>
Sender: linux-mips-bounce@linux-mips.org
On Wed, Jul 14, 2010 at 11:59 AM, Wolfgang Grandegger <wg@grandegger.com> wrote:
> From: Wolfgang Grandegger <wg@denx.de>
>
> This patch adds basic support for the General Purpose Router (GPR)
> board from Trapeze ITS.
>
> Signed-off-by: Wolfgang Grandegger <wg@denx.de>
> ---
>  arch/mips/Makefile                         |    6 +
>  arch/mips/alchemy/Kconfig                  |    9 +
>  arch/mips/alchemy/gpr/Makefile             |   11 +
>  arch/mips/alchemy/gpr/board_setup.c        |   97 ++
>  arch/mips/alchemy/gpr/init.c               |   63 +
>  arch/mips/alchemy/gpr/platform.c           |  185 +++
>  arch/mips/configs/gpr_defconfig            | 2062 
> ++++++++++++++++++++++++++++
>  arch/mips/include/asm/mach-au1x00/au1000.h |    2 +
>  8 files changed, 2435 insertions(+), 0 deletions(-)
>  create mode 100644 arch/mips/alchemy/gpr/Makefile
>  create mode 100644 arch/mips/alchemy/gpr/board_setup.c
>  create mode 100644 arch/mips/alchemy/gpr/init.c
>  create mode 100644 arch/mips/alchemy/gpr/platform.c
>  create mode 100644 arch/mips/configs/gpr_defconfig
>
> diff --git a/arch/mips/Makefile b/arch/mips/Makefile
> index 0b9c01a..6b81b9f 100644
> --- a/arch/mips/Makefile
> +++ b/arch/mips/Makefile
> @@ -325,6 +325,12 @@ load-$(CONFIG_MIPS_MTX1)   += 0xffffffff80100000
>  libs-$(CONFIG_MIPS_XXS1500)    += arch/mips/alchemy/xxs1500/
>  load-$(CONFIG_MIPS_XXS1500)    += 0xffffffff80100000
>
> +#
> +# Trapeze ITS GRP board
> +#
> +libs-$(CONFIG_MIPS_GPR)                += arch/mips/alchemy/gpr/
> +load-$(CONFIG_MIPS_GPR)                += 0xffffffff80100000
> +

Have a look at the current mips-queue tree: theres a new way to hook up
boards with Platform files.


> --- a/arch/mips/include/asm/mach-au1x00/au1000.h
> +++ b/arch/mips/include/asm/mach-au1x00/au1000.h
> @@ -994,6 +994,8 @@ enum soc_au1200_ints {
>
>  #ifdef CONFIG_SOC_AU1550
>  #define UART0_ADDR             0xB1100000
> +#define UART1_ADDR             0xB1200000
> +#define UART3_ADDR             0xB1400000

Please don't add those back, I'm trying to get rid of them.  Use something
like "KSEG1ADDR(UART1_PHYS_ADDR)" in the init code where you enable
uarts 1 and 3.

Thanks!
        Manuel Lauss

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