diff options
author | Jeff Kletsky <git-commits@allycomm.com> | 2019-05-14 09:47:40 -0700 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2019-11-14 14:38:58 +0800 |
commit | 20b3e77ba3e690453203587afa174bef43ee339b (patch) | |
tree | f49f93ce0f9c9434d303120cde04f4e2a3c5992e /target/linux/x86/patches-4.14 | |
parent | 10bcf1eb40b728b3583c1a7693111f27a9801dc5 (diff) | |
download | upstream-20b3e77ba3e690453203587afa174bef43ee339b.tar.gz upstream-20b3e77ba3e690453203587afa174bef43ee339b.tar.bz2 upstream-20b3e77ba3e690453203587afa174bef43ee339b.zip |
ath79: prepare NAND subtarget for upstream support of SPI NAND
Linux 4.19 supplies the upstream spi-nand framework,
permitting porting and support of boards with SPI NAND.
* Adjusted nand/target.mk to provide FEATURES += squashfs nand
* Updated config-default to provide current MTD and UBI support
Defaults selected for:
CONFIG_MTD_UBI_WL_THRESHOLD=4096
CONFIG_MTD_UBI_BEB_LIMIT=20
# CONFIG_MTD_UBI_FASTMAP is not set
# CONFIG_MTD_UBI_GLUEBI is not set
The bad-block reservation limit technically should be 21 for Paragon
SPI NAND but most other devices in the class are 20 blocks per Gbit.
In Linux 5.2 this is specified on a per-chip basis through NAND_MEMORG
Contents adjusted to remove declarations provided at the target level
by commit 08a134820f5 (Oct 23, 2019) ath79: enable PCI for whole target
Signed-off-by: Jeff Kletsky <git-commits@allycomm.com>
Tested-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Diffstat (limited to 'target/linux/x86/patches-4.14')
0 files changed, 0 insertions, 0 deletions