[U-Boot] [PATCH v2 02/29] binman: Make the operation of Entry__testing explicit
Simon Glass
sjg at chromium.org
Mon Jul 9 19:50:55 UTC 2018
On 6 July 2018 at 10:27, Simon Glass <sjg at chromium.org> wrote:
> This fake entry is used for testing. At present it only has one behaviour
> which is to return an invalid set of entry positions, to cause an error.
>
> The fake entry will need to be used for other things too. Allow the test
> .dts file to specify the behaviour of the fake entry, so we can control
> its behaviour easily.
>
> While we are here, drop the ReadContents() method, since this only applies
> to subclasses of Entry_blob, which Entry__testing is not.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
> tools/binman/etype/_testing.py | 14 ++++++++++----
> tools/binman/test/41_unknown_pos_size.dts | 1 +
> 2 files changed, 11 insertions(+), 4 deletions(-)
Applied to u-boot-dm
More information about the U-Boot
mailing list