Home
last modified time | relevance | path

Searched refs:cbfs_cache (Results 1 – 19 of 19) sorted by relevance

/external/coreboot/src/lib/
Dcbfs.c24 struct mem_pool cbfs_cache = MEM_POOL_INIT(NULL, 0, 0); variable
27 struct mem_pool cbfs_cache = variable
30 struct mem_pool cbfs_cache = variable
31 MEM_POOL_INIT(_cbfs_cache, REGION_SIZE(cbfs_cache), CONFIG_CBFS_CACHE_ALIGN);
37 mem_pool_init(&cbfs_cache, _postram_cbfs_cache, REGION_SIZE(postram_cbfs_cache), in switch_to_postram_cache()
103 mem_pool_free(&cbfs_cache, mapping); in cbfs_unmap()
295 context = mem_pool_alloc(&cbfs_cache, size); in alloc_cbfs_preload_context()
314 mem_pool_free(&cbfs_cache, context); in free_cbfs_preload_context()
357 context->buffer = mem_pool_alloc(&cbfs_cache, size); in cbfs_preload()
373 mem_pool_free(&cbfs_cache, context->buffer); in cbfs_preload()
[all …]
DKconfig130 Sets the alignment of the buffers returned by the cbfs_cache.
137 cbfs_cache. This helps reduce boot time by loading the files
/external/coreboot/src/include/
Dmemlayout.h76 REGION(cbfs_cache, addr, size, 4) \
77 ALIAS_REGION(cbfs_cache, preram_cbfs_cache) \
78 ALIAS_REGION(cbfs_cache, postram_cbfs_cache)
91 ALIAS_REGION(preram_cbfs_cache, cbfs_cache)
99 ALIAS_REGION(postram_cbfs_cache, cbfs_cache)
Dsymbols.h37 DECLARE_OPTIONAL_REGION(cbfs_cache) in DECLARE_OPTIONAL_REGION()
Dcbfs.h159 extern struct mem_pool cbfs_cache;
/external/coreboot/src/soc/samsung/exynos5250/
Dalternate_cbfs.c76 const u32 count = REGION_SIZE(cbfs_cache) / 512; in sdmmc_cbfs_open()
96 MEM_REGION_DEV_RO_INIT(_cbfs_cache, REGION_SIZE(cbfs_cache));
Dspi.c165 MMAP_HELPER_DEV_INIT(&exynos_spi_ops, 0, CONFIG_ROM_SIZE, &cbfs_cache);
/external/coreboot/src/soc/samsung/exynos5420/
Dalternate_cbfs.c80 const u32 count = REGION_SIZE(cbfs_cache) / 512; in sdmmc_cbfs_open()
103 MEM_REGION_DEV_RO_INIT(_cbfs_cache, REGION_SIZE(cbfs_cache));
Dspi.c272 MMAP_HELPER_DEV_INIT(&exynos_spi_ops, 0, CONFIG_ROM_SIZE, &cbfs_cache);
/external/coreboot/src/soc/amd/common/block/lpc/
Dspi_dma.c221 mapping = mem_pool_alloc(&cbfs_cache, size); in spi_dma_mmap()
231 mem_pool_free(&cbfs_cache, mapping); in spi_dma_mmap()
242 mem_pool_free(&cbfs_cache, mapping); in spi_dma_munmap()
/external/coreboot/src/mainboard/sifive/hifive-unmatched/
Dcbfs_spi.c107 MMAP_HELPER_DEV_INIT(&spi_ops, 0, CONFIG_ROM_SIZE, &cbfs_cache);
110 MMAP_HELPER_DEV_INIT(&sd_ops, 0, CONFIG_ROM_SIZE, &cbfs_cache);
/external/coreboot/src/mainboard/sifive/hifive-unleashed/
Dmedia.c46 MMAP_HELPER_DEV_INIT(&unleashed_sd_ops, 0, CONFIG_ROM_SIZE, &cbfs_cache);
/external/coreboot/src/drivers/spi/
Dcbfs_spi.c80 MMAP_HELPER_DEV_INIT(&spi_ops, 0, CONFIG_ROM_SIZE, &cbfs_cache);
/external/coreboot/tests/mock/
Dcbfs_file_mock.c5 TEST_REGION(cbfs_cache, TEST_CBFS_CACHE_SIZE);
/external/coreboot/src/mainboard/ti/beaglebone/
Dsd_media.c97 &cbfs_cache);
/external/coreboot/src/soc/amd/common/block/cpu/noncar/
Dmemlayout_x86.ld28 * | cbfs_cache (if reqd) |
/external/coreboot/src/soc/amd/common/block/cpu/
DKconfig37 The size of the cbfs_cache region.
/external/coreboot/tests/lib/
Dcbfs-lookup-test.c104 assert_ptr_equal(mp, &cbfs_cache); in mem_pool_alloc()
113 assert_ptr_equal(mp, &cbfs_cache); in mem_pool_free()
/external/coreboot/Documentation/releases/
Dcoreboot-4.22-relnotes.md119 the `cbfs_cache` global variable (cf. src/lib/cbfs.c).