summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,