summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-07-17 03:54:34 +0200
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:16 +0200
commit1e04db4c949e79a8942de9943ee4aa3f06174c5f (patch)
tree83431afc9ca6674ba81c302124dbdd17a829db6c
parentfe2d0a2da1b11e4702fcd08705fcce16f0fc2427 (diff)
downloadu-boot-imx-1e04db4c949e79a8942de9943ee4aa3f06174c5f.zip
u-boot-imx-1e04db4c949e79a8942de9943ee4aa3f06174c5f.tar.gz
u-boot-imx-1e04db4c949e79a8942de9943ee4aa3f06174c5f.tar.bz2
ddr: altera: Internal rw_mgr_mem_calibrate_vfifo() cleanup part 5
This is kind of microseries-within-series indent cleanup. This patch fixes the broken formatting strings in debug_cond() invocations. It is likely that this patch has checkpatch warnings, but for the sake of not breaking the code, these are ignored. No functional change. Signed-off-by: Marek Vasut <marex@denx.de>
-rw-r--r--drivers/ddr/altera/sequencer.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/ddr/altera/sequencer.c b/drivers/ddr/altera/sequencer.c
index 2d16ce5..03cfefd 100644
--- a/drivers/ddr/altera/sequencer.c
+++ b/drivers/ddr/altera/sequencer.c
@@ -2245,9 +2245,9 @@ static uint32_t rw_mgr_mem_calibrate_vfifo(uint32_t read_group,
/* set a particular dqdqs phase */
scc_mgr_set_dqdqs_output_phase_all_ranks(read_group, p);
- debug_cond(DLEVEL == 1, "%s:%d calibrate_vfifo: g=%u \
- p=%u d=%u\n", __func__, __LINE__,
- read_group, p, d);
+ debug_cond(DLEVEL == 1,
+ "%s:%d calibrate_vfifo: g=%u p=%u d=%u\n",
+ __func__, __LINE__, read_group, p, d);
/*
* Load up the patterns used by read calibration
@@ -2257,10 +2257,9 @@ static uint32_t rw_mgr_mem_calibrate_vfifo(uint32_t read_group,
if (!(gbl->phy_debug_mode_flags & PHY_DEBUG_DISABLE_GUARANTEED_READ)) {
if (!rw_mgr_mem_calibrate_read_test_patterns_all_ranks
(read_group, 1, &bit_chk)) {
- debug_cond(DLEVEL == 1, "%s:%d Guaranteed read test failed:",
- __func__, __LINE__);
- debug_cond(DLEVEL == 1, " g=%u p=%u d=%u\n",
- read_group, p, d);
+ debug_cond(DLEVEL == 1,
+ "%s:%d Guaranteed read test failed: g=%u p=%u d=%u\n",
+ __func__, __LINE__, read_group, p, d);
break;
}
}