blob: 6f5fdf0a19ae6e3cfc9e5490ced23720763dfd53 [file] [log] [blame]
Becky Bruce1ac9f1f2007-08-15 04:45:44 +10001#ifndef _ASM_POWERPC_LMB_H
2#define _ASM_POWERPC_LMB_H
Paul Mackerras9b6b5632005-10-06 12:06:20 +10003
David S. Millerd9b2b2a2008-02-13 16:56:49 -08004#include <asm/udbg.h>
Paul Mackerras9b6b5632005-10-06 12:06:20 +10005
David S. Millerd9b2b2a2008-02-13 16:56:49 -08006#define LMB_DBG(fmt...) udbg_printf(fmt)
Paul Mackerras9b6b5632005-10-06 12:06:20 +10007
David S. Millerd9b2b2a2008-02-13 16:56:49 -08008#ifdef CONFIG_PPC32
Kumar Galaedc164d2008-04-16 05:52:24 +10009extern phys_addr_t lowmem_end_addr;
10#define LMB_REAL_LIMIT lowmem_end_addr
David S. Millerd9b2b2a2008-02-13 16:56:49 -080011#else
12#define LMB_REAL_LIMIT 0
13#endif
Paul Mackerras9b6b5632005-10-06 12:06:20 +100014
Becky Bruce1ac9f1f2007-08-15 04:45:44 +100015#endif /* _ASM_POWERPC_LMB_H */