summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8173/emi.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-02-20 14:17:55 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-02-25 10:14:44 +0000
commit1f220a9da7cf14b6c776b4323d5bff7b2bca12c5 (patch)
treefec6797a520f3cda37852c3468048d91546f5920 /src/soc/mediatek/mt8173/emi.c
parent41de2a08ec85df00ff85d87dbee2cb37185e5323 (diff)
downloadcoreboot-1f220a9da7cf14b6c776b4323d5bff7b2bca12c5.tar.xz
soc/mediatek: Fix typos in comments
Also add missing whitespace. Change-Id: I3361122d5232072e68d018e84219a262acf34001 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39027 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jacob Garber <jgarber1@ualberta.ca>
Diffstat (limited to 'src/soc/mediatek/mt8173/emi.c')
-rw-r--r--src/soc/mediatek/mt8173/emi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/mediatek/mt8173/emi.c b/src/soc/mediatek/mt8173/emi.c
index f3ea7614e4..12f08379ea 100644
--- a/src/soc/mediatek/mt8173/emi.c
+++ b/src/soc/mediatek/mt8173/emi.c
@@ -148,7 +148,7 @@ size_t sdram_size(void)
9;
/* check if row address */
- /*00 is 13 bits, 01 is 14 bits, 10 is 15bits, 11 is 16 bits */
+ /* 00 is 13 bits, 01 is 14 bits, 10 is 15bits, 11 is 16 bits */
bit_counter += ((value & ROW_ADDR_BITS_MASK) >> ROW_ADDR_BITS_SHIFT) +
13;
@@ -159,7 +159,7 @@ size_t sdram_size(void)
/* add bank address bit, LPDDR3 is 8 banks =2^3 */
bit_counter += 3;
- /*transfor bits to bytes */
+ /* transform bits to bytes */
return ((size_t)1 << (bit_counter - 3));
}