From: Valentin Longchamp Date: Fri, 13 Nov 2015 14:01:17 +0000 (+0100) Subject: arm/km_kirkwood: fix the #ifdef for KM_COGE5UN dip switch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=30f9ad77c421fe95c52459285fba97f5061e2863;p=project%2Fbcm63xx%2Fu-boot.git arm/km_kirkwood: fix the #ifdef for KM_COGE5UN dip switch There was a small typo for KM_COGE5UN that resulted in the dip switch not to behave as expected. Signed-off-by: Valentin Longchamp --- diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c index f54f14ecff..079509c979 100644 --- a/board/keymile/km_arm/km_arm.c +++ b/board/keymile/km_arm/km_arm.c @@ -296,7 +296,7 @@ int board_init(void) int board_late_init(void) { -#if (defined(CONFIG_KMCOGE5UN) | defined(CONFIG_KM_MGCOGE3UN)) +#if (defined(CONFIG_KM_COGE5UN) | defined(CONFIG_KM_MGCOGE3UN)) u8 dip_switch = kw_gpio_get_value(KM_FLASH_ERASE_ENABLE); /* if pin 1 do full erase */