summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/powerpc/include/linux/of.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-10 13:18:05 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-23 14:54:56 +0100
commit0f1d2f6174999b574b57a4fc268ce9a3c618d55f (patch)
treea167df93d86a90d015b4fab0a6dc2489e6e15628 /rtemsbsd/powerpc/include/linux/of.h
parentlinux/of.h: Add of_find_node_by_path() (diff)
downloadrtems-libbsd-0f1d2f6174999b574b57a4fc268ce9a3c618d55f.tar.bz2
linux/of_address.h: Add of_translate_address()
Update #3277.
Diffstat (limited to 'rtemsbsd/powerpc/include/linux/of.h')
-rw-r--r--rtemsbsd/powerpc/include/linux/of.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rtemsbsd/powerpc/include/linux/of.h b/rtemsbsd/powerpc/include/linux/of.h
index e91baaaf..7be45576 100644
--- a/rtemsbsd/powerpc/include/linux/of.h
+++ b/rtemsbsd/powerpc/include/linux/of.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, 2017 embedded brains GmbH
+ * Copyright (c) 2015, 2018 embedded brains GmbH
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -35,6 +35,8 @@
extern "C" {
#endif /* __cplusplus */
+#define OF_BAD_ADDR ((uint64_t)-1)
+
typedef uint32_t phandle;
struct device_node {