From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 01/13] Merge CONFIG_BOOTCOUNT and CONFIG_BOOTCOUNT_LIMIT
Date: Fri, 16 Feb 2018 10:14:22 +0100 [thread overview]
Message-ID: <20180216101422.333156d8@jawa> (raw)
In-Reply-To: <1518702926-18874-2-git-send-email-alex.kiernan@gmail.com>
Hi Alex,
> CONFIG_BOOTCOUNT was only used in mx53ppd, merge it with
> CONFIG_BOOTCOUNT_LIMIT
>
> CONFIG_BOOTCOUNT was only used in mx53ppd, merge it with
> CONFIG_BOOTCOUNT_LIMIT
Please remove one instance.
>
> Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
> Reviewed-by: Lukasz Majewski <lukma@denx.de>
> Reviewed-by: Ian Ray <ian.ray@ge.com>
> ---
>
> Changes in v2:
> - Fix erroneously removed line in README
> - Convert CONFIG_BOOTCOUNT_EXT too - it had only been partially done
> - Reword CONFIG_BOOTCOUNT_DRAM
> - Update README for AT91 driver
> - Remove CONFIG_BOOTCOUNT_LIMIT and CONFIG_SYS_BOOTCOUNT_SINGLEWORD
> from whitelist
> - Rename CONFIG_SYS_BOOTCOUNT_ADDR to BOOTCOUNT_ADDR and remove from
> Kconfig
> - Migrate CONFIG_BOOTCOUNT_ALEN to Kconfig
>
> configs/mx53ppd_defconfig | 1 -
> drivers/bootcount/Kconfig | 9 +--------
> scripts/config_whitelist.txt | 1 -
> 3 files changed, 1 insertion(+), 10 deletions(-)
>
> diff --git a/configs/mx53ppd_defconfig b/configs/mx53ppd_defconfig
> index 90df425..7e3dd6d 100644
> --- a/configs/mx53ppd_defconfig
> +++ b/configs/mx53ppd_defconfig
> @@ -21,7 +21,6 @@ CONFIG_CMD_EXT4=y
> CONFIG_CMD_EXT4_WRITE=y
> CONFIG_CMD_FAT=y
> CONFIG_CMD_FS_GENERIC=y
> -CONFIG_BOOTCOUNT=y
> CONFIG_BOOTCOUNT_LIMIT=y
> CONFIG_BOOTCOUNT_EXT=y
> CONFIG_SYS_BOOTCOUNT_EXT_DEVPART="0:5"
> diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig
> index d82289f..da2ccab 100644
> --- a/drivers/bootcount/Kconfig
> +++ b/drivers/bootcount/Kconfig
> @@ -4,13 +4,6 @@
>
> menu "Boot count support"
>
> -config BOOTCOUNT
> - bool "Enable Boot count support"
> - help
> - Enable boot count support, which provides the ability to
> store the
> - number of times the board has booted on a number of
> different
> - persistent storage mediums.
> -
> config BOOTCOUNT_LIMIT
> bool "Enable support for checking boot count limit"
> help
> @@ -23,7 +16,7 @@ config SYS_BOOTCOUNT_SINGLEWORD
> This option enables packing boot count magic value and
> boot count into single word (32 bits).
>
> -if BOOTCOUNT
> +if BOOTCOUNT_LIMIT
>
> config BOOTCOUNT_EXT
> bool "Boot counter on EXT filesystem"
> diff --git a/scripts/config_whitelist.txt
> b/scripts/config_whitelist.txt index 38ce88e..b3a5d93 100644
> --- a/scripts/config_whitelist.txt
> +++ b/scripts/config_whitelist.txt
> @@ -151,7 +151,6 @@ CONFIG_BOOTCOUNT_ALEN
> CONFIG_BOOTCOUNT_AM33XX
> CONFIG_BOOTCOUNT_ENV
> CONFIG_BOOTCOUNT_I2C
> -CONFIG_BOOTCOUNT_LIMIT
> CONFIG_BOOTCOUNT_RAM
> CONFIG_BOOTFILE
> CONFIG_BOOTMAPSZ
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180216/e7a1f318/attachment.sig>
next prev parent reply other threads:[~2018-02-16 9:14 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-15 13:55 [U-Boot] [PATCH v2 00/13] Convert bootcount drivers to Kconfig Alex Kiernan
2018-02-15 13:55 ` [U-Boot] [PATCH v2 01/13] Merge CONFIG_BOOTCOUNT and CONFIG_BOOTCOUNT_LIMIT Alex Kiernan
2018-02-16 9:14 ` Lukasz Majewski [this message]
2018-02-15 13:55 ` [U-Boot] [PATCH v2 02/13] Prepare for multiple bootcount drivers Alex Kiernan
2018-02-15 13:55 ` [U-Boot] [PATCH v2 03/13] Convert CONFIG_BOOTCOUNT_AM33XX to Kconfig Alex Kiernan
2018-02-15 13:55 ` [U-Boot] [PATCH v2 04/13] Convert CONFIG_BOOTCOUNT_ENV " Alex Kiernan
2018-02-15 13:55 ` [U-Boot] [PATCH v2 05/13] Convert CONFIG_BOOTCOUNT_RAM " Alex Kiernan
2018-02-15 13:55 ` [U-Boot] [PATCH v2 06/13] Convert CONFIG_BOOTCOUNT_I2C " Alex Kiernan
2018-02-15 13:55 ` [U-Boot] [PATCH v2 07/13] Convert CONFIG_BOOTCOUNT_EXT " Alex Kiernan
2018-02-15 13:55 ` [U-Boot] [PATCH v2 08/13] Integrate AT91 bootcount driver Alex Kiernan
2018-02-15 13:55 ` [U-Boot] [PATCH v2 09/13] Migrate generic bootcount to Kconfig Alex Kiernan
2018-02-15 13:55 ` [U-Boot] [PATCH v2 10/13] Remove SYS_BOOTCOUNT_ADDR from Kconfig Alex Kiernan
2018-02-16 9:19 ` Lukasz Majewski
2018-02-15 13:55 ` [U-Boot] [PATCH v2 11/13] Rename CONFIG_SYS_BOOTCOUNT_ADDR to BOOTCOUNT_ADDR Alex Kiernan
2018-02-16 9:31 ` Lukasz Majewski
2018-02-16 9:46 ` Alex Kiernan
2018-02-15 13:55 ` [U-Boot] [PATCH v2 12/13] Migrate CONFIG_BOOTCOUNT_ALEN to Kconfig Alex Kiernan
2018-02-16 9:36 ` Lukasz Majewski
2018-02-16 9:43 ` Alex Kiernan
2018-02-15 13:55 ` [U-Boot] [PATCH v2 13/13] Remove CONFIG_SYS_BOOTCOUNT_SINGLEWORD Alex Kiernan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180216101422.333156d8@jawa \
--to=lukma@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox