summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-roth.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/board-roth.c')
-rw-r--r--arch/arm/mach-tegra/board-roth.c9
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);