mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-08 17:18:05 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
31
drivers/mtd/spi-nor/Kconfig
Normal file
31
drivers/mtd/spi-nor/Kconfig
Normal file
|
@ -0,0 +1,31 @@
|
|||
menuconfig MTD_SPI_NOR
|
||||
tristate "SPI-NOR device support"
|
||||
depends on MTD
|
||||
help
|
||||
This is the framework for the SPI NOR which can be used by the SPI
|
||||
device drivers and the SPI-NOR device driver.
|
||||
|
||||
if MTD_SPI_NOR
|
||||
|
||||
config MTD_SPI_NOR_USE_4K_SECTORS
|
||||
bool "Use small 4096 B erase sectors"
|
||||
default y
|
||||
help
|
||||
Many flash memories support erasing small (4096 B) sectors. Depending
|
||||
on the usage this feature may provide performance gain in comparison
|
||||
to erasing whole blocks (32/64 KiB).
|
||||
Changing a small part of the flash's contents is usually faster with
|
||||
small sectors. On the other hand erasing should be faster when using
|
||||
64 KiB block instead of 16 × 4 KiB sectors.
|
||||
|
||||
Please note that some tools/drivers/filesystems may not work with
|
||||
4096 B erase size (e.g. UBIFS requires 15 KiB as a minimum).
|
||||
|
||||
config SPI_FSL_QUADSPI
|
||||
tristate "Freescale Quad SPI controller"
|
||||
depends on ARCH_MXC
|
||||
help
|
||||
This enables support for the Quad SPI controller in master mode.
|
||||
We only connect the NOR to this controller now.
|
||||
|
||||
endif # MTD_SPI_NOR
|
2
drivers/mtd/spi-nor/Makefile
Normal file
2
drivers/mtd/spi-nor/Makefile
Normal file
|
@ -0,0 +1,2 @@
|
|||
obj-$(CONFIG_MTD_SPI_NOR) += spi-nor.o
|
||||
obj-$(CONFIG_SPI_FSL_QUADSPI) += fsl-quadspi.o
|
1004
drivers/mtd/spi-nor/fsl-quadspi.c
Normal file
1004
drivers/mtd/spi-nor/fsl-quadspi.c
Normal file
File diff suppressed because it is too large
Load diff
1136
drivers/mtd/spi-nor/spi-nor.c
Normal file
1136
drivers/mtd/spi-nor/spi-nor.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue