0001
0002
0003
0004
0005
0006
0007 #ifndef __ASM_PROM_H
0008 #define __ASM_PROM_H
0009
0010 #ifdef CONFIG_USE_OF
0011 #include <linux/bug.h>
0012 #include <linux/io.h>
0013 #include <linux/types.h>
0014 #include <asm/bootinfo.h>
0015
0016 extern void device_tree_init(void);
0017
0018 struct boot_param_header;
0019
0020 extern void __dt_setup_arch(void *bph);
0021 extern int __dt_register_buses(const char *bus0, const char *bus1);
0022
0023 #else
0024 static inline void device_tree_init(void) { }
0025 #endif
0026
0027 extern char *mips_get_machine_name(void);
0028 extern void mips_set_machine_name(const char *name);
0029
0030 #endif