]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
m68knommu: ColdFire 5271 only has a single FEC controller
authorGreg Ungerer <gerg@uclinux.org>
Wed, 18 Mar 2015 00:14:45 +0000 (10:14 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 29 Mar 2015 23:52:24 +0000 (09:52 +1000)
commita630ec1b64c57f681877cc19c8e7ea5640cf7fcb
tree103bf58b14e8f38a4f0eb1e93ec2c87a6d4d4eb4
parentfaa7cc2862c861d241cdb052e495e296bece1ccb
m68knommu: ColdFire 5271 only has a single FEC controller

The inclusion of multiple FEC ethernet platform devices is based around
the FEC address definitions in the platform headers. The ColdFire m527x
platform is defining 2 FEC modules, but the 5271 SoC only has a single
FEC hardware module. The attempt to probe and init a second FEC module
causes a trap and dump on boot on this platform.

Fix the definitions so that only the 5275 SoC platform (which has 2 FEC
hardware modules) defines the second base address.

Reported-by: ertheb <3rth3bnospam@ethe.fr>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/m527xsim.h