From 35060b77979e0ce0e7d196be7fb1fbe0ae8b454d Mon Sep 17 00:00:00 2001 From: Ben Dooks Date: Thu, 30 Jul 2009 23:23:39 +0100 Subject: [PATCH] --- yaml --- r: 160939 b: refs/heads/master c: ca0b4901d8faaf98cf254e25cd2784bcb21e46d5 h: refs/heads/master i: 160937: 149379a576865e30c190f1414ec618648366581c 160935: 7c3ed95c2550416ed82ad7c809522d025e487917 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-s3c2410/mach-bast.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 26eb6bc0e7a3..59060d03c360 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f0176794b6abc2e5239c07a58cf11b6f43d0f185 +refs/heads/master: ca0b4901d8faaf98cf254e25cd2784bcb21e46d5 diff --git a/trunk/arch/arm/mach-s3c2410/mach-bast.c b/trunk/arch/arm/mach-s3c2410/mach-bast.c index ce3baba2cd7f..d8a26ea92f24 100644 --- a/trunk/arch/arm/mach-s3c2410/mach-bast.c +++ b/trunk/arch/arm/mach-s3c2410/mach-bast.c @@ -59,6 +59,7 @@ #include #include #include +#include #include "usb-simtec.h" #include "nor-simtec.h" @@ -570,6 +571,12 @@ static struct clk *bast_clocks[] __initdata = { &s3c24xx_uclk, }; +static struct s3c_cpufreq_board __initdata bast_cpufreq = { + .refresh = 7800, /* 7.8usec */ + .auto_io = 1, + .need_io = 1, +}; + static void __init bast_map_io(void) { /* initialise the clocks */ @@ -608,6 +615,8 @@ static void __init bast_init(void) usb_simtec_init(); nor_simtec_init(); + + s3c_cpufreq_setboard(&bast_cpufreq); } MACHINE_START(BAST, "Simtec-BAST")