]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ddr: altera: sdram: Add missing kerneldoc
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 20:28:30 +0000 (22:28 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:28 +0000 (14:14 +0200)
Add kerneldoc to functions which are missing it, but are already
cleaned up.

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/ddr/altera/sdram.c

index fe2e753e5a4344bcee4947c47bfd819657bc4fbe..e16f1162ab7fc1859cceca6722287a59d64900c7 100644 (file)
@@ -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)
 {
        /*