All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2] README: Describe CONFIG_SYS_NO_FLASH
@ 2015-06-19  8:25 Chris Packham
  2015-06-19 20:25 ` [U-Boot] [U-Boot,v2] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Packham @ 2015-06-19  8:25 UTC (permalink / raw
  To: 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 <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>

---
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
 
-- 
2.3.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [U-Boot,v2] README: Describe CONFIG_SYS_NO_FLASH
  2015-06-19  8:25 [U-Boot] [PATCH v2] README: Describe CONFIG_SYS_NO_FLASH Chris Packham
@ 2015-06-19 20:25 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2015-06-19 20:25 UTC (permalink / raw
  To: u-boot

On Fri, Jun 19, 2015 at 08:25:59PM +1200, Chris Packham wrote:

> 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 <judge.packham@gmail.com>
> Reviewed-by: Stefan Roese <sr@denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150619/de4554f3/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-19 20:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-19  8:25 [U-Boot] [PATCH v2] README: Describe CONFIG_SYS_NO_FLASH Chris Packham
2015-06-19 20:25 ` [U-Boot] [U-Boot,v2] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.