diff options
author | Holger Brunck <holger.brunck@keymile.com> | 2014-01-27 16:58:22 +0100 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-02-13 16:15:32 +0100 |
commit | bbfd509da6b5ada3c60d31debf13f30a809e98e8 (patch) | |
tree | 156049944c74dafba76f7f5f6c1efa5e96a900a4 /board | |
parent | 38716189d439c3ed8707e7bc1f430322ba7a810d (diff) | |
download | u-boot-bbfd509da6b5ada3c60d31debf13f30a809e98e8.zip u-boot-bbfd509da6b5ada3c60d31debf13f30a809e98e8.tar.gz u-boot-bbfd509da6b5ada3c60d31debf13f30a809e98e8.tar.bz2 |
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: Holger Brunck <holger.brunck@keymile.com>
Acked-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/keymile/km_arm/km_arm.c | 4 |
1 files changed, 0 insertions, 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; } |