projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e23fde7
)
arm/km_kirkwood: fix the #ifdef for KM_COGE5UN dip switch
author
Valentin Longchamp
<valentin.longchamp@keymile.com>
Fri, 13 Nov 2015 14:01:17 +0000
(15:01 +0100)
committer
Tom Rini
<trini@konsulko.com>
Wed, 18 Nov 2015 20:28:49 +0000
(15:28 -0500)
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>
board/keymile/km_arm/km_arm.c
patch
|
blob
|
history
diff --git
a/board/keymile/km_arm/km_arm.c
b/board/keymile/km_arm/km_arm.c
index f54f14ecff63938084f4f17d64a6f07c61001574..079509c979d01e3e2996cd2c90336c8e180785dd 100644
(file)
--- 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 */