summaryrefslogtreecommitdiffstats
path: root/src/usr/devtree
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/devtree')
-rw-r--r--src/usr/devtree/bld_devtree.C4
-rw-r--r--src/usr/devtree/devtree.H4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/devtree/bld_devtree.C b/src/usr/devtree/bld_devtree.C
index 34c884a74..07ec2536c 100644
--- a/src/usr/devtree/bld_devtree.C
+++ b/src/usr/devtree/bld_devtree.C
@@ -481,7 +481,7 @@ void add_reserved_mem(devTree * i_dt,
* Unless a component (skiboot or Linux) specifically knows about a region
* (usually based on its name) and decides to change or remove it, all
* these regions are passed as-is to Linux and to subsequent kernels
- * accross kexec and are kept preserved.
+ * across kexec and are kept preserved.
*/
dtOffset_t rootNode = i_dt->findNode("/");
@@ -800,7 +800,7 @@ errlHndl_t bld_fdt_mem(devTree * i_dt, bool i_smallTree)
* In order to be able to handle affinity propertly, we require that
* a memory node is created for each range of memory that has a different
* "affinity", which in practice means for each chip since we don't
- * support memory interleaved accross multiple chips on P8.
+ * support memory interleaved across multiple chips on P8.
*
* Additionally, it is *not* required that one chip = one memory node,
* it is perfectly acceptable to break down the memory of one chip into
diff --git a/src/usr/devtree/devtree.H b/src/usr/devtree/devtree.H
index fdf511e39..a65504774 100644
--- a/src/usr/devtree/devtree.H
+++ b/src/usr/devtree/devtree.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2014 */
+/* Contributors Listed Below - COPYRIGHT 2013,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -190,7 +190,7 @@ typedef size_t dtOffset_t;
* @param[in] i_addrs Array of addresses to set in reserved memory
* @param[in] i_sizes Array of sizes to set in reserved memory
* @param[in] i_num Number of elements in the arrays
- * @return int, zero on sucesses otherwise non zero
+ * @return int, zero on successes otherwise non zero
*/
int populateReservedMem(uint64_t i_addrs[],
uint64_t i_sizes[],
OpenPOWER on IntegriCloud