On Sat, Dec 7, 2019 at 12:45 PM Simon Glass <s...@chromium.org> wrote: > > SPL and TPL can access information about binman entries using link-time > symbols but this is not available in U-Boot proper. Of course it could be > made available, but the intention is to just read the device tree. > > Add support for this, so that U-Boot can locate entries. > > Signed-off-by: Simon Glass <s...@chromium.org> > Reviewed-by: Bin Meng <bmeng...@gmail.com> > --- > > Changes in v6: None > Changes in v5: > - Fix build errors on some PowerPC boards > > Changes in v4: > - Add comments to functions > > Changes in v3: None > Changes in v2: None > > common/board_r.c | 10 ++++++++++ > include/binman.h | 45 +++++++++++++++++++++++++++++++++++++++++++++ > lib/Kconfig | 10 ++++++++++ > lib/Makefile | 1 + > lib/binman.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ > 5 files changed, 114 insertions(+) > create mode 100644 include/binman.h > create mode 100644 lib/binman.c >
applied to u-boot-x86/next, thanks!