omap3: Increase limit on bootarg 'mpurate'
Subsystems (3)
PATCH 1/1 omap3: Increase limit on bootarg 'mpurate'
The value of mpurate is currently expected to be less than 1000 when specified in MHz.
This patch raises this limit to 2000 to support 1GHz capable processors. The new limit should be reasonable for quite some time.
Signed-off-by Sanjeev Premi <[email protected]>
--- arch/arm/plat-omap/clock.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
arch/arm/plat-omap/clock.c +2 -1
@@ -175,6 +175,7 @@ EXPORT_SYMBOL(clk_get_parent);int __initdata mpurate; +/* * By default we use the rate set by the bootloader. * You can override this with mpurate= cmdline option.
@@ -186,7 +187,7 @@ static int __init omap_clk_setup(char *str)if (!mpurate)return 1 ; -if (mpurate <1000 ) +if (mpurate <2000 ) mpurate *=1000000 ;return 1 ;
Signature · 1 line
1.6.6.1