diff options
Diffstat (limited to 'arch/arm/mach-shark/include')
| -rw-r--r-- | arch/arm/mach-shark/include/mach/debug-macro.S | 33 | ||||
| -rw-r--r-- | arch/arm/mach-shark/include/mach/entry-macro.S | 41 | ||||
| -rw-r--r-- | arch/arm/mach-shark/include/mach/framebuffer.h | 16 | ||||
| -rw-r--r-- | arch/arm/mach-shark/include/mach/hardware.h | 22 | ||||
| -rw-r--r-- | arch/arm/mach-shark/include/mach/io.h | 20 | ||||
| -rw-r--r-- | arch/arm/mach-shark/include/mach/irqs.h | 13 | ||||
| -rw-r--r-- | arch/arm/mach-shark/include/mach/isa-dma.h | 13 | ||||
| -rw-r--r-- | arch/arm/mach-shark/include/mach/memory.h | 46 | ||||
| -rw-r--r-- | arch/arm/mach-shark/include/mach/system.h | 16 | ||||
| -rw-r--r-- | arch/arm/mach-shark/include/mach/timex.h | 7 | ||||
| -rw-r--r-- | arch/arm/mach-shark/include/mach/uncompress.h | 51 | ||||
| -rw-r--r-- | arch/arm/mach-shark/include/mach/vmalloc.h | 4 | 
12 files changed, 0 insertions, 282 deletions
diff --git a/arch/arm/mach-shark/include/mach/debug-macro.S b/arch/arm/mach-shark/include/mach/debug-macro.S deleted file mode 100644 index a473f55dc71..00000000000 --- a/arch/arm/mach-shark/include/mach/debug-macro.S +++ /dev/null @@ -1,33 +0,0 @@ -/* arch/arm/mach-shark/include/mach/debug-macro.S - * - * Debugging macro include header - * - *  Copyright (C) 1994-1999 Russell King - *  Moved from linux/arch/arm/kernel/debug.S by Ben Dooks - * - * 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. - * -*/ - -		.macro	addruart, rp, rv -		mov	\rp, #0xe0000000 -		orr	\rp, \rp, #0x000003f8 -		mov	\rv, \rp -		.endm - -		.macro	senduart,rd,rx -		strb	\rd, [\rx] -		.endm - -		.macro waituart,rd,rx -		.endm - -		.macro	busyuart,rd,rx -		mov	\rd, #0 -1001:		add	\rd, \rd, #1 -		teq	\rd, #0x10000 -		bne	1001b -		.endm - diff --git a/arch/arm/mach-shark/include/mach/entry-macro.S b/arch/arm/mach-shark/include/mach/entry-macro.S deleted file mode 100644 index e2853c0a333..00000000000 --- a/arch/arm/mach-shark/include/mach/entry-macro.S +++ /dev/null @@ -1,41 +0,0 @@ -/* - * arch/arm/mach-shark/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for Shark platform - * - * This file is licensed under  the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ -		.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, #0xe0000000 - -		mov	\irqstat, #0x0C -		strb	\irqstat, [r4, #0x20]		@outb(0x0C, 0x20) /* Poll command */ -		ldrb	\irqnr, [r4, #0x20]		@irq = inb(0x20) & 7 -		and	\irqstat, \irqnr, #0x80 -		teq	\irqstat, #0 -		beq	43f -		and	\irqnr, \irqnr, #7 -		teq	\irqnr, #2 -		bne	44f -43:		mov	\irqstat, #0x0C -		strb	\irqstat, [r4, #0xa0]		@outb(0x0C, 0xA0) /* Poll command */ -		ldrb	\irqnr, [r4, #0xa0]		@irq = (inb(0xA0) & 7) + 8 -		and	\irqstat, \irqnr, #0x80 -		teq	\irqstat, #0 -		beq	44f -		and	\irqnr, \irqnr, #7 -		add	\irqnr, \irqnr, #8 -44:		teq	\irqstat, #0 -		.endm - diff --git a/arch/arm/mach-shark/include/mach/framebuffer.h b/arch/arm/mach-shark/include/mach/framebuffer.h deleted file mode 100644 index 84a5bf6e5ba..00000000000 --- a/arch/arm/mach-shark/include/mach/framebuffer.h +++ /dev/null @@ -1,16 +0,0 @@ -/* - * arch/arm/mach-shark/include/mach/framebuffer.h - * - * by Alexander Schulz - * - */ - -#ifndef __ASM_ARCH_FRAMEBUFFER_H -#define __ASM_ARCH_FRAMEBUFFER_H - -/* defines for the Framebuffer */ -#define FB_START		0x06000000 -#define FB_SIZE			0x01000000 - -#endif - diff --git a/arch/arm/mach-shark/include/mach/hardware.h b/arch/arm/mach-shark/include/mach/hardware.h deleted file mode 100644 index 94d84b27a0c..00000000000 --- a/arch/arm/mach-shark/include/mach/hardware.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * arch/arm/mach-shark/include/mach/hardware.h - * - * by Alexander Schulz - * - * derived from: - * arch/arm/mach-ebsa110/include/mach/hardware.h - * Copyright (C) 1996-1999 Russell King. - */ -#ifndef __ASM_ARCH_HARDWARE_H -#define __ASM_ARCH_HARDWARE_H - -#define UNCACHEABLE_ADDR        0xdf010000 - -#define pcibios_assign_all_busses()     1 - -#define PCIBIOS_MIN_IO          0x6000 -#define PCIBIOS_MIN_MEM         0x50000000 -#define PCIMEM_BASE		0xe8000000 - -#endif - diff --git a/arch/arm/mach-shark/include/mach/io.h b/arch/arm/mach-shark/include/mach/io.h deleted file mode 100644 index 9ccbcecc430..00000000000 --- a/arch/arm/mach-shark/include/mach/io.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - * arch/arm/mach-shark/include/mach/io.h - * - * by Alexander Schulz - * - * derived from: - * arch/arm/mach-ebsa110/include/mach/io.h - * Copyright (C) 1997,1998 Russell King - */ - -#ifndef __ASM_ARM_ARCH_IO_H -#define __ASM_ARM_ARCH_IO_H - -#define IO_SPACE_LIMIT 0xffffffff - -#define __io(a)                 ((void __iomem *)(0xe0000000 + (a))) - -#define __mem_pci(addr) (addr) - -#endif diff --git a/arch/arm/mach-shark/include/mach/irqs.h b/arch/arm/mach-shark/include/mach/irqs.h deleted file mode 100644 index c8e8a4e1f61..00000000000 --- a/arch/arm/mach-shark/include/mach/irqs.h +++ /dev/null @@ -1,13 +0,0 @@ -/* - * arch/arm/mach-shark/include/mach/irqs.h - * - * by Alexander Schulz - */ - -#define NR_IRQS			16 - -#define IRQ_ISA_KEYBOARD	 1 -#define IRQ_ISA_RTC_ALARM	 8 -#define I8042_KBD_IRQ		 1 -#define I8042_AUX_IRQ		12 -#define IRQ_HARDDISK            14 diff --git a/arch/arm/mach-shark/include/mach/isa-dma.h b/arch/arm/mach-shark/include/mach/isa-dma.h deleted file mode 100644 index 96c43b8f8dd..00000000000 --- a/arch/arm/mach-shark/include/mach/isa-dma.h +++ /dev/null @@ -1,13 +0,0 @@ -/* - * arch/arm/mach-shark/include/mach/isa-dma.h - * - * by Alexander Schulz - */ -#ifndef __ASM_ARCH_DMA_H -#define __ASM_ARCH_DMA_H - -#define MAX_DMA_CHANNELS	8 -#define DMA_ISA_CASCADE         4 - -#endif /* _ASM_ARCH_DMA_H */ - diff --git a/arch/arm/mach-shark/include/mach/memory.h b/arch/arm/mach-shark/include/mach/memory.h deleted file mode 100644 index d9c4812f1c3..00000000000 --- a/arch/arm/mach-shark/include/mach/memory.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * arch/arm/mach-shark/include/mach/memory.h - * - * by Alexander Schulz - * - * derived from: - * arch/arm/mach-ebsa110/include/mach/memory.h - * Copyright (c) 1996-1999 Russell King. - */ -#ifndef __ASM_ARCH_MEMORY_H -#define __ASM_ARCH_MEMORY_H - -#include <asm/sizes.h> - -/* - * Physical DRAM offset. - */ -#define PHYS_OFFSET     UL(0x08000000) - -#ifndef __ASSEMBLY__ - -static inline void __arch_adjust_zones(unsigned long *zone_size, unsigned long *zhole_size) -{ -  /* Only the first 4 MB (=1024 Pages) are usable for DMA */ -  /* See dev / -> .properties in OpenFirmware. */ -  zone_size[1] = zone_size[0] - 1024; -  zone_size[0] = 1024; -  zhole_size[1] = zhole_size[0]; -  zhole_size[0] = 0; -} - -#define arch_adjust_zones(size, holes) \ -	__arch_adjust_zones(size, holes) - -#define ISA_DMA_THRESHOLD	(PHYS_OFFSET + SZ_4M - 1) -#define MAX_DMA_ADDRESS		(PAGE_OFFSET + SZ_4M) - -#endif - -/* - * Cache flushing area - */ -#define FLUSH_BASE_PHYS		0x80000000 -#define FLUSH_BASE		0xdf000000 - -#endif diff --git a/arch/arm/mach-shark/include/mach/system.h b/arch/arm/mach-shark/include/mach/system.h deleted file mode 100644 index 21c373b30bb..00000000000 --- a/arch/arm/mach-shark/include/mach/system.h +++ /dev/null @@ -1,16 +0,0 @@ -/* - * arch/arm/mach-shark/include/mach/system.h - * - * by Alexander Schulz - */ -#ifndef __ASM_ARCH_SYSTEM_H -#define __ASM_ARCH_SYSTEM_H - -/* Found in arch/mach-shark/core.c */ -extern void arch_reset(char mode, const char *cmd); - -static inline void arch_idle(void) -{ -} - -#endif diff --git a/arch/arm/mach-shark/include/mach/timex.h b/arch/arm/mach-shark/include/mach/timex.h deleted file mode 100644 index bb6eeaebed8..00000000000 --- a/arch/arm/mach-shark/include/mach/timex.h +++ /dev/null @@ -1,7 +0,0 @@ -/* - * arch/arm/mach-shark/include/mach/timex.h - * - * by Alexander Schulz - */ - -#define CLOCK_TICK_RATE 1193180 diff --git a/arch/arm/mach-shark/include/mach/uncompress.h b/arch/arm/mach-shark/include/mach/uncompress.h deleted file mode 100644 index 22ccab4c3c5..00000000000 --- a/arch/arm/mach-shark/include/mach/uncompress.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * arch/arm/mach-shark/include/mach/uncompress.h - * by Alexander Schulz - * - * derived from: - * arch/arm/mach-footbridge/include/mach/uncompress.h - * Copyright (C) 1996,1997,1998 Russell King - */ - -#define SERIAL_BASE ((volatile unsigned char *)0x400003f8) - -static inline void putc(int c) -{ -	volatile int t; - -	SERIAL_BASE[0] = c; -	t=0x10000; -	while (t--); -} - -static inline void flush(void) -{ -} - -#ifdef DEBUG -static void putn(unsigned long z) -{ -	int i; -	char x; - -	putc('0'); -	putc('x'); -	for (i=0;i<8;i++) { -		x='0'+((z>>((7-i)*4))&0xf); -		if (x>'9') x=x-'0'+'A'-10; -		putc(x); -	} -} - -static void putr() -{ -	putc('\n'); -	putc('\r'); -} -#endif - -/* - * nothing to do - */ -#define arch_decomp_setup() -#define arch_decomp_wdog() diff --git a/arch/arm/mach-shark/include/mach/vmalloc.h b/arch/arm/mach-shark/include/mach/vmalloc.h deleted file mode 100644 index 8e845b6a7cb..00000000000 --- a/arch/arm/mach-shark/include/mach/vmalloc.h +++ /dev/null @@ -1,4 +0,0 @@ -/* - * arch/arm/mach-shark/include/mach/vmalloc.h - */ -#define VMALLOC_END       0xd0000000  | 
