From patchwork Wed May 16 14:39:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 914677 X-Patchwork-Delegate: sr@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=nic.cz Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=nic.cz header.i=@nic.cz header.b="R3TyAo5A"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40mHGR5Rmbz9s2k for ; Thu, 17 May 2018 00:42:39 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 59586C21F4E; Wed, 16 May 2018 14:42:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 39C85C21F13; Wed, 16 May 2018 14:40:05 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 563BDC21E49; Wed, 16 May 2018 14:40:00 +0000 (UTC) Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) by lists.denx.de (Postfix) with ESMTPS id C975FC21EBB for ; Wed, 16 May 2018 14:39:59 +0000 (UTC) Received: from dellmb.labs.office.nic.cz (unknown [IPv6:2001:1488:fffe:6:cac7:3539:7f1f:463]) by mail.nic.cz (Postfix) with ESMTP id 835D4605A6; Wed, 16 May 2018 16:39:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1526481599; bh=kqnh785NIUduB47cTihGipkTYiokJVzSYn82yPGtnx0=; h=From:To:Date; b=R3TyAo5AxF4nrsNg71ohEF7IH6xHLNHSiP5Pp8IgX6z1Yp1LNUC/M0cRhyiimlLZX 1ElBXXv/iS+ctrlB0h500xT1brzZdC8XQZHpVsHH0LDrPis2oV+EyLahOeMQTsLdHN FYg/YoI2za5Mxj79DIrOTfXYiBwpRjll0mL18IK0= From: =?utf-8?q?Marek_Beh=C3=BAn?= To: u-boot@lists.denx.de Date: Wed, 16 May 2018 16:39:42 +0200 Message-Id: <20180516143942.2309-5-marek.behun@nic.cz> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180516143942.2309-1-marek.behun@nic.cz> References: <20180516143942.2309-1-marek.behun@nic.cz> X-Virus-Scanned: clamav-milter 0.99.2 at mail X-Virus-Status: Clean Cc: Stefan Roese Subject: [U-Boot] [PATCH 4/4] board: turris_mox: Add gpio command to defconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This can be used to detect whether the button is pressed or light the LED diode. Signed-off-by: Marek Behun 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