]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
Fix typo choosen in comments and printf logs
authorAlexander Merkle <alexander.merkle@lauterbach.com>
Thu, 17 Mar 2016 14:44:47 +0000 (15:44 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 27 Mar 2016 13:12:23 +0000 (09:12 -0400)
Minor change: chosen is written with one "o".
No code change here, only comment & printf.

Signed-off-by: Alexander Merkle <alexander.merkle@lauterbach.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/menu.c
drivers/ddr/fsl/lc_common_dimm_params.c

index eda96d68bc564e5cc45e1478fdd4b4aaad41a66f..c53030f3653d9605062926cb4454b92705757ed6 100644 (file)
@@ -350,7 +350,7 @@ int menu_item_add(struct menu *m, char *item_key, void *item_data)
  * make it obvious what the key for each entry is.
  *
  * item_choice - If not NULL, will be called when asking the user to choose an
- * item. Returns a key string corresponding to the choosen item or NULL if
+ * item. Returns a key string corresponding to the chosen item or NULL if
  * no item has been selected.
  *
  * item_choice_data - Will be passed as the argument to the item_choice function
index 47ad4e542db9d005518bcc4ba5650ebb6075891c..850c8f6c43b69aab22dc13288e00e41daf1cacff 100644 (file)
@@ -60,8 +60,8 @@ compute_cas_latency(const unsigned int ctrl_num,
         * 18ns for all DDR4 speed grades.
         */
        if (caslat_actual * mclk_ps > taamax) {
-               printf("The choosen cas latency %d is too large\n",
-                       caslat_actual);
+               printf("The chosen cas latency %d is too large\n",
+                      caslat_actual);
        }
        outpdimm->lowest_common_spd_caslat = caslat_actual;
        debug("lowest_common_spd_caslat is 0x%x\n", caslat_actual);