summaryrefslogtreecommitdiff
path: root/src/lib/cbmem.c
diff options
context:
space:
mode:
authorMartin Roth <martin.roth@se-eng.com>2013-07-09 21:51:14 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-07-10 20:17:51 +0200
commitcbf2bd715a6a3c5d758c52b4634284b260805d17 (patch)
tree7ab8f3e81ac8ca14c6c37e4bf733332a99d0acb1 /src/lib/cbmem.c
parent63373edce006983d1e2aef7d71c1653ae337ed18 (diff)
lib: Fix spelling
Change-Id: I999987af9cb44906e3c3135c0351a0cd6eb210ff Signed-off-by: Martin Roth <martin.roth@se-eng.com> Reviewed-on: http://review.coreboot.org/3756 Reviewed-by: Dave Frodin <dave.frodin@se-eng.com> Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/lib/cbmem.c')
-rw-r--r--src/lib/cbmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cbmem.c b/src/lib/cbmem.c
index 3702da1e1d..9e2ce0df84 100644
--- a/src/lib/cbmem.c
+++ b/src/lib/cbmem.c
@@ -90,7 +90,7 @@ void cbmem_init(u64 baseaddr, u64 size)
for (;;) ;
}
- /* we don't need to call this in romstage, usefull only from ramstage */
+ /* we don't need to call this in romstage, useful only from ramstage */
#ifndef __PRE_RAM__
set_cbmem_toc((struct cbmem_entry *)(unsigned long)baseaddr);
#endif
@@ -205,7 +205,7 @@ void *cbmem_find(u32 id)
}
#if CONFIG_EARLY_CBMEM_INIT || !defined(__PRE_RAM__)
-/* Returns True if it was not intialized before. */
+/* Returns True if it was not initialized before. */
int cbmem_initialize(void)
{
int rv = 0;