]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fdt: Indicate that people should use the ofnode API
authorSimon Glass <sjg@chromium.org>
Tue, 25 Apr 2023 16:27:21 +0000 (10:27 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 28 Apr 2023 17:52:38 +0000 (11:52 -0600)
Add a note to the comment at the top of this file.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/fdtdec.c

index 0827e16859f1994793d53d0de45243e16ffda011..55cc95db5d0e9c4758d3dbe7d6f13ebc0bba2bb8 100644 (file)
@@ -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