Attention is currently required from: Martin Roth, Philipp Hug, Furquan Shaikh, ron minnich. Hello build bot (Jenkins), Patrick Georgi, Martin Roth, Philipp Hug, Furquan Shaikh, Aaron Durbin, ron minnich,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/49333
to look at the new patch set (#13).
Change subject: cbfs: Pull handling of the CBFS_CACHE mem_pool into CBFS core ......................................................................
cbfs: Pull handling of the CBFS_CACHE mem_pool into CBFS core
This patch pulls control of the memory pool serving allocations from the CBFS_CACHE memlayout area into cbfs.c and makes it a core part of the CBFS API. Previously, platforms would independently instantiate this as part of boot_device_ro() (mostly through cbfs_spi.c). The new cbfs_cache pool is exported as a global so these platforms can still use it to directly back rdev_mmap() on their boot device, but the cbfs_cache can now also use it to directly make allocations itself. This is used to allow transparent decompression support in cbfs_map().
Signed-off-by: Julius Werner jwerner@chromium.org Change-Id: I0d52b6a8f582a81a19fd0fd663bb89eab55a49d9 --- M src/commonlib/Makefile.inc M src/commonlib/include/commonlib/region.h M src/commonlib/region.c M src/drivers/spi/cbfs_spi.c M src/include/cbfs.h M src/include/symbols.h M src/lib/cbfs.c M src/mainboard/sifive/hifive-unleashed/media.c M src/soc/samsung/exynos5250/spi.c M src/soc/samsung/exynos5420/spi.c 10 files changed, 89 insertions(+), 49 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/33/49333/13