WIP FPC-III support
[linux/fpc-iii.git] / arch / mips / include / asm / prom.h
blobc42e07671934587b8cf1b68f7b592b1b50eb4d97
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * arch/mips/include/asm/prom.h
5 * Copyright (C) 2010 Cisco Systems Inc. <dediao@cisco.com>
6 */
7 #ifndef __ASM_PROM_H
8 #define __ASM_PROM_H
10 #ifdef CONFIG_USE_OF
11 #include <linux/bug.h>
12 #include <linux/io.h>
13 #include <linux/types.h>
14 #include <asm/bootinfo.h>
16 extern void device_tree_init(void);
18 struct boot_param_header;
20 extern void __dt_setup_arch(void *bph);
21 extern int __dt_register_buses(const char *bus0, const char *bus1);
23 #else /* CONFIG_OF */
24 static inline void device_tree_init(void) { }
25 #endif /* CONFIG_OF */
27 extern char *mips_get_machine_name(void);
28 extern void mips_set_machine_name(const char *name);
30 #endif /* __ASM_PROM_H */