Julius Werner uploaded patch set #3 to this change.
commonlib: Add commonlib/bsd
This patch creates a new commonlib/bsd subdirectory with a similar
purpose to the existing commonlib, with the difference that all files
under this subdirectory shall be licensed under the BSD-3-Clause license
(or compatible permissive license). The goal is to allow more code to be
shared with libpayload in the future.
Initially, I'm going to move a few files there that have already been
BSD-licensed in the existing commonlib. I am also exracting most
contents of the often-needed <commonlib/helpers.h> as long as they have
either been written by me (and are hereby relicensed) or have an
existing equivalent in BSD-licensed libpayload code. I am also
relicensing <commonlib/compression.h> (written by me).
Finally, I am extracting the cb_err error code definitions from
<types.h> into a new BSD-licensed header so that future commonlib/bsd
code can build upon a common set of error values. I am making the
assumption here that the enum constants and the half-sentence fragments
of documentation next to them by themselves do not meet the threshold of
copyrightability.
Change-Id: I316cea70930f131e8e93d4218542ddb5ae4b63a2
Signed-off-by: Julius Werner <jwerner@chromium.org>
---
M MAINTAINERS
M Makefile.inc
M src/arch/arm64/fit_payload.c
M src/arch/riscv/boot.c
M src/arch/riscv/fit_payload.c
M src/commonlib/Makefile.inc
A src/commonlib/bsd/include/commonlib/bsd/cb_err.h
R src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h
R src/commonlib/bsd/include/commonlib/bsd/compression.h
A src/commonlib/bsd/include/commonlib/bsd/fmap_serialized.h
A src/commonlib/bsd/include/commonlib/bsd/helpers.h
R src/commonlib/bsd/lz4.c.inc
R src/commonlib/bsd/lz4_wrapper.c
M src/commonlib/include/commonlib/cbfs.h
M src/commonlib/include/commonlib/compiler.h
D src/commonlib/include/commonlib/fmap_serialized.h
M src/commonlib/include/commonlib/helpers.h
M src/include/fmap.h
M src/include/types.h
M src/lib/cbfs.c
M src/lib/decompressor.c
M src/lib/fit.c
M src/lib/fit_payload.c
M src/lib/fmap.c
M src/lib/selfboot.c
M src/mainboard/google/poppy/variants/nami/mainboard.c
M src/vendorcode/amd/pi/Makefile.inc
M util/cbfstool/Makefile.inc
M util/cbfstool/cbfs-mkstage.c
M util/cbfstool/compress.c
M util/cbmem/Makefile
M util/ifdtool/Makefile
M util/inteltool/Makefile
M util/intelvbttool/Makefile
M util/sconfig/Makefile.inc
35 files changed, 238 insertions(+), 329 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/20/38420/3
To view, visit change 38420. To unsubscribe, or for help writing mail filters, visit settings.