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

Alex Kiernan alex.kiernan at gmail.com
Thu Feb 15 13:55:23 UTC 2018


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 at 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 */
-- 
2.7.4



More information about the U-Boot mailing list