Merge tag 'v3.10.107' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / include / asm / prom.h
CommitLineData
9eb8f674
GL
1/*
2 * arch/arm/include/asm/prom.h
3 *
4 * Copyright (C) 2009 Canonical Ltd. <jeremy.kerr@canonical.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */
11#ifndef __ASMARM_PROM_H
12#define __ASMARM_PROM_H
13
31982e52
PA
14#define HAVE_ARCH_DEVTREE_FIXUPS
15
9eb8f674
GL
16#ifdef CONFIG_OF
17
93c02ab4
GL
18extern struct machine_desc *setup_machine_fdt(unsigned int dt_phys);
19extern void arm_dt_memblock_reserve(void);
a0ae0240 20extern void __init arm_dt_init_cpu_maps(void);
93c02ab4
GL
21
22#else /* CONFIG_OF */
23
24static inline struct machine_desc *setup_machine_fdt(unsigned int dt_phys)
25{
26 return NULL;
27}
28
29static inline void arm_dt_memblock_reserve(void) { }
a0ae0240 30static inline void arm_dt_init_cpu_maps(void) { }
93c02ab4 31
9eb8f674
GL
32#endif /* CONFIG_OF */
33#endif /* ASMARM_PROM_H */