From 674d860cca71100b207ecbad98ea58e378caf4f4 Mon Sep 17 00:00:00 2001 From: Zbynek Michl Date: Fri, 2 Jan 2009 00:26:13 +0100 Subject: [PATCH] --- yaml --- r: 137137 b: refs/heads/master c: b7eb1a5ed50c6f622664bb8a7113313fa8b6dd1e h: refs/heads/master i: 137135: 814e5a09cc40abd866016d21a7665c30ab0de30c v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-pxa/Kconfig | 5 + trunk/arch/arm/mach-pxa/Makefile | 1 + trunk/arch/arm/mach-pxa/himalaya.c | 168 +++++++++++++++++++++++++++++ 4 files changed, 175 insertions(+), 1 deletion(-) create mode 100644 trunk/arch/arm/mach-pxa/himalaya.c diff --git a/[refs] b/[refs] index 68c00a8eb98f..eb3543f8628b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4ce255c1420dd7c4b97ad4dabd13fa5d862ad700 +refs/heads/master: b7eb1a5ed50c6f622664bb8a7113313fa8b6dd1e diff --git a/trunk/arch/arm/mach-pxa/Kconfig b/trunk/arch/arm/mach-pxa/Kconfig index 9c2221c23663..04d1a07ced7f 100644 --- a/trunk/arch/arm/mach-pxa/Kconfig +++ b/trunk/arch/arm/mach-pxa/Kconfig @@ -305,6 +305,11 @@ config MACH_MAGICIAN select HAVE_PWM select PXA_HAVE_BOARD_IRQS +config MACH_HIMALAYA + bool "HTC Himalaya Support" + select CPU_PXA26x + select FB_W100 + config MACH_MIOA701 bool "Mitac Mio A701 Support" select PXA27x diff --git a/trunk/arch/arm/mach-pxa/Makefile b/trunk/arch/arm/mach-pxa/Makefile index 6bfbddc5769d..361fcfa7531a 100644 --- a/trunk/arch/arm/mach-pxa/Makefile +++ b/trunk/arch/arm/mach-pxa/Makefile @@ -46,6 +46,7 @@ obj-$(CONFIG_MACH_PCM990_BASEBOARD) += pcm990-baseboard.o obj-$(CONFIG_MACH_TOSA) += tosa.o obj-$(CONFIG_MACH_EM_X270) += em-x270.o obj-$(CONFIG_MACH_MAGICIAN) += magician.o +obj-$(CONFIG_MACH_HIMALAYA) += himalaya.o obj-$(CONFIG_MACH_MIOA701) += mioa701.o mioa701_bootresume.o obj-$(CONFIG_ARCH_PXA_ESERIES) += eseries.o obj-$(CONFIG_MACH_E330) += e330.o diff --git a/trunk/arch/arm/mach-pxa/himalaya.c b/trunk/arch/arm/mach-pxa/himalaya.c new file mode 100644 index 000000000000..00884e5a6042 --- /dev/null +++ b/trunk/arch/arm/mach-pxa/himalaya.c @@ -0,0 +1,168 @@ +/* + * linux/arch/arm/mach-pxa/himalaya.c + * + * Hardware definitions for the HTC Himalaya + * + * Based on 2.6.21-hh20's himalaya.c and himalaya_lcd.c + * + * Copyright (c) 2008 Zbynek Michl + * + * 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 +#include +#include +#include +#include + +#include