Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54019
b: refs/heads/master
c: 13ea55b
h: refs/heads/master
i:
  54017: d6c49a5
  54015: c905af7
v: v3
  • Loading branch information
Uwe Kleine-König authored and Russell King committed Apr 21, 2007
1 parent 03201bf commit 72ac3c0
Show file tree
Hide file tree
Showing 8 changed files with 78 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f86bd61fd70af02e666a893aaf22653181423e99
refs/heads/master: 13ea55b04eaafb60cd7df759c8d92566d1f19351
15 changes: 13 additions & 2 deletions trunk/arch/arm/mach-ns9xxx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,30 @@ if ARCH_NS9XXX
menu "NS9xxx Implementations"

config MACH_CC9P9360DEV
bool "Connect Core 9P 9360 on an A9M9750 Devboard"
bool "ConnectCore 9P 9360 on an A9M9750 Devboard"
select PROCESSOR_NS9360
select BOARD_A9M9750DEV
help
Say Y here if you are using the Digi Connect Core 9P 9360
Say Y here if you are using the Digi ConnectCore 9P 9360
on an A9M9750 Development Board.

config MACH_CC9P9360JS
bool "ConnectCore 9P 9360 on a JSCC9P9360 Devboard"
select PROCESSOR_NS9360
select BOARD_JSCC9P9360
help
Say Y here if you are using the Digi ConnectCore 9P 9360
on an JSCC9P9360 Development Board.

config PROCESSOR_NS9360
bool

config BOARD_A9M9750DEV
bool

config BOARD_JSCC9P9360
bool

endmenu

endif
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-ns9xxx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ obj-y := irq.o time.o generic.o
obj-$(CONFIG_MACH_CC9P9360DEV) += mach-cc9p9360dev.o

obj-$(CONFIG_BOARD_A9M9750DEV) += board-a9m9750dev.o
obj-$(CONFIG_BOARD_JSCC9P9360) += board-jscc9p9360.o
17 changes: 17 additions & 0 deletions trunk/arch/arm/mach-ns9xxx/board-jscc9p9360.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* arch/arm/mach-ns9xxx/board-jscc9p9360.c
*
* Copyright (C) 2006,2007 by Digi International Inc.
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*/
#include "board-jscc9p9360.h"

void __init board_jscc9p9360_init_machine(void)
{
/* TODO: reserve GPIOs for push buttons, etc pp */
}

13 changes: 13 additions & 0 deletions trunk/arch/arm/mach-ns9xxx/board-jscc9p9360.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
* arch/arm/mach-ns9xxx/board-jscc9p9360.h
*
* Copyright (C) 2006 by Digi International Inc.
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*/
#include <linux/init.h>

void __init board_jscc9p9360_init_machine(void);
29 changes: 29 additions & 0 deletions trunk/arch/arm/mach-ns9xxx/mach-cc9p9360js.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* arch/arm/mach-ns9xxx/mach-cc9p9360js.c
*
* Copyright (C) 2006 by Digi International Inc.
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*/
#include <asm/mach/arch.h>
#include <asm/mach-types.h>

#include "board-jscc9p9360.h"
#include "generic.h"

static void __init mach_cc9p9360js_init_machine(void)
{
ns9xxx_init_machine();
board_jscc9p9360_init_machine();
}

MACHINE_START(CC9P9360DEV, "Digi ConnectCore 9P 9360 on an JSCC9P9360 Devboard")
.map_io = ns9xxx_map_io,
.init_irq = ns9xxx_init_irq,
.init_machine = mach_cc9p9360js_init_machine,
.timer = &ns9xxx_timer,
.boot_params = 0x100,
MACHINE_END
2 changes: 2 additions & 0 deletions trunk/include/asm-arm/arch-ns9xxx/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@

#define board_is_a9m9750dev() (machine_is_cc9p9360dev())

#define board_is_jscc9p9360() (machine_is_cc9p9360js())

#endif /* ifndef __ASM_ARCH_BOARD_H */
3 changes: 2 additions & 1 deletion trunk/include/asm-arm/arch-ns9xxx/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

#include <asm/mach-types.h>

#define processor_is_ns9360() (machine_is_cc9p9360dev())
#define processor_is_ns9360() (machine_is_cc9p9360dev() \
|| machine_is_cc9p9360js())

#endif /* ifndef __ASM_ARCH_PROCESSOR_H */

0 comments on commit 72ac3c0

Please sign in to comment.