diff options
author | nicky sielicki <nlsielicki@wisc.edu> | 2015-04-09 20:21:56 -0500 |
---|---|---|
committer | Martin Roth <gaumless@gmail.com> | 2015-04-10 17:57:11 +0200 |
commit | 1376b680c24025234e8bad0e7982dfca4dc1afec (patch) | |
tree | e45460d167c7058b134a959c0133a4b6fcb002e6 /src/southbridge/intel | |
parent | 1483822ab8a1748b18b4a41e24db2381121c04ef (diff) |
southbridge/intel/fsp_rangeley/ : Spellcheck + Formatting
Changes:
acpi.c - Capitalize an acronym.
early_spi.c - Spelling error.
gpio.c - Capitalization of acronym + sentences.
gpio.h - Capitalization of sentences.
lpc.c - Capitalization of sentences.
soc.c - Spelling error + capitalization of acronym.
I just wanted to go through the process of commiting something onto Gerrit.
Change-Id: Iad2ac5409f883c5b7cbc25e4e296f386ad7e13d0
Signed-off-by: nicky sielicki <nlsielicki@wisc.edu>
Reviewed-on: http://review.coreboot.org/9510
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <gaumless@gmail.com>
Diffstat (limited to 'src/southbridge/intel')
-rw-r--r-- | src/southbridge/intel/fsp_rangeley/acpi.c | 2 | ||||
-rw-r--r-- | src/southbridge/intel/fsp_rangeley/early_spi.c | 2 | ||||
-rw-r--r-- | src/southbridge/intel/fsp_rangeley/gpio.c | 4 | ||||
-rw-r--r-- | src/southbridge/intel/fsp_rangeley/gpio.h | 6 | ||||
-rw-r--r-- | src/southbridge/intel/fsp_rangeley/lpc.c | 2 | ||||
-rw-r--r-- | src/southbridge/intel/fsp_rangeley/soc.c | 4 |
6 files changed, 10 insertions, 10 deletions
diff --git a/src/southbridge/intel/fsp_rangeley/acpi.c b/src/southbridge/intel/fsp_rangeley/acpi.c index 19d6154320..202b5b2cda 100644 --- a/src/southbridge/intel/fsp_rangeley/acpi.c +++ b/src/southbridge/intel/fsp_rangeley/acpi.c @@ -30,7 +30,7 @@ #endif /** - * Fill in the fadt with generic values that can be overridden later. + * Fill in the FADT with generic values that can be overridden later. */ typedef struct southbridge_intel_fsp_rangeley_config config_t; diff --git a/src/southbridge/intel/fsp_rangeley/early_spi.c b/src/southbridge/intel/fsp_rangeley/early_spi.c index ef8cc98fc6..ff15d8f3b4 100644 --- a/src/southbridge/intel/fsp_rangeley/early_spi.c +++ b/src/southbridge/intel/fsp_rangeley/early_spi.c @@ -49,7 +49,7 @@ static int early_spi_read_block(u32 offset, u8 size, u8 *buffer) RCBA16(SPIBAR_HSFC) = SPIBAR_HSFC_BYTE_COUNT(size) | SPIBAR_HSFC_CYCLE_READ; - /* Start transactinon */ + /* Start transaction */ RCBA16(SPIBAR_HSFC) |= SPIBAR_HSFC_GO; /* Wait for completion */ diff --git a/src/southbridge/intel/fsp_rangeley/gpio.c b/src/southbridge/intel/fsp_rangeley/gpio.c index 6ea9c2e7e5..2b3ff9adfd 100644 --- a/src/southbridge/intel/fsp_rangeley/gpio.c +++ b/src/southbridge/intel/fsp_rangeley/gpio.c @@ -64,7 +64,7 @@ void setup_soc_gpios(const struct soc_gpio_map *gpio) if (gpio->sus.we) outl(*((u32*)gpio->sus.we), gpiobase + GPIO_SUS_WE); - /* GPIO PAD settings */ + /* GPIO PAD Settings */ /* CFIO Core Well Set 1 */ if ((gpio->core.cfio_init != NULL) || (gpio->core.cfio_entrynum != 0)) { write32(cfiobase + (0x0700 / sizeof(u32)), (u32)0x01001002); @@ -100,7 +100,7 @@ int get_gpio(int gpio_num) int bit; if (gpio_num > MAX_GPIO_NUMBER) - return 0; /* Ignore wrong gpio numbers. */ + return 0; /* Ignore wrong GPIO numbers. */ bit = gpio_num % 32; diff --git a/src/southbridge/intel/fsp_rangeley/gpio.h b/src/southbridge/intel/fsp_rangeley/gpio.h index 4f4a6cdf86..53d77e0974 100644 --- a/src/southbridge/intel/fsp_rangeley/gpio.h +++ b/src/southbridge/intel/fsp_rangeley/gpio.h @@ -117,11 +117,11 @@ struct soc_gpio_map { /* Configure GPIOs with mainboard provided settings */ void setup_soc_gpios(const struct soc_gpio_map *gpio); -/* get GPIO pin value */ +/* Get GPIO pin value */ int get_gpio(int gpio_num); /* - * get a number comprised of multiple GPIO values. gpio_num_array points to - * the array of gpio pin numbers to scan, terminated by -1. + * Get a number comprised of multiple GPIO values. gpio_num_array points to + * the array of GPIO pin numbers to scan, terminated by -1. */ unsigned get_gpios(const int *gpio_num_array); diff --git a/src/southbridge/intel/fsp_rangeley/lpc.c b/src/southbridge/intel/fsp_rangeley/lpc.c index 80673a627d..2a5e270645 100644 --- a/src/southbridge/intel/fsp_rangeley/lpc.c +++ b/src/southbridge/intel/fsp_rangeley/lpc.c @@ -65,7 +65,7 @@ static void soc_enable_apic(struct device *dev) *ioapic_index = 0; *ioapic_data = (1 << 25); - /* affirm full set of redirection table entries ("write once") */ + /* Affirm full set of redirection table entries ("write once") */ *ioapic_index = 1; reg32 = *ioapic_data; *ioapic_index = 1; diff --git a/src/southbridge/intel/fsp_rangeley/soc.c b/src/southbridge/intel/fsp_rangeley/soc.c index fa03ccdf2a..4e443c51dc 100644 --- a/src/southbridge/intel/fsp_rangeley/soc.c +++ b/src/southbridge/intel/fsp_rangeley/soc.c @@ -61,7 +61,7 @@ int soc_silicon_supported(int type, int rev) return 0; } -/* Set bit in Function Disble register to hide this device */ +/* Set bit in Function Disable register to hide this device */ static void soc_hide_devfn(unsigned devfn) { /* TODO Function Disable. */ @@ -77,7 +77,7 @@ void soc_enable(device_t dev) if (!dev->enabled) { printk(BIOS_DEBUG, "%s: Disabling device\n", dev_path(dev)); - /* Ensure memory, io, and bus master are all disabled */ + /* Ensure memory, IO, and bus master are all disabled */ reg32 = pci_read_config32(dev, PCI_COMMAND); reg32 &= ~(PCI_COMMAND_MASTER | PCI_COMMAND_MEMORY | PCI_COMMAND_IO); |