projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a302a4
)
ddr: altera: sdram: Clean up sdram_mmr_init_full() part 7
author
Marek Vasut
<marex@denx.de>
Sat, 1 Aug 2015 20:03:48 +0000
(22:03 +0200)
committer
Marek Vasut
<marex@denx.de>
Sat, 8 Aug 2015 12:14:27 +0000
(14:14 +0200)
Add kerneldoc.
Signed-off-by: Marek Vasut <marex@denx.de>
drivers/ddr/altera/sdram.c
patch
|
blob
|
history
diff --git
a/drivers/ddr/altera/sdram.c
b/drivers/ddr/altera/sdram.c
index 2377b455dec25f1ae2d64bfabf68a1f67bd118f4..295747b3fab322042c24634f12e1527a8c4f3a26 100644
(file)
--- a/
drivers/ddr/altera/sdram.c
+++ b/
drivers/ddr/altera/sdram.c
@@
-615,7
+615,12
@@
static void sdr_load_regs(struct socfpga_sdram_config *cfg)
writel(cfg->dram_odt, &sdr_ctrl->dram_odt);
}
-/* Function to initialize SDRAM MMR */
+/**
+ * sdram_mmr_init_full() - Function to initialize SDRAM MMR
+ * @sdr_phy_reg: Value of the PHY control register 0
+ *
+ * Initialize the SDRAM MMR.
+ */
unsigned sdram_mmr_init_full(unsigned int sdr_phy_reg)
{
unsigned long status = 0;