summaryrefslogtreecommitdiff
path: root/src/commonlib/storage/mmc.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-01-08 15:39:34 +0100
committerNico Huber <nico.h@gmx.de>2020-01-10 15:25:52 +0000
commitb8473d019158fa52b7cfcf49c446eb078e4745b0 (patch)
tree146ce55ad037fcc499a2c2605737e19ab1ed83f3 /src/commonlib/storage/mmc.c
parent4436ebef0645b6e55e442f1a2ba1c6b56341bd44 (diff)
downloadcoreboot-b8473d019158fa52b7cfcf49c446eb078e4745b0.tar.xz
src/commonlib/storage: Fix typos
Change-Id: Ie210191b79e94d3918ea95d40aeba40f33eb1b2f Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38269 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/commonlib/storage/mmc.c')
-rw-r--r--src/commonlib/storage/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonlib/storage/mmc.c b/src/commonlib/storage/mmc.c
index 1e0f7d20f0..8eaa2ee611 100644
--- a/src/commonlib/storage/mmc.c
+++ b/src/commonlib/storage/mmc.c
@@ -436,7 +436,7 @@ int mmc_update_capacity(struct storage_media *media)
if ((capacity >> 20) > 2 * 1024)
media->capacity[MMC_PARTITION_USER] = capacity;
- /* Determine the boot parition sizes */
+ /* Determine the boot partition sizes */
hc_erase_size = ext_csd[224] * 512 * KiB;
capacity = ext_csd[EXT_CSD_BOOT_SIZE_MULT] * 128 * KiB;
media->capacity[MMC_PARTITION_BOOT_1] = capacity;