summaryrefslogtreecommitdiff
path: root/src/northbridge/via/vx800
diff options
context:
space:
mode:
authorIdwer Vollering <vidwer@gmail.com>2013-12-22 21:38:18 +0000
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2013-12-23 02:12:51 +0100
commitd26da9c8f0794f473f476a69821abffb52996237 (patch)
tree210ccdfcf6b24b7bc6971aaec964878338c5d2dc /src/northbridge/via/vx800
parentc6c8cb7f799f81a55b94c1e64ee13773dfc7f631 (diff)
Coding style: punctuation cleanup [1/2].
Clean up superfluous line terminators. Change-Id: If837b4f1b3e7702cbb09ba12f53ed788a8f31386 Signed-off-by: Idwer Vollering <vidwer@gmail.com> Reviewed-on: http://review.coreboot.org/4562 Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/northbridge/via/vx800')
-rw-r--r--src/northbridge/via/vx800/detection.c2
-rw-r--r--src/northbridge/via/vx800/freq_setting.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/via/vx800/detection.c b/src/northbridge/via/vx800/detection.c
index eb1ddcc2e6..69e520cd8f 100644
--- a/src/northbridge/via/vx800/detection.c
+++ b/src/northbridge/via/vx800/detection.c
@@ -180,7 +180,7 @@ CB_STATUS GetInfoFromSPD(DRAM_SYS_ATTR *DramAttr)
DramAttr->DimmNumChB++;
DramAttr->LoadNumChB =
(u8) (DramAttr->LoadNumChB * LoadNum *
- RankNum);;
+ RankNum);
}
RankNum |= 1; /* Set rank map. */
DramAttr->RankPresentMap |= (RankNum << (Sockets * 2));
diff --git a/src/northbridge/via/vx800/freq_setting.c b/src/northbridge/via/vx800/freq_setting.c
index 65b058a32a..55a6316cba 100644
--- a/src/northbridge/via/vx800/freq_setting.c
+++ b/src/northbridge/via/vx800/freq_setting.c
@@ -65,7 +65,7 @@ void DRAMFreqSetting(DRAM_SYS_ATTR * DramAttr)
Data = (u8) ((Data & 0xf8) | 6);
break;
default:
- Data = (u8) ((Data & 0xf8) | 1);;
+ Data = (u8) ((Data & 0xf8) | 1);
}
pci_write_config8(MEMCTRL, 0x90, Data);