[U-Boot] [PATCH 25/28] ddr: altera: sdram: Add missing kerneldoc
Marek Vasut
marex at denx.de
Sat Aug 1 23:34:54 CEST 2015
Add kerneldoc to functions which are missing it, but are already
cleaned up.
Signed-off-by: Marek Vasut <marex at denx.de>
---
drivers/ddr/altera/sdram.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
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)
{
/*
--
2.1.4
More information about the U-Boot
mailing list