On Mon, Nov 25, 2019 at 12:11 PM Simon Glass <[email protected]> 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 <[email protected]> > --- > > 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 >
Reviewed-by: Bin Meng <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

