linux_dsm_epyc7002/arch/m68k/platform
Peter Turczak 89127ed381 m68knommu: fix problems with SPI/GPIO on ColdFire 520x
The problem has its root in the calculation of the set-port offsets (macro
MCFGPIO_SETR() in arch/m68k/include/asm/gpio.h), this assumes that all ports
have the same offset from the base port address (MCFGPIO_SETR) which is
defined in mcf520xsim.h as an alias of MCFGIO_PSETR_BUSCTL. Because the BUSCTL
and BE port do not have a set-register (see MCF5208 Reference Manual Page
13-10, Table 13-3) the offset calculations went wrong.

Because the BE and BUSCTL port do not seem useful in these parts, as they
lack a set register, I removed them and adapted the gpio chip bases which
are also used for the offset-calculations. Now both setting and resetting
the chip selects works as expected from userland and from the kernelspace.

Signed-off-by: Peter Turczak <peter@turczak.de>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
2011-10-18 14:22:25 +10:00
..
54xx m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
68EZ328 m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
68VZ328 m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
520x m68knommu: fix problems with SPI/GPIO on ColdFire 520x 2011-10-18 14:22:25 +10:00
523x Fix common misspellings 2011-03-31 11:26:23 -03:00
527x Fix common misspellings 2011-03-31 11:26:23 -03:00
528x Fix common misspellings 2011-03-31 11:26:23 -03:00
532x m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
5206 m68knommu: merge ColdFire 5206 and 5206e platform code 2011-07-25 11:20:41 +10:00
5249 m68k: Convert irq function namespace 2011-03-29 14:48:15 +02:00
5272 m68knommu: correctly use trap_init 2011-07-25 11:20:41 +10:00
5307 m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
5407 m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
68328 m68k: Revive reporting of spurious interrupts 2011-07-25 11:20:41 +10:00
68360 m68k: Revive reporting of spurious interrupts 2011-07-25 11:20:41 +10:00
coldfire m68knommu: correctly use trap_init 2011-07-25 11:20:41 +10:00
Makefile m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00