2007-08-14 12:45:44 -06:00
|
|
|
#ifndef _ASM_POWERPC_LMB_H
|
|
|
|
#define _ASM_POWERPC_LMB_H
|
2005-10-05 20:06:20 -06:00
|
|
|
|
2008-02-13 17:56:49 -07:00
|
|
|
#include <asm/udbg.h>
|
2005-10-05 20:06:20 -06:00
|
|
|
|
2008-02-13 17:56:49 -07:00
|
|
|
#define LMB_DBG(fmt...) udbg_printf(fmt)
|
2005-10-05 20:06:20 -06:00
|
|
|
|
2008-02-13 17:56:49 -07:00
|
|
|
#ifdef CONFIG_PPC32
|
2008-04-15 13:52:24 -06: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 20:06:20 -06:00
|
|
|
|
2007-08-14 12:45:44 -06:00
|
|
|
#endif /* _ASM_POWERPC_LMB_H */
|