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>
This commit is contained in:
Simon Glass 2023-04-25 10:27:21 -06:00
parent ded112f24c
commit f43fc16812

View 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