From d5b04454d98d62135b12c9bc50ebdc47c052f39f Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sat, 30 Jan 2010 15:49:15 +0100 Subject: [PATCH 02/48] board-omap3touchbook: make it build against TI linux-omap 2.6.32-PSP --- arch/arm/mach-omap2/board-omap3touchbook.c | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c b/arch/arm/mach-omap2/board-omap3touchbook.c index fe3d22c..fc3e03c 100644 --- a/arch/arm/mach-omap2/board-omap3touchbook.c +++ b/arch/arm/mach-omap2/board-omap3touchbook.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include @@ -48,12 +49,18 @@ #include #include #include +#include +#include #include "mux.h" #include "mmc-twl4030.h" +#include "pm.h" +#include "omap3-opp.h" + #include + #define GPMC_CS0_BASE 0x60 #define GPMC_CS_SIZE 0x30 @@ -78,7 +85,6 @@ static struct mtd_partition omap3touchbook_nand_partitions[] = { .name = "U-Boot", .offset = MTDPART_OFS_APPEND, /* Offset = 0x80000 */ .size = 15 * NAND_BLOCK_SIZE, - .mask_flags = MTD_WRITEABLE, /* force read-only */ }, { .name = "U-Boot Env", @@ -440,7 +446,8 @@ static void __init omap3_touchbook_init_irq(void) omap_board_config = omap3_touchbook_config; omap_board_config_size = ARRAY_SIZE(omap3_touchbook_config); omap2_init_common_hw(mt46h32m32lf6_sdrc_params, - mt46h32m32lf6_sdrc_params); + mt46h32m32lf6_sdrc_params, omap35x_mpu_rate_table, + omap35x_dsp_rate_table, omap35x_l3_rate_table); omap_init_irq(); #ifdef CONFIG_OMAP_32K_TIMER omap2_gp_clockevent_set_gptimer(12); -- 1.6.6.1