[U-Boot] EXT: [PATCH v1 1/5] bootcount: config: Make the SYS_BOOTCOUNT_ADDR available also for non EXT setups
Ray, Ian (GE Healthcare)
ian.ray at ge.com
Mon Feb 12 07:31:15 UTC 2018
> On 10 Feb 2018, at 12.20, Lukasz Majewski <lukma at denx.de> wrote:
>
> This commit gives the opportunity to reuse the CONFIG_SYS_BOOTCOUNT_ADDR
> Kconfig entry also for boards, which do not use EXT as a storage for
> bootcount (i.e. on flash ones).
>
> Signed-off-by: Lukasz Majewski <lukma at denx.de>
>
Reviewed-by: Ian Ray <ian.ray at ge.com>
> ---
>
> drivers/bootcount/Kconfig | 13 ++++++-------
> 1 file changed, 6 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig
> index d82289f57b..1254bb51ca 100644
> --- a/drivers/bootcount/Kconfig
> +++ b/drivers/bootcount/Kconfig
> @@ -31,6 +31,12 @@ config BOOTCOUNT_EXT
> Add support for maintaining boot count in a file on an EXT
> filesystem.
>
> +config SYS_BOOTCOUNT_ADDR
> + hex "RAM address used for reading and writing the boot counter"
> + default 0x7000A000
> + help
> + Set the address used for reading and writing the boot counter.
> +
> if BOOTCOUNT_EXT
>
> config SYS_BOOTCOUNT_EXT_INTERFACE
> @@ -56,13 +62,6 @@ config SYS_BOOTCOUNT_EXT_NAME
> help
> Set the filename and path of the file used to store the boot counter.
>
> -config SYS_BOOTCOUNT_ADDR
> - hex "RAM address used for reading and writing the boot counter"
> - default 0x7000A000
> - depends on BOOTCOUNT_EXT
> - help
> - Set the address used for reading and writing the boot counter.
> -
> endif
>
> endif
> --
> 2.11.0
>
More information about the U-Boot
mailing list