On 25 March 2015 at 12:21, Simon Glass <s...@chromium.org> wrote:
> Once declared, you cannot access a linker_list entry since you do not have
> a symbol name for it. Add llsym() macro to provide this. This avoids
> searching for the symbol at run-time based on name.
>
> An example usage is to declare a driver with U_BOOT_DRIVER(), then obtain
> a pointer to that driver later.
>
> Signed-off-by: Simon Glass <s...@chromium.org>
> ---
>
> Changes in v2: None
>
>  include/linker_lists.h | 10 ++++++++++
>  1 file changed, 10 insertions(+)

Applied to u-boot-dm/next.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to