]> git.baikalelectronics.ru Git - uboot.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)
commitbcd296f9e52286debd1176ea568a6afc23ee4581
tree98b173750b5a254c75006a67edae4d5642017da5
parent77678433537ce631bb969019b2654e5cde01450b
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