From patchwork Fri May 9 17:28:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 347489 X-Patchwork-Delegate: trini@ti.com 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 76182140081 for ; Sat, 10 May 2014 03:31:25 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 204144B88C; Fri, 9 May 2014 19:30:55 +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 6Exex1QvMKiL; Fri, 9 May 2014 19:30:54 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B78014B8D9; Fri, 9 May 2014 19:29:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4BE6F4B898 for ; Fri, 9 May 2014 19:29:32 +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 9mmKeqaG4rZH for ; Fri, 9 May 2014 19:29:29 +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-pa0-f73.google.com (mail-pa0-f73.google.com [209.85.220.73]) by theia.denx.de (Postfix) with ESMTPS id 3A1BE4B8AC for ; Fri, 9 May 2014 19:29:10 +0200 (CEST) Received: by mail-pa0-f73.google.com with SMTP id lj1so710693pab.0 for ; Fri, 09 May 2014 10:29:09 -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=OdGhavdedjwLNP1+iqAhrXYXfFogdSN5+MMZINR/Spc=; b=XSc4RI64/F9pdXtQ3jxWgiG0zO9638pjO8dKtylOw1vr2sqNP+cQl1DAhMSxVqboHP 1BYs04/iFVV3ndyIjzcY9NqJcU3EVCyQJAxZkJqky7mAeIHI715lhG84EuaOsH5PTCdR pBYp1RXSsTXWPnRfElsnnKIiOJCTkJULibLJxWPTI1z01dpwRpGp2KBQUp9LRTgloKKh W7GDd38zS7Wo3EhfVGCNQhOwmu6RIRwCnyO5WR/UIdsGc6hjN9V1Ko3t7eqzlAnDtmLF eQh6ZC0IgpATevSRWGxx0hPaZAZsXyd+HmaA4f/IQFbupGGyGktypYm2qA33fMlLJ8Gp x7Ww== X-Gm-Message-State: ALoCoQlHhY0NjaC+3Zrqw1Qxt/PW6qykp22U/bmNScB4YKqx5PbsrvGyBzZZ/nOlMHX4M/dYVNSY X-Received: by 10.66.240.4 with SMTP id vw4mr5567590pac.10.1399656549009; Fri, 09 May 2014 10:29:09 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id y50si236849yhk.4.2014.05.09.10.29.08 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 May 2014 10:29:08 -0700 (PDT) Received: from kaki.bld.corp.google.com (kaki.bld.corp.google.com [172.29.216.32]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id D3FCE5A4298; Fri, 9 May 2014 10:29:08 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 858F02215A7; Fri, 9 May 2014 11:29:08 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Fri, 9 May 2014 11:28:27 -0600 Message-Id: <1399656509-28082-13-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.9.1.423.g4596e3a In-Reply-To: <1399656509-28082-1-git-send-email-sjg@chromium.org> References: <1399656509-28082-1-git-send-email-sjg@chromium.org> Cc: u-boot-review@google.com, Stephen Warren , Tom Warren Subject: [U-Boot] [RFC PATCH v2 12/13] tegra: Enable driver model 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 Enable driver model for Tegra boards. Signed-off-by: Simon Glass Acked-by: Stephen Warren --- Changes in v3: - Enable dm command in this patch instead of the next Changes in v2: - Split out a separate patch to enable driver model for tegra include/configs/tegra-common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index ae786cf..24b909b 100644 --- a/include/configs/tegra-common.h +++ b/include/configs/tegra-common.h @@ -19,6 +19,9 @@ #include /* get chip and board defs */ +#define CONFIG_DM +#define CONFIG_CMD_DM + #define CONFIG_SYS_TIMER_RATE 1000000 #define CONFIG_SYS_TIMER_COUNTER NV_PA_TMRUS_BASE