summaryrefslogtreecommitdiff
path: root/src/lib/cbmem.c
diff options
context:
space:
mode:
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;