From patchwork Mon May 5 16:09:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 345764 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 863AC140317 for ; Tue, 6 May 2014 02:10:55 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 43EEB4B815; Mon, 5 May 2014 18:10:40 +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 pPqEQMJn0Ryt; Mon, 5 May 2014 18:10:39 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B195A4B82E; Mon, 5 May 2014 18:09:51 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B34224B826 for ; Mon, 5 May 2014 18:09:44 +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 SVqLODeMOGxR for ; Mon, 5 May 2014 18:09:42 +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-qc0-f201.google.com (mail-qc0-f201.google.com [209.85.216.201]) by theia.denx.de (Postfix) with ESMTPS id 395D24B815 for ; Mon, 5 May 2014 18:09:30 +0200 (CEST) Received: by mail-qc0-f201.google.com with SMTP id c9so1133272qcz.4 for ; Mon, 05 May 2014 09:09:29 -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=LS2J0deGS00tCvlW00Sk/r3Tx3nBNYaPlV+gv0CZ8YE=; b=hqZAx4yQvOjZvMRwTih023gS+zAknww7XTrfoo3ypqunlbFZyRdM2zTQkILFWxEWi2 KMEbFlznAIkIrmGNLHE/6xMWNExXtOsMxb+JN1NUhDVhOGi0FtHCCqjk0XEOsAZc9idw Y/XmWgkaZwNadfr8DSsHAH9MX9jUFpJ1m+zMZ6Yv6sZZBBQOgLA7GJ74NcVswT9QGibF gGDbccjxFBPHgDcXCzZPBtCgYlUfy9i9rAaTlYydzSp38y4eYmWVxvbSOQzSU8izFe9Z Zs7492FYnDNZCNGcJXKr1qb82G/D6rYiSP/4zXj3Pza+75f+uyRNH0qqDKpFsYQCaizL QH0w== X-Gm-Message-State: ALoCoQnE0vwUDHV4RbL1v+bz+i8Q+fbnG3JjRpNYIzoAZHgwXe7s0MfJhf/BdQ3dwA71KB2D+OMm X-Received: by 10.58.178.81 with SMTP id cw17mr16479249vec.37.1399306169536; Mon, 05 May 2014 09:09:29 -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 r79si379686yhj.2.2014.05.05.09.09.29 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 May 2014 09:09:29 -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 68E6D5A42DB; Mon, 5 May 2014 09:09:29 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 30E9422260F; Mon, 5 May 2014 10:09:29 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Mon, 5 May 2014 10:09:03 -0600 Message-Id: <1399306150-932-7-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.9.1.423.g4596e3a In-Reply-To: <1399306150-932-1-git-send-email-sjg@chromium.org> References: <1399306150-932-1-git-send-email-sjg@chromium.org> Cc: u-boot-review@google.com, Tom Warren Subject: [U-Boot] [RFC PATCH v2 06/13] dm: Update README to encourage conversion to 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 Add a note to encourage people to convert drivers to use driver model. Signed-off-by: Simon Glass --- Changes in v2: - Update README to encourage conversion to driver model README | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README b/README index 6b41630..5be8e8c 100644 --- a/README +++ b/README @@ -5246,6 +5246,11 @@ Information structure as we define in include/asm-/u-boot.h, and make sure that your definition of IMAP_ADDR uses the same value as your U-Boot configuration in CONFIG_SYS_IMMR. +Note that U-Boot now has a driver model, a unified model for drivers. +If you are adding a new driver, plumb it into driver model. If there +is no uclass available, you are encouraged to create one. See +doc/driver-model. + Configuring the Linux kernel: -----------------------------