summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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