Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) menuconfig MTD_SPI_NOR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 	tristate "SPI NOR device support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 	depends on MTD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 	depends on MTD && SPI_MASTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 	select SPI_MEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 	  This is the framework for the SPI NOR which can be used by the SPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 	  device drivers and the SPI NOR device driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) if MTD_SPI_NOR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) config MTD_SPI_NOR_USE_4K_SECTORS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	bool "Use small 4096 B erase sectors"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	  Many flash memories support erasing small (4096 B) sectors. Depending
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	  on the usage this feature may provide performance gain in comparison
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	  to erasing whole blocks (32/64 KiB).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	  Changing a small part of the flash's contents is usually faster with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	  small sectors. On the other hand erasing should be faster when using
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	  64 KiB block instead of 16 × 4 KiB sectors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	  Please note that some tools/drivers/filesystems may not work with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	  4096 B erase size (e.g. UBIFS requires 15 KiB as a minimum).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) source "drivers/mtd/spi-nor/controllers/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) endif # MTD_SPI_NOR