binman: Add a library to access binman entries
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:41:34 +0000 (21:41 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 00:48:33 +0000 (08:48 +0800)
commit3c10dc95bdd0706ff85ffdc25ecd6381c3d51e4c
treefe9a2f30a15fdf3fc36fb7c7194a568b981e4024
parent553cb06887825314e74a9bdac337467c77d1db88
binman: Add a library to access binman entries

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 <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/board_r.c
include/binman.h [new file with mode: 0644]
lib/Kconfig
lib/Makefile
lib/binman.c [new file with mode: 0644]