summaryrefslogtreecommitdiff
path: root/cpu/mpc8xx/commproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/mpc8xx/commproc.c')
-rw-r--r--cpu/mpc8xx/commproc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc8xx/commproc.c b/cpu/mpc8xx/commproc.c
index 62a4458a5e..37c72a7273 100644
--- a/cpu/mpc8xx/commproc.c
+++ b/cpu/mpc8xx/commproc.c
@@ -91,7 +91,7 @@ uint dpram_base_align (uint align)
}
#endif /* CFG_ALLOC_DPRAM */
-#ifdef CONFIG_POST
+#if defined(CONFIG_POST) || defined(CONFIG_LOGBUFFER)
void post_word_store (ulong a)
{
@@ -109,4 +109,4 @@ ulong post_word_load (void)
return *(volatile ulong *) save_addr;
}
-#endif /* CONFIG_POST */
+#endif /* CONFIG_POST || CONFIG_LOGBUFFER*/