summaryrefslogtreecommitdiffstats
path: root/tools/iio/lsiio.c
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>2018-03-28 11:15:52 +0530
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-03-29 09:31:37 +0200
commit7d5cba597dbfc55c43761e255f1be646ef3ab633 (patch)
treea4376cb1ba0197dab5fb145c405af070f6764f5f /tools/iio/lsiio.c
parent147395ea40b36b8652b6df3e50a1cb745be75c93 (diff)
downloadtalos-obmc-linux-7d5cba597dbfc55c43761e255f1be646ef3ab633.tar.gz
talos-obmc-linux-7d5cba597dbfc55c43761e255f1be646ef3ab633.zip
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>
Diffstat (limited to 'tools/iio/lsiio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud