diff options
author | William Lai <b04597@freescale.com> | 2010-01-26 15:57:24 +0800 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-05-24 11:50:06 +0200 |
commit | 7713fdb06accfdcac549cc06e08159d43f913524 (patch) | |
tree | 1e6d1f3fe9923f3c8892f79b4567acb309bdafd6 /arch/arm/plat-mxc/include | |
parent | ec879df5c57d4ec34f2f41b3f5eb1fffb3ba6e40 (diff) |
ENGR00120455-2 CAN: Pass the default setting through platform_data
Add the predefined parameters' definition in the
flexcan_platform_data structure.
Signed-off-by: William Lai <b04597@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'arch/arm/plat-mxc/include')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mxc.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mxc.h b/arch/arm/plat-mxc/include/mach/mxc.h index 7d45345d0cda..f8859678c085 100644 --- a/arch/arm/plat-mxc/include/mach/mxc.h +++ b/arch/arm/plat-mxc/include/mach/mxc.h @@ -416,6 +416,32 @@ struct flexcan_platform_data { void (*xcvr_enable) (int id, int en); void (*active) (int id); void (*inactive) (int id); + /* word 1 */ + unsigned int br_presdiv:8; + unsigned int br_rjw:2; + unsigned int br_propseg:3; + unsigned int br_pseg1:3; + unsigned int br_pseg2:3; + unsigned int maxmb:6; + unsigned int xmit_maxmb:6; + unsigned int wd1_resv:1; + + /* word 2 */ + unsigned int fifo:1; + unsigned int wakeup:1; + unsigned int srx_dis:1; + unsigned int wak_src:1; + unsigned int bcc:1; + unsigned int lprio:1; + unsigned int abort:1; + unsigned int br_clksrc:1; + unsigned int loopback:1; + unsigned int smp:1; + unsigned int boff_rec:1; + unsigned int tsyn:1; + unsigned int listen:1; + unsigned int ext_msg:1; + unsigned int std_msg:1; }; struct mxc_srtc_platform_data { |