projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb86d37
)
spl: Make UBI fastmap support Kconfig selectable
author
Ladislav Michl
<ladis@linux-mips.org>
Sun, 25 Jun 2017 08:26:11 +0000
(10:26 +0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 6 Jul 2017 17:09:37 +0000
(13:09 -0400)
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>
common/spl/spl_ubi.c
patch
|
blob
|
history
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;