Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

m68k: stmark2: update board setup

Add configuration for flexcan pads.

Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>

authored by

Angelo Dureghello and committed by
Greg Ungerer
40cff492 cd3bf8cf

+4 -2
+4 -2
arch/m68k/coldfire/stmark2.c
··· 111 111 __raw_writeb(0x00, MCFGPIO_PAR_BE); 112 112 __raw_writeb(0x00, MCFGPIO_PAR_FBCTL); 113 113 __raw_writeb(0x00, MCFGPIO_PAR_CS); 114 - __raw_writeb(0x00, MCFGPIO_PAR_CANI2C); 114 + 115 + /* CAN pads */ 116 + __raw_writeb(0x50, MCFGPIO_PAR_CANI2C); 115 117 116 118 platform_add_devices(stmark2_devices, ARRAY_SIZE(stmark2_devices)); 117 119 ··· 123 121 return 0; 124 122 } 125 123 126 - late_initcall(init_stmark2); 124 + device_initcall(init_stmark2);