summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorAlison Wang <b18965@freescale.com>2017-05-19 03:11:58 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-09-25 07:25:33 (GMT)
commitf7c1d52082366e24d50dd6dc94329f5d3ac2610e (patch)
tree152ebbdb6f2037a9f83315e2bc7aad6fcd349759 /drivers/net
parent14c016af42fae909221dcdf552541810b2087c75 (diff)
downloadlinux-f7c1d52082366e24d50dd6dc94329f5d3ac2610e.tar.xz
mtd: fsl-quadspi: add u32 to u8 transform function
The TX/RX Buffer Data Register in QSPI is 32-bit register. So the 32bit data need transform to 4bytes data. But the "*((u32 *)rxbuf) = tmp" will depend on endian of the core. We add endian independence function to do the 32bit data to 4bytes transition. Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions