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 0827e16..55cc95d 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