> On 10 Feb 2018, at 12.20, Lukasz Majewski <lu...@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 <lu...@denx.de>
> 

Reviewed-by: Ian Ray <ian....@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
> 

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to