[U-Boot] [PATCH 167/172] ddr: altera: Minor clean up of rw_mgr_mem_handoff()

Marek Vasut marex at denx.de
Mon Jul 27 22:52:10 CEST 2015


Add kerneldoc and perform a minor comment cleanup.

Signed-off-by: Marek Vasut <marex at denx.de>
---
 drivers/ddr/altera/sequencer.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/drivers/ddr/altera/sequencer.c b/drivers/ddr/altera/sequencer.c
index eb0e8cf..9470aca 100644
--- a/drivers/ddr/altera/sequencer.c
+++ b/drivers/ddr/altera/sequencer.c
@@ -1018,21 +1018,22 @@ static void rw_mgr_mem_initialize(void)
 			     0);
 }
 
-/*
- * At the end of calibration we have to program the user settings in, and
- * USER  hand off the memory to the user.
+/**
+ * rw_mgr_mem_handoff() - Hand off the memory to user
+ *
+ * At the end of calibration we have to program the user settings in
+ * and hand off the memory to the user.
  */
 static void rw_mgr_mem_handoff(void)
 {
 	rw_mgr_mem_load_user(RW_MGR_MRS0_USER_MIRR, RW_MGR_MRS0_USER, 1);
 	/*
-	 * USER  need to wait tMOD (12CK or 15ns) time before issuing
-	 * other commands, but we will have plenty of NIOS cycles before
-	 * actual handoff so its okay.
+	 * Need to wait tMOD (12CK or 15ns) time before issuing other
+	 * commands, but we will have plenty of NIOS cycles before actual
+	 * handoff so its okay.
 	 */
 }
 
-
 /**
  * rw_mgr_mem_calibrate_write_test_issue() - Issue write test command
  * @group:	Write Group
-- 
2.1.4



More information about the U-Boot mailing list