diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-bast.c')
-rw-r--r-- | arch/arm/mach-s3c2410/mach-bast.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c2410/mach-bast.c index ce3baba2cd7..d8a26ea92f2 100644 --- a/arch/arm/mach-s3c2410/mach-bast.c +++ b/arch/arm/mach-s3c2410/mach-bast.c | |||
@@ -59,6 +59,7 @@ | |||
59 | #include <plat/clock.h> | 59 | #include <plat/clock.h> |
60 | #include <plat/devs.h> | 60 | #include <plat/devs.h> |
61 | #include <plat/cpu.h> | 61 | #include <plat/cpu.h> |
62 | #include <plat/cpu-freq.h> | ||
62 | 63 | ||
63 | #include "usb-simtec.h" | 64 | #include "usb-simtec.h" |
64 | #include "nor-simtec.h" | 65 | #include "nor-simtec.h" |
@@ -570,6 +571,12 @@ static struct clk *bast_clocks[] __initdata = { | |||
570 | &s3c24xx_uclk, | 571 | &s3c24xx_uclk, |
571 | }; | 572 | }; |
572 | 573 | ||
574 | static struct s3c_cpufreq_board __initdata bast_cpufreq = { | ||
575 | .refresh = 7800, /* 7.8usec */ | ||
576 | .auto_io = 1, | ||
577 | .need_io = 1, | ||
578 | }; | ||
579 | |||
573 | static void __init bast_map_io(void) | 580 | static void __init bast_map_io(void) |
574 | { | 581 | { |
575 | /* initialise the clocks */ | 582 | /* initialise the clocks */ |
@@ -608,6 +615,8 @@ static void __init bast_init(void) | |||
608 | 615 | ||
609 | usb_simtec_init(); | 616 | usb_simtec_init(); |
610 | nor_simtec_init(); | 617 | nor_simtec_init(); |
618 | |||
619 | s3c_cpufreq_setboard(&bast_cpufreq); | ||
611 | } | 620 | } |
612 | 621 | ||
613 | MACHINE_START(BAST, "Simtec-BAST") | 622 | MACHINE_START(BAST, "Simtec-BAST") |