* [U-Boot] [PATCH] spl: Make UBI fastmap support Kconfig selectable
@ 2017-06-25 8:26 Ladislav Michl
2017-06-26 5:09 ` Heiko Schocher
2017-07-07 11:41 ` [U-Boot] " Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Ladislav Michl @ 2017-06-25 8:26 UTC (permalink / raw)
To: u-boot
Fastmap was always enabled in ubispl, make it selectable by
CONFIG_MTD_UBI_FASTMAP.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
common/spl/spl_ubi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/spl/spl_ubi.c b/common/spl/spl_ubi.c
index 24633f4766..83089335a7 100644
--- 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;
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] spl: Make UBI fastmap support Kconfig selectable
2017-06-25 8:26 [U-Boot] [PATCH] spl: Make UBI fastmap support Kconfig selectable Ladislav Michl
@ 2017-06-26 5:09 ` Heiko Schocher
2017-07-07 11:41 ` [U-Boot] " Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Heiko Schocher @ 2017-06-26 5:09 UTC (permalink / raw)
To: u-boot
Hello Ladislav,
Am 25.06.2017 um 10:26 schrieb Ladislav Michl:
> Fastmap was always enabled in ubispl, make it selectable by
> CONFIG_MTD_UBI_FASTMAP.
>
> Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
> ---
> common/spl/spl_ubi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/common/spl/spl_ubi.c b/common/spl/spl_ubi.c
> index 24633f4766..83089335a7 100644
> --- 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);
Thanks!
Acked-by: Heiko Schocher <hs@denx.de>
(I Ack here the patch, as I think this patch belongs to the following
board patches, so this patch should go in with the board patches)
bye,
Heiko
>
> info.peb_offset = CONFIG_SPL_UBI_PEB_OFFSET;
> info.vid_offset = CONFIG_SPL_UBI_VID_OFFSET;
>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] spl: Make UBI fastmap support Kconfig selectable
2017-06-25 8:26 [U-Boot] [PATCH] spl: Make UBI fastmap support Kconfig selectable Ladislav Michl
2017-06-26 5:09 ` Heiko Schocher
@ 2017-07-07 11:41 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2017-07-07 11:41 UTC (permalink / raw)
To: u-boot
On Sun, Jun 25, 2017 at 10:26:11AM +0200, Ladislav Michl wrote:
> 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>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170707/6fdb26fb/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-07-07 11:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-25 8:26 [U-Boot] [PATCH] spl: Make UBI fastmap support Kconfig selectable Ladislav Michl
2017-06-26 5:09 ` Heiko Schocher
2017-07-07 11:41 ` [U-Boot] " Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.