diff options
author | Marek Vasut <marex@denx.de> | 2015-08-01 22:03:48 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 14:14:27 +0200 |
commit | 1e8a85f8c570932529a20b5634845b2a998b4262 (patch) | |
tree | 642f90e241abc165e0af6230386c952b71d57880 /drivers/ddr | |
parent | 1a302a452555a90f27ce2cf337761de3159c977f (diff) | |
download | u-boot-imx-1e8a85f8c570932529a20b5634845b2a998b4262.zip u-boot-imx-1e8a85f8c570932529a20b5634845b2a998b4262.tar.gz u-boot-imx-1e8a85f8c570932529a20b5634845b2a998b4262.tar.bz2 |
ddr: altera: sdram: Clean up sdram_mmr_init_full() part 7
Add kerneldoc.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/ddr')
-rw-r--r-- | drivers/ddr/altera/sdram.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/ddr/altera/sdram.c b/drivers/ddr/altera/sdram.c index 2377b45..295747b 100644 --- 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; |