From: Simon Glass Date: Tue, 25 Apr 2023 16:27:21 +0000 (-0600) Subject: fdt: Indicate that people should use the ofnode API X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=f43fc16812487289e98389f0f643d20c444f9c9c;p=u-boot.git 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 --- 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