summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/bootmem.h2
-rw-r--r--src/include/console/post_codes.h4
-rw-r--r--src/include/device_tree.h2
-rw-r--r--src/include/spd_ddr2.h2
-rw-r--r--src/include/spi-generic.h2
-rw-r--r--src/include/timer.h2
6 files changed, 7 insertions, 7 deletions
diff --git a/src/include/bootmem.h b/src/include/bootmem.h
index 53e2d0f9db..165f7da571 100644
--- a/src/include/bootmem.h
+++ b/src/include/bootmem.h
@@ -38,7 +38,7 @@ enum bootmem_type {
BM_MEM_UNUSABLE, /* Unusable address space */
BM_MEM_VENDOR_RSVD, /* Vendor Reserved */
BM_MEM_OPENSBI, /* Risc-V OpenSBI */
- BM_MEM_BL31, /* Arm64 BL31 exectuable */
+ BM_MEM_BL31, /* Arm64 BL31 executable */
BM_MEM_TABLE, /* Ram configuration tables are kept in */
/* Tags below this point are ignored for the OS table. */
BM_MEM_OS_CUTOFF = BM_MEM_TABLE,
diff --git a/src/include/console/post_codes.h b/src/include/console/post_codes.h
index 1813c9e5a2..9877a5ea1f 100644
--- a/src/include/console/post_codes.h
+++ b/src/include/console/post_codes.h
@@ -156,7 +156,7 @@
#define POST_BS_DEV_ENUMERATE 0x72
/**
- * \brief Device Resource Allocatio
+ * \brief Device Resource Allocation
*
* Boot State Machine: bs_dev_resources()
*/
@@ -365,7 +365,7 @@
/**
* \brief TPM failure
*
- * An error with the TPM, either unexepcted state or communications failure.
+ * An error with the TPM, either unexpected state or communications failure.
*/
#define POST_TPM_FAILURE 0xed
diff --git a/src/include/device_tree.h b/src/include/device_tree.h
index 56a9361bd8..30da803b63 100644
--- a/src/include/device_tree.h
+++ b/src/include/device_tree.h
@@ -117,7 +117,7 @@ int fdt_node_name(const void *blob, uint32_t offset, const char **name);
void fdt_print_node(const void *blob, uint32_t offset);
int fdt_skip_node(const void *blob, uint32_t offset);
-/* Read a flattened device tree into a heirarchical structure which refers to
+/* Read a flattened device tree into a hierarchical structure which refers to
the contents of the flattened tree in place. Modifying the flat tree
invalidates the unflattened one. */
struct device_tree *fdt_unflatten(const void *blob);
diff --git a/src/include/spd_ddr2.h b/src/include/spd_ddr2.h
index 724c996b59..c5b2763e86 100644
--- a/src/include/spd_ddr2.h
+++ b/src/include/spd_ddr2.h
@@ -57,7 +57,7 @@
SDRAM device, it could be 0x4, 0x8, so address
lines for that would be 2, and 3 */
-/* Number of Ranks bit [2:0], Package (bit4, 1 = stack, 0 = planr),
+/* Number of Ranks bit [2:0], Package (bit4, 1 = stack, 0 = planar),
* Height bit[7:5]
*/
#define SPD_MOD_ATTRIB_RANK 5
diff --git a/src/include/spi-generic.h b/src/include/spi-generic.h
index c88dcb2228..30228867fc 100644
--- a/src/include/spi-generic.h
+++ b/src/include/spi-generic.h
@@ -264,7 +264,7 @@ void spi_release_bus(const struct spi_slave *slave);
* din: Pointer to a string of bytes that will be filled in.
* bytesin: How many bytes to read.
*
- * Note that din and dout are transferred simulataneously in a full duplex
+ * Note that din and dout are transferred simultaneously in a full duplex
* transaction. The number of clocks within one transaction is calculated
* as: MAX(bytesout*8, bytesin*8).
*
diff --git a/src/include/timer.h b/src/include/timer.h
index 621b486594..3560966b0b 100644
--- a/src/include/timer.h
+++ b/src/include/timer.h
@@ -160,7 +160,7 @@ static inline void stopwatch_tick(struct stopwatch *sw)
}
/*
- * Tick and check the stopwatch for expiration. Returns non-zero on exipration.
+ * Tick and check the stopwatch for expiration. Returns non-zero on expiration.
*/
static inline int stopwatch_expired(struct stopwatch *sw)
{