usb: ehci: update 64 bit align use-case
Update the data structure that will use the 64 bit aligned pool,
and clean-up this parameter from unnecessary files.
HBM block contains USB_OTG_HS_HBM_QH_MAP_PIPEn SW registers that map
BAM pipes to QHeads. However the USB_OTG_HS_HBM_QH_MAP_PIPEn registers
have only 31:6 valid bits, bits 5:0 are reserved, thus 64 bytes boundary
alignment is required.
Change-Id: Ib82efb5bc0aa3a7825ade686860c9c35e98702ee
Signed-off-by: Shimrit Malichi <smalichi@codeaurora.org>
diff --git a/drivers/usb/host/ehci-msm-hsic.c b/drivers/usb/host/ehci-msm-hsic.c
index f1f6962..ea5484b 100644
--- a/drivers/usb/host/ehci-msm-hsic.c
+++ b/drivers/usb/host/ehci-msm-hsic.c
@@ -1776,6 +1776,9 @@
pdata->bus_scale_table = msm_bus_cl_get_pdata(pdev);
+ pdata->pool_64_bit_align = of_property_read_bool(node,
+ "qcom,pool-64-bit-align");
+
return pdata;
}
@@ -1853,6 +1856,7 @@
mehci->ehci.reset_sof_bug = 1;
mehci->ehci.resume_sof_bug = 1;
+ mehci->ehci.pool_64_bit_align = pdata->pool_64_bit_align;
if (pdata)
mehci->ehci.log2_irq_thresh = pdata->log2_irq_thresh;