mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
d2912cb15b
Based on 2 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation # extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 4122 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Enrico Weigelt <info@metux.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
31 lines
696 B
C
31 lines
696 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* arch/mips/include/asm/prom.h
|
|
*
|
|
* Copyright (C) 2010 Cisco Systems Inc. <dediao@cisco.com>
|
|
*/
|
|
#ifndef __ASM_PROM_H
|
|
#define __ASM_PROM_H
|
|
|
|
#ifdef CONFIG_USE_OF
|
|
#include <linux/bug.h>
|
|
#include <linux/io.h>
|
|
#include <linux/types.h>
|
|
#include <asm/bootinfo.h>
|
|
|
|
extern void device_tree_init(void);
|
|
|
|
struct boot_param_header;
|
|
|
|
extern void __dt_setup_arch(void *bph);
|
|
extern int __dt_register_buses(const char *bus0, const char *bus1);
|
|
|
|
#else /* CONFIG_OF */
|
|
static inline void device_tree_init(void) { }
|
|
#endif /* CONFIG_OF */
|
|
|
|
extern char *mips_get_machine_name(void);
|
|
extern void mips_set_machine_name(const char *name);
|
|
|
|
#endif /* __ASM_PROM_H */
|