summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-08-15 11:17:39 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-08-16 18:55:08 +0000
commit0b13397d150bf6c3bad361efd6708700893d6b66 (patch)
tree0dd61a021fc3e14d41d91269dee9cca8007b620f
parent068253c3697bd80600d7c14a9999301e63f4982e (diff)
downloadcoreboot-0b13397d150bf6c3bad361efd6708700893d6b66.tar.xz
src/{commonlib,lib}: Fix typo
Change-Id: If7650ac4d9be2614a9665c7f2aba9ac5cc413efe Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/28097 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r--src/commonlib/storage/mmc.c4
-rw-r--r--src/lib/selfboot.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/commonlib/storage/mmc.c b/src/commonlib/storage/mmc.c
index e09d826782..b62c8bed8e 100644
--- a/src/commonlib/storage/mmc.c
+++ b/src/commonlib/storage/mmc.c
@@ -197,7 +197,7 @@ static int mmc_select_hs(struct storage_media *media)
return ret;
}
-static int mmc_send_tunning_seq(struct sd_mmc_ctrlr *ctrlr, char *buffer)
+static int mmc_send_tuning_seq(struct sd_mmc_ctrlr *ctrlr, char *buffer)
{
struct mmc_command cmd;
struct mmc_data data;
@@ -225,7 +225,7 @@ static int mmc_bus_tuning(struct storage_media *media)
/* Request the device send the tuning sequence up to 40 times */
ctrlr->tuning_start(ctrlr, 0);
for (index = 0; index < 40; index++) {
- mmc_send_tunning_seq(ctrlr, buffer);
+ mmc_send_tuning_seq(ctrlr, buffer);
if (ctrlr->is_tuning_complete(ctrlr, &successful)) {
if (successful)
return 0;
diff --git a/src/lib/selfboot.c b/src/lib/selfboot.c
index a79f61d485..fbd1cc4320 100644
--- a/src/lib/selfboot.c
+++ b/src/lib/selfboot.c
@@ -511,7 +511,7 @@ static int load_self_segments(struct segment *head, struct prog *payload,
}
/*
- * Each architecture can perform additonal operations
+ * Each architecture can perform additional operations
* on the loaded segment
*/
prog_segment_loaded((uintptr_t)dest, ptr->s_memsz,