From patchwork Mon Mar 18 23:51:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 228863 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 B99F12C009B for ; Tue, 19 Mar 2013 11:01:10 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4AA584A124; Tue, 19 Mar 2013 00:58:16 +0100 (CET) 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 XgwOqznWTOb7; Tue, 19 Mar 2013 00:58:16 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9789E4A13B; Tue, 19 Mar 2013 00:54:21 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2E71A4A03E for ; Tue, 19 Mar 2013 00:53:42 +0100 (CET) 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 PSTDW-1xZLSD for ; Tue, 19 Mar 2013 00:53:41 +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-vb0-f73.google.com (mail-vb0-f73.google.com [209.85.212.73]) by theia.denx.de (Postfix) with ESMTPS id 7EA944A054 for ; Tue, 19 Mar 2013 00:53:22 +0100 (CET) Received: by mail-vb0-f73.google.com with SMTP id fj18so633020vbb.4 for ; Mon, 18 Mar 2013 16:53:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=Fm5heU/ZV8n5Ai7dVB01OWcc/LN7X1lXVmyYB95Xihs=; b=bpM3aaYfXXLPDZKYR8p0v+VPMOaG7VqGvRUBeFEDeaA4KV+vvJwghMxuK26enn8gGk 2kd2scOwCPsimGcl3qZ0EHLbAylLCY4r0dA+mhsx9zheSqEzfSjyL4dpLSg0GoWt62tt AeKLmLISf6kLwZqjx/4d2pqv/LoFF07u0W0nZBmPUduNYerJEUalrCGKy5W072sgt77w iMXL+pXTuVAY4IZU7vRXNYs0hNLyLjgJTr9SJ1ISpWBBNJmulyXIOJSAbuOSBoVQC4Bz Zf6E78qslc/iu0Bl7DSh9TlCRvKN9tVHfcbBc8hPfTPsVI3/ilAf+g2LLPA5sS+DXDYm vTFg== X-Received: by 10.58.127.196 with SMTP id ni4mr14327929veb.5.1363650801124; Mon, 18 Mar 2013 16:53:21 -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 b67si2189587yhi.2.2013.03.18.16.53.21 (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Mon, 18 Mar 2013 16:53:21 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id EA1825A41B0; Mon, 18 Mar 2013 16:53:20 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id C92A4160341; Mon, 18 Mar 2013 16:53:20 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Mon, 18 Mar 2013 16:51:46 -0700 Message-Id: <1363650725-30459-27-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.8.1.3 In-Reply-To: <1363650725-30459-1-git-send-email-sjg@chromium.org> References: <1363650725-30459-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQnlA8iyzKkPoitJQUZZq5YUhk99qgCMNTmN9MrMULwRoi9/NcIoSv3wmTKOAeyclYMpLGK+nSUD+0694VVYWACvCyX90bY2rNKuCD/ExeuVanNdhoKWQBZmm6+cC9yudkRGQHkcEHd4FHxoW/n05LvvkIzru3l0ezTK+0gSrqoUtqApVqMAcr4pxGGVQIacvMXfF3dW Cc: Joel A Fernandes , Will Drewry , u-boot-review@google.com, Bill Richardson , Randall Spangler , Tom Rini , Vadim Bendebury , =?UTF-8?q?Andreas=20B=C3=A4ck?= , Kees Cook Subject: [U-Boot] [PATCH v2 26/45] Add minor updates to README.fdt-control 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 A few things have changed since this doc was written, so update it to match the current state of things. Signed-off-by: Simon Glass --- Changes in v2: None doc/README.fdt-control | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/README.fdt-control b/doc/README.fdt-control index 1e016d1..01b31fe 100644 --- a/doc/README.fdt-control +++ b/doc/README.fdt-control @@ -49,6 +49,10 @@ the features of each board in the device tree file, and have a single generic source base. To enable this feature, add CONFIG_OF_CONTROL to your board config file. +It is currently supported on ARM, x86 and Microblaze - other architectures +will need to add code to their arch/xxx/lib/board.c file to locate the +FDT, at least until generic board support is complete. For ARM, Tegra and +Exynos5 have device trees available for common devices. What is a Flat Device Tree? @@ -99,7 +103,8 @@ Then run the compiler (your version will vary): * Bad configuration: 0 * Strange test result: 0 -You will also find a useful ftdump utility for decoding a binary file. +You will also find a useful fdtdump utility for decoding a binary file, as +well as fdtget/fdtput for reading and writing properties in a binary file. Where do I get an fdt file for my board?