summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuresh Mangipudi <smangipudi@nvidia.com>2013-05-15 10:17:47 +0530
committerMandar Padmawar <mpadmawar@nvidia.com>2013-05-22 23:33:05 -0700
commitc6802fcb72eb4d005f34a98b619d85fc56f5ec82 (patch)
treed42acfec24baba8a36aed3cbc95a73e912edd1a0
parentfda5973f93e6ecd6f89d76f17314f77e2bf6c1c1 (diff)
ARM: tegra: board: disable the alignement fix
Disable the h/w alignment fix for T114 A02. Bug 1289107 Change-Id: I09b390098dfbfb2890037038eb7e9c23b754764d Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-on: http://git-master/r/228649 Reviewed-on: http://git-master/r/231086 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Peter Zu <pzu@nvidia.com> Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com> Tested-by: Peter Zu <pzu@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/board-dalmore.c15
-rw-r--r--arch/arm/mach-tegra/board-pluto.c23
-rw-r--r--arch/arm/mach-tegra/board-roth.c5
3 files changed, 0 insertions, 43 deletions
diff --git a/arch/arm/mach-tegra/board-dalmore.c b/arch/arm/mach-tegra/board-dalmore.c
index b58464ba2c3a..d0057f82f3e2 100644
--- a/arch/arm/mach-tegra/board-dalmore.c
+++ b/arch/arm/mach-tegra/board-dalmore.c
@@ -534,12 +534,6 @@ static void dalmore_usb_init(void)
tegra_set_usb_wake_source();
if (!(usb_port_owner_info & UTMI1_PORT_OWNER_XUSB)) {
- 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_otg_device.dev.platform_data = &tegra_otg_pdata;
platform_device_register(&tegra_otg_device);
/* Setup the udc platform data */
@@ -547,11 +541,6 @@ static void dalmore_usb_init(void)
}
if (!(usb_port_owner_info & UTMI2_PORT_OWNER_XUSB)) {
- if (tegra_get_chipid() == TEGRA_CHIPID_TEGRA11 &&
- tegra_revision == TEGRA_REVISION_A02) {
- tegra_ehci3_utmi_pdata \
- .unaligned_dma_buf_supported = true;
- }
tegra_ehci3_device.dev.platform_data = &tegra_ehci3_utmi_pdata;
platform_device_register(&tegra_ehci3_device);
}
@@ -673,10 +662,6 @@ static void dalmore_modem_init(void)
switch (modem_id) {
case TEGRA_BB_NEMO: /* on board i500 HSIC */
if (!(usb_port_owner_info & HSIC1_PORT_OWNER_XUSB)) {
- if ((tegra_get_chipid() == TEGRA_CHIPID_TEGRA11) &&
- (tegra_revision == TEGRA_REVISION_A02))
- tegra_ehci2_hsic_baseband_pdata \
- .unaligned_dma_buf_supported = true;
platform_device_register(&icera_nemo_device);
}
break;
diff --git a/arch/arm/mach-tegra/board-pluto.c b/arch/arm/mach-tegra/board-pluto.c
index cbb2adf7b808..4f854d83af1f 100644
--- a/arch/arm/mach-tegra/board-pluto.c
+++ b/arch/arm/mach-tegra/board-pluto.c
@@ -973,13 +973,6 @@ static void pluto_usb_init(void)
int usb_port_owner_info = tegra_get_usb_port_owner_info();
if (!(usb_port_owner_info & UTMI1_PORT_OWNER_XUSB)) {
- 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_otg_device.dev.platform_data = &tegra_otg_pdata;
platform_device_register(&tegra_otg_device);
@@ -1000,19 +993,11 @@ static void pluto_modem_init(void)
switch (modem_id) {
case TEGRA_BB_I500: /* on board i500 HSIC */
if (!(usb_port_owner_info & HSIC1_PORT_OWNER_XUSB)) {
- if ((tegra_get_chipid() == TEGRA_CHIPID_TEGRA11) &&
- (tegra_revision == TEGRA_REVISION_A02))
- tegra_ehci2_hsic_baseband_pdata \
- .unaligned_dma_buf_supported = true;
platform_device_register(&icera_baseband_device);
}
break;
case TEGRA_BB_I500SWD: /* i500 SWD HSIC */
if (!(usb_port_owner_info & HSIC2_PORT_OWNER_XUSB)) {
- if ((tegra_get_chipid() == TEGRA_CHIPID_TEGRA11) &&
- (tegra_revision == TEGRA_REVISION_A02))
- tegra_ehci3_hsic_baseband2_pdata \
- .unaligned_dma_buf_supported = true;
platform_device_register(&icera_baseband2_device);
}
break;
@@ -1029,20 +1014,12 @@ static void pluto_modem_init(void)
tegra_hsic_pdata.ops = &oem1_hsic_pops;
tegra_ehci3_device.dev.platform_data
= &tegra_hsic_pdata;
- if ((tegra_get_chipid() == TEGRA_CHIPID_TEGRA11) &&
- (tegra_revision == TEGRA_REVISION_A02))
- tegra_hsic_pdata \
- .unaligned_dma_buf_supported = true;
platform_device_register(&tegra_bb_oem1);
}
break;
#endif
case TEGRA_BB_HSIC_HUB: /* i500 SWD HSIC */
if (!(usb_port_owner_info & HSIC2_PORT_OWNER_XUSB)) {
- if ((tegra_get_chipid() == TEGRA_CHIPID_TEGRA11) &&
- (tegra_revision == TEGRA_REVISION_A02))
- tegra_ehci3_hsic_smsc_hub_pdata \
- .unaligned_dma_buf_supported = true;
tegra_ehci3_device.dev.platform_data =
&tegra_ehci3_hsic_smsc_hub_pdata;
platform_device_register(&tegra_ehci3_device);
diff --git a/arch/arm/mach-tegra/board-roth.c b/arch/arm/mach-tegra/board-roth.c
index 7eb7e36794ba..3b1fa1adebf7 100644
--- a/arch/arm/mach-tegra/board-roth.c
+++ b/arch/arm/mach-tegra/board-roth.c
@@ -570,11 +570,6 @@ 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_otg_device.dev.platform_data = &tegra_otg_pdata;
platform_device_register(&tegra_otg_device);