src/soc to src/superio: Fix spelling errors
These issues were found and fixed by codespell, a useful tool for finding spelling errors. Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: Ieafbc93e49fcef198ac6e31fc8a3b708c395e08e Reviewed-on: https://review.coreboot.org/c/coreboot/+/58082 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -511,7 +511,7 @@ Scope (\_SB.PCI0)
|
||||
TACK, 1, /* [16:16] IOM Acknowledge bit */
|
||||
DPOF, 1, /* [17:17] Set 1 to indicate IOM, all the */
|
||||
/* display is OFF, clear otherwise */
|
||||
Offset(0x70), /* Pyhsical addr is offset 0x70. */
|
||||
Offset(0x70), /* Physical addr is offset 0x70. */
|
||||
IMCD, 32, /* R_SA_IOM_BIOS_MAIL_BOX_CMD */
|
||||
IMDA, 32 /* R_SA_IOM_BIOS_MAIL_BOX_DATA */
|
||||
}
|
||||
|
@@ -18,7 +18,7 @@ Device (MCHC)
|
||||
Offset(0xB4),
|
||||
BGSM, 32, /* Base of Graphics Stolen Memory */
|
||||
Offset(0xBC),
|
||||
TLUD, 32, /* Top of Low Useable DRAM */
|
||||
TLUD, 32, /* Top of Low Usable DRAM */
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ Method (_CRS, 0, Serialized)
|
||||
* PCI MMIO Region (TOLUD - PCI extended base MMCONF)
|
||||
* This assumes that MMCONF is placed after PCI config space,
|
||||
* and that no resources are allocated after the MMCONF region.
|
||||
* This works, sicne MMCONF is hardcoded to 0xe00000000.
|
||||
* This works, since MMCONF is hardcoded to 0xe00000000.
|
||||
*/
|
||||
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed,
|
||||
NonCacheable, ReadWrite,
|
||||
|
@@ -119,7 +119,7 @@ static bool punit_init(void)
|
||||
|
||||
/*
|
||||
* Poll for bit 8 to check if PCODE has completed its action
|
||||
* in reponse to BIOS Reset complete.
|
||||
* in response to BIOS Reset complete.
|
||||
* We wait here till 1 ms for the bit to get set.
|
||||
*/
|
||||
stopwatch_init_msecs_expire(&sw, 1);
|
||||
|
@@ -136,7 +136,7 @@ config HAVE_REFCODE_BLOB
|
||||
bool "Use a binary refcode blob instead of native ModPHY init"
|
||||
default n
|
||||
help
|
||||
Use the ChromeBook refcode to intitialize high-speed PHYs instead of
|
||||
Use the ChromeBook refcode to initialize high-speed PHYs instead of
|
||||
native code.
|
||||
|
||||
if HAVE_REFCODE_BLOB
|
||||
|
@@ -93,7 +93,7 @@ static void nc_read_resources(struct device *dev)
|
||||
if (fsp_reserved_memory_area) {
|
||||
fsp_res_base_k = RES_IN_KiB((unsigned int)fsp_reserved_memory_area);
|
||||
} else {
|
||||
/* If no FSP reserverd area */
|
||||
/* If no FSP reserved area */
|
||||
fsp_res_base_k = tseg_base_k;
|
||||
}
|
||||
|
||||
|
@@ -23,7 +23,7 @@ config BROADWELL_VBOOT_IN_BOOTBLOCK
|
||||
Broadwell can either start verstage in a separate stage
|
||||
right after the bootblock has run or it can start it
|
||||
after romstage for compatibility reasons.
|
||||
Broadwell however uses a mrc.bin to initialse memory which
|
||||
Broadwell however uses a mrc.bin to initialize memory which
|
||||
needs to be located at a fixed offset. Therefore even with
|
||||
a separate verstage starting after the bootblock that same
|
||||
binary is used meaning a jump is made from RW to the RO region
|
||||
|
@@ -436,7 +436,7 @@ struct soc_intel_cannonlake_config {
|
||||
*
|
||||
* In general descriptor provides option to set default cpu flex ratio.
|
||||
* Default cpu flex ratio is 0 ensures booting with non-turbo max frequency.
|
||||
* Thats the reason FSP skips cpu_ratio override if cpu_ratio is 0.
|
||||
* That's the reason FSP skips cpu_ratio override if cpu_ratio is 0.
|
||||
*
|
||||
* Only override CPU flex ratio if don't want to boot with non-turbo max.
|
||||
*/
|
||||
|
@@ -41,7 +41,7 @@ MMA_TEST_CONFIG_NAMES = $(notdir $(wildcard $(MMA_BLOBS_PATH)/configs/*))
|
||||
# $(3) is file type, efi for test names (all .EFI files under $(MMA_BLOBS_PATH)/tests )
|
||||
# , mma for test param (all .BIN files under $(MMA_BLOBS_PATH)/configs/<test name>)
|
||||
#
|
||||
# $(MMA_BLOBS_PATH)/tests/<testX>.efi has coresponding test params
|
||||
# $(MMA_BLOBS_PATH)/tests/<testX>.efi has corresponding test params
|
||||
# at $(MMA_BLOBS_PATH)/configs/<testX>/<XYZ>.bin
|
||||
#
|
||||
|
||||
|
@@ -545,7 +545,7 @@ program_sf2:
|
||||
|
||||
/*
|
||||
* Calculate the SF Mask 1:
|
||||
* 1. Calcuate SFWayCnt = IA32_SF_QOS_INFO & Bit [5:0]
|
||||
* 1. Calculate SFWayCnt = IA32_SF_QOS_INFO & Bit [5:0]
|
||||
* 2. if CONFIG_SF_MASK_2WAYS_PER_BIT: SFWayCnt = SFWayCnt / 2
|
||||
* 3. Set SF_MASK_1 = ((1 << SFWayCnt) - 1) - IA32_CR_SF_QOS_MASK_2
|
||||
*/
|
||||
|
@@ -325,7 +325,7 @@ static void fast_spi_enable_ext_bios(void)
|
||||
"Only 32MiB windows are supported for extended BIOS!");
|
||||
#endif
|
||||
|
||||
/* Confgiure DMI Source decode for Extended BIOS Region */
|
||||
/* Configure DMI Source decode for Extended BIOS Region */
|
||||
if (dmi_enable_gpmr(CONFIG_EXT_BIOS_WIN_BASE, CONFIG_EXT_BIOS_WIN_SIZE,
|
||||
soc_get_spi_dmi_destination_id()) == CB_ERR)
|
||||
return;
|
||||
|
@@ -130,7 +130,7 @@ enum pmc_ipc_command_type {
|
||||
struct tcss_mux_info {
|
||||
bool dp; /* DP connected */
|
||||
bool usb; /* USB connected */
|
||||
bool cable; /* Activ/Passive Cable */
|
||||
bool cable; /* Active/Passive Cable */
|
||||
bool polarity; /* polarity of connected device */
|
||||
bool hpd_lvl; /* HPD Level assert */
|
||||
bool hpd_irq; /* HPD IRQ assert */
|
||||
|
@@ -17,7 +17,7 @@ config SOC_INTEL_COMMON_BLOCK_PMC_DISCOVERABLE
|
||||
bool
|
||||
help
|
||||
Select this on platforms where the PMC device is discoverable
|
||||
when scanning busses.
|
||||
when scanning buses.
|
||||
|
||||
config SOC_INTEL_COMMON_BLOCK_PMC_EPOC
|
||||
bool
|
||||
|
@@ -25,4 +25,4 @@ config SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
|
||||
depends on SOC_INTEL_COMMON_BLOCK_USB4
|
||||
select PCIEXP_HOTPLUG
|
||||
help
|
||||
Enable USB4 PCIe resources for reserving hotplug busses and memory.
|
||||
Enable USB4 PCIe resources for reserving hotplug buses and memory.
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#define MASK_PMC_ACPI_BASE 0xfffc
|
||||
#define PMC_ACPI_CNT 0x44
|
||||
#define PMC_ACPI_CNT_PWRM_EN (1 << 8) /* PWRM enable */
|
||||
#define PMC_ACPI_CNT_ACPI_EN (1 << 7) /* ACPI eanble */
|
||||
#define PMC_ACPI_CNT_ACPI_EN (1 << 7) /* ACPI enable */
|
||||
#define PMC_ACPI_CNT_SCIS ((1 << 2) | (1 << 1) | (1 << 0)) /* SCI IRQ select \
|
||||
*/
|
||||
#define PMC_ACPI_CNT_SCIS_MASK 0x07
|
||||
|
@@ -222,7 +222,7 @@ config STORAGE_TEST
|
||||
select COMMONLIB_STORAGE
|
||||
select SDHCI_CONTROLLER
|
||||
help
|
||||
Read block 0 from each parition of the storage device. User
|
||||
Read block 0 from each partition of the storage device. User
|
||||
must also enable one or both of COMMONLIB_STORAGE_SD or
|
||||
COMMONLIB_STORAGE_MMC.
|
||||
|
||||
|
@@ -87,7 +87,7 @@ struct soc_intel_quark_config {
|
||||
uint8_t DramDensity;
|
||||
uint8_t tCL; /* DRAM CAS Latency in clocks */
|
||||
|
||||
/* ECC scrub interval in miliseconds 1..255 (0 works as feature
|
||||
/* ECC scrub interval in milliseconds 1..255 (0 works as feature
|
||||
* disable)
|
||||
*/
|
||||
uint8_t EccScrubInterval;
|
||||
|
@@ -55,7 +55,7 @@
|
||||
//
|
||||
|
||||
//
|
||||
// DEVICE 0 (Memroy Controller Hub)
|
||||
// DEVICE 0 (Memory Controller Hub)
|
||||
//
|
||||
#define MC_BUS PCI_BUS_NUMBER_QNC
|
||||
#define MC_DEV 0x00
|
||||
@@ -729,7 +729,7 @@
|
||||
#define V_QNC_PCIE_SLCAP_PSN_OFFSET 19 //Slot number offset
|
||||
#define R_QNC_PCIE_SLCTL 0x58 //~ 59h
|
||||
#define B_QNC_PCIE_SLCTL_HPE (BIT5) // Hot plug intr enable
|
||||
#define B_QNC_PCIE_SLCTL_PDE (BIT3) // Presense detect enable
|
||||
#define B_QNC_PCIE_SLCTL_PDE (BIT3) // Presence detect enable
|
||||
#define B_QNC_PCIE_SLCTL_ABE (BIT0) // Attn Btn Pressed Enable
|
||||
#define R_QNC_PCIE_SLSTS 0x5A //~ 5Bh
|
||||
#define B_QNC_PCIE_SLSTS_PDS (BIT6) // Present Detect State
|
||||
|
@@ -69,7 +69,7 @@ static uint32_t mtrr_index_to_host_bridge_register_offset(unsigned long index)
|
||||
{
|
||||
uint32_t offset;
|
||||
|
||||
/* Convert from MTRR index to host brigde offset (Datasheet 12.7.2) */
|
||||
/* Convert from MTRR index to host bridge offset (Datasheet 12.7.2) */
|
||||
if (index == MTRR_CAP_MSR)
|
||||
offset = QUARK_NC_HOST_BRIDGE_IA32_MTRR_CAP;
|
||||
else if (index == MTRR_DEF_TYPE_MSR)
|
||||
|
@@ -79,7 +79,7 @@ void spi_display(volatile struct flash_ctrlr *ctrlr)
|
||||
printk(BIOS_DEBUG, "0x%08x: BIOS Base Address\n", ctrlr->bbar);
|
||||
|
||||
/* Display the protection ranges */
|
||||
printk(BIOS_DEBUG, "BIOS Protected Range Regsiters\n");
|
||||
printk(BIOS_DEBUG, "BIOS Protected Range Registers\n");
|
||||
for (index = 0; index < ARRAY_SIZE(ctrlr->pbr); index++) {
|
||||
status = ctrlr->pbr[index];
|
||||
printk(BIOS_DEBUG, " %d: 0x%08x: 0x%08x - 0x%08x %s\n",
|
||||
|
@@ -36,7 +36,7 @@
|
||||
#define CPUID_6_EAX_ISST (1 << 7)
|
||||
|
||||
/*
|
||||
* List of suported C-states in this processor.
|
||||
* List of supported C-states in this processor.
|
||||
*/
|
||||
enum {
|
||||
C_STATE_C0, /* 0 */
|
||||
|
@@ -30,7 +30,7 @@ enum {
|
||||
int nhlt_soc_add_dmic_array(struct nhlt *nhlt, int num_channels);
|
||||
|
||||
/*
|
||||
* Add nau88l25 headset codec on provided SSP link. Return 0 on succes, < 0
|
||||
* Add nau88l25 headset codec on provided SSP link. Return 0 on success, < 0
|
||||
* on error.
|
||||
*/
|
||||
int nhlt_soc_add_nau88l25(struct nhlt *nhlt, int hwlink);
|
||||
|
@@ -511,7 +511,7 @@ Scope (\_SB.PCI0)
|
||||
TACK, 1, /* [16:16] IOM Acknowledge bit */
|
||||
DPOF, 1, /* [17:17] Set 1 to indicate IOM, all the */
|
||||
/* display is OFF, clear otherwise */
|
||||
Offset(0x70), /* Pyhsical addr is offset 0x70. */
|
||||
Offset(0x70), /* Physical addr is offset 0x70. */
|
||||
IMCD, 32, /* R_SA_IOM_BIOS_MAIL_BOX_CMD */
|
||||
IMDA, 32 /* R_SA_IOM_BIOS_MAIL_BOX_DATA */
|
||||
}
|
||||
|
@@ -168,7 +168,7 @@ void xeonsp_init_cpu_config(void)
|
||||
unsigned int num_sockets;
|
||||
|
||||
/*
|
||||
* sort APIC ids in asending order to identify apicid ranges for
|
||||
* sort APIC ids in ascending order to identify apicid ranges for
|
||||
* each numa domain
|
||||
*/
|
||||
for (dev = all_devices; dev; dev = dev->next) {
|
||||
|
Reference in New Issue
Block a user