OSDN Git Service

Blackfin arch: fix missing digit in SCLK range checking
authorMike Frysinger <vapier.adi@gmail.com>
Thu, 14 Aug 2008 07:19:25 +0000 (15:19 +0800)
committerBryan Wu <cooloney@kernel.org>
Thu, 14 Aug 2008 07:19:25 +0000 (15:19 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
include/asm-blackfin/mach-bf533/mem_init.h

index 995c06b..ed2034b 100644 (file)
@@ -47,7 +47,7 @@
 #define SDRAM_tRCD      TRCD_2
 #define SDRAM_tWR       TWR_2
 #endif
-#if (CONFIG_SCLK_HZ > 8955223) && (CONFIG_SCLK_HZ <= 104477612)
+#if (CONFIG_SCLK_HZ > 89552239) && (CONFIG_SCLK_HZ <= 104477612)
 #define SDRAM_tRP       TRP_2
 #define SDRAM_tRP_num   2
 #define SDRAM_tRAS      TRAS_5