mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
spl: Make UBI fastmap support Kconfig selectable
Fastmap was always enabled in ubispl, make it selectable by CONFIG_MTD_UBI_FASTMAP. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
cb86d3746a
commit
ffc282e199
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ int spl_ubi_load_image(struct spl_image_info *spl_image,
|
|||
goto out;
|
||||
}
|
||||
info.ubi = (struct ubi_scan_info *)CONFIG_SPL_UBI_INFO_ADDR;
|
||||
info.fastmap = 1;
|
||||
info.fastmap = IS_ENABLED(CONFIG_MTD_UBI_FASTMAP);
|
||||
|
||||
info.peb_offset = CONFIG_SPL_UBI_PEB_OFFSET;
|
||||
info.vid_offset = CONFIG_SPL_UBI_VID_OFFSET;
|
||||
|
|
Loading…
Add table
Reference in a new issue