summaryrefslogtreecommitdiffstats
path: root/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/0002-board-omap3touchbook-make-it-build-against-TI-linux-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap-psp-2.6.32/0002-board-omap3touchbook-make-it-build-against-TI-linux-.patch')
-rw-r--r--extras/recipes-kernel/linux/linux-omap-psp-2.6.32/0002-board-omap3touchbook-make-it-build-against-TI-linux-.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/0002-board-omap3touchbook-make-it-build-against-TI-linux-.patch b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/0002-board-omap3touchbook-make-it-build-against-TI-linux-.patch
new file mode 100644
index 00000000..c695b712
--- /dev/null
+++ b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/0002-board-omap3touchbook-make-it-build-against-TI-linux-.patch
@@ -0,0 +1,61 @@
1From 5e84443afe149d9f503b63b1c87f23b807fe9e46 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <k-kooi@ti.com>
3Date: Sat, 30 Jan 2010 15:49:15 +0100
4Subject: [PATCH 02/45] board-omap3touchbook: make it build against TI linux-omap 2.6.32-PSP
5
6---
7 arch/arm/mach-omap2/board-omap3touchbook.c | 11 +++++++++--
8 1 files changed, 9 insertions(+), 2 deletions(-)
9
10diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c b/arch/arm/mach-omap2/board-omap3touchbook.c
11index fe3d22c..fc3e03c 100644
12--- a/arch/arm/mach-omap2/board-omap3touchbook.c
13+++ b/arch/arm/mach-omap2/board-omap3touchbook.c
14@@ -21,6 +21,7 @@
15 #include <linux/io.h>
16 #include <linux/leds.h>
17 #include <linux/gpio.h>
18+#include <linux/irq.h>
19 #include <linux/input.h>
20 #include <linux/gpio_keys.h>
21
22@@ -48,12 +49,18 @@
23 #include <plat/nand.h>
24 #include <plat/usb.h>
25 #include <plat/timer-gp.h>
26+#include <plat/clock.h>
27+#include <plat/omap-pm.h>
28
29 #include "mux.h"
30 #include "mmc-twl4030.h"
31
32+#include "pm.h"
33+#include "omap3-opp.h"
34+
35 #include <asm/setup.h>
36
37+
38 #define GPMC_CS0_BASE 0x60
39 #define GPMC_CS_SIZE 0x30
40
41@@ -78,7 +85,6 @@ static struct mtd_partition omap3touchbook_nand_partitions[] = {
42 .name = "U-Boot",
43 .offset = MTDPART_OFS_APPEND, /* Offset = 0x80000 */
44 .size = 15 * NAND_BLOCK_SIZE,
45- .mask_flags = MTD_WRITEABLE, /* force read-only */
46 },
47 {
48 .name = "U-Boot Env",
49@@ -440,7 +446,8 @@ static void __init omap3_touchbook_init_irq(void)
50 omap_board_config = omap3_touchbook_config;
51 omap_board_config_size = ARRAY_SIZE(omap3_touchbook_config);
52 omap2_init_common_hw(mt46h32m32lf6_sdrc_params,
53- mt46h32m32lf6_sdrc_params);
54+ mt46h32m32lf6_sdrc_params, omap35x_mpu_rate_table,
55+ omap35x_dsp_rate_table, omap35x_l3_rate_table);
56 omap_init_irq();
57 #ifdef CONFIG_OMAP_32K_TIMER
58 omap2_gp_clockevent_set_gptimer(12);
59--
601.6.6.1
61