summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoy Cho <joy.cho@hardkernel.com>2017-02-15 10:43:06 +0300
committerJoy Cho <joy.cho@hardkernel.com>2017-02-22 08:36:47 +0300
commitd2ac6cc85a09df29004b696b1b93feed13ebe290 (patch)
tree4e5a35d7b857ef7a1157194091a35551f8597938
parent3eb97d48991decdd5dea537c8c2325cbb0611089 (diff)
downloadu-boot-d2ac6cc85a09df29004b696b1b93feed13ebe290.tar.xz
ODROID-C2: Add gpio wakeup function
- using gpio number from kernel - bit [23:16] of AO_DEBUG_REG0 - chattering time for gpio power key detection : 300ms Change-Id: I8834ccccf44cf0cde2d16f603612f90e0f6f8897
-rwxr-xr-xfip/gxb/bl301.binbin4712 -> 6152 bytes
-rwxr-xr-xinclude/configs/odroidc2.h3
2 files changed, 3 insertions, 0 deletions
diff --git a/fip/gxb/bl301.bin b/fip/gxb/bl301.bin
index 21ed1bb1cd..c051d5028d 100755
--- a/fip/gxb/bl301.bin
+++ b/fip/gxb/bl301.bin
Binary files differ
diff --git a/include/configs/odroidc2.h b/include/configs/odroidc2.h
index 885f2447de..5d0c93fb8c 100755
--- a/include/configs/odroidc2.h
+++ b/include/configs/odroidc2.h
@@ -274,4 +274,7 @@
/* HPD Disable : Always HDMI Connect */
#define ODROID_DISABLE_HPD 1
+/* Wakeup from GPIO key */
+#define CONFIG_GPIO_WAKEUP 1
+
#endif