Skip to contentSkip to conversation

ARM: aaec2000: remove support for mach-aaec2000

PATCH New Jamie Iles 4 participants 8 messages Jan 7, 2011 – Jan 21, 2011

Subsystems (2)
lore
Share & tools
lore

Jamie Iles

author
#0 lore raw

PATCH 1/1 ARM: aaec2000: remove support for mach-aaec2000

mach-aaec2000 is no longer actively maintained and is only receiving fixups to remain building with other kernel updates.

Cc Bellido Nicolas <[email protected]>
Cc Russell King <[email protected]>
---
 arch/arm/Kconfig                                  |   11 -
 arch/arm/Makefile                                 |    1 -
 arch/arm/mach-aaec2000/Kconfig                    |   11 -
 arch/arm/mach-aaec2000/Makefile                   |    9 -
 arch/arm/mach-aaec2000/Makefile.boot              |    1 -
 arch/arm/mach-aaec2000/aaed2000.c                 |  102 -------
 arch/arm/mach-aaec2000/core.c                     |  298 ---------------------
 arch/arm/mach-aaec2000/core.h                     |   28 --
 arch/arm/mach-aaec2000/include/mach/aaec2000.h    |  207 --------------
 arch/arm/mach-aaec2000/include/mach/aaed2000.h    |   40 ---
 arch/arm/mach-aaec2000/include/mach/debug-macro.S |   35 ---
 arch/arm/mach-aaec2000/include/mach/entry-macro.S |   40 ---
 arch/arm/mach-aaec2000/include/mach/hardware.h    |   50 ----
 arch/arm/mach-aaec2000/include/mach/io.h          |   18 --
 arch/arm/mach-aaec2000/include/mach/irqs.h        |   46 ----
 arch/arm/mach-aaec2000/include/mach/memory.h      |   17 --
 arch/arm/mach-aaec2000/include/mach/system.h      |   24 --
 arch/arm/mach-aaec2000/include/mach/timex.h       |   18 --
 arch/arm/mach-aaec2000/include/mach/uncompress.h  |   46 ----
 arch/arm/mach-aaec2000/include/mach/vmalloc.h     |   16 --
 20 files changed, 0 insertions(+), 1018 deletions(-)
 delete mode 100644 arch/arm/mach-aaec2000/Kconfig
 delete mode 100644 arch/arm/mach-aaec2000/Makefile
 delete mode 100644 arch/arm/mach-aaec2000/Makefile.boot
 delete mode 100644 arch/arm/mach-aaec2000/aaed2000.c
 delete mode 100644 arch/arm/mach-aaec2000/core.c
 delete mode 100644 arch/arm/mach-aaec2000/core.h
 delete mode 100644 arch/arm/mach-aaec2000/include/mach/aaec2000.h
 delete mode 100644 arch/arm/mach-aaec2000/include/mach/aaed2000.h
 delete mode 100644 arch/arm/mach-aaec2000/include/mach/debug-macro.S
 delete mode 100644 arch/arm/mach-aaec2000/include/mach/entry-macro.S
 delete mode 100644 arch/arm/mach-aaec2000/include/mach/hardware.h
 delete mode 100644 arch/arm/mach-aaec2000/include/mach/io.h
 delete mode 100644 arch/arm/mach-aaec2000/include/mach/irqs.h
 delete mode 100644 arch/arm/mach-aaec2000/include/mach/memory.h
 delete mode 100644 arch/arm/mach-aaec2000/include/mach/system.h
 delete mode 100644 arch/arm/mach-aaec2000/include/mach/timex.h
 delete mode 100644 arch/arm/mach-aaec2000/include/mach/uncompress.h
 delete mode 100644 arch/arm/mach-aaec2000/include/mach/vmalloc.h
arch/arm/Kconfig +0 -11
index e0b40ae..985f98d 100644
@@ -217,15 +217,6 @@ choice
 	prompt "ARM system type"
 	default ARCH_VERSATILE
 
-config ARCH_AAEC2000
-	bool "Agilent AAEC-2000 based"
-	select CPU_ARM920T
-	select ARM_AMBA
-	select HAVE_CLK
-	select ARCH_USES_GETTIMEOFFSET
-	help
-	  This enables support for systems based on the Agilent AAEC-2000
-
 config ARCH_INTEGRATOR
 	bool "ARM Ltd. Integrator family"
 	select ARM_AMBA
@@ -886,8 +877,6 @@ endchoice
 # Kconfigs may be included either alphabetically (according to the
 # plat- suffix) or along side the corresponding mach-* source.
 #
-source "arch/arm/mach-aaec2000/Kconfig"
-
 source "arch/arm/mach-at91/Kconfig"
 
 source "arch/arm/mach-bcmring/Kconfig"
arch/arm/Makefile +0 -1
index c22c1ad..3920939 100644
@@ -126,7 +126,6 @@ endif
 
 # Machine directory name.  This list is sorted alphanumerically
 # by CONFIG_* macro name.
-machine-$(CONFIG_ARCH_AAEC2000)		:= aaec2000
 machine-$(CONFIG_ARCH_AT91)		:= at91
 machine-$(CONFIG_ARCH_BCMRING)		:= bcmring
 machine-$(CONFIG_ARCH_CLPS711X)		:= clps711x
arch/arm/mach-aaec2000/Kconfig deleted +0 -11
deleted file mode 100644
index 5e4bef9..0000000
@@ -1,11 +0,0 @@
-if ARCH_AAEC2000
-
-menu "Agilent AAEC-2000 Implementations"
-
-config MACH_AAED2000
-	bool "Agilent AAED-2000 Development Platform"
-	select CPU_ARM920T
-
-endmenu
-
-endif
arch/arm/mach-aaec2000/Makefile deleted +0 -9
deleted file mode 100644
index 20ec838..0000000
@@ -1,9 +0,0 @@
-#
-# Makefile for the linux kernel.
-#
-
-# Common support (must be linked before board specific support)
-obj-y += core.o
-
-# Specific board support
-obj-$(CONFIG_MACH_AAED2000) += aaed2000.o
arch/arm/mach-aaec2000/Makefile.boot deleted +0 -1
deleted file mode 100644
index 8f5a8b7..0000000
@@ -1 +0,0 @@
-	zreladdr-y := 0xf0008000
arch/arm/mach-aaec2000/aaed2000.c deleted +0 -102

102 lines not on this page · raw message

arch/arm/mach-aaec2000/core.c deleted +0 -298

298 lines not on this page · raw message

arch/arm/mach-aaec2000/core.h deleted +0 -28
deleted file mode 100644
index 59501b5..0000000
@@ -1,28 +0,0 @@
-/*
- *  linux/arch/arm/mach-aaec2000/core.h
- *
- *  Copyright (c) 2005 Nicolas Bellido Y Ortega
- *
- *  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/amba/bus.h>
-#include <linux/amba/clcd.h>
-
-struct sys_timer;
-
-extern struct sys_timer aaec2000_timer;
-extern void __init aaec2000_map_io(void);
-extern void __init aaec2000_init_irq(void);
-
-struct aaec2000_clcd_info {
-	struct clcd_panel panel;
-	void (*disable)(struct clcd_fb *);
-	void (*enable)(struct clcd_fb *);
-};
-
-extern void __init aaec2000_set_clcd_plat_data(struct aaec2000_clcd_info *);
-
arch/arm/mach-aaec2000/include/mach/aaec2000.h deleted +0 -207

207 lines not on this page · raw message

arch/arm/mach-aaec2000/include/mach/aaed2000.h deleted +0 -40
deleted file mode 100644
index f821295..0000000
@@ -1,40 +0,0 @@
-/*
- *  arch/arm/mach-aaec2000/include/mach/aaed2000.h
- *
- *  AAED-2000 specific bits definition
- *
- *  Copyright (c) 2005 Nicolas Bellido Y Ortega
- *
- *  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.
- */
-
-#ifndef __ASM_ARCH_AAED2000_H
-#define __ASM_ARCH_AAED2000_H
-
-/* External GPIOs. */
-
-#define EXT_GPIO_PBASE	AAEC_CS3
-#define EXT_GPIO_VBASE	0xf8100000
-#define EXT_GPIO_LENGTH	0x00001000
-
-#define __ext_gpio_p2v(x)	((x) - EXT_GPIO_PBASE + EXT_GPIO_VBASE)
-#define __ext_gpio_v2p(x)	((x) + EXT_GPIO_PBASE - EXT_GPIO_VBASE)
-
-#define __EXT_GPIO_REG(x)	(*((volatile u32 *)__ext_gpio_p2v(x)))
-#define __EXT_GPIO_PREG(x)	(__ext_gpio_v2p((u32)&(x)))
-
-#define AAED_EXT_GPIO	__EXT_GPIO_REG(EXT_GPIO_PBASE)
-
-#define AAED_EGPIO_KBD_SCAN	0x00003fff /* Keyboard scan data */
-#define AAED_EGPIO_PWR_INT	0x00008fff /* Smart battery charger interrupt */
-#define AAED_EGPIO_SWITCHED	0x000f0000 /* DIP Switches */
-#define AAED_EGPIO_USB_VBUS	0x00400000 /* USB Vbus sense */
-#define AAED_EGPIO_LCD_PWR_EN	0x02000000 /* LCD and backlight PWR enable */
-#define AAED_EGPIO_nLED0	0x20000000 /* LED 0 */
-#define AAED_EGPIO_nLED1	0x20000000 /* LED 1 */
-#define AAED_EGPIO_nLED2	0x20000000 /* LED 2 */
-
-
-#endif /* __ARM_ARCH_AAED2000_H */
arch/arm/mach-aaec2000/include/mach/debug-macro.S deleted +0 -35
deleted file mode 100644
index bc7ad55..0000000
@@ -1,35 +0,0 @@
-/*  arch/arm/mach-aaec2000/include/mach/debug-macro.S
- *
- *  Debugging macro include header
- *
- *  Copyright (c) 2005 Nicolas Bellido Y Ortega
- *
- *  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 "hardware.h"
-		.macro	addruart, rp, rv
-		mov	\rp, 0x00000800
-		orr	\rv, \rp, #io_p2v(0x80000000)	@ virtual
-		orr	\rp, \rp, #0x80000000		@ physical
-		.endm
-
-		.macro	senduart,rd,rx
-		str	\rd, [\rx, #0]
-		.endm
-
-		.macro	busyuart,rd,rx
-1002:		ldr	\rd, [\rx, #0x10]
-		tst	\rd, #(1 << 7)
-		beq	1002b
-		.endm
-
-		.macro	waituart,rd,rx
-#if 0
-1001:		ldr	\rd, [\rx, #0x10]
-		tst	\rd, #(1 << 5)
-		beq	1001b
-#endif
-		.endm
arch/arm/mach-aaec2000/include/mach/entry-macro.S deleted +0 -40
deleted file mode 100644
index c8fb344..0000000
@@ -1,40 +0,0 @@
-/*
- *  arch/arm/mach-aaec2000/include/mach/entry-macro.S
- *
- *  Low-level IRQ helper for aaec-2000 based platforms
- *
- *  Copyright (c) 2005 Nicolas Bellido Y Ortega
- *
- *  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 <mach/irqs.h>
-
-		.macro	disable_fiq
-		.endm
-
-		.macro  get_irqnr_preamble, base, tmp
-		.endm
-
-		.macro  arch_ret_to_user, tmp1, tmp2
-		.endm
-
-		.macro	get_irqnr_and_base, irqnr, irqstat, base, tmp
-		mov	r4, #0xf8000000
-		add	r4, r4, #0x00000500
-		mov	\base, r4
-		ldr	\irqstat, [\base, #0]
-		cmp	\irqstat, #0
-		bne	1001f
-		ldr	\irqnr, =NR_IRQS+1
-		b       1003f
-1001:		mov	\irqnr, #0
-1002:		ands	\tmp, \irqstat, #1
-		mov	\irqstat, \irqstat, LSR #1
-		add	\irqnr, \irqnr, #1
-		beq	1002b
-		sub	\irqnr, \irqnr, #1
-1003:
-		.endm
arch/arm/mach-aaec2000/include/mach/hardware.h deleted +0 -50

50 lines not on this page · raw message

arch/arm/mach-aaec2000/include/mach/io.h deleted +0 -18
deleted file mode 100644
index ab4fe5d..0000000
@@ -1,18 +0,0 @@
-/*
- *  arch/arm/mach-aaec2000/include/mach/io.h
- *
- *  Copied from asm/arch/sa1100/io.h
- */
-#ifndef __ASM_ARM_ARCH_IO_H
-#define __ASM_ARM_ARCH_IO_H
-
-#define IO_SPACE_LIMIT 0xffffffff
-
-/*
- * We don't actually have real ISA nor PCI buses, but there is so many
- * drivers out there that might just work if we fake them...
- */
-#define __io(a)		__typesafe_io(a)
-#define __mem_pci(a)	(a)
-
-#endif
arch/arm/mach-aaec2000/include/mach/irqs.h deleted +0 -46

46 lines not on this page · raw message

arch/arm/mach-aaec2000/include/mach/memory.h deleted +0 -17
deleted file mode 100644
index 4f93c56..0000000
@@ -1,17 +0,0 @@
-/*
- *  arch/arm/mach-aaec2000/include/mach/memory.h
- *
- *  Copyright (c) 2005 Nicolas Bellido Y Ortega
- *
- *  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.
- */
-
-#ifndef __ASM_ARCH_MEMORY_H
-#define __ASM_ARCH_MEMORY_H
-
-
-#define PHYS_OFFSET	UL(0xf0000000)
-
-#endif /* __ASM_ARCH_MEMORY_H */
arch/arm/mach-aaec2000/include/mach/system.h deleted +0 -24
deleted file mode 100644
index fe08ca1..0000000
@@ -1,24 +0,0 @@
-/*
- *  arch/arm/mach-aaed2000/include/mach/system.h
- *
- *  Copyright (c) 2005 Nicolas Bellido Y Ortega
- *
- *  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.
- */
-
-#ifndef __ASM_ARCH_SYSTEM_H
-#define __ASM_ARCH_SYSTEM_H
-
-static inline void arch_idle(void)
-{
-	cpu_do_idle();
-}
-
-static inline void arch_reset(char mode, const char *cmd)
-{
-	cpu_reset(0);
-}
-
-#endif /* __ASM_ARCH_SYSTEM_H */
arch/arm/mach-aaec2000/include/mach/timex.h deleted +0 -18
deleted file mode 100644
index 6c8edf4..0000000
@@ -1,18 +0,0 @@
-/*
- *  arch/arm/mach-aaec2000/include/mach/timex.h
- *
- *  AAEC-2000 Architecture timex specification
- *
- *  Copyright (c) 2005 Nicolas Bellido Y Ortega
- *
- *  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.
- */
-
-#ifndef __ASM_ARCH_TIMEX_H
-#define __ASM_ARCH_TIMEX_H
-
-#define CLOCK_TICK_RATE		508000
-
-#endif /* __ASM_ARCH_TIMEX_H */
arch/arm/mach-aaec2000/include/mach/uncompress.h deleted +0 -46

46 lines not on this page · raw message

arch/arm/mach-aaec2000/include/mach/vmalloc.h deleted +0 -16
deleted file mode 100644
index a6299e8..0000000
@@ -1,16 +0,0 @@
-/*
- *  arch/arm/mach-aaec2000/include/mach/vmalloc.h
- *
- *  Copyright (c) 2005 Nicolas Bellido Y Ortega
- *
- *  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.
- */
-
-#ifndef __ASM_ARCH_VMALLOC_H
-#define __ASM_ARCH_VMALLOC_H
-
-#define VMALLOC_END		0xd0000000UL
-
-#endif /* __ASM_ARCH_VMALLOC_H */
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/1 ARM: aaec2000: remove support for mach-aaec2000

Quoted 3 lines · Jamie Iles

mach-aaec2000 is no longer actively maintained and is only receiving fixups to remain building with other kernel updates.

What about the MACH_AAED2000 specific drivers? The only one I see is:

drivers/input/keyboard/aaed2000_kbd.c

Regards,
Hartley

author
#2 lore raw

PATCH 1/1 ARM: aaec2000: remove support for mach-aaec2000

Quoted 8 lines · H Hartley Sweeten
Quoted 3 lines · Jamie Iles

mach-aaec2000 is no longer actively maintained and is only receiving fixups to remain building with other kernel updates.

What about the MACH_AAED2000 specific drivers? The only one I see is:

drivers/input/keyboard/aaed2000_kbd.c

Hi Hartley,

Yes, you're quite right. I was grepping for AAEC2000 and missed this one.

Russell, given your post earlier about the ARM pull last night, should this removal go through the input tree?

Jamie

#3 lore raw

PATCH 1/1 ARM: aaec2000: remove support for mach-aaec2000

Quoted 10 lines · Jamie Iles
Quoted 8 lines · H Hartley Sweeten
Quoted 3 lines · Jamie Iles

mach-aaec2000 is no longer actively maintained and is only receiving fixups to remain building with other kernel updates.

What about the MACH_AAED2000 specific drivers? The only one I see is:

drivers/input/keyboard/aaed2000_kbd.c

Quoted 8 lines

Hi Hartley,

Yes, you're quite right. I was grepping for AAEC2000 and missed this one.

Russell, given your post earlier about the ARM pull last night, should this removal go through the input tree?

I'll take it.

Thanks.

Signature · 1 line
Dmitry
#4 lore raw

PATCH 1/1 ARM: aaec2000: remove support for mach-aaec2000

In reply to Jamie Iles
Quoted 6 lines · Jamie Iles

mach-aaec2000 is no longer actively maintained and is only receiving fixups to remain building with other kernel updates.

Cc Bellido Nicolas <[email protected]>
Cc Russell King <[email protected]>

Okay, could you send the two patches to the patch system and I'll add it to a 'remove' branch (which now has lh7a40x in as well) for 2.6.39.

Thanks.

author
#5 lore raw

PATCH 1/1 ARM: aaec2000: remove support for mach-aaec2000

Quoted 10 lines · Russell King - ARM Linux
Quoted 6 lines · Jamie Iles

mach-aaec2000 is no longer actively maintained and is only receiving fixups to remain building with other kernel updates.

Cc Bellido Nicolas <[email protected]>
Cc Russell King <[email protected]>

Okay, could you send the two patches to the patch system and I'll add it to a 'remove' branch (which now has lh7a40x in as well) for 2.6.39.

Dmitry has taken the keyboard driver into his tree so I've just submitted the mach removal one to the patch system.

Jamie

#6 lore raw

PATCH 1/1 ARM: aaec2000: remove support for mach-aaec2000

Quoted 9 lines · Jamie Iles
Quoted 8 lines · Russell King - ARM Linux
Quoted 6 lines · Jamie Iles

mach-aaec2000 is no longer actively maintained and is only receiving fixups to remain building with other kernel updates.

Cc Bellido Nicolas <[email protected]>
Cc Russell King <[email protected]>
Quoted 5 lines
Quoted 2 lines

Okay, could you send the two patches to the patch system and I'll add it to a 'remove' branch (which now has lh7a40x in as well) for 2.6.39.

Dmitry has taken the keyboard driver into his tree so I've just submitted the mach removal one to the patch system.

I suggest basing it against mainline rather than my devel branch, otherwise it'll have to sit on top of the p2v code (and I'd rather not have it depend on other stuff.) I'll modify the p2v stuff to avoid the conflicts.

author
#7 lore raw

PATCH 1/1 ARM: aaec2000: remove support for mach-aaec2000

Quoted 13 lines · Russell King - ARM Linux
Quoted 12 lines · Jamie Iles
Quoted 10 lines · Russell King - ARM Linux
Quoted 6 lines · Jamie Iles

mach-aaec2000 is no longer actively maintained and is only receiving fixups to remain building with other kernel updates.

Cc Bellido Nicolas <[email protected]>
Cc Russell King <[email protected]>

Okay, could you send the two patches to the patch system and I'll add it to a 'remove' branch (which now has lh7a40x in as well) for 2.6.39.

Quoted 7 lines
Quoted 2 lines

Dmitry has taken the keyboard driver into his tree so I've just submitted the mach removal one to the patch system.

I suggest basing it against mainline rather than my devel branch, otherwise it'll have to sit on top of the p2v code (and I'd rather not have it depend on other stuff.) I'll modify the p2v stuff to avoid the conflicts.

Ok, no problem. Resubmitted based of 2.6.38-rc1.

Jamie