armv8: fsl-layerscape: Put SATA code under SATA configs
authorAshish Kumar <Ashish.Kumar@nxp.com>
Fri, 18 Aug 2017 05:24:35 +0000 (10:54 +0530)
committerYork Sun <york.sun@nxp.com>
Fri, 22 Sep 2017 19:41:24 +0000 (12:41 -0700)
commitbdbcb522568fe46dc6141ea1f799e2d08b0e3d76
treedd39f525f6558b3b007f5f92230f8ad7c2d0391c
parent88486d0423d3a58ce188fcf66e2b7a457acc39c2
armv8: fsl-layerscape: Put SATA code under SATA configs

It is not necessary for every SoC to have 2 SATA controller.
So put SATA1, SATA2 code under respective defines.

Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/soc.c