summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/arch/riscv/trap_util.S2
-rw-r--r--src/arch/x86/exit_car.S2
-rw-r--r--src/device/oprom/realmode/x86_asm.S2
-rw-r--r--src/soc/intel/common/block/cpu/car/cache_as_ram.S2
4 files changed, 4 insertions, 4 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
diff --git a/src/device/oprom/realmode/x86_asm.S b/src/device/oprom/realmode/x86_asm.S
index ea030dfaa5..a2c4aa56b9 100644
--- a/src/device/oprom/realmode/x86_asm.S
+++ b/src/device/oprom/realmode/x86_asm.S
@@ -328,7 +328,7 @@ __intXX_instr = RELOCATED(.)
/* This is the 16-bit interrupt entry point called by the IDT stub code.
*
- * Before this code code is called, %eax is pushed to the stack, and the
+ * Before this code is called, %eax is pushed to the stack, and the
* interrupt number is loaded into %al. On return this function cleans up
* for its caller.
*/
diff --git a/src/soc/intel/common/block/cpu/car/cache_as_ram.S b/src/soc/intel/common/block/cpu/car/cache_as_ram.S
index a1e73f970a..f2ae72c38a 100644
--- a/src/soc/intel/common/block/cpu/car/cache_as_ram.S
+++ b/src/soc/intel/common/block/cpu/car/cache_as_ram.S
@@ -389,7 +389,7 @@ car_cqos:
mov %eax, %ecx /* save to ecx */
mov $1, %ebx
shl %cl, %ebx
- sub $1, %ebx /* resulting mask is is in ebx */
+ sub $1, %ebx /* resulting mask is in ebx */
/* Set this mask for initial cache fill */
mov $MSR_L2_QOS_MASK(0), %ecx