From patchwork Fri Jun 19 08:25:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 486618 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 86155140295 for ; Fri, 19 Jun 2015 18:26:59 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=NIxysfv3; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 373714B61F; Fri, 19 Jun 2015 10:26:56 +0200 (CEST) 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 7KKaKt7tZbdA; Fri, 19 Jun 2015 10:26:56 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BC83D4B616; Fri, 19 Jun 2015 10:26:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9D5BE4B616 for ; Fri, 19 Jun 2015 10:26:53 +0200 (CEST) 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 OwbgKtGYGj8q for ; Fri, 19 Jun 2015 10:26:53 +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-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by theia.denx.de (Postfix) with ESMTPS id 1F00A4B615 for ; Fri, 19 Jun 2015 10:26:49 +0200 (CEST) Received: by pdjm12 with SMTP id m12so85814403pdj.3 for ; Fri, 19 Jun 2015 01:26:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=0z4nbZAwBaz68Hr2j21QAb0SAMh/n7c2wSkSzCD429k=; b=NIxysfv3ENO3jZv763qUartdNpl4HTMCEF/VHt+3+mbKLbp9qkHqvEq1GA3hp9UCXU XKuvMm6L3cgFerJfRXKR4jPdspZlPltLiK8I4yjJ1YIWIzizWtc03Iv9G09LoLJvd0Ah /bID/5DgG/7PMopWWlrUncMpOPVzMJ6qJmf/2bSUulvehTecFpA0QCm46wpfgLeXEdC6 /KNKEvSye8SQ7sXlpN5z4HFYyWwEkWV9SLR5pNXZcott7t2nurJ2pmLSZWqhy2fa6kyN Ka+x2y1JOq8udu8spGilblsWJ2sIKyYSGN/PvaQf1dEsMxVYloiES/vVjGuxFodKUKZ3 hMjA== X-Received: by 10.70.15.1 with SMTP id t1mr29055979pdc.155.1434702407576; Fri, 19 Jun 2015 01:26:47 -0700 (PDT) Received: from chrisp-dl.ws.atlnz.lc (2-163-36-202-static.alliedtelesis.co.nz. [202.36.163.2]) by mx.google.com with ESMTPSA id f1sm10384833pds.62.2015.06.19.01.26.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 19 Jun 2015 01:26:46 -0700 (PDT) From: Chris Packham To: u-boot@lists.denx.de Date: Fri, 19 Jun 2015 20:25:59 +1200 Message-Id: <1434702383-7305-1-git-send-email-judge.packham@gmail.com> X-Mailer: git-send-email 2.3.5 Cc: Tom Rini , Stefan Roese , Thierry Reding , Chris Packham , York Sun Subject: [U-Boot] [PATCH v2] README: Describe CONFIG_SYS_NO_FLASH X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Unlike most configuration options defining this actually disables support for a feature (parallel flash). Eventually the logic behind this should probably be flipped so that '#ifndef CONFIG_SYS_NO_FLASH' becomes '#ifdef CONFIG_HAS_PARALLEL_FLASH' but for now lets document the existing behaviour. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese --- So this is my attempt to describe (my understanding of) how this option should be used. Any suggestions for improvement are most welcome. Changes in v2: - Dropped RFC - Added review from Stefan README | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README b/README index 3b406c2..c3fa549 100644 --- a/README +++ b/README @@ -3037,6 +3037,19 @@ CBFS (Coreboot Filesystem) support this is instead controlled by the value of /config/load-environment. +- Parallel Flash support: + CONFIG_SYS_NO_FLASH + + Traditionally U-boot was run on systems with parallel NOR + flash. This option is used to disable support for parallel NOR + flash. This option should be defined if the board does not have + parallel flash. + + If this option is not defined one of the generic flash drivers + (e.g. CONFIG_FLASH_CFI_DRIVER or CONFIG_ST_SMI) must be + selected or the board must provide an implementation of the + flash API (see include/flash.h). + - DataFlash Support: CONFIG_HAS_DATAFLASH