arm: tegra: ahci/sata: check sata against board id
authorBibek Basu <bbasu@nvidia.com>
Thu, 11 Oct 2012 10:04:04 +0000 (15:04 +0530)
committerSimone Willett <swillett@nvidia.com>
Sat, 27 Oct 2012 02:19:45 +0000 (19:19 -0700)
commit6e6a0ec500a3113272a593e4466f04d940bc637f
tree9eec27a8a00c385a5158c73ad65d6c06bcc3c7d8
parent4e66142b6990ca586e085aa88ae0bd6b819da0c4
arm: tegra: ahci/sata: check sata against board id

If the board has sata support, then only add platform device
Also move slumber code to Idle powergate section to
avoid build failure.

Bug 1157036

Change-Id: I6128f451f348a7fad41fc52579b18939c8a2efcd
Original-author: Mike Thompson <mikthompson@nvidia.com>
Signed-off-by: Mike Thompson <mikthompson@nvidia.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/143984
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
arch/arm/mach-tegra/board-cardhu.c
drivers/ata/ahci-tegra.c