| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | #include <linux/of.h> /* linux/of.h gets to determine #include ordering */ |
|---|
| 2 | 3 | #ifndef _SPARC_PROM_H |
|---|
| 3 | 4 | #define _SPARC_PROM_H |
|---|
| .. | .. |
|---|
| 11 | 12 | * |
|---|
| 12 | 13 | * Updates for PPC64 by Peter Bergner & David Engebretsen, IBM Corp. |
|---|
| 13 | 14 | * Updates for SPARC by David S. Miller |
|---|
| 14 | | - * |
|---|
| 15 | | - * This program is free software; you can redistribute it and/or |
|---|
| 16 | | - * modify it under the terms of the GNU General Public License |
|---|
| 17 | | - * as published by the Free Software Foundation; either version |
|---|
| 18 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 19 | 15 | */ |
|---|
| 20 | 16 | #include <linux/types.h> |
|---|
| 21 | 17 | #include <linux/of_pdt.h> |
|---|
| .. | .. |
|---|
| 23 | 19 | #include <linux/mutex.h> |
|---|
| 24 | 20 | #include <linux/atomic.h> |
|---|
| 25 | 21 | #include <linux/irqdomain.h> |
|---|
| 26 | | - |
|---|
| 27 | | -#define OF_ROOT_NODE_ADDR_CELLS_DEFAULT 2 |
|---|
| 28 | | -#define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1 |
|---|
| 29 | 22 | |
|---|
| 30 | 23 | #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l)) |
|---|
| 31 | 24 | #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2)) |
|---|