summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-08-21 10:41:44 +0200
committerMartin Roth <martinroth@google.com>2016-08-28 18:28:28 +0200
commit2078e75b00582f4e250c374df0ce970da9e1b66e (patch)
tree51c5c95c039f5366e0382682d8ccb91eaf8e192b
parentf772f9c6d2a3abc196fcc76cfaaa96f8381902b0 (diff)
src/arch: Capitalize CPU and ACPI
Change-Id: I37dfa853c3dbe93a52f6c37941b17717e22f6430 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16277 Reviewed-by: Omar Pakker Tested-by: build bot (Jenkins)
-rw-r--r--src/arch/arm64/stage_entry.S4
-rw-r--r--src/arch/x86/acpigen.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/arch/arm64/stage_entry.S b/src/arch/arm64/stage_entry.S
index 7f113fb4fc..7aeabe6f2a 100644
--- a/src/arch/arm64/stage_entry.S
+++ b/src/arch/arm64/stage_entry.S
@@ -74,7 +74,7 @@ ENDPROC(cpu_get_exception_stack)
* any rmodules.
*/
ENTRY(arm64_c_environment)
- /* Set the exception stack for the cpu. */
+ /* Set the exception stack for the CPU. */
bl cpu_get_exception_stack
msr SPSel, #1
isb
@@ -84,7 +84,7 @@ ENTRY(arm64_c_environment)
msr SPSel, #0
isb
- /* Set the non-exception stack for the cpu. */
+ /* Set the non-exception stack for the CPU. */
bl cpu_get_stack
mov sp, x0
diff --git a/src/arch/x86/acpigen.c b/src/arch/x86/acpigen.c
index f35fe02b6b..c978fe6f8f 100644
--- a/src/arch/x86/acpigen.c
+++ b/src/arch/x86/acpigen.c
@@ -657,7 +657,7 @@ void acpigen_write_TSD_package(u32 domain, u32 numprocs, PSD_coord coordtype)
void acpigen_write_mem32fixed(int readwrite, u32 base, u32 size)
{
/*
- * acpi 4.0 section 6.4.3.4: 32-Bit Fixed Memory Range Descriptor
+ * ACPI 4.0 section 6.4.3.4: 32-Bit Fixed Memory Range Descriptor
* Byte 0:
* Bit7 : 1 => big item
* Bit6-0: 0000110 (0x6) => 32-bit fixed memory
@@ -688,7 +688,7 @@ void acpigen_write_register(acpi_addr_t *addr)
void acpigen_write_irq(u16 mask)
{
/*
- * acpi 3.0b section 6.4.2.1: IRQ Descriptor
+ * ACPI 3.0b section 6.4.2.1: IRQ Descriptor
* Byte 0:
* Bit7 : 0 => small item
* Bit6-3: 0100 (0x4) => IRQ port descriptor
@@ -702,7 +702,7 @@ void acpigen_write_irq(u16 mask)
void acpigen_write_io16(u16 min, u16 max, u8 align, u8 len, u8 decode16)
{
/*
- * acpi 4.0 section 6.4.2.6: I/O Port Descriptor
+ * ACPI 4.0 section 6.4.2.6: I/O Port Descriptor
* Byte 0:
* Bit7 : 0 => small item
* Bit6-3: 1000 (0x8) => I/O port descriptor