diff options
| author | Hou Zhiqiang <[email protected]> | 2015-10-26 19:47:43 +0800 |
|---|---|---|
| committer | York Sun <[email protected]> | 2015-10-29 10:33:59 -0700 |
| commit | 648bde6d70ac94685ed454cb938e44454190f19a (patch) | |
| tree | 7de372e460189ec144fe9616bfdde3fca0601394 /include/linux/string.h | |
| parent | 435acd83b2b4f31699732f090d28d66cabb05912 (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 <[email protected]>
Signed-off-by: Shaohui Xie <[email protected]>
Signed-off-by: Mingkai Hu <[email protected]>
Signed-off-by: Gong Qianyu <[email protected]>
Reviewed-by: York Sun <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
