2011-04-28 20:27:20 +00: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
|
|
|
|
|
2012-10-31 15:57:49 +00:00
|
|
|
#define HAVE_ARCH_DEVTREE_FIXUPS
|
|
|
|
|
2011-04-28 20:27:20 +00:00
|
|
|
#ifdef CONFIG_OF
|
|
|
|
|
2013-07-26 13:55:59 +00:00
|
|
|
extern const struct machine_desc *setup_machine_fdt(unsigned int dt_phys);
|
2011-04-28 20:27:21 +00:00
|
|
|
extern void arm_dt_memblock_reserve(void);
|
2011-11-17 17:31:51 +00:00
|
|
|
extern void __init arm_dt_init_cpu_maps(void);
|
2011-04-28 20:27:21 +00:00
|
|
|
|
|
|
|
#else /* CONFIG_OF */
|
|
|
|
|
2013-07-26 13:55:59 +00:00
|
|
|
static inline const struct machine_desc *setup_machine_fdt(unsigned int dt_phys)
|
2011-04-28 20:27:21 +00:00
|
|
|
{
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline void arm_dt_memblock_reserve(void) { }
|
2011-11-17 17:31:51 +00:00
|
|
|
static inline void arm_dt_init_cpu_maps(void) { }
|
2011-04-28 20:27:21 +00:00
|
|
|
|
2011-04-28 20:27:20 +00:00
|
|
|
#endif /* CONFIG_OF */
|
|
|
|
#endif /* ASMARM_PROM_H */
|