armv8: fsl-lsch2: enable snoopable sata read and write
authorTang Yuantian <Yuantian.Tang@nxp.com>
Mon, 8 Aug 2016 07:07:20 +0000 (15:07 +0800)
committerYork Sun <york.sun@nxp.com>
Thu, 6 Oct 2016 16:52:59 +0000 (09:52 -0700)
commit4de6ce1594fcff6fa9e626d094fa922f4889e167
tree365d7229e766c3dd6fc9ad21627586662bc5b4fe
parentf0beb49290c4e6af7d88895a15a45bbea38318fe
armv8: fsl-lsch2: enable snoopable sata read and write

By default the SATA IP on the ls1043a/ls1046a SoCs does not
generating coherent/snoopable transactions.  This patch enable
it in the SCFG_SNPCNFGCR register along with sata axicc register.
In addition, the dma-coherent property must be set on the SATA
controller nodes.

Signed-off-by: Tang Yuantian <yuantian.tang@nxp.com>
[York Sun: Reformatted commit message]
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/soc.c
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h
arch/arm/include/asm/arch-fsl-layerscape/soc.h