2007-08-14 11:45:44 -07:00
|
|
|
#ifndef _ASM_POWERPC_LMB_H
|
|
|
|
#define _ASM_POWERPC_LMB_H
|
2005-10-05 19:06:20 -07:00
|
|
|
|
2008-02-13 17:56:49 -07:00
|
|
|
#include <asm/udbg.h>
|
2005-10-05 19:06:20 -07:00
|
|
|
|
2008-02-13 17:56:49 -07:00
|
|
|
#define LMB_DBG(fmt...) udbg_printf(fmt)
|
2005-10-05 19:06:20 -07:00
|
|
|
|
2008-02-13 17:56:49 -07:00
|
|
|
#ifdef CONFIG_PPC32
|
2008-04-15 12:52:24 -07:00
|
|
|
extern phys_addr_t lowmem_end_addr;
|
|
|
|
#define LMB_REAL_LIMIT lowmem_end_addr
|
2008-02-13 17:56:49 -07:00
|
|
|
#else
|
|
|
|
#define LMB_REAL_LIMIT 0
|
|
|
|
#endif
|
2005-10-05 19:06:20 -07:00
|
|
|
|
2007-08-14 11:45:44 -07:00
|
|
|
#endif /* _ASM_POWERPC_LMB_H */
|