aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-11-08 23:35:30 -0500
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-11-19 03:40:42 -0500
commitfc80f21a11156dd01c5ef14153e6f9e1291ccb82 (patch)
treecf5abf504c0330b1d2a08b8600e8dd5dcacfc380 /drivers/mtd
parent01a1d524eb68c0395074dd1d661b119ac96edba1 (diff)
mtd: nand: denali: remove debug lines of __FILE__, __LINE__, __func__
Such debug lines might be useful when debugging the driver first, but should be deleted from the upstream code. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/denali.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c
index 4b0b51b987d4..73b9d4e2dca0 100644
--- a/drivers/mtd/nand/denali.c
+++ b/drivers/mtd/nand/denali.c
@@ -181,9 +181,6 @@ static uint16_t denali_nand_reset(struct denali_nand_info *denali)
181{ 181{
182 int i; 182 int i;
183 183
184 dev_dbg(denali->dev, "%s, Line %d, Function: %s\n",
185 __FILE__, __LINE__, __func__);
186
187 for (i = 0; i < denali->max_banks; i++) 184 for (i = 0; i < denali->max_banks; i++)
188 iowrite32(INTR_STATUS__RST_COMP | INTR_STATUS__TIME_OUT, 185 iowrite32(INTR_STATUS__RST_COMP | INTR_STATUS__TIME_OUT,
189 denali->flash_reg + INTR_STATUS(i)); 186 denali->flash_reg + INTR_STATUS(i));
@@ -233,9 +230,6 @@ static void nand_onfi_timing_set(struct denali_nand_info *denali,
233 uint16_t acc_clks; 230 uint16_t acc_clks;
234 uint16_t addr_2_data, re_2_we, re_2_re, we_2_re, cs_cnt; 231 uint16_t addr_2_data, re_2_we, re_2_re, we_2_re, cs_cnt;
235 232
236 dev_dbg(denali->dev, "%s, Line %d, Function: %s\n",
237 __FILE__, __LINE__, __func__);
238
239 en_lo = CEIL_DIV(Trp[mode], CLK_X); 233 en_lo = CEIL_DIV(Trp[mode], CLK_X);
240 en_hi = CEIL_DIV(Treh[mode], CLK_X); 234 en_hi = CEIL_DIV(Treh[mode], CLK_X);
241#if ONFI_BLOOM_TIME 235#if ONFI_BLOOM_TIME
@@ -480,9 +474,6 @@ static uint16_t denali_nand_timing_set(struct denali_nand_info *denali)
480 uint8_t maf_id, device_id; 474 uint8_t maf_id, device_id;
481 int i; 475 int i;
482 476
483 dev_dbg(denali->dev, "%s, Line %d, Function: %s\n",
484 __FILE__, __LINE__, __func__);
485
486 /* 477 /*
487 * Use read id method to get device ID and other params. 478 * Use read id method to get device ID and other params.
488 * For some NAND chips, controller can't report the correct 479 * For some NAND chips, controller can't report the correct
@@ -537,9 +528,6 @@ static uint16_t denali_nand_timing_set(struct denali_nand_info *denali)
537static void denali_set_intr_modes(struct denali_nand_info *denali, 528static void denali_set_intr_modes(struct denali_nand_info *denali,
538 uint16_t INT_ENABLE) 529 uint16_t INT_ENABLE)
539{ 530{
540 dev_dbg(denali->dev, "%s, Line %d, Function: %s\n",
541 __FILE__, __LINE__, __func__);
542
543 if (INT_ENABLE) 531 if (INT_ENABLE)
544 iowrite32(1, denali->flash_reg + GLOBAL_INT_ENABLE); 532 iowrite32(1, denali->flash_reg + GLOBAL_INT_ENABLE);
545 else 533 else