return 0;
}
+
+/* special function for midam board */
+int mpc5200_midam_init_hw_data(struct candevice_t *candev)
+{
+ /* use same init routine */
+ mpc5200_init_hw_data(candev);
+
+ /* modify chip count */
+ candev->nr_all_chips = NR_ALL_MIDAM;
+
+ return 0;
+}
+
int mpc5200_init_chip_data(struct candevice_t *candev, int chipnr)
{
mscan_fill_chipspecops(candev->chip[chipnr]);
return 0;
}
+int mpc5200_midam_register(struct hwspecops_t *hwspecops)
+{
+ /* use same register routine for MIDAM board */
+ mpc5200_register(hwspecops);
+
+ /* use specific init_hw_data */
+ hwspecops->init_hw_data = mpc5200_midam_init_hw_data;
+
+ return 0;
+}
int mpc5200_init_device_node(struct canchip_t * chip, struct device_node * devnode)
{