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)
committerMatthew Pedro <mapedro@nvidia.com>
Thu, 29 Nov 2012 03:45:39 +0000 (19:45 -0800)
commit272fb5df134a30f72a1acf6d5d2b06e290865af7
tree21e10e061dae5ce9fc4a915056f829b43d2d7403
parent03c65aadf0d141033e348d01713a4fd688d949b7
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 1171138

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
Tested-by: Simone Willett <swillett@nvidia.com>
(cherry picked from commit 6e6a0ec500a3113272a593e4466f04d940bc637f)
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/166837
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
arch/arm/mach-tegra/board-cardhu.c
drivers/ata/ahci-tegra.c