1
0
Fork 0

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>
utp
Valentin Longchamp 2015-11-13 15:01:17 +01:00 committed by Tom Rini
parent e23fde7d1f
commit 30f9ad77c4
1 changed files with 1 additions and 1 deletions

View File

@ -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 */