diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2014-11-20 19:24:17 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-21 21:12:42 +0300 |
commit | 194ed900cac2070175c6e6bf6d23e6bb7400a0f2 (patch) | |
tree | c8fe90cddf110c794e35109e7c91b9a183036881 /drivers/sfi | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) | |
download | linux-194ed900cac2070175c6e6bf6d23e6bb7400a0f2.tar.xz |
spi: fsl-spi: Don't use cpm_command on CPM1
On CPM1, when the SPI parameter RAM is relocated to somewhere else than the
default location, in accordance with freescale documentation
(refer micropatch SPI application note EB662), init RX/TX params command shall
not be used because it doesn't take into account the new location, and
overwrites data that is in original location of SPI param ram at addresses
SCC2 param base + (u32*)0x88 (u16*)0x90 (u32*)0x98 (u16*)0xA0, hence breaking
activity on SCC2 if SCC2 is used in a mode like QMC for instance.
Therefore, the action shall be done manually as described by freescale and as
was already partly done by the driver.
Reported-by: Patrick Vasseur <patrick.vasseur@c-s.fr>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Tested-by: Patrick Vasseur <patrick.vasseur@c-s.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/sfi')
0 files changed, 0 insertions, 0 deletions