Commit 3b10cf120befe9c2e938a7d4e04eb0b545ee347a

Authored by Chris Packham
Committed by Tom Rini
1 parent 334bbb387f

README: Describe CONFIG_SYS_NO_FLASH

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>

Showing 1 changed file with 13 additions and 0 deletions Side-by-side Diff

... ... @@ -3037,6 +3037,19 @@
3037 3037 this is instead controlled by the value of
3038 3038 /config/load-environment.
3039 3039  
  3040 +- Parallel Flash support:
  3041 + CONFIG_SYS_NO_FLASH
  3042 +
  3043 + Traditionally U-boot was run on systems with parallel NOR
  3044 + flash. This option is used to disable support for parallel NOR
  3045 + flash. This option should be defined if the board does not have
  3046 + parallel flash.
  3047 +
  3048 + If this option is not defined one of the generic flash drivers
  3049 + (e.g. CONFIG_FLASH_CFI_DRIVER or CONFIG_ST_SMI) must be
  3050 + selected or the board must provide an implementation of the
  3051 + flash API (see include/flash.h).
  3052 +
3040 3053 - DataFlash Support:
3041 3054 CONFIG_HAS_DATAFLASH
3042 3055