summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-08-07 12:24:42 +0200
committerMartin Roth <martinroth@google.com>2018-08-09 15:56:02 +0000
commit2f79eb3fd567b7578378c4acbecaf2502d1982f4 (patch)
tree088668a42f7e108a9bddfbb465b494c5edaf2af6 /src/arch/x86
parent64f6b71af5443ac4e1126dc5f5202a1bc8657b31 (diff)
src/arch: Fix typo
Change-Id: I24d219b4ce6033f64886e22973ca8716113d319f Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/27919 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/Makefile.inc2
-rw-r--r--src/arch/x86/thread.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc
index d8430c501e..1d9ee4d5ef 100644
--- a/src/arch/x86/Makefile.inc
+++ b/src/arch/x86/Makefile.inc
@@ -374,7 +374,7 @@ ramstage-libs ?=
ifeq ($(CONFIG_RELOCATABLE_RAMSTAGE),y)
-# The rmodule_link defintion creates an elf file with .rmod extension.
+# The rmodule_link definition creates an elf file with .rmod extension.
$(objcbfs)/ramstage.elf: $(objcbfs)/ramstage.debug.rmod
cp $< $@
diff --git a/src/arch/x86/thread.c b/src/arch/x86/thread.c
index 0a11141d33..b1cd99fe99 100644
--- a/src/arch/x86/thread.c
+++ b/src/arch/x86/thread.c
@@ -47,7 +47,7 @@ void arch_prepare_thread(struct thread *t,
stack = push_stack(stack, (uintptr_t)arg);
stack = push_stack(stack, (uintptr_t)0);
stack = push_stack(stack, (uintptr_t)thread_entry);
- /* Make room for the registers. Ignore intial values. */
+ /* Make room for the registers. Ignore initial values. */
stack -= sizeof(struct pushad_regs);
t->stack_current = stack;