Skip to content

Commit 3b10cf1

Browse files
cpackhamtrini
authored andcommitted
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 <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
1 parent 334bbb3 commit 3b10cf1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3037,6 +3037,19 @@ CBFS (Coreboot Filesystem) support
30373037
this is instead controlled by the value of
30383038
/config/load-environment.
30393039

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+
30403053
- DataFlash Support:
30413054
CONFIG_HAS_DATAFLASH
30423055

0 commit comments

Comments
 (0)