summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-04-25 10:27:21 -0600
committerSimon Glass <sjg@chromium.org>2023-04-28 11:52:38 -0600
commitf43fc16812487289e98389f0f643d20c444f9c9c (patch)
tree412d95d550e2e03214f48c89db608c57886e0995
parentded112f24ca4078fa09dae181108f233657ec5fc (diff)
downloadu-boot-f43fc16812487289e98389f0f643d20c444f9c9c.tar.gz
u-boot-f43fc16812487289e98389f0f643d20c444f9c9c.tar.bz2
u-boot-f43fc16812487289e98389f0f643d20c444f9c9c.zip
fdt: Indicate that people should use the ofnode API
Add a note to the comment at the top of this file. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--lib/fdtdec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 0827e16859..55cc95db5d 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -1,6 +1,9 @@
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2011 The Chromium OS Authors.
+ *
+ * NOTE: Please do not add new devicetree-reading functionality into this file.
+ * Add it to the ofnode API instead, since that is compatible with livetree.
*/
#ifndef USE_HOSTCC