]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Add macros to access the new linker lists
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 04:25:14 +0000 (17:25 +1300)
committerSimon Glass <sjg@chromium.org>
Mon, 22 Mar 2021 06:23:28 +0000 (19:23 +1300)
commit607f9bcb0d0af57c52bacf4d3aeb3a7d389ea206
tree98b173750b5a254c75006a67edae4d5642017da5
parent851144350b6ff1d4982b9af2f9b0fe48aed24b3c
dm: core: Add macros to access the new linker lists

Add macros which work with instantiated devices and uclasses, as created
at build time by dtoc. Include variants that can be used in data
structures.

These are mostly used by dtoc but it is worth documenting them fully for
the occasional case where they might come up in user code.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
include/dm/device-internal.h
include/dm/device.h
include/dm/uclass-internal.h
include/dm/uclass.h
include/linker_lists.h