src/mainboard to src/security: 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: Ie34003a9fdfe9f3b1b8ec0789aeca8b9435c9c79
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58081
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Martin Roth 2021-10-01 14:37:30 -06:00 committed by Martin Roth
parent 0949e73906
commit 50863daef8
58 changed files with 64 additions and 64 deletions

View File

@ -127,7 +127,7 @@ chip soc/amd/picasso
.flash_ch_en = 0, .flash_ch_en = 0,
}" }"
# genral purpose PCIe clock output configuration # general purpose PCIe clock output configuration
register "gpp_clk_config[0]" = "GPP_CLK_OFF" register "gpp_clk_config[0]" = "GPP_CLK_OFF"
register "gpp_clk_config[1]" = "GPP_CLK_OFF" register "gpp_clk_config[1]" = "GPP_CLK_OFF"
register "gpp_clk_config[2]" = "GPP_CLK_REQ" register "gpp_clk_config[2]" = "GPP_CLK_REQ"

View File

@ -118,7 +118,7 @@ chip soc/amd/picasso
.flash_ch_en = 0, .flash_ch_en = 0,
}" }"
# genral purpose PCIe clock output configuration # general purpose PCIe clock output configuration
register "gpp_clk_config[0]" = "GPP_CLK_REQ" register "gpp_clk_config[0]" = "GPP_CLK_REQ"
register "gpp_clk_config[1]" = "GPP_CLK_REQ" register "gpp_clk_config[1]" = "GPP_CLK_REQ"
register "gpp_clk_config[2]" = "GPP_CLK_REQ" register "gpp_clk_config[2]" = "GPP_CLK_REQ"

View File

@ -118,7 +118,7 @@ chip soc/amd/picasso
.flash_ch_en = 0, .flash_ch_en = 0,
}" }"
# genral purpose PCIe clock output configuration # general purpose PCIe clock output configuration
register "gpp_clk_config[0]" = "GPP_CLK_REQ" register "gpp_clk_config[0]" = "GPP_CLK_REQ"
register "gpp_clk_config[1]" = "GPP_CLK_REQ" register "gpp_clk_config[1]" = "GPP_CLK_REQ"
register "gpp_clk_config[2]" = "GPP_CLK_REQ" register "gpp_clk_config[2]" = "GPP_CLK_REQ"

View File

@ -129,7 +129,7 @@ chip northbridge/intel/sandybridge
irq 0xe9 = 0x02 irq 0xe9 = 0x02
irq 0xf0 = 0x20 irq 0xf0 = 0x20
end end
device pnp 2e.b off end # HWM, front pannel LED device pnp 2e.b off end # HWM, front panel LED
device pnp 2e.d on end # VID device pnp 2e.d on end # VID
device pnp 2e.e off end # CIR WAKE-UP device pnp 2e.e off end # CIR WAKE-UP
device pnp 2e.f on end # GPIO Push-Pull or Open-drain device pnp 2e.f on end # GPIO Push-Pull or Open-drain

View File

@ -105,7 +105,7 @@ chip northbridge/intel/x4x # Northbridge
irq 0xe9 = 0x02 irq 0xe9 = 0x02
irq 0xf0 = 0x20 irq 0xf0 = 0x20
end end
device pnp 2e.b on # HWM, front pannel LED device pnp 2e.b on # HWM, front panel LED
io 0x60 = 0x290 io 0x60 = 0x290
io 0x62 = 0x200 io 0x62 = 0x200
irq 0x70 = 0 irq 0x70 = 0

View File

@ -99,7 +99,7 @@ chip northbridge/intel/x4x # Northbridge
device pnp 2e.a on # ACPI device pnp 2e.a on # ACPI
irq 0xe4 = 0x10 # Power dram during s3 irq 0xe4 = 0x10 # Power dram during s3
end end
device pnp 2e.b on # HWM, front pannel LED device pnp 2e.b on # HWM, front panel LED
io 0x60 = 0x290 io 0x60 = 0x290
irq 0x70 = 0 irq 0x70 = 0
end end

View File

@ -100,7 +100,7 @@ chip northbridge/intel/x4x # Northbridge
device pnp 2e.a on # ACPI device pnp 2e.a on # ACPI
irq 0xe4 = 0x10 # Power dram during s3 irq 0xe4 = 0x10 # Power dram during s3
end end
device pnp 2e.b on # HWM, front pannel LED device pnp 2e.b on # HWM, front panel LED
io 0x60 = 0x290 io 0x60 = 0x290
irq 0x70 = 0 irq 0x70 = 0
end end

View File

@ -34,7 +34,7 @@ chip northbridge/intel/x4x # Northbridge
irq 0x70 = 0 irq 0x70 = 0
irq 0xe4 = 0x10 # VSBGATE# to power dram during S3 irq 0xe4 = 0x10 # VSBGATE# to power dram during S3
end end
device pnp 2e.b on # HWM, front pannel LED device pnp 2e.b on # HWM, front panel LED
io 0x60 = 0x290 io 0x60 = 0x290
irq 0x70 = 0 irq 0x70 = 0
end end

View File

@ -106,9 +106,9 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
{ 1, 0, 0x0080 }, /* USB3 front internal header */ { 1, 0, 0x0080 }, /* USB3 front internal header */
{ 1, 0, 0x0080 }, /* USB3 front internal header */ { 1, 0, 0x0080 }, /* USB3 front internal header */
{ 1, 1, 0x0080 }, /* USB3 ETH top connector */ { 1, 1, 0x0080 }, /* USB3 ETH top connector */
{ 1, 1, 0x0080 }, /* USB3 ETH botton connector */ { 1, 1, 0x0080 }, /* USB3 ETH bottom connector */
{ 1, 2, 0x0080 }, /* USB2 PS2 top connector */ { 1, 2, 0x0080 }, /* USB2 PS2 top connector */
{ 1, 2, 0x0080 }, /* USB2 PS2 botton connector */ { 1, 2, 0x0080 }, /* USB2 PS2 bottom connector */
{ 1, 3, 0x0080 }, /* USB2 internal header (USB78) */ { 1, 3, 0x0080 }, /* USB2 internal header (USB78) */
{ 1, 3, 0x0080 }, /* USB2 internal header (USB78) */ { 1, 3, 0x0080 }, /* USB2 internal header (USB78) */
{ 1, 4, 0x0080 }, /* USB2 internal header (USB910) */ { 1, 4, 0x0080 }, /* USB2 internal header (USB910) */

View File

@ -18,7 +18,7 @@
* with -bios option which neatly puts coreboot into flash and so payloads * with -bios option which neatly puts coreboot into flash and so payloads
* can find CBFS and we don't risk overwriting CBFS. * can find CBFS and we don't risk overwriting CBFS.
* *
* Prior to Jul 2014 qemu aliased 0 to begining of RAM instead of flash * Prior to Jul 2014 qemu aliased 0 to beginning of RAM instead of flash
* and -bios was unusable as $pc pointed to 0 which was zero-filled as a * and -bios was unusable as $pc pointed to 0 which was zero-filled as a
* workaround we suggested using -kernel but this still had all the issues * workaround we suggested using -kernel but this still had all the issues
* of having fake-ROM in RAM. In fact it was even worse as fake ROM ends * of having fake-ROM in RAM. In fact it was even worse as fake ROM ends

View File

@ -2,7 +2,7 @@
/* /*
* These are the qemu firmware config interface defines and structs. * These are the qemu firmware config interface defines and structs.
* Copied over from qemu soure tree, * Copied over from qemu source tree,
* include/standard-headers/linux/qemu_fw_cfg.h and modified accordingly. * include/standard-headers/linux/qemu_fw_cfg.h and modified accordingly.
*/ */
#ifndef FW_CFG_IF_H #ifndef FW_CFG_IF_H

View File

@ -16,7 +16,7 @@ static void bootblock_northbridge_init(void)
* MCFG. This code also assumes that bootblock_northbridge_init() is * MCFG. This code also assumes that bootblock_northbridge_init() is
* the first thing called in the non-asm boot block code. The final * the first thing called in the non-asm boot block code. The final
* assumption is that no assembly code is using the * assumption is that no assembly code is using the
* CONFIG(MMCONF_SUPPORT) option to do PCI config acceses. * CONFIG(MMCONF_SUPPORT) option to do PCI config accesses.
* *
* The PCIEXBAR is assumed to live in the memory mapped IO space under * The PCIEXBAR is assumed to live in the memory mapped IO space under
* 4GiB. * 4GiB.

View File

@ -181,7 +181,7 @@ static const struct edp_data b101uan08_table[] = {
{6, 0x68, {0x41, 0xC0, 0x30, 0x00, 0x00, 0x00} }, {6, 0x68, {0x41, 0xC0, 0x30, 0x00, 0x00, 0x00} },
{6, 0x68, {0x10, 0x14, 0x03, 0x00, 0x00, 0x00} }, {6, 0x68, {0x10, 0x14, 0x03, 0x00, 0x00, 0x00} },
{6, 0x68, {0x10, 0x18, 0xFF, 0xFF, 0xFF, 0xFF} }, {6, 0x68, {0x10, 0x18, 0xFF, 0xFF, 0xFF, 0xFF} },
/* Additional Settng for eDP */ /* Additional Setting for eDP */
{3, 0x68, {0x80, 0x03, 0x41, 0x00, 0x00, 0x00} }, {3, 0x68, {0x80, 0x03, 0x41, 0x00, 0x00, 0x00} },
{3, 0x68, {0xB4, 0x00, 0x0D, 0x00, 0x00, 0x00} }, {3, 0x68, {0xB4, 0x00, 0x0D, 0x00, 0x00, 0x00} },
/* DPRX CAD Register Setting */ /* DPRX CAD Register Setting */

View File

@ -39,7 +39,7 @@
# 4 SDRAM CHIP Density and Banks # 4 SDRAM CHIP Density and Banks
# bits[3:0]: 5 = 8 Gigabits Total SDRAM capacity per chip # bits[3:0]: 5 = 8 Gigabits Total SDRAM capacity per chip
# bits[6:4]: 0 = 3 (8 banks) # bits[6:4]: 0 = 3 (8 banks)
# bits[7]: reserverd # bits[7]: reserved
05 05
# 5 SDRAM Addressing # 5 SDRAM Addressing

View File

@ -39,7 +39,7 @@
# 4 SDRAM CHIP Density and Banks # 4 SDRAM CHIP Density and Banks
# bits[3:0]: 5 = 8 Gigabits Total SDRAM capacity per chip # bits[3:0]: 5 = 8 Gigabits Total SDRAM capacity per chip
# bits[6:4]: 0 = 3 (8 banks) # bits[6:4]: 0 = 3 (8 banks)
# bits[7]: reserverd # bits[7]: reserved
05 05
# 5 SDRAM Addressing # 5 SDRAM Addressing

View File

@ -38,7 +38,7 @@
# 4 SDRAM CHIP Density and Banks # 4 SDRAM CHIP Density and Banks
# bits[3:0]: 4 = 4 Gigabits Total SDRAM capacity per chip # bits[3:0]: 4 = 4 Gigabits Total SDRAM capacity per chip
# bits[6:4]: 0 = 3 (8 banks) # bits[6:4]: 0 = 3 (8 banks)
# bits[7]: reserverd # bits[7]: reserved
04 04
# 5 SDRAM Addressing # 5 SDRAM Addressing

View File

@ -202,7 +202,7 @@ static void setup_storage(void)
static void gpio_init(void) static void gpio_init(void)
{ {
/* Set up the I2C busses. */ /* Set up the I2C buses. */
exynos_pinmux_i2c0(); exynos_pinmux_i2c0();
exynos_pinmux_i2c1(); exynos_pinmux_i2c1();
exynos_pinmux_i2c2(); exynos_pinmux_i2c2();
@ -222,7 +222,7 @@ static void gpio_init(void)
gpio_direction_output(GPIO_X17, 1); gpio_direction_output(GPIO_X17, 1);
gpio_direction_output(GPIO_X15, 1); gpio_direction_output(GPIO_X15, 1);
/* Set up the I2S busses. */ /* Set up the I2S buses. */
exynos_pinmux_i2s0(); exynos_pinmux_i2s0();
exynos_pinmux_i2s1(); exynos_pinmux_i2s1();
} }

View File

@ -1,5 +1,5 @@
# #
# Set DebugCtrl to 1 to reenable Jtag # Set DebugCtrl to 1 to re-enable Jtag
# #
DebugCtrl = 0; DebugCtrl = 0;
# #

View File

@ -60,7 +60,7 @@ int pwm_enum_to_pwm_number[] = {
void pwm_regulator_configure(enum pwm_regulator pwm, int millivolt) void pwm_regulator_configure(enum pwm_regulator pwm, int millivolt)
{ {
int duty_ns, voltage_max, voltage_min; int duty_ns, voltage_max, voltage_min;
int voltage = millivolt * 10; /* for higer calculation accuracy */ int voltage = millivolt * 10; /* for higher calculation accuracy */
int pwm_number = pwm_enum_to_pwm_number[pwm]; int pwm_number = pwm_enum_to_pwm_number[pwm];
voltage_min = pwm_design_voltage[pwm][0]; voltage_min = pwm_design_voltage[pwm][0];

View File

@ -80,7 +80,7 @@ chip soc/amd/cezanne
register "i2c_pad_ctrl_rx_sel[2]" = "I2C_PAD_CTRL_RX_SEL_3_3V" # Audio/SAR register "i2c_pad_ctrl_rx_sel[2]" = "I2C_PAD_CTRL_RX_SEL_3_3V" # Audio/SAR
register "i2c_pad_ctrl_rx_sel[3]" = "I2C_PAD_CTRL_RX_SEL_1_8V" # GSC register "i2c_pad_ctrl_rx_sel[3]" = "I2C_PAD_CTRL_RX_SEL_1_8V" # GSC
# genral purpose PCIe clock output configuration # general purpose PCIe clock output configuration
register "gpp_clk_config[0]" = "GPP_CLK_REQ" register "gpp_clk_config[0]" = "GPP_CLK_REQ"
register "gpp_clk_config[1]" = "GPP_CLK_REQ" register "gpp_clk_config[1]" = "GPP_CLK_REQ"
register "gpp_clk_config[2]" = "GPP_CLK_REQ" register "gpp_clk_config[2]" = "GPP_CLK_REQ"

View File

@ -44,7 +44,7 @@ chip soc/intel/cannonlake
register "tcc_offset" = "10" # TCC of 90C register "tcc_offset" = "10" # TCC of 90C
# Unlock GPIO pads # Unlock GPIO pads
register "PchUnlockGpioPads" = "1" register "PchUnlockGpioPads" = "1"
# SD card WP pin confguration # SD card WP pin configuration
register "ScsSdCardWpPinEnabled" = "0" register "ScsSdCardWpPinEnabled" = "0"
# NOTE: if any variant wants to override this value, use the same format # NOTE: if any variant wants to override this value, use the same format

View File

@ -117,7 +117,7 @@ static void mainboard_init(void *chip_info)
gpios = variant_gpio_table(&num_gpios); gpios = variant_gpio_table(&num_gpios);
gpio_configure_pads(gpios, num_gpios); gpio_configure_pads(gpios, num_gpios);
/* Initialize i2c busses that were not initialized in bootblock */ /* Initialize i2c buses that were not initialized in bootblock */
i2c_soc_init(); i2c_soc_init();
/* Set GenIntDisable so that GPIO 90 is configured as a GPIO. */ /* Set GenIntDisable so that GPIO 90 is configured as a GPIO. */

View File

@ -7,7 +7,7 @@ static void prepare_usb(void)
{ {
/* /*
* Do DWC3 core and phy reset. Kick these resets off early * Do DWC3 core and phy reset. Kick these resets off early
* so they get atleast 1msec to settle. * so they get at least 1msec to settle.
*/ */
reset_usb(HSUSB_HS_PORT_1); reset_usb(HSUSB_HS_PORT_1);
} }

View File

@ -231,7 +231,7 @@ static void display_startup(void)
static void mainboard_init(struct device *dev) static void mainboard_init(struct device *dev)
{ {
/* TP_SHIFT_EN: Enables the level shifter for I2C bus 4 (TPAD), which /* TP_SHIFT_EN: Enables the level shifter for I2C bus 4 (TPAD), which
* also contains the PS8640 eDP brige and the USB hub. * also contains the PS8640 eDP bridge and the USB hub.
*/ */
if (board_id() + CONFIG_BOARD_ID_ADJUSTMENT < 5) if (board_id() + CONFIG_BOARD_ID_ADJUSTMENT < 5)
mt6391_gpio_output(MT6391_KP_ROW2, 1); mt6391_gpio_output(MT6391_KP_ROW2, 1);

View File

@ -69,7 +69,7 @@ static void gpio_modification_by_ssfc(struct pad_config *table, size_t num)
/* /*
* Currently we only have the case of RT5682 as the second source. And * Currently we only have the case of RT5682 as the second source. And
* in case of Ampton which used RT5682 as the default source, it didn't * in case of Ampton which used RT5682 as the default source, it didn't
* provide override_table right now so it will be returned ealier since * provide override_table right now so it will be returned earlier since
* table above is NULL. * table above is NULL.
*/ */
if (ssfc_get_audio_codec() != SSFC_AUDIO_CODEC_RT5682) if (ssfc_get_audio_codec() != SSFC_AUDIO_CODEC_RT5682)

View File

@ -324,7 +324,7 @@ static const struct pad_config early_gpio_table[] = {
PAD_CFG_GPO(GPIO_164, 0, DEEP), /* WLAN_PE_RST */ PAD_CFG_GPO(GPIO_164, 0, DEEP), /* WLAN_PE_RST */
/* /*
* ESPI_IO1 acts as ALERT# (which is open-drain) and requies a weak * ESPI_IO1 acts as ALERT# (which is open-drain) and requires a weak
* pull-up for proper operation. Since there is no external pull present * pull-up for proper operation. Since there is no external pull present
* on this platform, configure an internal weak pull-up. * on this platform, configure an internal weak pull-up.
*/ */

View File

@ -25,7 +25,7 @@ static const struct pad_config early_gpio_table[] = {
PAD_CFG_GPO(GPIO_164, 0, DEEP), /* WLAN_PE_RST */ PAD_CFG_GPO(GPIO_164, 0, DEEP), /* WLAN_PE_RST */
/* /*
* ESPI_IO1 acts as ALERT# (which is open-drain) and requies a weak * ESPI_IO1 acts as ALERT# (which is open-drain) and requires a weak
* pull-up for proper operation. Since there is no external pull present * pull-up for proper operation. Since there is no external pull present
* on this platform, configure an internal weak pull-up. * on this platform, configure an internal weak pull-up.
*/ */

View File

@ -330,7 +330,7 @@ static void setup_storage(void)
static void gpio_init(void) static void gpio_init(void)
{ {
/* Set up the I2C busses. */ /* Set up the I2C buses. */
exynos_pinmux_i2c2(); exynos_pinmux_i2c2();
exynos_pinmux_i2c4(); exynos_pinmux_i2c4();
exynos_pinmux_i2c7(); exynos_pinmux_i2c7();

View File

@ -262,7 +262,7 @@ Scope (\_SB.PCI0.I2C2)
* AX1V: Auxiliary LDO1 VR voltage value * AX1V: Auxiliary LDO1 VR voltage value
* AX2V: Auxiliary LDO2 VR voltage value * AX2V: Auxiliary LDO2 VR voltage value
* ACVA: Analog LDO VR voltage * ACVA: Analog LDO VR voltage
* DCVA: Core buck VR volatage * DCVA: Core buck VR voltage
*/ */
OperationRegion (PWR2, 0xB1, Zero, 0x0100) OperationRegion (PWR2, 0xB1, Zero, 0x0100)
Field (PWR2, DWordAcc, NoLock, Preserve) Field (PWR2, DWordAcc, NoLock, Preserve)

View File

@ -1,5 +1,5 @@
# #
# Set JtagCtrl to 1 to reenable Jtag # Set JtagCtrl to 1 to re-enable Jtag
# #
JtagCtrl = 0; JtagCtrl = 0;
# #

View File

@ -17,7 +17,7 @@ DefinitionBlock(
#include "acpi/platform.asl" #include "acpi/platform.asl"
#include "acpi/mainboard.asl" #include "acpi/mainboard.asl"
// Thermal handeler // Thermal handler
#include "acpi/thermal.asl" #include "acpi/thermal.asl"
// global NVS and variables // global NVS and variables

View File

@ -21,7 +21,7 @@ chip soc/amd/picasso
}" }"
# Start : OPN Performance Configuration # Start : OPN Performance Configuration
# (Configuratin that is common for all variants) # (Configuration that is common for all variants)
# For the below fields, 0 indicates use SOC default # For the below fields, 0 indicates use SOC default
# PROCHOT_L de-assertion Ramp Time # PROCHOT_L de-assertion Ramp Time
@ -232,7 +232,7 @@ chip soc/amd/picasso
register "i2c_scl_reset" = "GPIO_I2C2_SCL | GPIO_I2C3_SCL" register "i2c_scl_reset" = "GPIO_I2C2_SCL | GPIO_I2C3_SCL"
# genral purpose PCIe clock output configuration # general purpose PCIe clock output configuration
register "gpp_clk_config[0]" = "GPP_CLK_REQ" # WLAN register "gpp_clk_config[0]" = "GPP_CLK_REQ" # WLAN
register "gpp_clk_config[1]" = "GPP_CLK_REQ" # SD Reader register "gpp_clk_config[1]" = "GPP_CLK_REQ" # SD Reader
register "gpp_clk_config[2]" = "GPP_CLK_REQ" # NVME SSD register "gpp_clk_config[2]" = "GPP_CLK_REQ" # NVME SSD

View File

@ -19,7 +19,7 @@ chip soc/amd/picasso
}" }"
# Start : OPN Performance Configuration # Start : OPN Performance Configuration
# (Configuratin that is common for all variants) # (Configuration that is common for all variants)
# For the below fields, 0 indicates use SOC default # For the below fields, 0 indicates use SOC default
# PROCHOT_L de-assertion Ramp Time # PROCHOT_L de-assertion Ramp Time
@ -230,7 +230,7 @@ chip soc/amd/picasso
register "i2c_scl_reset" = "GPIO_I2C2_SCL | GPIO_I2C3_SCL" register "i2c_scl_reset" = "GPIO_I2C2_SCL | GPIO_I2C3_SCL"
# genral purpose PCIe clock output configuration # general purpose PCIe clock output configuration
register "gpp_clk_config[0]" = "GPP_CLK_REQ" # WLAN register "gpp_clk_config[0]" = "GPP_CLK_REQ" # WLAN
register "gpp_clk_config[1]" = "GPP_CLK_REQ" # SD Reader register "gpp_clk_config[1]" = "GPP_CLK_REQ" # SD Reader
register "gpp_clk_config[2]" = "GPP_CLK_OFF" register "gpp_clk_config[2]" = "GPP_CLK_OFF"

View File

@ -49,7 +49,7 @@ void variant_touchscreen_update(void);
void variant_pcie_gpio_configure(void); void variant_pcie_gpio_configure(void);
/* Per variant FSP-S initialization, default implementation in baseboard and /* Per variant FSP-S initialization, default implementation in baseboard and
* overrideable by the variant. */ * overridable by the variant. */
void variant_get_dxio_ddi_descriptors(const fsp_dxio_descriptor **dxio_descs, void variant_get_dxio_ddi_descriptors(const fsp_dxio_descriptor **dxio_descs,
size_t *dxio_num, size_t *dxio_num,
const fsp_ddi_descriptor **ddi_descs, const fsp_ddi_descriptor **ddi_descs,

View File

@ -81,7 +81,7 @@ chip northbridge/intel/sandybridge
device pnp 4e.609 off end # GPIO6 device pnp 4e.609 off end # GPIO6
device pnp 4e.709 off end # GPIO7 device pnp 4e.709 off end # GPIO7
device pnp 4e.a on end # ACPI device pnp 4e.a on end # ACPI
device pnp 4e.b on # HWM, front pannel LED device pnp 4e.b on # HWM, front panel LED
io 0x60 = 0xa30 io 0x60 = 0xa30
io 0x62 = 0 # unused io 0x62 = 0 # unused
end end

View File

@ -129,7 +129,7 @@ chip northbridge/intel/x4x # Northbridge
irq 0xe4 = 0x10 # Power dram during s3 irq 0xe4 = 0x10 # Power dram during s3
irq 0xe6 = 0x8c irq 0xe6 = 0x8c
end end
device pnp 2e.b on # HWM, front pannel LED device pnp 2e.b on # HWM, front panel LED
io 0x60 = 0xa00 io 0x60 = 0xa00
irq 0x70 = 0 irq 0x70 = 0
end end

View File

@ -108,7 +108,7 @@ Scope (\_SB.PCI0.I2C2)
* AX1V: Auxiliary LDO1 VR voltage value * AX1V: Auxiliary LDO1 VR voltage value
* AX2V: Auxiliary LDO2 VR voltage value * AX2V: Auxiliary LDO2 VR voltage value
* ACVA: Analog LDO VR voltage * ACVA: Analog LDO VR voltage
* DCVA: Core buck VR volatage * DCVA: Core buck VR voltage
*/ */
OperationRegion (PWR2, 0xB1, Zero, 0x0100) OperationRegion (PWR2, 0xB1, Zero, 0x0100)
Field (PWR2, DWordAcc, NoLock, Preserve) Field (PWR2, DWordAcc, NoLock, Preserve)
@ -613,7 +613,7 @@ Scope (\_SB.PCI0.I2C3)
* AX1V: Auxiliary LDO1 VR voltage value * AX1V: Auxiliary LDO1 VR voltage value
* AX2V: Auxiliary LDO2 VR voltage value * AX2V: Auxiliary LDO2 VR voltage value
* ACVA: Analog LDO VR voltage * ACVA: Analog LDO VR voltage
* DCVA: Core buck VR volatage * DCVA: Core buck VR voltage
*/ */
OperationRegion (PWR2, 0xB1, Zero, 0x0100) OperationRegion (PWR2, 0xB1, Zero, 0x0100)
Field (PWR2, DWordAcc, NoLock, Preserve) Field (PWR2, DWordAcc, NoLock, Preserve)

View File

@ -104,7 +104,7 @@ void board_BeforeInitEarly(struct sysinfo *cb, AMD_EARLY_PARAMS *InitEarly)
} }
/** /**
* @brief Customer Overides Memory Table * @brief Customer Overrides Memory Table
* *
* Platform Specific Overriding Table allows IBV/OEM to pass in platform * Platform Specific Overriding Table allows IBV/OEM to pass in platform
* information to AGESA * information to AGESA

View File

@ -144,7 +144,7 @@ Device (EC0)
^HKEY.MHKQ (0x6040) ^HKEY.MHKQ (0x6040)
} }
/* Lid openend */ /* Lid opened */
Method (_Q2A, 0, NotSerialized) Method (_Q2A, 0, NotSerialized)
{ {
LIDS = 1 LIDS = 1

View File

@ -535,7 +535,7 @@ DefinitionBlock (
* The Secondary bus range for PCI0 lets the system * The Secondary bus range for PCI0 lets the system
* know what bus values are allowed on the downstream * know what bus values are allowed on the downstream
* side of this PCI bus if there is a PCI-PCI bridge. * side of this PCI bus if there is a PCI-PCI bridge.
* PCI busses can have 256 secondary busses which * PCI buses can have 256 secondary buses which
* range from [0-0xFF] but they do not need to be * range from [0-0xFF] but they do not need to be
* sequential. * sequential.
*/ */

View File

@ -39,7 +39,7 @@
# 4 SDRAM CHIP Density and Banks # 4 SDRAM CHIP Density and Banks
# bits[3:0]: 5 = 8 Gigabits Total SDRAM capacity per chip # bits[3:0]: 5 = 8 Gigabits Total SDRAM capacity per chip
# bits[6:4]: 0 = 3 (8 banks) # bits[6:4]: 0 = 3 (8 banks)
# bits[7]: reserverd # bits[7]: reserved
05 05
# 5 SDRAM Addressing # 5 SDRAM Addressing

View File

@ -39,7 +39,7 @@
# 4 SDRAM CHIP Density and Banks # 4 SDRAM CHIP Density and Banks
# bits[3:0]: 5 = 8 Gigabits Total SDRAM capacity per chip # bits[3:0]: 5 = 8 Gigabits Total SDRAM capacity per chip
# bits[6:4]: 0 = 3 (8 banks) # bits[6:4]: 0 = 3 (8 banks)
# bits[7]: reserverd # bits[7]: reserved
05 05
# 5 SDRAM Addressing # 5 SDRAM Addressing

View File

@ -38,7 +38,7 @@
# 4 SDRAM CHIP Density and Banks # 4 SDRAM CHIP Density and Banks
# bits[3:0]: 4 = 4 Gigabits Total SDRAM capacity per chip # bits[3:0]: 4 = 4 Gigabits Total SDRAM capacity per chip
# bits[6:4]: 0 = 3 (8 banks) # bits[6:4]: 0 = 3 (8 banks)
# bits[7]: reserverd # bits[7]: reserved
04 04
# 5 SDRAM Addressing # 5 SDRAM Addressing

View File

@ -12,7 +12,7 @@
void mainboard_after_memory_init(void) void mainboard_after_memory_init(void)
{ {
/* /*
* FSP enables internal UART. Disable it and reenable Super I/O UART to * FSP enables internal UART. Disable it and re-enable Super I/O UART to
* prevent loss of debug information on serial. * prevent loss of debug information on serial.
*/ */
pci_write_config32(PCI_DEV(0, LPC_DEV, 0), UART_CONT, (u32) 0); pci_write_config32(PCI_DEV(0, LPC_DEV, 0), UART_CONT, (u32) 0);

View File

@ -32,7 +32,7 @@ Device (EC)
BIF0, 16, BIF0, 16,
BDCP, 16, // BAT Design Capacity BDCP, 16, // BAT Design Capacity
BFCP, 16, // BAT Full Capacity BFCP, 16, // BAT Full Capacity
BRCH, 16, // BAT Rechargable BRCH, 16, // BAT Rechargeable
BDVT, 16, // BAT Design Voltage BDVT, 16, // BAT Design Voltage
BIF5, 16, BIF5, 16,
BIF6, 16, BIF6, 16,

View File

@ -42,7 +42,7 @@ Device(EC0)
FDDI, 1, // floppy on lpt indicator? FDDI, 1, // floppy on lpt indicator?
LIDC, 1, // LID switch LIDC, 1, // LID switch
Offset(0xd0), Offset(0xd0),
TCPU, 8, // T_CPU in deg Celcius TCPU, 8, // T_CPU in deg Celsius
Offset(0xd6), Offset(0xd6),
/* exact purpose of these three is guessed, /* exact purpose of these three is guessed,
but it's something about cooling */ but it's something about cooling */

View File

@ -4,7 +4,7 @@
Scope (\_TZ) Scope (\_TZ)
{ {
/* degree Celcius to deci-Kelvin (ACPI temperature unit) */ /* degree Celsius to deci-Kelvin (ACPI temperature unit) */
Method(C2dK, 1) { Method(C2dK, 1) {
Add (2732, Multiply (Arg0, 10), Local0) Add (2732, Multiply (Arg0, 10), Local0)
Return (Local0) Return (Local0)

View File

@ -35,7 +35,7 @@ static const char *northbridge_acpi_name(const struct device *dev)
} }
/* /*
* TODO: We could determine how many PCIe busses we need in the bar. * TODO: We could determine how many PCIe buses we need in the bar.
* For now, that number is hardcoded to a max of 64. * For now, that number is hardcoded to a max of 64.
*/ */
static struct device_operations pci_domain_ops = { static struct device_operations pci_domain_ops = {

View File

@ -63,7 +63,7 @@ config MAXIMUM_SUPPORTED_FREQUENCY
config CHECK_SLFRCS_ON_RESUME config CHECK_SLFRCS_ON_RESUME
def_bool n def_bool n
help help
On some boards it may be neccessary to hard reset early On some boards it may be necessary to hard reset early
during resume from S3 if the SLFRCS register indicates that during resume from S3 if the SLFRCS register indicates that
a memory channel is not guaranteed to be in self-refresh. a memory channel is not guaranteed to be in self-refresh.
On other boards the check always creates a false positive, On other boards the check always creates a false positive,

View File

@ -22,7 +22,7 @@ void bootblock_early_northbridge_init(void)
{ {
/* /*
* The QuickPath bus number is the topmost bus number, as per the value * The QuickPath bus number is the topmost bus number, as per the value
* of the SAD_PCIEXBAR register. The register defaults to 256 busses on * of the SAD_PCIEXBAR register. The register defaults to 256 buses on
* reset. Thus, hardcode the bus number when first setting up PCIEXBAR. * reset. Thus, hardcode the bus number when first setting up PCIEXBAR.
*/ */
const pci_devfn_t qpi_sad = PCI_DEV(255, 0, 1); const pci_devfn_t qpi_sad = PCI_DEV(255, 0, 1);

View File

@ -2437,7 +2437,7 @@ int aggressive_write_training(ramctr_timing *ctrl)
if (enable_iosav_opt) if (enable_iosav_opt)
mchbar_write32(MCMNTS_SPARE, 1); mchbar_write32(MCMNTS_SPARE, 1);
printram("Aggresive write training:\n"); printram("Aggressive write training:\n");
for (i = 0; i < ARRAY_SIZE(wr_vref_offsets); i++) { for (i = 0; i < ARRAY_SIZE(wr_vref_offsets); i++) {
FOR_ALL_POPULATED_CHANNELS { FOR_ALL_POPULATED_CHANNELS {

View File

@ -123,7 +123,7 @@ void intel_cbnt_log_registers(void)
LOG("SACM INFO MSR (0x13A) raw: 0x%016llx\n", acm_info.raw); LOG("SACM INFO MSR (0x13A) raw: 0x%016llx\n", acm_info.raw);
LOG(" NEM status: %u\n", acm_info.nem_enabled); LOG(" NEM status: %u\n", acm_info.nem_enabled);
LOG(" TPM type: %s\n", tpm_type[acm_info.tpm_type]); LOG(" TPM type: %s\n", tpm_type[acm_info.tpm_type]);
LOG(" TPM succes: %u\n", acm_info.tpm_success); LOG(" TPM success: %u\n", acm_info.tpm_success);
LOG(" FACB: %u\n", acm_info.facb); LOG(" FACB: %u\n", acm_info.facb);
LOG(" measured boot: %u\n", acm_info.measured_boot); LOG(" measured boot: %u\n", acm_info.measured_boot);
LOG(" verified boot: %u\n", acm_info.verified_boot); LOG(" verified boot: %u\n", acm_info.verified_boot);

View File

@ -668,7 +668,7 @@ bool stm_check_stm_image(void *stm_image, uint32_t stm_imagesize)
/* /*
* This function return BIOS STM resource. * This function return BIOS STM resource.
* Produced by SmmStm. * Produced by SmmStm.
* Comsumed by SmmMpService when Init. * Consumed by SmmMpService when Init.
* *
* @return BIOS STM resource * @return BIOS STM resource
*/ */

View File

@ -150,7 +150,7 @@ static struct acm_info_table *find_info_table(const void *ptr)
} }
/** /**
* Validate that the provided ACM is useable on this platform. * Validate that the provided ACM is usable on this platform.
*/ */
static int validate_acm(const void *ptr) static int validate_acm(const void *ptr)
{ {

View File

@ -98,7 +98,7 @@ static void clear_memory(void *unused)
__func__, (void *)pgtbl, (void *)vmem_addr); __func__, (void *)pgtbl, (void *)vmem_addr);
} }
/* Now clear all useable DRAM */ /* Now clear all usable DRAM */
memranges_each_entry(r, &mem) { memranges_each_entry(r, &mem) {
if (range_entry_tag(r) != BM_MEM_RAM) if (range_entry_tag(r) != BM_MEM_RAM)
continue; continue;

View File

@ -55,7 +55,7 @@ uint32_t tpm_extend_pcr(int pcr, enum vb2_hash_algorithm digest_algo,
const char *name); const char *name);
/** /**
* Issue a TPM_Clear and reenable/reactivate the TPM. * Issue a TPM_Clear and re-enable/reactivate the TPM.
* @return TPM_SUCCESS on success. If not a tpm error is returned * @return TPM_SUCCESS on success. If not a tpm error is returned
*/ */
uint32_t tpm_clear_and_reenable(void); uint32_t tpm_clear_and_reenable(void);

View File

@ -273,7 +273,7 @@ uint32_t tlcl_self_test_full(void)
uint32_t tlcl_lock_nv_write(uint32_t index) uint32_t tlcl_lock_nv_write(uint32_t index)
{ {
struct tpm2_response *response; struct tpm2_response *response;
/* TPM Wll reject attempts to write at non-defined index. */ /* TPM Will reject attempts to write at non-defined index. */
struct tpm2_nv_write_lock_cmd nv_wl = { struct tpm2_nv_write_lock_cmd nv_wl = {
.nvIndex = HR_NV_INDEX + index, .nvIndex = HR_NV_INDEX + index,
}; };
@ -372,7 +372,7 @@ uint32_t tlcl_define_space(uint32_t space_index, size_t space_size,
if (!response) if (!response)
return TPM_E_NO_DEVICE; return TPM_E_NO_DEVICE;
/* Map TPM2 retrun codes into common vboot represenation. */ /* Map TPM2 return codes into common vboot representation. */
switch (response->hdr.tpm_code) { switch (response->hdr.tpm_code) {
case TPM2_RC_SUCCESS: case TPM2_RC_SUCCESS:
return TPM_SUCCESS; return TPM_SUCCESS;

View File

@ -28,7 +28,7 @@ int tpm_marshal_command(TPM_CC command, const void *tpm_command_body,
* tpm_unmarshal_response * tpm_unmarshal_response
* *
* Given a buffer received from the TPM in response to a certain command, * Given a buffer received from the TPM in response to a certain command,
* deserialize the buffer into the expeced response structure. * deserialize the buffer into the expected response structure.
* *
* struct tpm2_response is a union of all possible responses. * struct tpm2_response is a union of all possible responses.
* *