Re: [U-Boot] [PATCH v2 18/31] binman: Use the cbfs memlen field only for uncompressed length

2019-07-17 Thread sjg
The purpose of this badly named field is a bit ambiguous. Adjust the code to use it only to store the uncompressed length of a file, leaving it set to None if there is no compression used. This makes it easy to see if the value in this field is relevant / useful. Also set data_len for compressed

[U-Boot] [PATCH v2 18/31] binman: Use the cbfs memlen field only for uncompressed length

2019-07-08 Thread Simon Glass
The purpose of this badly named field is a bit ambiguous. Adjust the code to use it only to store the uncompressed length of a file, leaving it set to None if there is no compression used. This makes it easy to see if the value in this field is relevant / useful. Also set data_len for compressed