diff options
author | Yen Lin <yelin@nvidia.com> | 2011-02-07 20:00:31 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-04-26 15:52:17 -0700 |
commit | 44d682a60ef1a7dfcd89fe7f2f54d15822d794b0 (patch) | |
tree | a4cc010beb2da79e36db815a98a68b3137bb7cc9 /arch/arm/mach-tegra/devices.c | |
parent | 8042bc02a424d9e9124b58b759a2f77f03558180 (diff) |
arm: tegra: Update AHCI/SATA driver support
- Added SATA pad pll and plle initialization
- Removed usage of driver's platform data
- Implemented placeholder for SATA power-gating/ungating
Original-Change-Id: I6cd7f5fca95320aa5f429edbd4de5e28fd4c0ac7
Reviewed-on: http://git-master/r/18650
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Tested-by: Yu-Huan Hsu <yhsu@nvidia.com>
Change-Id: I5cea5d8ad38b85a01287e26ded759bb8c3988530
Diffstat (limited to 'arch/arm/mach-tegra/devices.c')
-rw-r--r-- | arch/arm/mach-tegra/devices.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/devices.c b/arch/arm/mach-tegra/devices.c index c307dbc4ea86..eb7b50531a44 100644 --- a/arch/arm/mach-tegra/devices.c +++ b/arch/arm/mach-tegra/devices.c @@ -28,7 +28,6 @@ #include <mach/irqs.h> #include <mach/iomap.h> #include <mach/dma.h> -#include <mach/sata.h> static struct resource i2c_resource1[] = { [0] = { @@ -672,8 +671,6 @@ struct platform_device tegra_hda_device = { #ifdef CONFIG_SATA_AHCI_TEGRA static u64 tegra_sata_dma_mask = DMA_BIT_MASK(32); -static struct tegra_sata_platform_data tegra_sata_pdata; - static struct resource tegra_sata_resources[] = { [0] = { .start = TEGRA_SATA_BAR5_BASE, @@ -696,7 +693,7 @@ struct platform_device tegra_sata_device = { .name = "tegra-sata", .id = 0, .dev = { - .platform_data = &tegra_sata_pdata, + .platform_data = 0, .coherent_dma_mask = DMA_BIT_MASK(32), .dma_mask = &tegra_sata_dma_mask, }, |