public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/8] arm/km: drop unneeded define
@ 2014-01-27 15:58 Holger Brunck
  2014-01-27 15:58 ` [U-Boot] [PATCH 2/8] arm/km: make local function startup_allowed static Holger Brunck
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Holger Brunck @ 2014-01-27 15:58 UTC (permalink / raw)
  To: u-boot

CONFIG_BOOTCOUNT_LIMIT is used on all boards from this board series. So
remove this unneeded define.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
---
 board/keymile/km_arm/km_arm.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c
index 5620737..946cbed 100644
--- a/board/keymile/km_arm/km_arm.c
+++ b/board/keymile/km_arm/km_arm.c
@@ -164,7 +164,6 @@ static int initialize_unit_leds(void)
 	return 0;
 }
 
-#if defined(CONFIG_BOOTCOUNT_LIMIT)
 static void set_bootcount_addr(void)
 {
 	uchar buf[32];
@@ -173,7 +172,6 @@ static void set_bootcount_addr(void)
 	sprintf((char *)buf, "0x%x", bootcountaddr);
 	setenv("bootcountaddr", (char *)buf);
 }
-#endif
 
 int misc_init_r(void)
 {
@@ -210,9 +208,7 @@ int misc_init_r(void)
 
 	initialize_unit_leds();
 	set_km_env();
-#if defined(CONFIG_BOOTCOUNT_LIMIT)
 	set_bootcount_addr();
-#endif
 	return 0;
 }
 
-- 
1.8.0.1

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-02-13 16:52 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-27 15:58 [U-Boot] [PATCH 1/8] arm/km: drop unneeded define Holger Brunck
2014-01-27 15:58 ` [U-Boot] [PATCH 2/8] arm/km: make local function startup_allowed static Holger Brunck
2014-01-27 15:58 ` [U-Boot] [PATCH 3/8] arm/km/suv31: switch to 256MB RAM Holger Brunck
2014-01-27 15:58 ` [U-Boot] [PATCH 4/8] arm/km: add CONFIG_KM_BOARD_EXTRA_ENV to default environment Holger Brunck
2014-01-27 15:58 ` [U-Boot] [PATCH 5/8] arm/km: fix wrong error handling Holger Brunck
2014-01-27 15:58 ` [U-Boot] [PATCH 6/8] arm/km: enable FDT for km_kirwkood Holger Brunck
2014-01-27 15:58 ` [U-Boot] [PATCH 7/8] arm/km: define fdt_high env variable and allow backwards compatibility Holger Brunck
2014-01-27 15:58 ` [U-Boot] [PATCH 8/8] arm/km: introduce kmsugp1 target Holger Brunck
2014-02-13 15:21   ` Albert ARIBAUD
2014-02-13 15:43   ` [U-Boot] [PATCH 8/8 v2] " Holger Brunck
2014-02-13 16:52     ` Albert ARIBAUD
2014-02-13 12:06 ` [U-Boot] [PATCH 1/8] arm/km: drop unneeded define Albert ARIBAUD
2014-02-13 12:10   ` Holger Brunck
2014-02-13 12:14     ` Albert ARIBAUD
2014-02-13 12:19       ` Holger Brunck
2014-02-13 15:08         ` Valentin Longchamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox