diff options
author | Marek Vasut <marex@denx.de> | 2015-07-26 09:46:04 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 12:14:24 (GMT) |
commit | 3de9622e9741a98d40e19b384acd6bb4e49d1107 (patch) | |
tree | 7f1ddce13690b7aaeeb7abff35bfdafe8eefb0b1 /drivers/ddr/altera/sequencer.c | |
parent | 0c1b81bdf391b99863a5f8ffa8eb81c5d1cad3f6 (diff) | |
download | u-boot-3de9622e9741a98d40e19b384acd6bb4e49d1107.tar.xz |
ddr: altera: Clean up of delay_for_n_mem_clocks() part 5
Add kerneldoc.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/ddr/altera/sequencer.c')
-rw-r--r-- | drivers/ddr/altera/sequencer.c | 8 |
1 files 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) { |