mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
block: Add SPL_BLOCK_CACHE and default n
When enabling BLOCK_CACHE on devices with limited RAM during SPL,
some devices may not boot. This creates an option to enable
block caching in SPL by defaults off. It is dependent on SPL_BLK
Fixes: 46960ad6d0
("block: Have BLOCK_CACHE default to y in some cases")
Signed-off-by: Adam Ford <aford173@gmail.com>
This commit is contained in:
@@ -111,7 +111,7 @@ struct blk_desc {
|
||||
#define PAD_TO_BLOCKSIZE(size, blk_desc) \
|
||||
(PAD_SIZE(size, blk_desc->blksz))
|
||||
|
||||
#ifdef CONFIG_BLOCK_CACHE
|
||||
#if CONFIG_IS_ENABLED(BLOCK_CACHE)
|
||||
/**
|
||||
* blkcache_read() - attempt to read a set of blocks from cache
|
||||
*
|
||||
|
Reference in New Issue
Block a user