m68knommu: make 527x QSPI platform addressing consistent

If we make all QSPI (SPI protocol) addressing consistent across all ColdFire
family members then we will be able to remove the duplicated plaform data
and code and use a single setup for all.

So modify the ColdFire 527x QSPI addressing so that:

. base addresses are absolute (not relative to MBAR peripheral register)
. use a common name for IRQs used
. move chip select definitions (CS) to appropriate header

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
This commit is contained in:
Greg Ungerer
2011-12-24 12:40:37 +10:00
parent 2424f54902
commit 6c84a60eb9
3 changed files with 29 additions and 17 deletions

View File

@@ -21,7 +21,7 @@
#ifndef mcfqspi_h
#define mcfqspi_h
#if defined(CONFIG_M527x) || defined(CONFIG_M528x)
#if defined(CONFIG_M528x)
#define MCFQSPI_IOBASE (MCF_IPSBAR + 0x340)
#elif defined(CONFIG_M532x)
#define MCFQSPI_IOBASE 0xFC058000