[SCSI] gdth: Allocate sense_buffer to prevent NULL pointer dereference
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-arm / arch-h720x / boards.h
blob8021f81f0742bb744a3ed0bc5f8fd125ddea0a93
1 /*
2 * linux/include/asm-arm/arch-h720x/boards.h
4 * Copyright (C) 2003 Thomas Gleixner <tglx@linutronix.de>
5 * (C) 2003 Robert Schwebel <r.schwebel@pengutronix.de>
7 * This file contains the board specific defines for various devices
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
14 #ifndef __ASM_ARCH_HARDWARE_INCMACH_H
15 #error Do not include this file directly. Include asm/hardware.h instead !
16 #endif
18 /* Hynix H7202 developer board specific device defines */
19 #ifdef CONFIG_ARCH_H7202
21 /* FLASH */
22 #define FLASH_VIRT 0xd0000000
23 #define FLASH_PHYS 0x00000000
24 #define FLASH_SIZE 0x02000000
26 /* onboard LAN controller */
27 # define ETH0_PHYS 0x08000000
29 /* Touch screen defines */
30 /* GPIO Port */
31 #define PEN_GPIO GPIO_B_VIRT
32 /* Bitmask for pen down interrupt */
33 #define PEN_INT_BIT (1<<7)
34 /* Bitmask for pen up interrupt */
35 #define PEN_ENA_BIT (1<<6)
36 /* pen up interrupt */
37 #define IRQ_PEN IRQ_MUX_GPIOB(7)
39 #endif
41 /* Hynix H7201 developer board specific device defines */
42 #if defined (CONFIG_ARCH_H7201)
43 /* ROM DISK SPACE */
44 #define ROM_DISK_BASE 0xc1800000
45 #define ROM_DISK_START 0x41800000
46 #define ROM_DISK_SIZE 0x00700000
48 /* SRAM DISK SPACE */
49 #define SRAM_DISK_BASE 0xf1000000
50 #define SRAM_DISK_START 0x04000000
51 #define SRAM_DISK_SIZE 0x00400000
52 #endif