From 3e25f85d68d10249473d422c4c19dc30ea55e8b0 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Mon, 4 Sep 2023 15:37:07 -0600 Subject: drivers/ipmi to lib: Fix misspellings & capitalization issues Signed-off-by: Martin Roth Change-Id: I926ec4c1c00339209ef656995031026935e52558 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77637 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/lib/ramdetect.c | 2 +- src/lib/smbios.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib') 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; -- cgit v1.2.3