summaryrefslogtreecommitdiff
path: root/common/cmd_spi.c
diff options
context:
space:
mode:
authorHou Zhiqiang <B48286@freescale.com>2015-10-26 19:47:43 +0800
committerYork Sun <yorksun@freescale.com>2015-10-29 10:33:59 -0700
commit648bde6d70ac94685ed454cb938e44454190f19a (patch)
tree7de372e460189ec144fe9616bfdde3fca0601394 /common/cmd_spi.c
parent435acd83b2b4f31699732f090d28d66cabb05912 (diff)
net/fm: Fix the endian issue to support both endianness platforms
The Frame Manager(FMan) is a big-endian peripheral, so the registers, internal MURAM and BDs, which are allocated in main memory and used to communication between core and FMan, should be accessed in big-endian. The big-endian platforms can access them directly as the code implemented so far, while for the little-endian platforms it need to swap the byte-order. Signed-off-by: Hou Zhiqiang <B48286@freescale.com> Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com> Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'common/cmd_spi.c')
0 files changed, 0 insertions, 0 deletions