Skip to content
Snippets Groups Projects
Commit bbfd509d authored by Holger Brunck's avatar Holger Brunck Committed by Albert ARIBAUD
Browse files

arm/km: drop unneeded define


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

Signed-off-by: default avatarHolger Brunck <holger.brunck@keymile.com>
Acked-by: default avatarValentin Longchamp <valentin.longchamp@keymile.com>
parent 38716189
No related branches found
No related tags found
No related merge requests found
...@@ -164,7 +164,6 @@ static int initialize_unit_leds(void) ...@@ -164,7 +164,6 @@ static int initialize_unit_leds(void)
return 0; return 0;
} }
#if defined(CONFIG_BOOTCOUNT_LIMIT)
static void set_bootcount_addr(void) static void set_bootcount_addr(void)
{ {
uchar buf[32]; uchar buf[32];
...@@ -173,7 +172,6 @@ static void set_bootcount_addr(void) ...@@ -173,7 +172,6 @@ static void set_bootcount_addr(void)
sprintf((char *)buf, "0x%x", bootcountaddr); sprintf((char *)buf, "0x%x", bootcountaddr);
setenv("bootcountaddr", (char *)buf); setenv("bootcountaddr", (char *)buf);
} }
#endif
int misc_init_r(void) int misc_init_r(void)
{ {
...@@ -210,9 +208,7 @@ int misc_init_r(void) ...@@ -210,9 +208,7 @@ int misc_init_r(void)
initialize_unit_leds(); initialize_unit_leds();
set_km_env(); set_km_env();
#if defined(CONFIG_BOOTCOUNT_LIMIT)
set_bootcount_addr(); set_bootcount_addr();
#endif
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment