x86: typo segement
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 22 Dec 2020 06:53:03 +0000 (07:53 +0100)
committerSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2021 21:25:41 +0000 (14:25 -0700)
%s/segement/segment/

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/i386/cpu.c
arch/x86/cpu/start.S

index 7517b75..6fa0f4d 100644 (file)
@@ -175,7 +175,7 @@ void arch_setup_gd(gd_t *new_gd)
  * Per Intel FSP external architecture specification, before calling any FSP
  * APIs, we need make sure the system is in flat 32-bit mode and both the code
  * and data selectors should have full 4GB access range. Here we reuse the one
- * we used in arch/x86/cpu/start16.S, and reload the segement registers.
+ * we used in arch/x86/cpu/start16.S, and reload the segment registers.
  */
 void setup_fsp_gdt(void)
 {
index 3b6ed37..3d0d952 100644 (file)
@@ -77,7 +77,7 @@ _start:
        lgdt    gdt_ptr2
 #endif
 
-       /* Load the segement registers to match the GDT loaded in start16.S */
+       /* Load the segment registers to match the GDT loaded in start16.S */
        movl    $(X86_GDT_ENTRY_32BIT_DS * X86_GDT_ENTRY_SIZE), %eax
        movw    %ax, %fs
        movw    %ax, %ds