summaryrefslogtreecommitdiff
path: root/board/keymile
diff options
context:
space:
mode:
authorValentin Longchamp <valentin.longchamp@keymile.com>2015-11-13 15:01:17 +0100
committerTom Rini <trini@konsulko.com>2015-11-18 15:28:49 -0500
commit30f9ad77c421fe95c52459285fba97f5061e2863 (patch)
tree1abfe3f3c651adc86397f90ce629655fd8da08be /board/keymile
parente23fde7d1f54b9fb2661a895b08f4a74c5a2459a (diff)
downloadu-boot-imx-30f9ad77c421fe95c52459285fba97f5061e2863.zip
u-boot-imx-30f9ad77c421fe95c52459285fba97f5061e2863.tar.gz
u-boot-imx-30f9ad77c421fe95c52459285fba97f5061e2863.tar.bz2
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 <valentin.longchamp@keymile.com>
Diffstat (limited to 'board/keymile')
-rw-r--r--board/keymile/km_arm/km_arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c
index f54f14e..079509c 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 */