From patchwork Wed Jun 10 10:06:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 482580 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 623E1140281 for ; Wed, 10 Jun 2015 20:07:11 +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=DOhbwoLL; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 10E744B652; Wed, 10 Jun 2015 12:07:10 +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 3hcMb86Ml_SF; Wed, 10 Jun 2015 12:07:09 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 324E84B62B; Wed, 10 Jun 2015 12:07:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0BA354B62B for ; Wed, 10 Jun 2015 12:07:06 +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 AIboBA3v2Ml0 for ; Wed, 10 Jun 2015 12:07:05 +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-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by theia.denx.de (Postfix) with ESMTPS id 8BE4C4B62A for ; Wed, 10 Jun 2015 12:07:02 +0200 (CEST) Received: by payr10 with SMTP id r10so32024666pay.1 for ; Wed, 10 Jun 2015 03:07:00 -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:in-reply-to:references; bh=9cnF12S5DbW+leLK9+jokBfnu/mZMQdn9Y1hgvAyyzE=; b=DOhbwoLLNlNAfBcAs68+yUeJQCHsrF8rPjkf+w0ARp+zR73QJ3knKK19S4dS1KkD06 LH/6kQyHRIAk5xLQN7pPx1TJYuqEvmr/9tD/n/FeVisliO/A2R9XYkRHqilSW+nQrowi 2G74mBCe7p+hyfilX4DtRRxOju2FxWTaBYfPz4gUamTrqAHFPoxR/6yCpVf1A9t4LXvC 3MeyNV6EcOwjnMti7KW8VpTzhV6pTtiF9WZdQS6PtdIi5BL/BFODqwDLrjg2suixs8ci kWVDcM3QXcEb8hZ7tOQZBVLFW8A0pMq52VBI9V8w/tDf/Z0PFX4YrhjbjB+8eRFKrVX9 H8Hg== X-Received: by 10.70.88.17 with SMTP id bc17mr4535638pdb.12.1433930820365; Wed, 10 Jun 2015 03:07:00 -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 f4sm8114152pdc.95.2015.06.10.03.06.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Jun 2015 03:06:59 -0700 (PDT) From: Chris Packham To: u-boot@lists.denx.de Date: Wed, 10 Jun 2015 22:06:02 +1200 Message-Id: <1433930781-5358-1-git-send-email-judge.packham@gmail.com> X-Mailer: git-send-email 2.3.5 In-Reply-To: <5577E4C6.90400@gmail.com> References: <5577E4C6.90400@gmail.com> Cc: Tom Rini , Stefan Roese , Thierry Reding , Chris Packham , York Sun Subject: [U-Boot] [RFC PATCH v1] 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. 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