aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorHui Wang <[email protected]>2012-06-28 16:21:35 +0800
committerMarc Kleine-Budde <[email protected]>2012-07-03 09:33:00 +0200
commit30c1e672044d98e5c4cff5fcbdb34b55a2df0c0f (patch)
tree6b12a4975cb050ecc7eda4273a26d58ee92cb5bd /scripts/objdiff
parentafc016d8360ceb19a1f37bf6579d5850d47d582d (diff)
can: flexcan: add hardware controller version support
At least in the i.MX series, the flexcan contrller divides into ver_3 and ver_10, current driver is for ver_3 controller. i.MX6 has ver_10 controller, it has more reigsters than ver_3 has. The rxfgmask (Rx FIFO Global Mask) register is one of the new added. Its reset value is 0xffffffff, this means ID Filter Table must be checked when receive a packet, but the driver is designed to accept everything during the chip start, we need to clear this register to follow this design. Use the data entry of the struct of_device_id to point chip specific info, we can set hardware version for each platform. Cc: [email protected] Cc: Marc Kleine-Budde <[email protected]> Cc: Wolfgang Grandegger <[email protected]> Cc: Shawn Guo <[email protected]> Signed-off-by: Hui Wang <[email protected]> [mkl: add id_table support] Tested-by: Hui Wang <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions