diff options
author | Marek Vasut <marex@denx.de> | 2015-08-02 23:28:56 (GMT) |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2015-08-17 10:29:48 (GMT) |
commit | 0a02655481834a4ebdf457e43c24729ffd7daf37 (patch) | |
tree | 0202005fa3dfe497b6884c3c59ff59675fe7787b /include/rc4.h | |
parent | 632093b566569329bc6e5b0893bdca01de905314 (diff) | |
download | u-boot-fsl-qoriq-0a02655481834a4ebdf457e43c24729ffd7daf37.tar.xz |
sf: Make 4K sector support configurable
Make the support for 4K subpage I/O on a SPI NOR flash configurable.
A board which requires the SPI NOR to be accessed in larger 32KiB
or 64KiB pages can disable the 4K subpage support, but by default,
the support for 4K subpage I/O is enabled. The functionality of this
option is the same as CONFIG_MTD_SPI_NOR_USE_4K_SECTORS in Linux.
This is extremely useful in case one uses UBI on a SPI NOR flash.
UBI needs at least 15k EBs and can not work on a flash which uses
4k ones, so disabling the support for 4k subpages lets UBI work on
such flash.
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'include/rc4.h')
0 files changed, 0 insertions, 0 deletions