1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/mips/include/asm/prom.h
5 * Copyright (C) 2010 Cisco Systems Inc. <dediao@cisco.com>
11 #include <linux/bug.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_USE_OF */
24 static inline void device_tree_init(void) { }
25 #endif /* !CONFIG_USE_OF */
27 extern char *mips_get_machine_name(void);
28 extern void mips_set_machine_name(const char *name
);
30 #endif /* __ASM_PROM_H */