[U-Boot] [PATCH 4/4] board: turris_mox: Add gpio command to defconfig

Marek BehĂșn marek.behun at nic.cz
Wed May 16 14:39:42 UTC 2018


This can be used to detect whether the button is pressed or light the
LED diode.

Signed-off-by: Marek Behun <marek.behun at nic.cz>

diff --git a/configs/turris_mox_defconfig b/configs/turris_mox_defconfig
index 7dea7157dc..9538903bd3 100644
--- a/configs/turris_mox_defconfig
+++ b/configs/turris_mox_defconfig
@@ -13,6 +13,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_ARCH_EARLY_INIT_R=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_CLK=y
+CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
-- 
2.16.1



More information about the U-Boot mailing list