SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So
SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So we picked thearea of the file that usually had a full license text and replaced itwith an appropriate SPDX-License-Identifier: entry. Since then, theLinux Kernel has adopted SPDX tags and they place it as the very firstline in a file (except where shebangs are used, then it's second line)and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibilityand in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declaredlicense in the tag as both the before and after are identical in tagcontents. There's also a few places where I found we did not have a tagand have introduced one.Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
bzlib: Try another way to fix an unused variableUse __maybe_unused which should avoid the Coverity error.Reported-by: Coverity (CID: 134900)Signed-off-by: Simon Glass <sjg@chromium.org>Reviewe
bzlib: Try another way to fix an unused variableUse __maybe_unused which should avoid the Coverity error.Reported-by: Coverity (CID: 134900)Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Tom Rini <trini@konsulko.com>
bzip2: Support compression for sandboxAdd the missing code to allow bzip2 compression to be used. This is usefulfor sandbox tests. These files are taken from the bzip2 1.0.6 release.The license t
bzip2: Support compression for sandboxAdd the missing code to allow bzip2 compression to be used. This is usefulfor sandbox tests. These files are taken from the bzip2 1.0.6 release.The license text is copied to the top of each file as is done with otherbzip2 files in U-Boot. The only other change is to squash a compiler warningwith nBytes.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Tom Rini <trini@konsulko.com>
Various Makefiles: Add SPDX-License-Identifier tagsAfter consulting with some of the SPDX team, the conclusion is thatMakefiles are worth adding SPDX-License-Identifier tags too, and most ofours
Various Makefiles: Add SPDX-License-Identifier tagsAfter consulting with some of the SPDX team, the conclusion is thatMakefiles are worth adding SPDX-License-Identifier tags too, and most ofours have one. This adds tags to ones that lack them and converts a fewthat had full (or in one case, very partial) license blobs into theequivalent tag.Cc: Kate Stewart <kstewart@linuxfoundation.org>Signed-off-by: Tom Rini <trini@konsulko.com>
bzlib: Update destLen even on errorThis allows the caller to easily detect how much of the destination bufferhas been used.Signed-off-by: Simon Glass <sjg@chromium.org>
lib: bzip2: move bzip2 files to lib/bzip2/ directorySigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>