Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13ea55b0 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Russell King
Browse files

[ARM] 4301/1: add mach type cc9p9360js



The support for that machine is not yet complete, but it's enough to
be useful as a test platform for the serial and ethernet driver.

Moreover a typo in the product name is fixed that I missed in the
last patch.

Signed-off-by: default avatarUwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent f86bd61f
Loading
Loading
Loading
Loading
+13 −2
Original line number Original line Diff line number Diff line
@@ -10,12 +10,23 @@ config MACH_CC9P9360DEV
	  Say Y here if you are using the Digi ConnectCore 9P 9360
	  Say Y here if you are using the Digi ConnectCore 9P 9360
	  on an A9M9750 Development Board.
	  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
config PROCESSOR_NS9360
	bool
	bool


config BOARD_A9M9750DEV
config BOARD_A9M9750DEV
	bool
	bool


config BOARD_JSCC9P9360
	bool

endmenu
endmenu


endif
endif
+1 −0
Original line number Original line Diff line number Diff line
@@ -3,3 +3,4 @@ obj-y := irq.o time.o generic.o
obj-$(CONFIG_MACH_CC9P9360DEV) += mach-cc9p9360dev.o
obj-$(CONFIG_MACH_CC9P9360DEV) += mach-cc9p9360dev.o


obj-$(CONFIG_BOARD_A9M9750DEV) += board-a9m9750dev.o
obj-$(CONFIG_BOARD_A9M9750DEV) += board-a9m9750dev.o
obj-$(CONFIG_BOARD_JSCC9P9360) += board-jscc9p9360.o
+17 −0
Original line number Original line Diff line number Diff line
/*
 * 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 −0
Original line number Original line Diff line number Diff line
/*
 * 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 −0
Original line number Original line Diff line number Diff line
/*
 * 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
Loading