projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arm64: zynqmp: Add SMMU support for SATA IP
[oweals/u-boot.git]
/
common
/
spl
/
spl_ubi.c
diff --git
a/common/spl/spl_ubi.c
b/common/spl/spl_ubi.c
index 24633f4766e56172b06a7c74c1e030303a647e7f..83089335a7887714cdb572d26bd2dac5ed98d445 100644
(file)
--- a/
common/spl/spl_ubi.c
+++ b/
common/spl/spl_ubi.c
@@
-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;