cmd_scsi: Enable SoC AHCI device on platforms with PCI
authortang yuantian <Yuantian.Tang@freescale.com>
Fri, 20 Mar 2015 02:27:54 +0000 (10:27 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 22 Apr 2015 16:14:56 +0000 (12:14 -0400)
commit1a1cf6ee47409d44573de3adbcabd2d0f5520cad
treef81e92bfdfc3b7c4a61db3b6cf1fcb07f805b5d8
parented09a554be3ce7974cf61715a286a1b6b547fdbd
cmd_scsi: Enable SoC AHCI device on platforms with PCI

Current driver assumes the AHCI is connected to PCI, this is not
true on some SoCs, e.g. LS1021A, which has PCI but the AHCI is
in SoC. This patch will enable embedded AHCI devices on platforms
with PCI.
PCI AHCI devices still can be used by commenting CONFIG_SCSI_AHCI_PLAT
option in head file.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/cmd_scsi.c