aboutsummaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-02-08 12:49:33 +0100
committerElyes Haouas <ehaouas@noos.fr>2023-02-09 10:04:04 +0000
commit3b3bb7cd627379963219bad12163430f9af94007 (patch)
treef1d891bb32bfa3641c95ff9f16348451ca09053c /src/arch
parent3c90559d742a64d6d24f0c5da143323af9ad9854 (diff)
treewide: Remove repeated words
Found by linter Change-Id: I7a49cce0b56cf83d0e4490733f9190284a314c4a Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72896 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/riscv/trap_util.S2
-rw-r--r--src/arch/x86/exit_car.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/riscv/trap_util.S b/src/arch/riscv/trap_util.S
index f1c4c4d3b8..6b03eb5512 100644
--- a/src/arch/riscv/trap_util.S
+++ b/src/arch/riscv/trap_util.S
@@ -110,7 +110,7 @@ trap_entry:
.Lsmp_hang:
bnez sp, .Lsmp_hang
- # Use a different stack than in the main context, to to avoid overwriting
+ # Use a different stack than in the main context, to avoid overwriting
# stack data.
# TODO: Maybe use the old stack pointer (plus an offset) instead. But only if
# the previous mode was M, because it would be a very bad idea to use a stack
diff --git a/src/arch/x86/exit_car.S b/src/arch/x86/exit_car.S
index a83765ba92..c9ff866b1a 100644
--- a/src/arch/x86/exit_car.S
+++ b/src/arch/x86/exit_car.S
@@ -4,7 +4,7 @@
#include <cpu/x86/cr.h>
#include <cpu/x86/cache.h>
-/* Place the stack in the bss section. It's not necessary to define it in the
+/* Place the stack in the bss section. It's not necessary to define it in
* the linker script. */
.section .bss, "aw", @nobits
.global _stack