dwc_ahsata: return failure for MX6 if not IMX6Q/IMX6D
authorTim Harvey <tharvey@gateworks.com>
Thu, 8 May 2014 05:23:35 +0000 (22:23 -0700)
committerStefano Babic <sbabic@denx.de>
Fri, 6 Jun 2014 08:14:07 +0000 (10:14 +0200)
commitca84d72d1cfd7629118abce15c0b24cd7413692c
tree602e082e01b5727af614ab79b7409c000c1e1ea3
parent0cc11dea89861802c2f278830e5d97b32c3fef4d
dwc_ahsata: return failure for MX6 if not IMX6Q/IMX6D

The IMX6QUAD/DUAL have SATA, but the IMX6SOLO/DL do not. Return failure
instead of attempting a memory access that results in a data abort and reset.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
drivers/block/dwc_ahsata.c