aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/cse
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-02-12 12:24:25 +0100
committerMartin Roth <martinroth@google.com>2018-02-20 23:17:39 +0000
commit5268b76801280667d8c27619fe2d771569c4e346 (patch)
tree075fa6b949b6719450755cdcdec912936a6754c2 /src/soc/intel/common/block/cse
parente33f120cb808b946f3052019c9e4cf54b086491a (diff)
src/soc: Fix various typos
These typos were found through manual review and grep. Change-Id: I6693a9e3b51256b91342881a7116587f68ee96e6 Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/23706 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/soc/intel/common/block/cse')
-rw-r--r--src/soc/intel/common/block/cse/cse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/intel/common/block/cse/cse.c b/src/soc/intel/common/block/cse/cse.c
index 0ff999e199..4991db6126 100644
--- a/src/soc/intel/common/block/cse/cse.c
+++ b/src/soc/intel/common/block/cse/cse.c
@@ -31,7 +31,7 @@
/* Wait up to 15 sec for HECI to get ready */
#define HECI_DELAY_READY (15 * 1000)
-/* Wait up to 100 usec between circullar buffer polls */
+/* Wait up to 100 usec between circular buffer polls */
#define HECI_DELAY 100
/* Wait up to 5 sec for CSE to chew something we sent */
#define HECI_SEND_TIMEOUT (5 * 1000)
@@ -126,7 +126,7 @@ static uint32_t get_cse_bar(void)
static uint32_t read_bar(uint32_t offset)
{
struct cse_device *cse = car_get_var_ptr(&g_cse);
- /* Reach PCI config space to get BAR incase CAR global not available */
+ /* Reach PCI config space to get BAR in case CAR global not available */
if (!cse->sec_bar)
cse->sec_bar = get_cse_bar();
return read32((void *)(cse->sec_bar + offset));
@@ -135,7 +135,7 @@ static uint32_t read_bar(uint32_t offset)
static void write_bar(uint32_t offset, uint32_t val)
{
struct cse_device *cse = car_get_var_ptr(&g_cse);
- /* Reach PCI config space to get BAR incase CAR global not available */
+ /* Reach PCI config space to get BAR in case CAR global not available */
if (!cse->sec_bar)
cse->sec_bar = get_cse_bar();
return write32((void *)(cse->sec_bar + offset), val);
@@ -341,7 +341,7 @@ heci_send(const void *msg, size_t len, uint8_t host_addr, uint8_t client_addr)
/*
* Fragment the message into smaller messages not exceeding
- * useful circullar buffer length. Mark last message complete.
+ * useful circular buffer length. Mark last message complete.
*/
do {
hdr = MIN(max_length, remaining)