[ARM] pxa: correct SSCR0_SCR to support multiple SoCs
authorEric Miao <eric.y.miao@gmail.com>
Tue, 16 Mar 2010 08:48:01 +0000 (16:48 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 11 May 2010 15:24:57 +0000 (17:24 +0200)
commitc9840daa70fbb8f6031fcd1f254a3da49a41ea7b
treedf95f94209b05cca7250b45cc694f15be51e5c50
parent793ffb9ed3179906760874689a99d4863d76914e
[ARM] pxa: correct SSCR0_SCR to support multiple SoCs

The previous definitions of SSCR0_SCR and SSCR0_SerClkDiv() prevented
them being used simultaneously when supporting multiple PXA SoCs, esp.
in drivers/spi/pxa2xx_spi.c, make them correct.

The change from SSCR0_SerClkDiv(2) to SSCR0_SCR(2), will make the result
a little bit different in pxa2xx_spi_probe(), however, since that's only
used as a default initialization value, it's acceptable.

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/include/mach/regs-ssp.h
drivers/spi/pxa2xx_spi.c