WSL2-Linux-Kernel/drivers/mtd/maps
Prabhakar Kushwaha 7d5cba597d mtd: physmap_of: update struct map_info's swap as per map requirement
It is not necessary for all device's maps to be CFI_HOST_ENDIAN.
Maps device can be Big endian or little endian.

Currently it is being taken care using CONFIG_MTD_CFI_LE_BYTE_SWAP or
CONFIG_MTD_CFI_BE_BYTE_SWAP i.e. compile time.

Now update struct map_info's swap field based on device characteristics
defined in device tree.

Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
2018-03-29 09:31:37 +02:00
..
Kconfig
Makefile
amd76xrom.c
cfi_flagadm.c
ck804xrom.c
dc21285.c
esb2rom.c
gpio-addr-flash.c
ichxrom.c
impa7.c
intel_vr_nor.c
ixp4xx.c
l440gx.c
lantiq-flash.c
latch-addr-flash.c
map_funcs.c
netsc520.c
nettel.c
pci.c
pcmciamtd.c
physmap.c
physmap_of_core.c mtd: physmap_of: update struct map_info's swap as per map requirement 2018-03-29 09:31:37 +02:00
physmap_of_gemini.c
physmap_of_gemini.h
physmap_of_versatile.c
physmap_of_versatile.h
pismo.c
plat-ram.c
pmcmsp-flash.c
pxa2xx-flash.c
rbtx4939-flash.c
sa1100-flash.c
sbc_gxx.c
sc520cdp.c
scb2_flash.c
scx200_docflash.c
solutionengine.c
sun_uflash.c
ts5500_flash.c
tsunami_flash.c
uclinux.c
vmu-flash.c