From patchwork Tue Sep 23 23:30:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 392707 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 7EC111400B2 for ; Wed, 24 Sep 2014 09:32:25 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 011AAA7415; Wed, 24 Sep 2014 01:32:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 dJSTNeZH5lC0; Wed, 24 Sep 2014 01:32:12 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7D325A745E; Wed, 24 Sep 2014 01:30:59 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 75154A7436 for ; Wed, 24 Sep 2014 01:30:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 zP8mPeyNDdiQ for ; Wed, 24 Sep 2014 01:30:47 +0200 (CEST) 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-pd0-f201.google.com (mail-pd0-f201.google.com [209.85.192.201]) by theia.denx.de (Postfix) with ESMTPS id 82C76A7425 for ; Wed, 24 Sep 2014 01:30:27 +0200 (CEST) Received: by mail-pd0-f201.google.com with SMTP id fp1so887459pdb.4 for ; Tue, 23 Sep 2014 16:30:25 -0700 (PDT) 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=eK6Z358fjDVhYpTKKX26s8cigeZ6hCFUvCKkKA2w/IU=; b=Jsev6flbvPlD+tDo4/m2vYrZBHqCp84PrB4N/2xr1PXrj34GwzXXrsqkYeq0kaCrCk 4HKz3mReO/pflC6XZnjw0C2vMgfj7f6+O2OfzZwSj7g0ZCHBuB5bBJeM1+t/HWom8c6l OGRGMou7mJE8rqqqYjXehbmKImGClhq3FlLaqKslQ0d1YmC0idM9SktGG6wrNExpY8wR 0KLpHaIYBBkKSZ6k4aLlUJmwc1b7wDRdzzqE6EZClcCRlVkM+VYztYzOA36rONnMDjEG sQ4G/VaAeNRI5goYYFgrp1iZ+7V31+UX67W3BWv5jU+MGR393La8eDUfOrGQ2j8Jj/FC uLkQ== X-Gm-Message-State: ALoCoQl2c7m0zXZWDzOOP720Qa1W1pkdGf3HnX/sV2ydnaqhYenVPuZkWs5seJ++FMHaQ+Pf6RbH X-Received: by 10.66.150.197 with SMTP id uk5mr2191503pab.41.1411515025541; Tue, 23 Sep 2014 16:30:25 -0700 (PDT) Received: from corpmail-nozzle1-2.hot.corp.google.com ([100.108.1.103]) by gmr-mx.google.com with ESMTPS id n22si727468yhd.1.2014.09.23.16.30.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Sep 2014 16:30:25 -0700 (PDT) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-2.hot.corp.google.com with ESMTP id Nk6t1oDv.1; Tue, 23 Sep 2014 16:30:25 -0700 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 5FA79221E67; Tue, 23 Sep 2014 17:30:24 -0600 (MDT) From: Simon Glass To: u-boot@lists.denx.de Date: Tue, 23 Sep 2014 17:30:04 -0600 Message-Id: <1411515008-4483-11-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 In-Reply-To: <1411515008-4483-1-git-send-email-sjg@chromium.org> References: <1411515008-4483-1-git-send-email-sjg@chromium.org> Cc: Stephen Warren , Tom Warren Subject: [U-Boot] [RFC PATCH 10/14] dm: tegra: Add platform data for the GPIO driver X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 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 --- 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 d01abce..fd15ab6 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 };