From: Tom Rini Date: Mon, 30 Jul 2018 07:23:13 -0400 Subject: [U-Boot] [PATCH 1/2] doc: FIT image: clarify usage of "compression" property In-Reply-To: <20180730111916.79EC8240051@gemini.denx.de> References: <20180730105319.79424-1-sgoldschmidt@de.pepperl-fuchs.com> <20180730111916.79EC8240051@gemini.denx.de> Message-ID: <20180730112313.GS7590@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jul 30, 2018 at 01:19:16PM +0200, Wolfgang Denk wrote: > Dear Simon, > > In message <20180730105319.79424-1-sgoldschmidt@de.pepperl-fuchs.com> you wrote: > > Compressed images should have their compression property > > set to "none" if U-Boot should leave them compressed. > > > > This is especially the case for compressed ramdisks that > > should be uncompressed by the kernel only. > > Is this not self-explaining as is? When you use "none", U-boot wil > do nothing to the data - it passes it on unchanged as binay blob. > > I donrt see the need for this additional explanation of what seems > obvious to me. Ah, but it's not spelled out. And also given that currently we don't decompress say a ramdisk that spells out compression = "gzip" (is that a regression from initial FIT behavior?) it helps to be clear that putting none here for "don't touch the data" is valid and that the compression property isn't just a descriptive one, U-Boot may decompress the data. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: