aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-powerpc/prom.h3
-rw-r--r--include/asm-sparc/prom.h3
-rw-r--r--include/asm-sparc64/prom.h3
3 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-powerpc/prom.h b/include/asm-powerpc/prom.h
index 1134aeab2327..9fe0152ae245 100644
--- a/include/asm-powerpc/prom.h
+++ b/include/asm-powerpc/prom.h
@@ -21,6 +21,9 @@
21#include <asm/irq.h> 21#include <asm/irq.h>
22#include <asm/atomic.h> 22#include <asm/atomic.h>
23 23
24#define OF_ROOT_NODE_ADDR_CELLS_DEFAULT 1
25#define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1
26
24/* Definitions used by the flattened device tree */ 27/* Definitions used by the flattened device tree */
25#define OF_DT_HEADER 0xd00dfeed /* marker */ 28#define OF_DT_HEADER 0xd00dfeed /* marker */
26#define OF_DT_BEGIN_NODE 0x1 /* Start of node, full name */ 29#define OF_DT_BEGIN_NODE 0x1 /* Start of node, full name */
diff --git a/include/asm-sparc/prom.h b/include/asm-sparc/prom.h
index d67af08abb43..a8a121f6332b 100644
--- a/include/asm-sparc/prom.h
+++ b/include/asm-sparc/prom.h
@@ -20,6 +20,9 @@
20#include <linux/proc_fs.h> 20#include <linux/proc_fs.h>
21#include <asm/atomic.h> 21#include <asm/atomic.h>
22 22
23#define OF_ROOT_NODE_ADDR_CELLS_DEFAULT 2
24#define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1
25
23typedef u32 phandle; 26typedef u32 phandle;
24typedef u32 ihandle; 27typedef u32 ihandle;
25 28
diff --git a/include/asm-sparc64/prom.h b/include/asm-sparc64/prom.h
index 9905ed057d93..c98d1545ee8d 100644
--- a/include/asm-sparc64/prom.h
+++ b/include/asm-sparc64/prom.h
@@ -20,6 +20,9 @@
20#include <linux/proc_fs.h> 20#include <linux/proc_fs.h>
21#include <asm/atomic.h> 21#include <asm/atomic.h>
22 22
23#define OF_ROOT_NODE_ADDR_CELLS_DEFAULT 2
24#define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1
25
23typedef u32 phandle; 26typedef u32 phandle;
24typedef u32 ihandle; 27typedef u32 ihandle;
25 28