]> git.sur5r.net Git - u-boot/commitdiff
ddr: altera: Clean up of delay_for_n_mem_clocks() part 5
authorMarek Vasut <marex@denx.de>
Sun, 26 Jul 2015 09:46:04 +0000 (11:46 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:24 +0000 (14:14 +0200)
Add kerneldoc.

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/ddr/altera/sequencer.c

index d4e720f8dbc2e0d58a61275b65655ddf5006a25c..37f735475be2e82a2b3966753c0bcb2cc1fb54d8 100644 (file)
@@ -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)
 {