[U-Boot] [PATCH 172/172] ddr: altera: Clean up of delay_for_n_mem_clocks() part 5

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


Add kerneldoc.

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

diff --git a/drivers/ddr/altera/sequencer.c b/drivers/ddr/altera/sequencer.c
index d4e720f..37f7354 100644
--- a/drivers/ddr/altera/sequencer.c
+++ b/drivers/ddr/altera/sequencer.c
@@ -754,9 +754,11 @@ static void set_jump_as_return(void)
 	writel(RW_MGR_RETURN, &sdr_rw_load_jump_mgr_regs->load_jump_add0);
 }
 
-/*
- * should always use constants as argument to ensure all computations are
- * performed at compile time
+/**
+ * delay_for_n_mem_clocks() - Delay for N memory clocks
+ * @clocks:	Length of the delay
+ *
+ * Delay for N memory clocks.
  */
 static void delay_for_n_mem_clocks(const u32 clocks)
 {
-- 
2.1.4



More information about the U-Boot mailing list