提交 30f9ad77 编写于 作者: V Valentin Longchamp 提交者: Tom Rini

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: NValentin Longchamp <valentin.longchamp@keymile.com>
上级 e23fde7d
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册