diff options
author | Marek Vasut <marex@denx.de> | 2015-08-01 22:28:30 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 14:14:28 +0200 |
commit | 96b869b6e31193c0d89038181623cc8cc3015b19 (patch) | |
tree | a39a5477b471b55ec8fa67d0878f8a424d391f9a | |
parent | 269de4f0abe832e753bcd34c0dda560e9a6489de (diff) | |
download | u-boot-imx-96b869b6e31193c0d89038181623cc8cc3015b19.zip u-boot-imx-96b869b6e31193c0d89038181623cc8cc3015b19.tar.gz u-boot-imx-96b869b6e31193c0d89038181623cc8cc3015b19.tar.bz2 |
ddr: altera: sdram: Add missing kerneldoc
Add kerneldoc to functions which are missing it, but are already
cleaned up.
Signed-off-by: Marek Vasut <marex@denx.de>
-rw-r--r-- | drivers/ddr/altera/sdram.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/ddr/altera/sdram.c b/drivers/ddr/altera/sdram.c index fe2e753..e16f116 100644 --- a/drivers/ddr/altera/sdram.c +++ b/drivers/ddr/altera/sdram.c @@ -258,6 +258,12 @@ static unsigned sdram_write_verify(const u32 *addr, const u32 val) return 0; } +/** + * sdr_get_ctrlcfg() - Get the value of DRAM CTRLCFG register + * @cfg: SDRAM controller configuration data + * + * Return the value of DRAM CTRLCFG register. + */ static u32 sdr_get_ctrlcfg(const struct socfpga_sdram_config *cfg) { const u32 csbits = @@ -290,6 +296,12 @@ static u32 sdr_get_ctrlcfg(const struct socfpga_sdram_config *cfg) return ctrl_cfg; } +/** + * sdr_get_addr_rw() - Get the value of DRAM ADDRW register + * @cfg: SDRAM controller configuration data + * + * Return the value of DRAM ADDRW register. + */ static u32 sdr_get_addr_rw(const struct socfpga_sdram_config *cfg) { /* |