Nand Driver:Add nand flash timing config.
authorzhaoyifeng <zyf@rock-chips.com>
Sun, 1 Apr 2012 02:23:47 +0000 (10:23 +0800)
committerzhaoyifeng <zyf@rock-chips.com>
Sun, 1 Apr 2012 02:23:47 +0000 (10:23 +0800)
drivers/mtd/rknand/rknand_base_ko.c

index bdd0dec451c7f19652670dd27450da79b58ed98a..7c0dce6a759ec5c084ed8f6d19e4153d86d2cbb1 100755 (executable)
@@ -27,7 +27,7 @@
 \r
 #define DRIVER_NAME    "rk29xxnand"\r
 \r
-const char rknand_base_version[] = "rknand_base.c version: 4.32 20120103";\r
+const char rknand_base_version[] = "rknand_base.c version: 4.34 20120401";\r
 #define NAND_DEBUG_LEVEL0 0\r
 #define NAND_DEBUG_LEVEL1 1\r
 #define NAND_DEBUG_LEVEL2 2\r
@@ -316,13 +316,13 @@ static int rknand_nand_timing_cfg(void)
 {\r
        unsigned long newclk;\r
        newclk = clk_get_rate(nandc_clk);\r
-       printk("rknand_nand_timing_cfg %d",newclk);\r
+       //printk("rknand_nand_timing_cfg %d",newclk);\r
        if (newclk != nandc_clk_rate) \r
        {\r
         if(gpNandInfo->nand_timing_config)\r
         {\r
             nandc_clk_rate = newclk;\r
-            //gpNandInfo->nand_timing_config( nandc_clk_rate / 1000); // KHz\r
+            gpNandInfo->nand_timing_config( nandc_clk_rate / 1000); // KHz\r
         }\r
        }\r
        return 0;\r