Attention is currently required from: Andrey Petrov, Arthur Heymans, Christian Walter, Hung-Te Lin, Jakub Czapiga, Johnny Lin, Jérémy Compostella, Lean Sheng Tan, Martin L Roth, Patrick Rudolph, Ronak Kanabar, Shuo Liu, Tim Chu, Yidi Lin, Yu-Ping Wu.
Hello Andrey Petrov, Arthur Heymans, Christian Walter, Hung-Te Lin, Jakub Czapiga, Johnny Lin, Jérémy Compostella, Martin L Roth, Ronak Kanabar, Tim Chu, Yidi Lin, Yu-Ping Wu, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/77969?usp=email
to look at the new patch set (#13).
Change subject: treewide: Move stdlib.h to commonlib ......................................................................
treewide: Move stdlib.h to commonlib
This patch moves commonlib/stdlib.h -> commonlib/bsd/stdlib.h, since all code is BSD licensed anyway. It also moves some code from libpayloads stdlib.h to commonlib/bsd/stdlib.h so that it can be shared with coreboot. This is useful for a subsequent commit that adds devicetree.c into commonlib.
Also we don't support DMA on arm platforms in coreboot (only libpayload) therefore `dma_malloc()` has been removed and `dma_coherent()` has been moved to architecture specific functions. Any architecture that tries to use `dma_coherent()` now will get a compile time error. In order to not break current platforms like mb/google/herobrine which make use of the commonlib/storage/sdhci.c controller which in turn uses `dma_coherent` a stub has been added to arch/arm64/dma.c.
Signed-off-by: Maximilian Brune maximilian.brune@9elements.com Change-Id: I3a7ab0d1ddcc7ce9af121a61b4d4eafc9e563a8a --- M Makefile.mk M payloads/libpayload/include/stdlib.h M src/arch/arm64/Makefile.mk A src/arch/arm64/dma.c M src/arch/x86/Makefile.mk A src/arch/x86/dma.c R src/commonlib/bsd/include/commonlib/bsd/stdlib.h M src/commonlib/storage/bouncebuf.c M src/commonlib/storage/sdhci.c M src/drivers/intel/fsp2_0/silicon_init.c M src/include/stdlib.h M src/lib/device_tree.c M src/lib/fit.c M src/soc/intel/xeon_sp/spr/numa.c M src/soc/mediatek/common/pcie.c M src/soc/mediatek/mt8195/pcie.c 16 files changed, 36 insertions(+), 52 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/77969/13