summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdmct
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2015-01-06 10:27:39 -0700
committerMartin Roth <gaumless@gmail.com>2015-01-08 21:58:45 +0100
commitf4cb4128adea4b8ebdd92ae05d7d8e733e35eb1c (patch)
treee9a9e47a8fdb993524baaae872e8edc93a0cf135 /src/northbridge/amd/amdmct
parentaa3dd5d5db2bb3a9825a3c5104f28699f7b43f87 (diff)
northbridge/amd: Doxygen fixes
- Add missing parameter names in several files - remove parameter types in several files - remove lines from doxygen documentation. These should be outside the doxygen comments. - Some of the comments shouldn't have been doxygen style. Turn these into regular non-doxygen comments. Change-Id: Ieccfe237385efee007b48308d58eb0a6a12f5bfa Signed-off-by: Martin Roth <gaumless@gmail.com> Reviewed-on: http://review.coreboot.org/8153 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/northbridge/amd/amdmct')
-rw-r--r--src/northbridge/amd/amdmct/mct_ddr3/modtrdim.c30
1 files changed, 19 insertions, 11 deletions
diff --git a/src/northbridge/amd/amdmct/mct_ddr3/modtrdim.c b/src/northbridge/amd/amdmct/mct_ddr3/modtrdim.c
index 42696f6caa..214313a970 100644
--- a/src/northbridge/amd/amdmct/mct_ddr3/modtrdim.c
+++ b/src/northbridge/amd/amdmct/mct_ddr3/modtrdim.c
@@ -43,12 +43,14 @@
*
* This function set Rtt_Nom for registered DDR3 dimms on targeted dimm.
*
+ * @param *pMCTData
* @param[in] *pDCTData - Pointer to buffer with information about each DCT
- * dimm - targeted dimm
- * wl - current mode, either write levelization mode or normal mode
- * MemClkFreq - current frequency
+ * @param dimm - targeted dimm
+ * @param wl - current mode, either write levelization mode or normal mode
+ * @param MemClkFreq - current frequency
+ * @param rank
*
- * @return tempW1 - Rtt_Nom
+ * @return tempW1 - Rtt_Nom
*/
static u32 RttNomTargetRegDimm (sMCTStruct *pMCTData, sDCTStruct *pDCTData, u8 dimm, BOOL wl, u8 MemClkFreq, u8 rank)
{
@@ -154,10 +156,12 @@ static u32 RttNomTargetRegDimm (sMCTStruct *pMCTData, sDCTStruct *pDCTData, u8 d
*
* This function set Rtt_Nom for registered DDR3 dimms on non-targeted dimm.
*
+ * @param *pMCTData
* @param[in] *pDCTData - Pointer to buffer with information about each DCT
- * dimm - non-targeted dimm
- * wl - current mode, either write levelization mode or normal mode
- * MemClkFreq - current frequency
+ * @param dimm - non-targeted dimm
+ * @param wl - current mode, either write levelization mode or normal mode
+ * @param MemClkFreq - current frequency
+ * @param rank
*
* @return tempW1 - Rtt_Nom
*/
@@ -176,13 +180,16 @@ static u32 RttNomNonTargetRegDimm (sMCTStruct *pMCTData, sDCTStruct *pDCTData, u
*
* This function set Rtt_Wr for registered DDR3 dimms.
*
+ * @param pMCTData
* @param[in] *pDCTData - Pointer to buffer with information about each DCT
- * dimm - targeted dimm
- * wl - current mode, either write levelization mode or normal mode
- * MemClkFreq - current frequency
+ * @param dimm - targeted dimm
+ * @param wl - current mode, either write levelization mode or normal mode
+ * @param MemClkFreq - current frequency
+ * @param rank
*
* @return tempW1 - Rtt_Wr
*/
+
static u32 RttWrRegDimm (sMCTStruct *pMCTData, sDCTStruct *pDCTData, u8 dimm, BOOL wl, u8 MemClkFreq, u8 rank)
{
u32 tempW1;
@@ -238,8 +245,9 @@ static u32 RttWrRegDimm (sMCTStruct *pMCTData, sDCTStruct *pDCTData, u8 dimm, BO
*
* This function set WrLvOdt for registered DDR3 dimms.
*
+ * @param *pMCTData
* @param[in] *pDCTData - Pointer to buffer with information about each DCT
- * dimm - targeted dimm
+ * @param dimm - targeted dimm
*
* @return WrLvOdt
*/