ddr: altera: sdram: Clean up sdram_mmr_init_full() part 7

Add kerneldoc.

Signed-off-by: Marek Vasut <marex@denx.de>
This commit is contained in:
Marek Vasut 2015-08-01 22:03:48 +02:00
parent 1a302a4525
commit 1e8a85f8c5

View File

@ -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;