From: Thomas Herzmann <thomas.herzm...@keymile.com>

On kmcoge5un unfortunately the HW wiring is differently to
other km arm boards.

Signed-off-by: Thomas Herzmann <thomas.herzm...@keymile.com>
Signed-off-by: Holger Brunck <holger.bru...@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longch...@keymile.com>
---
 board/keymile/km_arm/km_arm.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c
index a515437..c87e645 100644
--- a/board/keymile/km_arm/km_arm.c
+++ b/board/keymile/km_arm/km_arm.c
@@ -531,7 +531,11 @@ int get_scl(void)
 
 int post_hotkeys_pressed(void)
 {
+#if defined(CONFIG_KMCOGE5UN)
+       return kw_gpio_get_value(KM_POST_EN_L);
+#else
        return !kw_gpio_get_value(KM_POST_EN_L);
+#endif
 }
 
 ulong post_word_load(void)
-- 
1.7.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to