u-boot-brain/tools/binman/etype
Simon Glass 5c890238c4 binman: Tidy up setting of entry contents
At present the contents of an entry are set in subclasses simply by
assigning to the data and content_size properties. Add some methods to do
this, so that we have more control. In particular, add a method to set the
contents without changing its size, so we can validate that case.

Add a test case for trying to change the size when this is not allowed.

Signed-off-by: Simon Glass <sjg@chromium.org>
2018-07-09 09:11:00 -06:00
..
_testing.py binman: Tidy up setting of entry contents 2018-07-09 09:11:00 -06:00
blob.py binman: Tidy up setting of entry contents 2018-07-09 09:11:00 -06:00
intel_cmc.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
intel_descriptor.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
intel_fsp.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
intel_me.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
intel_mrc.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
intel_vbt.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
intel_vga.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
section.py binman: Correct operation of ObtainContents() 2018-07-09 09:11:00 -06:00
u_boot_dtb_with_ucode.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
u_boot_dtb.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
u_boot_img.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
u_boot_nodtb.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
u_boot_spl_bss_pad.py binman: Tidy up setting of entry contents 2018-07-09 09:11:00 -06:00
u_boot_spl_dtb.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
u_boot_spl_nodtb.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
u_boot_spl_with_ucode_ptr.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
u_boot_spl.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
u_boot_ucode.py binman: Correct operation of ObtainContents() 2018-07-09 09:11:00 -06:00
u_boot_with_ucode_ptr.py binman: Tidy up setting of entry contents 2018-07-09 09:11:00 -06:00
u_boot.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
x86_start16_spl.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00
x86_start16.py binman: Rename Entry property to 'section' 2018-06-07 11:25:08 -08:00