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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/14/2010 12:12 PM, Manuel Lauss wrote:
> On Wed, Jul 14, 2010 at 11:59 AM, Wolfgang Grandegger <wg@xxxxxxxxxxxxxx> wrote:
>> From: Wolfgang Grandegger <wg@xxxxxxx>
>>
>> This patch adds basic support for the General Purpose Router (GPR)
>> board from Trapeze ITS.
>>
>> Signed-off-by: Wolfgang Grandegger <wg@xxxxxxx>
>> ---
>>  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.

I just re-sent v2 which is now based on the linux-queue git tree.

Thanks,

Wolfgang.



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux