binman: Add support for fixed-offset files in CBFS
authorSimon Glass <sjg@chromium.org>
Mon, 8 Jul 2019 19:18:56 +0000 (13:18 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Jul 2019 19:53:46 +0000 (12:53 -0700)
commite073d4e14ff76f545a71dc40fa324618ce80adcb
tree203f4e7197ce2986f8fde0e55b423314096224e0
parent7c173ced645b9fff4d5b41849375275a8b63f04d
binman: Add support for fixed-offset files in CBFS

A feature of CBFS is that it allows files to be positioned at particular
offset (as with binman in general). This is useful to support
execute-in-place (XIP) code, since this may not be relocatable.

Add a new cbfs-offset property to control this.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/README.entries
tools/binman/cbfs_util.py
tools/binman/cbfs_util_test.py
tools/binman/etype/cbfs.py
tools/binman/ftest.py
tools/binman/test/114_cbfs_offset.dts [new file with mode: 0644]