treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
[linux-block.git] / arch / mips / include / asm / prom.h
CommitLineData
d2912cb1 1/* SPDX-License-Identifier: GPL-2.0-only */
f2ffa5ab
DD
2/*
3 * arch/mips/include/asm/prom.h
4 *
5 * Copyright (C) 2010 Cisco Systems Inc. <dediao@cisco.com>
f2ffa5ab 6 */
dd5d1380
RB
7#ifndef __ASM_PROM_H
8#define __ASM_PROM_H
f2ffa5ab 9
01306aea 10#ifdef CONFIG_USE_OF
0a4c531c
RB
11#include <linux/bug.h>
12#include <linux/io.h>
13#include <linux/types.h>
f2ffa5ab
DD
14#include <asm/bootinfo.h>
15
4c60071c 16extern void device_tree_init(void);
0a4c531c 17
7d6168e5
RB
18struct boot_param_header;
19
0cdde839 20extern void __dt_setup_arch(void *bph);
84988c06 21extern int __dt_register_buses(const char *bus0, const char *bus1);
7d6168e5 22
f2ffa5ab 23#else /* CONFIG_OF */
4c60071c 24static inline void device_tree_init(void) { }
f2ffa5ab
DD
25#endif /* CONFIG_OF */
26
9169a5d0
JC
27extern char *mips_get_machine_name(void);
28extern void mips_set_machine_name(const char *name);
29
dd5d1380 30#endif /* __ASM_PROM_H */