]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit98d9696b38df7d477be34fccd4abb2aae02987c8
tree650785070202b1c0079a608a04ddaf7d6d527a29
parentf2f41c68eabfb32574f9088135480618206dd432
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