[U-Boot] [PATCH 1/5] libfdt.h: Introduce FDT_PATH_MAX

Pantelis Antoniou pantelis.antoniou at konsulko.com
Fri Jun 30 16:22:58 UTC 2017


Introduce FDT_PATH_MAX

Signed-off-by: Pantelis Antoniou <pantelis.antoniou at konsulko.com>
---
 lib/libfdt/libfdt.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/libfdt/libfdt.h b/lib/libfdt/libfdt.h
index 2f7ebf8..c369015 100644
--- a/lib/libfdt/libfdt.h
+++ b/lib/libfdt/libfdt.h
@@ -100,6 +100,9 @@
 
 #define FDT_ERR_MAX		18
 
+/* Maximum path size of a node (similar to PATH_MAX in *nix) */
+#define FDT_PATH_MAX	4096
+
 /**********************************************************************/
 /* Low-level functions (you probably don't need these)                */
 /**********************************************************************/
-- 
2.1.4



More information about the U-Boot mailing list