Thanks, applied as ea6fd0e84c5e584587c6a1930c0edff1015706df.

Michael

[sent from post-receive hook]

On Wed, 03 Feb 2021 08:11:37 +0100, Uwe Kleine-König 
<u.kleine-koe...@pengutronix.de> wrote:
> Drop unused config item MTD_UTILS_JITTERTEST which is unused since more
> than 15 years.
> 
> Reactivate MTD_UTILS_JFFS2READER to install jffs2reader. This tool was
> claimed to be removed upstream in commit ba0a8f624d02 (" * mtd-utils:
> removed tools which are not in upstream any more"), which I failed to
> find in the upstream git history.
> 
> mtdpart is a tool that was introduced in mtd-utils 1.5.2, add an
> installation option for it.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koe...@pengutronix.de>
> Message-Id: <20210119144626.7368-1-u.kleine-koe...@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbr...@pengutronix.de>
> 
> diff --git a/rules/mtd-utils.in b/rules/mtd-utils.in
> index 4a51a8ff7408..2cb2b88eb0c3 100644
> --- a/rules/mtd-utils.in
> +++ b/rules/mtd-utils.in
> @@ -134,23 +134,12 @@ config MTD_UTILS_JFFS2_DUMP
>       help
>         This utility dumps the contents of a binary JFFS2 image.
>  
> -#config MTD_UTILS_JFFS2READER
> -#    bool
> -#    prompt "jffs2reader"
> -#    select MTD_UTILS_JFFS
> -#    help
> -#      A jffs2 image reader
> -
> -config MTD_UTILS_JITTERTEST
> +config MTD_UTILS_JFFS2READER
>       bool
> -     prompt "jittertest"
> +     prompt "jffs2reader"
> +     select MTD_UTILS_JFFS
>       help
> -       This program is used to measure what the jitter of a
> -       real time task would be under "standard" Linux.
> -
> -       More particularly, what is the effect of running
> -       a real time task under Linux with background
> -       JFFS file system activity.
> +       A jffs2 image reader
>  
>  config MTD_UTILS_MTDDEBUG
>       bool
> @@ -158,6 +147,12 @@ config MTD_UTILS_MTDDEBUG
>       help
>         Does info, read, write and erase on mtd devices
>  
> +config MTD_UTILS_MTDPART
> +     bool
> +     prompt "mtdpart"
> +     help
> +       Add or remove a partition from an MTD device
> +
>  config MTD_UTILS_NANDDUMP
>       bool
>       prompt "nanddump"
> diff --git a/rules/mtd-utils.make b/rules/mtd-utils.make
> index c608d0aef8db..248443b85345 100644
> --- a/rules/mtd-utils.make
> +++ b/rules/mtd-utils.make
> @@ -118,10 +118,21 @@ ifdef PTXCONF_MTD_UTILS_JFFS2_DUMP
>       @$(call install_copy, mtd-utils, 0, 0, 0755, -, \
>               /usr/sbin/jffs2dump)
>  endif
> +ifdef PTXCONF_MTD_UTILS_JFFS2READER
> +     @$(call install_copy, mtd-utils, 0, 0, 0755, -, \
> +             /usr/sbin/jffs2reader)
> +endif
> +
>  ifdef PTXCONF_MTD_UTILS_MTDDEBUG
>       @$(call install_copy, mtd-utils, 0, 0, 0755, -, \
>               /usr/sbin/mtd_debug)
>  endif
> +
> +ifdef PTXCONF_MTD_UTILS_MTDPART
> +     @$(call install_copy, mtd-utils, 0, 0, 0755, -, \
> +             /usr/sbin/mtdpart)
> +endif
> +
>  ifdef PTXCONF_MTD_UTILS_NANDDUMP
>       @$(call install_copy, mtd-utils, 0, 0, 0755, -, \
>               /usr/sbin/nanddump)

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de

Reply via email to