Message ID | 20201222065303.4614-1-xypron.glpk@gmx.de |
---|---|
State | Accepted |
Commit | a0df924928906b9da095dcbfa63dd5503e3ac3df |
Delegated to: | Simon Glass |
Headers | show |
Series | [1/1] x86: typo segement | expand |
On Tue, Dec 22, 2020 at 2:53 PM Heinrich Schuchardt <xypron.glpk@gmx.de> wrote: > > %s/segement/segment/ > > Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> > --- > arch/x86/cpu/i386/cpu.c | 2 +- > arch/x86/cpu/start.S | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
On Tue, Dec 22, 2020 at 2:53 PM Heinrich Schuchardt <xypron.glpk@gmx.de> wrote: > > %s/segement/segment/ > > Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> > --- > arch/x86/cpu/i386/cpu.c | 2 +- > arch/x86/cpu/start.S | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Applied to u-boot-dm, thanks!
diff --git a/arch/x86/cpu/i386/cpu.c b/arch/x86/cpu/i386/cpu.c index 7517b756f4..6fa0f4d32b 100644 --- a/arch/x86/cpu/i386/cpu.c +++ b/arch/x86/cpu/i386/cpu.c @@ -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) { diff --git a/arch/x86/cpu/start.S b/arch/x86/cpu/start.S index 3b6ed37bc0..3d0d95295f 100644 --- a/arch/x86/cpu/start.S +++ b/arch/x86/cpu/start.S @@ -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
%s/segement/segment/ Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> --- arch/x86/cpu/i386/cpu.c | 2 +- arch/x86/cpu/start.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.29.2