From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sun, 8 Dec 2019 09:08:24 +0800 Subject: [PATCH v6 001/102] binman: Add a library to access binman entries In-Reply-To: <20191206213936.v6.1.I8c03ae7027508705f6f535ba5137b5e6c5dea840@changeid> References: <20191207044315.51770-1-sjg@chromium.org> <20191206213936.v6.1.I8c03ae7027508705f6f535ba5137b5e6c5dea840@changeid> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Dec 7, 2019 at 12:45 PM Simon Glass 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 > Reviewed-by: Bin Meng > --- > > 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!