summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2023-09-03 21:38:29 -0600
committerElyes Haouas <ehaouas@noos.fr>2023-09-08 00:53:57 +0000
commit74f18777a2e6919172a4214c3195bfcc48f48407 (patch)
tree792af40f72ed0f4287239a707acce3edbe89c9d2 /src/device
parentcef239675b46ffec6c3c4a99875329f0ee92a6b5 (diff)
arch to drivers/intel: Fix misspellings & capitalization issues
Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: Ic52f01d1d5d86334e0fd639b968b5eed43a35f1d Reviewed-on: https://review.coreboot.org/c/coreboot/+/77633 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/device.c2
-rw-r--r--src/device/oprom/yabel/debug.h2
-rw-r--r--src/device/pci_class.c2
-rw-r--r--src/device/pciexp_device.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/device/device.c b/src/device/device.c
index 4cb0ec40cf..a635e731dd 100644
--- a/src/device/device.c
+++ b/src/device/device.c
@@ -579,7 +579,7 @@ void dev_initialize(void)
* Finalize a specific device.
*
* The parent should be finalized first to avoid having an ordering problem.
- * This is done by calling the parent's final() method before its childrens'
+ * This is done by calling the parent's final() method before its children's
* final() methods.
*
* @param dev The device to be initialized.
diff --git a/src/device/oprom/yabel/debug.h b/src/device/oprom/yabel/debug.h
index d93fc6e4c1..626b6c8159 100644
--- a/src/device/oprom/yabel/debug.h
+++ b/src/device/oprom/yabel/debug.h
@@ -70,7 +70,7 @@ static inline void set_ci(void) {};
* |||||||||-DEBUG_VBE - Print messages related to VESA BIOS Extension (VBE) functions
* ||||||||||-DEBUG_PRINT_INT10 - let INT10 (i.e. character output) calls print messages to Debug output
* |||||||||||-DEBUG_INTR - Print messages related to interrupt handling
- * ||||||||||||-DEBUG_CHECK_VMEM_ACCESS - Print messages related to accesse to certain areas of the virtual Memory (e.g. BDA (BIOS Data Area) or Interrupt Vectors)
+ * ||||||||||||-DEBUG_CHECK_VMEM_ACCESS - Print messages related to accesses to certain areas of the virtual Memory (e.g. BDA (BIOS Data Area) or Interrupt Vectors)
* |||||||||||||-DEBUG_MEM - Print memory access made by option ROM (NOTE: this also includes accesses to fetch instructions)
* ||||||||||||||-DEBUG_IO - Print I/O access made by option rom
* 11000111111111 - Max Binary Value, Debug All (WARNING: - This could run for hours)
diff --git a/src/device/pci_class.c b/src/device/pci_class.c
index c5630f72f7..9f2e7d6e10 100644
--- a/src/device/pci_class.c
+++ b/src/device/pci_class.c
@@ -93,7 +93,7 @@ static const PCI_SUBCLASS communication[] = {
{ 0x02, "Multiport serial controller" },
{ 0x03, "Modem" },
{ 0x04, "GPIB controller" },
- { 0x05, "Smard Card controller" },
+ { 0x05, "Smart Card controller" },
{ 0x80, "Communication controller" }
};
diff --git a/src/device/pciexp_device.c b/src/device/pciexp_device.c
index 4ec6ef0f0f..ab8430f6ff 100644
--- a/src/device/pciexp_device.c
+++ b/src/device/pciexp_device.c
@@ -245,7 +245,7 @@ static void pciexp_enable_common_clock(struct device *root, unsigned int root_ca
static void pciexp_enable_clock_power_pm(struct device *endp, unsigned int endp_cap)
{
- /* check if per port clk req is supported in device */
+ /* check if per port clkreq is supported in device */
u32 endp_ca;
u16 lnkctl;
endp_ca = pci_read_config32(endp, endp_cap + PCI_EXP_LNKCAP);