Enable the adaptive bitrate setting, according to the clock rate.
And the bitrate can be changed by the proc file.
Signed-off-by: William Lai <b04597@freescale.com>
The MBM can only be accessed in word, removing the potential
bit fields side effect intrudued by the different tool chain.
Signed-off-by: William Lai <b04597@freescale.com>
Initialize the default Flexcan device setting, by passing the
predefined parameters through platform_data.
Signed-off-by: William Lai <b04597@freescale.com>
Change the function strcasecmp(buf, "osc") to strncasecmp(buf, "osc",
3), which only compare the first 3bytes.
Signed-off-by: William Lai <b04597@freescale.com>