]> git.baikalelectronics.ru Git - kernel.git/commit
m68knommu: fix multi-function pin setup for FEC module on ColdFire 523x
authorGreg Ungerer <gerg@uclinux.org>
Tue, 18 Sep 2012 02:14:18 +0000 (12:14 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Thu, 27 Sep 2012 13:34:01 +0000 (23:34 +1000)
commit6f56814e595f0a99c7547c8a00a7ae78363fd7d7
tree650785070202b1c0079a608a04ddaf7d6d527a29
parent3f9ba7cc144315908e23dd450ab1b96d90c93127
m68knommu: fix multi-function pin setup for FEC module on ColdFire 523x

The multi-function pin setup code for the FEC ethernet module is using just
plain wrong. Looks like it was cut-and-pasted from other init code. It has
hard coded register addresses that are incorrect for the 523x, and it is
manipulating bits that don't make sense.

Add proper register definitions for the Pin Assignment registers of the 532x,
and then use them to fix the setup code for the FEC hardware module.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/m523xsim.h
arch/m68k/platform/coldfire/m523x.c