summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/drivers/maxim/max77686/max77686.h4
-rw-r--r--src/drivers/maxim/max77802/max77802.h2
-rw-r--r--src/drivers/mipi/panel-CMN_P097PFG_SSD2858.c4
-rw-r--r--src/drivers/mrc_cache/mrc_cache.c2
-rw-r--r--src/drivers/net/atl1e.c2
-rw-r--r--src/drivers/ocp/include/vpd.h2
-rw-r--r--src/drivers/smmstore/store.c2
-rw-r--r--src/drivers/spi/spi-generic.c2
-rw-r--r--src/drivers/spi/spi_flash_internal.h2
-rw-r--r--src/drivers/spi/spi_sdcard.c14
-rw-r--r--src/drivers/spi/tpm/tpm.c8
-rw-r--r--src/drivers/spi/tpm/tpm.h4
-rw-r--r--src/drivers/tpm/ppi.c2
-rw-r--r--src/drivers/wifi/generic/acpi.c4
-rw-r--r--src/ec/lenovo/h8/h8.c2
-rw-r--r--src/include/acpi/acpi.h4
-rw-r--r--src/include/boot_device.h2
-rw-r--r--src/include/bootstate.h2
-rw-r--r--src/include/cpu/x86/mp.h2
-rw-r--r--src/include/device/device.h2
-rw-r--r--src/include/device/dram/ddr2.h2
-rw-r--r--src/include/device/pci_def.h2
-rw-r--r--src/include/input-event-codes.h2
-rw-r--r--src/include/nhlt.h4
-rw-r--r--src/include/rmodule.h2
-rw-r--r--src/lib/ramdetect.c2
-rw-r--r--src/lib/smbios.c4
27 files changed, 43 insertions, 43 deletions
diff --git a/src/drivers/maxim/max77686/max77686.h b/src/drivers/maxim/max77686/max77686.h
index 0769a74d53..f5b85c0acf 100644
--- a/src/drivers/maxim/max77686/max77686.h
+++ b/src/drivers/maxim/max77686/max77686.h
@@ -77,8 +77,8 @@ enum {
};
enum {
- MAX77686_MV = 0, /* mili volt */
- MAX77686_UV /* micro volt */
+ MAX77686_MV = 0, /* millivolt */
+ MAX77686_UV /* microvolt */
};
/**
diff --git a/src/drivers/maxim/max77802/max77802.h b/src/drivers/maxim/max77802/max77802.h
index 5823269514..f880cb4a26 100644
--- a/src/drivers/maxim/max77802/max77802.h
+++ b/src/drivers/maxim/max77802/max77802.h
@@ -199,7 +199,7 @@ enum {
#define MAX77802_BUCK_TYPE2_ON (1 << 4)
#define MAX77802_BUCK_TYPE2_IGNORE_PWRREQ (1 << 5)
-/* LDO35 1.2 volt value for bridge ic */
+/* LDO35 1.2 volt value for bridge IC */
#define MAX77802_LDO35CTRL1_1_2V (1 << 4)
#define MAX77802_LOD35CTRL1_ON (1 << 6)
diff --git a/src/drivers/mipi/panel-CMN_P097PFG_SSD2858.c b/src/drivers/mipi/panel-CMN_P097PFG_SSD2858.c
index 637533e648..0336b63afe 100644
--- a/src/drivers/mipi/panel-CMN_P097PFG_SSD2858.c
+++ b/src/drivers/mipi/panel-CMN_P097PFG_SSD2858.c
@@ -21,7 +21,7 @@ struct panel_serializable_data P097PFG_SSD2858 = {
.init = {
PANEL_GENERIC(0xff, 0x00),
/* LOCKCNT=0x1f4, MRX=0, POSTDIV=1 (/2} }, MULT=0x49
- * 27 Mhz => 985.5 Mhz */
+ * 27 MHz => 985.5 MHz */
PANEL_GENERIC(0x00, 0x08, 0x01, 0xf4, 0x01, 0x49),
/* MTXDIV=1, SYSDIV=3 (=> 4) */
PANEL_GENERIC(0x00, 0x0c, 0x00, 0x00, 0x00, 0x03),
@@ -34,7 +34,7 @@ struct panel_serializable_data P097PFG_SSD2858 = {
PANEL_GENERIC(0x10, 0x08, 0x01, 0x20, 0x08, 0x45),
PANEL_GENERIC(0x10, 0x1c, 0x00, 0x00, 0x00, 0x00),
PANEL_GENERIC(0x20, 0x0c, 0x00, 0x00, 0x00, 0x04),
- /* Pixel clock 985.5 Mhz * 0x49/0x4b = 959 Mhz */
+ /* Pixel clock 985.5 MHz * 0x49/0x4b = 959 MHz */
PANEL_GENERIC(0x20, 0x10, 0x00, 0x4b, 0x00, 0x49),
PANEL_GENERIC(0x20, 0xa0, 0x00, 0x00, 0x00, 0x00),
/* EOT=1, LPE = 0, LSOUT=4 lanes, LPD=25 */
diff --git a/src/drivers/mrc_cache/mrc_cache.c b/src/drivers/mrc_cache/mrc_cache.c
index bb560c89bd..17f5fee727 100644
--- a/src/drivers/mrc_cache/mrc_cache.c
+++ b/src/drivers/mrc_cache/mrc_cache.c
@@ -431,7 +431,7 @@ static void log_event_cache_update(uint8_t slot, enum result res)
/* During ramstage this code purposefully uses incoherent transactions between
* read and write. The read assumes a memory-mapped boot device that can be used
* to quickly locate and compare the up-to-date data. However, when an update
- * is required it uses the writeable region access to perform the update. */
+ * is required it uses the writable region access to perform the update. */
static void update_mrc_cache_by_type(int type,
struct mrc_metadata *new_md,
const void *new_data,
diff --git a/src/drivers/net/atl1e.c b/src/drivers/net/atl1e.c
index 191a9c55eb..fb9bcde78d 100644
--- a/src/drivers/net/atl1e.c
+++ b/src/drivers/net/atl1e.c
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
- * This driver sets the macaddress of a Atheros AR8121/AR8113/AR8114
+ * This driver sets the MAC address of an Atheros AR8121/AR8113/AR8114
*/
#include <device/mmio.h>
diff --git a/src/drivers/ocp/include/vpd.h b/src/drivers/ocp/include/vpd.h
index 60299e38fd..8ed6a56cee 100644
--- a/src/drivers/ocp/include/vpd.h
+++ b/src/drivers/ocp/include/vpd.h
@@ -64,7 +64,7 @@ enum cxl_memory_mode {
#define DISABLE_BOOTDRIVE "disable_bootdrive"
#define DISABLE_BOOTDRIVE_DEFAULT 0 /* By default don't disable */
-/* Skip Global reset so that information in Previous Boot Error Hob won't be cleared */
+/* Skip Global reset so that information in Previous Boot Error HOB won't be cleared */
#define SKIP_GLOBAL_RESET "skip_global_reset"
#define SKIP_GLOBAL_RESET_DEFAULT 1
diff --git a/src/drivers/smmstore/store.c b/src/drivers/smmstore/store.c
index e0f0f57097..bc3dcdccac 100644
--- a/src/drivers/smmstore/store.c
+++ b/src/drivers/smmstore/store.c
@@ -185,7 +185,7 @@ static enum cb_err scan_end(struct region_device *store)
if (k_sz != 0xffffffff) {
printk(BIOS_WARNING,
- "eof of data marker looks invalid: 0x%x\n", k_sz);
+ "EOF of data marker looks invalid: 0x%x\n", k_sz);
return CB_ERR;
}
diff --git a/src/drivers/spi/spi-generic.c b/src/drivers/spi/spi-generic.c
index ef7438ed5f..f45ec25dcb 100644
--- a/src/drivers/spi/spi-generic.c
+++ b/src/drivers/spi/spi-generic.c
@@ -101,7 +101,7 @@ unsigned int spi_crop_chunk(const struct spi_slave *slave, unsigned int cmd_len,
/* Subtract command length from usable buffer size. If
deduct_opcode_len is set, only subtract the number command bytes
after the opcode. If the adjusted cmd_len is larger than ctrlr_max
- return 0 to inidicate an error. */
+ return 0 to indicate an error. */
if (deduct_cmd_len) {
if (ctrlr_max >= cmd_len) {
ctrlr_max -= cmd_len;
diff --git a/src/drivers/spi/spi_flash_internal.h b/src/drivers/spi/spi_flash_internal.h
index 1927111891..61113742cb 100644
--- a/src/drivers/spi/spi_flash_internal.h
+++ b/src/drivers/spi/spi_flash_internal.h
@@ -112,7 +112,7 @@ extern const struct spi_flash_vendor_info spi_flash_atmel_vi;
extern const struct spi_flash_vendor_info spi_flash_eon_vi;
extern const struct spi_flash_vendor_info spi_flash_gigadevice_vi;
extern const struct spi_flash_vendor_info spi_flash_macronix_vi;
-/* Probing order matters between the spansion sequence. */
+/* Probing order matters between the Spansion sequence. */
extern const struct spi_flash_vendor_info spi_flash_spansion_ext1_vi;
extern const struct spi_flash_vendor_info spi_flash_spansion_ext2_vi;
extern const struct spi_flash_vendor_info spi_flash_spansion_vi;
diff --git a/src/drivers/spi/spi_sdcard.c b/src/drivers/spi/spi_sdcard.c
index 36d882d9e1..6a7fbf95cf 100644
--- a/src/drivers/spi/spi_sdcard.c
+++ b/src/drivers/spi/spi_sdcard.c
@@ -207,7 +207,7 @@ static int response_resolve(int response_type, uint8_t *response,
{
__maybe_unused static const char * const sd_err[] = {
"Card is locked",
- "wp erase skip | lock/unlok cmd failed",
+ "wp erase skip | lock/unlock cmd failed",
"error",
"CC error",
"card err failed",
@@ -302,7 +302,7 @@ static int spi_sdcard_do_command_help(const struct spi_sdcard *card,
/* send crc */
spi_sdcard_sendbyte(card, crc);
- /* waitting for response */
+ /* waiting for response */
wait = 0xffff;
while (((c = spi_sdcard_recvbyte(card)) & 0x80) && --wait)
;
@@ -318,7 +318,7 @@ static int spi_sdcard_do_command_help(const struct spi_sdcard *card,
}
if (type == RSP_R1b) {
- /* waitting done */
+ /* waiting done */
wait = 0xffffff;
while (c == 0 && --wait)
c = spi_sdcard_recvbyte(card);
@@ -368,7 +368,7 @@ size_t spi_sdcard_size(const struct spi_sdcard *card)
/* enable CS */
spi_sdcard_enable_cs(card);
- /* waitting start block token */
+ /* waiting start block token */
wait = 0xffff;
while ((spi_sdcard_recvbyte(card) != CT_BLOCK_START) && --wait)
;
@@ -505,7 +505,7 @@ int spi_sdcard_single_read(const struct spi_sdcard *card,
/* enable cs */
spi_sdcard_enable_cs(card);
- /* waitting start block token */
+ /* waiting start block token */
wait = 0xffff;
while ((spi_sdcard_recvbyte(card) != CT_BLOCK_START) && --wait)
;
@@ -558,7 +558,7 @@ int spi_sdcard_multiple_read(const struct spi_sdcard *card,
for (int i = 0; i < block_num; i++) {
uint16_t c = 0;
- /* waitting start block token */
+ /* waiting start block token */
wait = 0xffff;
while ((spi_sdcard_recvbyte(card) != CT_BLOCK_START) && --wait)
;
@@ -662,7 +662,7 @@ int spi_sdcard_single_write(const struct spi_sdcard *card,
if (spi_sdcard_do_command(card, WRITE_BLOCK, block_address, NULL))
return -1;
- /* eanbele cs */
+ /* enable cs */
spi_sdcard_enable_cs(card);
/* send start block token */
diff --git a/src/drivers/spi/tpm/tpm.c b/src/drivers/spi/tpm/tpm.c
index 13f44f9448..d9c3a6dc1c 100644
--- a/src/drivers/spi/tpm/tpm.c
+++ b/src/drivers/spi/tpm/tpm.c
@@ -2,7 +2,7 @@
/* This is a driver for a SPI interfaced TPM2 device.
*
* It assumes that the required SPI interface has been initialized before the
- * driver is started. A 'sruct spi_slave' pointer passed at initialization is
+ * driver is started. A 'struct spi_slave' pointer passed at initialization is
* used to direct traffic to the correct SPI interface. This driver does not
* provide a way to instantiate multiple TPM devices. Also, to keep things
* simple, the driver unconditionally uses of TPM locality zero.
@@ -134,7 +134,7 @@ static enum cb_err start_transaction(int read_write, size_t bytes, unsigned int
* flow control (Section "6.4.5 Flow Control").
*
* Again, the slave (TPM device) expects each transaction to start
- * with a 4 byte header trasmitted by master. The header indicates if
+ * with a 4 byte header transmitted by master. The header indicates if
* the master needs to read or write a register, and the register
* address.
*
@@ -231,7 +231,7 @@ static void trace_dump(const char *prefix, uint32_t reg,
/*
* Data read from or written to FIFO or not in 4 byte
- * quantiites is printed byte at a time.
+ * quantities is printed byte at a time.
*/
for (i = 0; i < bytes; i++) {
if (current_char &&
@@ -697,7 +697,7 @@ size_t tpm2_process_command(const void *tpm2_command, size_t command_size,
if (debug_level_)
printk(BIOS_DEBUG, "\n");
- /* Verify that 'data available' is not asseretd any more. */
+ /* Verify that 'data available' is not asserted any more. */
read_tpm_sts(&status);
if ((status & expected_status_bits) != TPM_STS_VALID) {
printk(BIOS_ERR, "unexpected final status %#x\n", status);
diff --git a/src/drivers/spi/tpm/tpm.h b/src/drivers/spi/tpm/tpm.h
index da15a73bd8..0d238e8011 100644
--- a/src/drivers/spi/tpm/tpm.h
+++ b/src/drivers/spi/tpm/tpm.h
@@ -11,7 +11,7 @@
#define TPM_LOCALITY_0_SPI_BASE 0x00d40000
/*
- * A tpm device descriptor, values read from the appropriate device regisrers
+ * A TPM device descriptor, values read from the appropriate device registers
* are cached here.
*/
struct tpm2_info {
@@ -33,7 +33,7 @@ tpm_result_t tpm2_init(struct spi_slave *spi_if);
* Each command processing consists of sending the command to the TPM, by
* writing it into the FIFO register, then polling the status register until
* the TPM is ready to respond, then reading the response from the FIFO
- * regitster. The size of the response can be gleaned from the 6 byte header.
+ * register. The size of the response can be gleaned from the 6 byte header.
*
* This function places the response into the tpm2_response buffer and returns
* the size of the response.
diff --git a/src/drivers/tpm/ppi.c b/src/drivers/tpm/ppi.c
index 3e74314d85..6f12b411ba 100644
--- a/src/drivers/tpm/ppi.c
+++ b/src/drivers/tpm/ppi.c
@@ -647,7 +647,7 @@ void tpm_ppi_acpi_fill_ssdt(const struct device *dev)
/*
* Returns One if the PPI spec supports this functions.
- * That doesn't necessarily mean that the firmware implemtents it, or the
+ * That doesn't necessarily mean that the firmware implements it, or the
* TPM can execute the function.
*
* Arg0: Integer PPI function
diff --git a/src/drivers/wifi/generic/acpi.c b/src/drivers/wifi/generic/acpi.c
index 3996739d62..f55fca7748 100644
--- a/src/drivers/wifi/generic/acpi.c
+++ b/src/drivers/wifi/generic/acpi.c
@@ -471,7 +471,7 @@ static void emit_sar_acpi_structures(const struct device *dev, struct dsm_profil
if (dev->path.type == DEVICE_PATH_PCI && dev->vendor != PCI_VID_INTEL)
return;
- /* Retrieve the sar limits data */
+ /* Retrieve the SAR limits data */
if (get_wifi_sar_limits(&sar_limits) < 0) {
printk(BIOS_ERR, "failed getting SAR limits!\n");
return;
@@ -549,7 +549,7 @@ static void wifi_ssdt_write_properties(const struct device *dev, const char *sco
struct dsm_profile dsm = {0};
uint8_t dsm_count = 0;
- /* Fill Wifi sar related ACPI structures */
+ /* Fill Wifi SAR related ACPI structures */
if (CONFIG(USE_SAR)) {
emit_sar_acpi_structures(dev, &dsm);
diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c
index f41691f1fa..9b7bcc3fa2 100644
--- a/src/ec/lenovo/h8/h8.c
+++ b/src/ec/lenovo/h8/h8.c
@@ -53,7 +53,7 @@ enum battery {
/* h8 charge priority. Defines if primary or secondary
* battery is charged first.
- * Because NVRAM is complete the otherway around as this register,
+ * Because NVRAM is complete the other way around as this register,
* it's inverted by if
*/
static void h8_charge_priority(enum battery battery)
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h
index 1684e71840..01504ce7d3 100644
--- a/src/include/acpi/acpi.h
+++ b/src/include/acpi/acpi.h
@@ -1727,8 +1727,8 @@ void acpi_create_slit(acpi_slit_t *slit,
/*
* Create a Memory Proximity Domain Attributes structure for HMAT,
- * given proximity domain for the attached initiaor, and
- * proximimity domain for the memory.
+ * given proximity domain for the attached initiator, and
+ * proximity domain for the memory.
*/
int acpi_create_hmat_mpda(acpi_hmat_mpda_t *mpda, u32 initiator, u32 memory);
/* Create Heterogeneous Memory Attribute Table */
diff --git a/src/include/boot_device.h b/src/include/boot_device.h
index 84bd16ef65..883f37c8c8 100644
--- a/src/include/boot_device.h
+++ b/src/include/boot_device.h
@@ -63,7 +63,7 @@ int boot_device_wp_region(const struct region_device *rd,
void boot_device_init(void);
/*
- * Restrict read/write access to the bootmedia using platform defined rules.
+ * Restrict read/write access to the boot-media using platform defined rules.
*/
#if CONFIG(BOOTMEDIA_LOCK_NONE) || (CONFIG(BOOTMEDIA_LOCK_IN_VERSTAGE) && ENV_RAMSTAGE)
static inline void boot_device_security_lockdown(void) {}
diff --git a/src/include/bootstate.h b/src/include/bootstate.h
index a1743a81ab..30231ce568 100644
--- a/src/include/bootstate.h
+++ b/src/include/bootstate.h
@@ -51,7 +51,7 @@
* |
* BS_OS_RESUME_CHECK -------- BS_OS_RESUME
* | |
- * BS_WRITE_TABLES os handoff
+ * BS_WRITE_TABLES OS handoff
* |
* BS_PAYLOAD_LOAD
* |
diff --git a/src/include/cpu/x86/mp.h b/src/include/cpu/x86/mp.h
index 343bd9c4fa..dd86dce2c5 100644
--- a/src/include/cpu/x86/mp.h
+++ b/src/include/cpu/x86/mp.h
@@ -75,7 +75,7 @@ struct mp_ops {
uintptr_t staggered_smbase);
/*
* Optionally provide a callback that is called after the APs
- * and the BSP have gone through the initialion sequence.
+ * and the BSP have gone through the initialization sequence.
*/
void (*post_mp_init)(void);
};
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 113969ca1d..41ec528cbd 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -229,7 +229,7 @@ void mp_init_cpus(DEVTREE_CONST struct bus *cpu_bus);
static inline void mp_cpu_bus_init(struct device *dev)
{
/*
- * When no LAPIC device is specified in the devietree inside the CPU cluster device,
+ * When no LAPIC device is specified in the devicetree inside the CPU cluster device,
* neither a LAPIC device nor the link/bus between the CPU cluster and the LAPIC device
* will be present in the static device tree and the link_list struct element of the
* CPU cluster device will be NULL. In this case add one link, so that the
diff --git a/src/include/device/dram/ddr2.h b/src/include/device/dram/ddr2.h
index 032d5ce4cc..f3605b289d 100644
--- a/src/include/device/dram/ddr2.h
+++ b/src/include/device/dram/ddr2.h
@@ -92,7 +92,7 @@ struct dimm_attr_ddr2_st {
u8 rev;
/* Supported CAS mask, bit 0 == CL0 .. bit7 == CL7 */
u8 cas_supported;
- /* Maximum cloclk to data cycle times for various CAS.
+ /* Maximum clock to data cycle times for various CAS.
* Fields 0 and 1 are unused. */
u32 cycle_time[8];
/* Maximum data access times for various CAS.
diff --git a/src/include/device/pci_def.h b/src/include/device/pci_def.h
index 9ecd50ab2d..8b90163a1e 100644
--- a/src/include/device/pci_def.h
+++ b/src/include/device/pci_def.h
@@ -24,7 +24,7 @@
#define PCI_STATUS 0x06 /* 16 bits */
#define PCI_STATUS_CAP_LIST 0x10 /* Support Capability List */
-#define PCI_STATUS_66MHZ 0x20 /* Support 66 Mhz PCI 2.1 bus */
+#define PCI_STATUS_66MHZ 0x20 /* Support 66 MHz PCI 2.1 bus */
/* Support User Definable Features [obsolete] */
#define PCI_STATUS_UDF 0x40
#define PCI_STATUS_FAST_BACK 0x80 /* Accept fast-back to back */
diff --git a/src/include/input-event-codes.h b/src/include/input-event-codes.h
index ff72a4539d..ad98abd5d5 100644
--- a/src/include/input-event-codes.h
+++ b/src/include/input-event-codes.h
@@ -755,7 +755,7 @@
#define KEY_MACRO_PRESET3 0x2b5
/*
- * Some keyboards have a buildin LCD panel where the contents are controlled
+ * Some keyboards have a built-in LCD panel where the contents are controlled
* by the host. Often these have a number of keys directly below the LCD
* intended for controlling a menu shown on the LCD. These keys often don't
* have any labeling so we just name them KEY_KBD_LCD_MENU#
diff --git a/src/include/nhlt.h b/src/include/nhlt.h
index 5d7564bd76..c4c71c2f48 100644
--- a/src/include/nhlt.h
+++ b/src/include/nhlt.h
@@ -27,7 +27,7 @@ struct nhlt_format_config;
* Most code should use the SoC variants of the functions because
* there is required logic needed to be performed by the SoC. The SoC
* code should be abstracting the inner details of these functions that
- * specically apply to NHLT objects for that SoC.
+ * specifically apply to NHLT objects for that SoC.
*
* An example sequence:
*
@@ -146,7 +146,7 @@ uintptr_t nhlt_serialize(struct nhlt *nhlt, uintptr_t acpi_addr);
* Serialize NHLT object to ACPI table. Take in the beginning address of where
* the table will reside oem_id and oem_table_id and return the address of the
* next ACPI table. On error 0 will be returned. The NHLT object is no longer
- * valid after thisfunction is called.
+ * valid after this function is called.
*/
uintptr_t nhlt_serialize_oem_overrides(struct nhlt *nhlt, uintptr_t acpi_addr,
const char *oem_id, const char *oem_table_id,
diff --git a/src/include/rmodule.h b/src/include/rmodule.h
index 1925dcc951..bf26ad0b70 100644
--- a/src/include/rmodule.h
+++ b/src/include/rmodule.h
@@ -16,7 +16,7 @@ enum {
struct rmodule;
-/* Public API for loading rmdoules. */
+/* Public API for loading rmodules. */
int rmodule_parse(void *ptr, struct rmodule *m);
void *rmodule_parameters(const struct rmodule *m);
void *rmodule_entry(const struct rmodule *m);
diff --git a/src/lib/ramdetect.c b/src/lib/ramdetect.c
index 328ca07a62..cfec0296e7 100644
--- a/src/lib/ramdetect.c
+++ b/src/lib/ramdetect.c
@@ -18,7 +18,7 @@ int __weak probe_mb(const uintptr_t dram_start, const uintptr_t size)
void *ptr = (void *) addr;
size_t i;
- /* Don't accidentally clober oneself. */
+ /* Don't accidentally clobber oneself. */
if (OVERLAP(addr, addr + sizeof(uint32_t), (uintptr_t)_program, (uintptr_t) _eprogram))
return 1;
diff --git a/src/lib/smbios.c b/src/lib/smbios.c
index deee193be9..3ef3c21bca 100644
--- a/src/lib/smbios.c
+++ b/src/lib/smbios.c
@@ -216,7 +216,7 @@ static const char *memory_device_type(u8 code)
if (code >= MEMORY_TYPE_OTHER && code <= MEMORY_TYPE_HBM3)
return type[code - 1];
- return "Unsupproted";
+ return "Unsupported";
}
static void dump_smbios_type17(struct dimm_info *dimm)
@@ -646,7 +646,7 @@ int smbios_write_type9(unsigned long *current, int *handle,
t->slot_designation = smbios_add_string(t->eos, name ? name : "SLOT");
t->slot_type = type;
- /* TODO add slot_id supoort, will be "_SUN" for ACPI devices */
+ /* TODO add slot_id support, will be "_SUN" for ACPI devices */
t->slot_id = id;
t->slot_data_bus_width = bandwidth;
t->current_usage = usage;