Skip to contentSkip to conversation

omap3: Increase limit on bootarg 'mpurate'

PATCH Superseded Sanjeev Premi 1 participant 1 message May 27, 2010

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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.

---
 arch/arm/plat-omap/clock.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
arch/arm/plat-omap/clock.c +2 -1
index 5261a09..7ea757e 100644
@@ -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