diff options
author | Alison Wang <b18965@freescale.com> | 2017-05-19 03:11:58 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-09-25 07:25:33 (GMT) |
commit | f7c1d52082366e24d50dd6dc94329f5d3ac2610e (patch) | |
tree | 152ebbdb6f2037a9f83315e2bc7aad6fcd349759 /drivers/net | |
parent | 14c016af42fae909221dcdf552541810b2087c75 (diff) | |
download | linux-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