diff options
author | Rohith Seelaboyina <rseelaboyina@nvidia.com> | 2013-04-10 14:24:27 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:10:23 -0700 |
commit | 440b3643eb89b9b3aa6789269e1046076035c0cd (patch) | |
tree | 8b82856a8229625cc69679646373f3f31ee70125 /arch/arm/mach-tegra/board-roth.c | |
parent | 3bfeac8ea84919958027a112b0f043015c5ff8f7 (diff) |
ARM: tegra: enable unaligned_dma_buf_support
enable unalgined_dma_buf_support for boards in which
h/w fix is enabled.
Bug 1235943
Change-Id: Idaead18f21b554a9888f30ec9796125aabd4ab72
Reviewed-on: http://git-master/r/200471
(cherry picked from commit 35628248962a01ff63f327cb11397c5bd0608403)
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/206617
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-roth.c')
-rw-r--r-- | arch/arm/mach-tegra/board-roth.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-roth.c b/arch/arm/mach-tegra/board-roth.c index c2dafde3a690..a5c36f2b6476 100644 --- a/arch/arm/mach-tegra/board-roth.c +++ b/arch/arm/mach-tegra/board-roth.c @@ -61,6 +61,7 @@ #include <mach/gpio-tegra.h> #include <mach/tegra_fiq_debugger.h> #include <mach/edp.h> +#include <mach/hardware.h> #include "board.h" #include "board-common.h" @@ -537,6 +538,14 @@ static struct tegra_usb_otg_data tegra_otg_pdata = { static void roth_usb_init(void) { + if ((tegra_get_chipid() == TEGRA_CHIPID_TEGRA11) + && (tegra_revision == TEGRA_REVISION_A02)) { + tegra_ehci1_utmi_pdata \ + .unaligned_dma_buf_supported = true; + tegra_udc_pdata.unaligned_dma_buf_supported = true; + tegra_ehci3_utmi_pdata \ + .unaligned_dma_buf_supported = true; + } tegra_otg_device.dev.platform_data = &tegra_otg_pdata; platform_device_register(&tegra_otg_device); |