coreboot/src
Julius Werner 9b1f3cc6fb 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
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49333
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2021-03-08 22:31:29 +00:00
..
acpi acpi: Move PCI functions to separate file 2021-03-01 08:26:23 +00:00
arch mb/ocp/deltalake: Fill ECC type in romstage 2021-03-01 08:22:28 +00:00
commonlib cbfs: Pull handling of the CBFS_CACHE mem_pool into CBFS core 2021-03-08 22:31:29 +00:00
console console/vtxprintf.c: Add missing <types.h> 2021-02-16 08:15:26 +00:00
cpu src/cpu: Remove unused symbols 2021-02-18 10:11:24 +00:00
device device/device.c: Rename .disable to .vga_disable 2021-02-24 11:28:16 +00:00
drivers cbfs: Pull handling of the CBFS_CACHE mem_pool into CBFS core 2021-03-08 22:31:29 +00:00
ec ec/system76/ec: Add OLED screen toggle 2021-02-27 09:38:19 +00:00
include cbfs: Pull handling of the CBFS_CACHE mem_pool into CBFS core 2021-03-08 22:31:29 +00:00
lib cbfs: Pull handling of the CBFS_CACHE mem_pool into CBFS core 2021-03-08 22:31:29 +00:00
mainboard cbfs: Pull handling of the CBFS_CACHE mem_pool into CBFS core 2021-03-08 22:31:29 +00:00
northbridge nb/intel/haswell: Indent PCI ops with tabs 2021-03-07 19:25:50 +00:00
security security/tpm/tss/vendor/cr50: Introduce vendor sub-command to reset EC 2021-03-05 10:57:01 +00:00
soc cbfs: Pull handling of the CBFS_CACHE mem_pool into CBFS core 2021-03-08 22:31:29 +00:00
southbridge sb/intel/lynxpoint/me.c: Reorder functions 2021-03-07 19:23:53 +00:00
superio superio/smsc/sch5545: Add missing <types.h> 2021-02-13 22:06:28 +00:00
vendorcode soc/mediatek/mt8192: initialize DRAM using vendor reference code 2021-03-08 03:15:43 +00:00
Kconfig southbridge: Ensure common Kconfig gets included last 2021-02-18 10:11:39 +00:00