diff mbox series

[U-Boot,v2,10/13] Remove SYS_BOOTCOUNT_ADDR from Kconfig

Message ID 1518702926-18874-11-git-send-email-alex.kiernan@gmail.com
State Superseded
Delegated to: Tom Rini
Headers show
Series Convert bootcount drivers to Kconfig | expand

Commit Message

Alex Kiernan Feb. 15, 2018, 1:55 p.m. UTC
The only user of SYS_BOOTCOUNT_ADDR is mx53ppd; remove it from Kconfig
in preparation for renaming SYS_BOOTCOUNT_ADDR.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
---

Changes in v2: None

 drivers/bootcount/Kconfig | 7 -------
 include/configs/mx53ppd.h | 2 ++
 2 files changed, 2 insertions(+), 7 deletions(-)

Comments

Lukasz Majewski Feb. 16, 2018, 9:19 a.m. UTC | #1
On Thu, 15 Feb 2018 13:55:23 +0000
Alex Kiernan <alex.kiernan@gmail.com> wrote:

> The only user of SYS_BOOTCOUNT_ADDR is mx53ppd; remove it from Kconfig
> in preparation for renaming SYS_BOOTCOUNT_ADDR.
> 
> Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
> ---
> 
> Changes in v2: None
> 
>  drivers/bootcount/Kconfig | 7 -------
>  include/configs/mx53ppd.h | 2 ++
>  2 files changed, 2 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig
> index 9fde2f2..583d6a6 100644
> --- a/drivers/bootcount/Kconfig
> +++ b/drivers/bootcount/Kconfig
> @@ -102,11 +102,4 @@ 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
> diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h
> index 79c97b5..aa1480c 100644
> --- a/include/configs/mx53ppd.h
> +++ b/include/configs/mx53ppd.h
> @@ -241,4 +241,6 @@
>  	#define CONFIG_VIDEO_IPUV3
>  #endif
>  
> +#define CONFIG_SYS_BOOTCOUNT_ADDR	0x7000A000
> +
>  #endif				/* __CONFIG_H */

Reviewed-by: Lukasz Majewski <lukma@denx.de>


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@denx.de
diff mbox series

Patch

diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig
index 9fde2f2..583d6a6 100644
--- a/drivers/bootcount/Kconfig
+++ b/drivers/bootcount/Kconfig
@@ -102,11 +102,4 @@  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
diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h
index 79c97b5..aa1480c 100644
--- a/include/configs/mx53ppd.h
+++ b/include/configs/mx53ppd.h
@@ -241,4 +241,6 @@ 
 	#define CONFIG_VIDEO_IPUV3
 #endif
 
+#define CONFIG_SYS_BOOTCOUNT_ADDR	0x7000A000
+
 #endif				/* __CONFIG_H */