vc/amd: use 'openSIL' spelling in comments & help text

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I176182180f508a180726fca60064b16fad80e9d8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79530
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com>
This commit is contained in:
Felix Held
2023-12-13 23:09:48 +01:00
parent b154949004
commit c7be0781ce
6 changed files with 8 additions and 8 deletions

View File

@@ -21,6 +21,6 @@ endif
config SOC_AMD_OPENSIL config SOC_AMD_OPENSIL
bool bool
help help
Select this on SoCs that use opensil. Select this on SoCs that use openSIL.
source "src/vendorcode/amd/opensil/Kconfig" source "src/vendorcode/amd/opensil/Kconfig"

View File

@@ -5,7 +5,7 @@ if SOC_AMD_OPENSIL
config SOC_AMD_OPENSIL_GENOA config SOC_AMD_OPENSIL_GENOA
bool bool
help help
Select this on SoCs that use the Genoa version of opensil. Select this on SoCs that use the Genoa version of openSIL.
config AMD_OPENSIL_PATH config AMD_OPENSIL_PATH
string string

View File

@@ -12,7 +12,7 @@ config OPENSIL_DEBUG_OUTPUT
if OPENSIL_DEBUG_OUTPUT if OPENSIL_DEBUG_OUTPUT
config OPENSIL_DEBUG_PREFIX config OPENSIL_DEBUG_PREFIX
bool "Print the opensil prefix" bool "Print the openSIL prefix"
default n default n
help help
This prints the function name and line level in front of the This prints the function name and line level in front of the

View File

@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
/* Keep this in sync with opensil SilCommon.h file */ /* Keep this in sync with openSIL SilCommon.h file */
#define DEBUG_FILTER_APOB 0x00000001UL #define DEBUG_FILTER_APOB 0x00000001UL
#define DEBUG_FILTER_NBIO 0x00000002UL #define DEBUG_FILTER_NBIO 0x00000002UL
#define DEBUG_FILTER_CCX 0x00000004UL #define DEBUG_FILTER_CCX 0x00000004UL

View File

@@ -8,7 +8,7 @@
void SIL_STATUS_report(const char *function, const int status); void SIL_STATUS_report(const char *function, const int status);
// Add the memory map to dev, starting at index idx, returns last use idx // Add the memory map to dev, starting at index idx, returns last use idx
int add_opensil_memmap(struct device *dev, int idx); int add_opensil_memmap(struct device *dev, int idx);
// Fill in FADT from opensil // Fill in FADT from openSIL
void opensil_fill_fadt_io_ports(acpi_fadt_t *fadt); void opensil_fill_fadt_io_ports(acpi_fadt_t *fadt);
#endif #endif

View File

@@ -146,17 +146,17 @@ static void opensil_entry(void *timepoint)
ret = InitializeSiTp3(); ret = InitializeSiTp3();
break; break;
default: default:
printk(BIOS_ERR, "Unknown opensil timepoint\n"); printk(BIOS_ERR, "Unknown openSIL timepoint\n");
return; return;
} }
char opensil_function[16]; char opensil_function[16];
snprintf(opensil_function, sizeof(opensil_function), "InitializeSiTp%d", tp); snprintf(opensil_function, sizeof(opensil_function), "InitializeSiTp%d", tp);
SIL_STATUS_report(opensil_function, ret); SIL_STATUS_report(opensil_function, ret);
if (ret == SilResetRequestColdImm || ret == SilResetRequestColdDef) { if (ret == SilResetRequestColdImm || ret == SilResetRequestColdDef) {
printk(BIOS_INFO, "openSil requested a cold reset"); printk(BIOS_INFO, "openSIL requested a cold reset");
do_cold_reset(); do_cold_reset();
} else if (ret == SilResetRequestWarmImm || ret == SilResetRequestWarmDef) { } else if (ret == SilResetRequestWarmImm || ret == SilResetRequestWarmDef) {
printk(BIOS_INFO, "openSil requested a warm reset"); printk(BIOS_INFO, "openSIL requested a warm reset");
do_warm_reset(); do_warm_reset();
} }
} }