aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/lmb.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/lmb.h')
-rw-r--r--arch/powerpc/include/asm/lmb.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/lmb.h b/arch/powerpc/include/asm/lmb.h
new file mode 100644
index 00000000000..6f5fdf0a19a
--- /dev/null
+++ b/arch/powerpc/include/asm/lmb.h
@@ -0,0 +1,15 @@
+#ifndef _ASM_POWERPC_LMB_H
+#define _ASM_POWERPC_LMB_H
+
+#include <asm/udbg.h>
+
+#define LMB_DBG(fmt...) udbg_printf(fmt)
+
+#ifdef CONFIG_PPC32
+extern phys_addr_t lowmem_end_addr;
+#define LMB_REAL_LIMIT lowmem_end_addr
+#else
+#define LMB_REAL_LIMIT 0
+#endif
+
+#endif /* _ASM_POWERPC_LMB_H */