2011-04-29 04:27:20 +08:00
|
|
|
/*
|
|
|
|
* arch/arm/include/asm/prom.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2009 Canonical Ltd. <jeremy.kerr@canonical.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#ifndef __ASMARM_PROM_H
|
|
|
|
#define __ASMARM_PROM_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_OF
|
|
|
|
|
2011-04-29 04:27:21 +08:00
|
|
|
extern struct machine_desc *setup_machine_fdt(unsigned int dt_phys);
|
|
|
|
extern void arm_dt_memblock_reserve(void);
|
|
|
|
|
|
|
|
#else /* CONFIG_OF */
|
|
|
|
|
|
|
|
static inline struct machine_desc *setup_machine_fdt(unsigned int dt_phys)
|
|
|
|
{
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline void arm_dt_memblock_reserve(void) { }
|
|
|
|
|
2011-04-29 04:27:20 +08:00
|
|
|
#endif /* CONFIG_OF */
|
|
|
|
#endif /* ASMARM_PROM_H */
|