commit | 629bf851df93af86c516ef1cc09fe4c55cbec9cb | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Mar 25 12:21:49 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sat Apr 18 11:11:18 2015 -0600 |
tree | b7b9b837e1f7da641cbf8a1e99369a19d19ed939 | |
parent | a892dc1977fe4b771938cddf9535e2ab52f67608 [diff] |
linker_lists: Add a function to access a linker list entry 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 <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>