prom.h (46d60bdb1283bb0f22d9480e2d6c972623cb4182) | prom.h (36afe68714d45edf34430d28e3dc787425ad8b22) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2#ifndef _POWERPC_PROM_H 3#define _POWERPC_PROM_H 4#ifdef __KERNEL__ 5 6/* 7 * Definitions for talking to the Open Firmware PROM on 8 * Power Macintosh computers. 9 * 10 * Copyright (C) 1996-2005 Paul Mackerras. 11 * 12 * Updates for PPC64 by Peter Bergner & David Engebretsen, IBM Corp. 13 */ 14#include <linux/types.h> | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2#ifndef _POWERPC_PROM_H 3#define _POWERPC_PROM_H 4#ifdef __KERNEL__ 5 6/* 7 * Definitions for talking to the Open Firmware PROM on 8 * Power Macintosh computers. 9 * 10 * Copyright (C) 1996-2005 Paul Mackerras. 11 * 12 * Updates for PPC64 by Peter Bergner & David Engebretsen, IBM Corp. 13 */ 14#include <linux/types.h> |
15#include <asm/irq.h> 16#include <linux/atomic.h> | |
17#include <asm/firmware.h> 18 | 15#include <asm/firmware.h> 16 |
19/* These includes should be removed once implicit includes are cleaned up. */ 20#include <linux/of.h> 21#include <linux/of_fdt.h> 22#include <linux/of_address.h> 23#include <linux/of_irq.h> 24#include <linux/platform_device.h> | 17struct device_node; 18struct property; |
25 26#define OF_DT_BEGIN_NODE 0x1 /* Start of node, full name */ 27#define OF_DT_END_NODE 0x2 /* End node */ 28#define OF_DT_PROP 0x3 /* Property: name off, size, 29 * content */ 30#define OF_DT_NOP 0x4 /* nop */ 31#define OF_DT_END 0x9 32 --- 151 unchanged lines hidden --- | 19 20#define OF_DT_BEGIN_NODE 0x1 /* Start of node, full name */ 21#define OF_DT_END_NODE 0x2 /* End node */ 22#define OF_DT_PROP 0x3 /* Property: name off, size, 23 * content */ 24#define OF_DT_NOP 0x4 /* nop */ 25#define OF_DT_END 0x9 26 --- 151 unchanged lines hidden --- |