2 * arch/mips/include/asm/prom.h
4 * Copyright (C) 2010 Cisco Systems Inc. <dediao@cisco.com>
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.
15 #include <linux/bug.h>
17 #include <linux/types.h>
18 #include <asm/bootinfo.h>
20 extern void device_tree_init(void);
22 struct boot_param_header
;
24 extern void __dt_setup_arch(struct boot_param_header
*bph
);
26 #define dt_setup_arch(sym) \
28 extern struct boot_param_header __dtb_##sym##_begin; \
30 __dt_setup_arch(&__dtb_##sym##_begin); \
34 static inline void device_tree_init(void) { }
35 #endif /* CONFIG_OF */
37 extern char *mips_get_machine_name(void);
38 extern void mips_set_machine_name(const char *name
);
40 #endif /* __ASM_PROM_H */