From patchwork Tue Nov 11 00:16:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 409115 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 6685414010F for ; Tue, 11 Nov 2014 11:18:27 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AB7F94B6E3; Tue, 11 Nov 2014 01:18:15 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vLGI+a2jdhHi; Tue, 11 Nov 2014 01:18:15 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 615D04B6EC; Tue, 11 Nov 2014 01:18:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 02CFF4B6B2 for ; Tue, 11 Nov 2014 01:17:44 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eF52L0w5t8CX for ; Tue, 11 Nov 2014 01:17:43 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ie0-f201.google.com (mail-ie0-f201.google.com [209.85.223.201]) by theia.denx.de (Postfix) with ESMTPS id 6376C4B69D for ; Tue, 11 Nov 2014 01:17:40 +0100 (CET) Received: by mail-ie0-f201.google.com with SMTP id rd18so1541317iec.0 for ; Mon, 10 Nov 2014 16:17:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Fh2ddQT0kTWu7Xjwjy7VP/XKyTscBZq4X8ZPln1+i1k=; b=e7211nIUIxgn1Q4TKNI3hpayJCsmAW0Vt7ZTmmdZAH3zDQ+aETSS4rTiPco1CTL5zK T7hFSqea4cSc4jNdcymWguSg1dhR8dZEUDRmxndi2R+CMst2vQcQ9xKf/h/7X50erZje LkiPKYrMLm28OCzbb5tdFF5yuZFJkAczZ3ZNPoOI+5qPi+quiIPmIuUA9ndj9ws+5OaC XDk0srWR8b8xhNkK2ydjWNcPd1Fv+eCff/5t3Aoti/DtqgoJvMkX650op9lI/cXt07rQ TW404E1Y8MZt/9HRJfWDP+nrfP3KxjAms92fX0J+aoApuQf2D3mEpauRbJhfV0Aauy5k w/8Q== X-Gm-Message-State: ALoCoQmJjKqwtxCYWaqPFNLhb4ZYQGIA1aZAaqX4FYjxy6/P/SVyZyAWNI90uK+D7K6MGvO6CWc2 X-Received: by 10.50.128.167 with SMTP id np7mr21893689igb.2.1415665059197; Mon, 10 Nov 2014 16:17:39 -0800 (PST) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id n63si742973yho.5.2014.11.10.16.17.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Nov 2014 16:17:39 -0800 (PST) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTP id 974PhOaZ.1; Mon, 10 Nov 2014 16:17:39 -0800 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id B0BD9221179; Mon, 10 Nov 2014 17:17:37 -0700 (MST) From: Simon Glass To: u-boot@lists.denx.de Date: Mon, 10 Nov 2014 17:16:51 -0700 Message-Id: <1415665015-12651-12-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 In-Reply-To: <1415665015-12651-1-git-send-email-sjg@chromium.org> References: <1415665015-12651-1-git-send-email-sjg@chromium.org> Cc: Stephen Warren , Tom Warren Subject: [U-Boot] [PATCH v3 11/14] dm: tegra: Add platform data for the GPIO driver X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Add platform data for the GPIO driver. It doesn't need to contain anything since the GPIO driver will actually use information from the CONFIGs for now. This merely serves to ensure that the GPIO driver is bound. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None board/nvidia/common/board.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index 51125df..0e4a65a 100644 --- a/board/nvidia/common/board.c +++ b/board/nvidia/common/board.c @@ -6,6 +6,7 @@ */ #include +#include #include #include #include @@ -43,6 +44,13 @@ DECLARE_GLOBAL_DATA_PTR; +#ifdef CONFIG_SPL_BUILD +/* TODO(sjg@chromium.org): Remove once SPL supports device tree */ +U_BOOT_DEVICE(tegra_gpios) = { + "gpio_tegra" +}; +#endif + const struct tegra_sysinfo sysinfo = { CONFIG_TEGRA_BOARD_STRING };