aboutsummaryrefslogtreecommitdiff
path: root/external/opal-prd
diff options
context:
space:
mode:
Diffstat (limited to 'external/opal-prd')
-rw-r--r--external/opal-prd/hostboot-interface.h2
-rw-r--r--external/opal-prd/i2c.c2
-rw-r--r--external/opal-prd/opal-prd.82
-rw-r--r--external/opal-prd/opal-prd.c4
-rw-r--r--external/opal-prd/test/test_pnor_ops.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/external/opal-prd/hostboot-interface.h b/external/opal-prd/hostboot-interface.h
index 0393152..05fe052 100644
--- a/external/opal-prd/hostboot-interface.h
+++ b/external/opal-prd/hostboot-interface.h
@@ -181,7 +181,7 @@ struct host_interfaces {
* @brief Write to Pnor
* @param[in] i_proc: processor Id
* @param[in] i_partitionName: name of the partition to write
- * @param[in] i_offset: offset withing the partition
+ * @param[in] i_offset: offset within the partition
* @param[in] i_data: pointer to the data to write
* @param[in] i_sizeBytes: size of data to write
* @retval rc - number of bytes written, or non-zero on error
diff --git a/external/opal-prd/i2c.c b/external/opal-prd/i2c.c
index 3c7b555..fbe2e9b 100644
--- a/external/opal-prd/i2c.c
+++ b/external/opal-prd/i2c.c
@@ -149,7 +149,7 @@ int i2c_write(uint32_t chip_id, uint8_t engine, uint8_t port,
/* Not all kernel driver versions support breaking up a write into
* two components (offset, data), so we coalesce them first and
- * issue a single write. The offset is layed out in BE format.
+ * issue a single write. The offset is laid out in BE format.
*/
size = offset_size + length;
buf = malloc(size);
diff --git a/external/opal-prd/opal-prd.8 b/external/opal-prd/opal-prd.8
index f3aa797..72027f5 100644
--- a/external/opal-prd/opal-prd.8
+++ b/external/opal-prd/opal-prd.8
@@ -47,7 +47,7 @@ Note that the daemon must be running in the background here, as a separate
process.
.PP
-Currently, there's one command available, 'occ', for controling the
+Currently, there's one command available, 'occ', for controlling the
on-chip-controllers. That has 3 possible sub-commands: \fIreset\fP,
\fIenable\fP, and \fIdisable\fP.
diff --git a/external/opal-prd/opal-prd.c b/external/opal-prd/opal-prd.c
index d3dbc16..18c6e49 100644
--- a/external/opal-prd/opal-prd.c
+++ b/external/opal-prd/opal-prd.c
@@ -1168,7 +1168,7 @@ static int handle_msg_occ_error(struct opal_prd_ctx *ctx,
proc = be64toh(msg->occ_error.chip);
- pr_debug("FW: firmware signalled OCC error for proc 0x%x", proc);
+ pr_debug("FW: firmware signaled OCC error for proc 0x%x", proc);
if (!hservice_runtime->process_occ_error) {
pr_log_nocall("process_occ_error");
@@ -1636,7 +1636,7 @@ static int run_prd_daemon(struct opal_prd_ctx *ctx)
pr_debug("HBRT: calling hservices_init");
rc = hservices_init(ctx, ctx->code_addr);
if (rc) {
- pr_log(LOG_ERR, "HBRT: Can't initiliase HBRT");
+ pr_log(LOG_ERR, "HBRT: Can't initialise HBRT");
goto out_close;
}
pr_debug("HBRT: hservices_init done");
diff --git a/external/opal-prd/test/test_pnor_ops.c b/external/opal-prd/test/test_pnor_ops.c
index 7ac471c..fd5e2c2 100644
--- a/external/opal-prd/test/test_pnor_ops.c
+++ b/external/opal-prd/test/test_pnor_ops.c
@@ -122,7 +122,7 @@ int main(int argc, char **argv)
perror("mkstemp");
return EXIT_FAILURE;
}
- /* So the file dissapears when we exit */
+ /* So the file disappears when we exit */
unlink(filename);
/* E for empty */