summaryrefslogtreecommitdiff
path: root/include/configs/utx8245.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-02-03 15:13:53 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-03-29 08:12:49 +0200
commitc67822704b73dcfb86debf4c25151e43309af844 (patch)
tree1ed8997f2f8f023fa3ddf2a244c69ba5434deddd /include/configs/utx8245.h
parentf4589a7d6f477876c18eb8087e3ee7fa0a8655ca (diff)
downloadu-boot-imx-c67822704b73dcfb86debf4c25151e43309af844.zip
u-boot-imx-c67822704b73dcfb86debf4c25151e43309af844.tar.gz
u-boot-imx-c67822704b73dcfb86debf4c25151e43309af844.tar.bz2
fdt: Add function to allow aliases to refer to multiple nodes
Some devices can deal with multiple compatible properties. The devices need to know which nodes to bind to which features. For example an I2C driver which supports two different controller types will want to know which type it is dealing with in each case. The new fdtdec_add_aliases_for_id() function deals with this by allowing the driver to search for additional compatible nodes for a different ID. It can then detect the new ones and perform appropriate processing. Another option considered was to return a tuple (node offset, compat id) and have the function be passed a list of compatible IDs. This is more overhead for the common case though. We may add such a function later if more drivers in U-Boot require it. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs/utx8245.h')
0 files changed, 0 insertions, 0 deletions