- Jul 22, 2015
-
-
Jiandong Zheng authored
Signed-off-by:
Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by:
Steve Rae <srae@broadcom.com>
-
Jiandong Zheng authored
Add the required files for the Broadcom UDC OTG interface. Signed-off-by:
Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by:
Steve Rae <srae@broadcom.com>
-
Steve Rae authored
Signed-off-by:
Steve Rae <srae@broadcom.com> Tested-by:
Lukasz Majewski <l.majewski@samsung.com> Test HW: Exynos 4210 (trats), Exynos 5422 (Odroid XU3)
-
Paul Kocialkowski authored
Recent versions of the fastboot tool will query the partition type before doing an operation on a partition (such as erase, flash, etc). It will then submit the operation as soon as the response for the partition type is received. Usually, the MUSB controller will see that the partition type request return status was read by the host at the very same time as the actual operation request is submitted by the host. However, the operation will be read first (int_rx is handled first in musb_interrupt) and after it is completed, the fastboot USB gadget driver will send another return status. Hence, this happens before the musb gadget framework has had a chance to handle the previous acknowledgement that the host read the return status and dequeue the request. The host will then usually empty the FIFO by the time musb_interrupt gets around handling the return status acknowledgement (for the previous request, this is still on the same musb_interrupt call), so no other interrupt is generated and the most recent return status acknowledgement remains unaccounted for. It will then be used as a response for the next command, and the proper response for it will be delayed to the next command, and so on. Dequeuing the previous IN request in the fastboot code ensures that no previous return status remains. It is acceptable to do it since there is no callback to it anyways. Signed-off-by:
Paul Kocialkowski <contact@paulk.fr>
-
Paul Kocialkowski authored
This avoids handling requests that have an error status or no data. In particular, this avoids showing unnecessary error messages when the USB gadget gets disconnected (e.g. with fastboot continue) and the fastboot USB gadget driver sends an error back to the host (that has disconnected already). Signed-off-by:
Paul Kocialkowski <contact@paulk.fr>
-
Paul Kocialkowski authored
Since we're now using a dynamic controller index for fastboot too, usb_gadget_handle_interrupts should be using it instead of 0 (despite the fact that it's currently not being used at all in the musb-new implementation). Signed-off-by:
Paul Kocialkowski <contact@paulk.fr>
-
Paul Kocialkowski authored
Weak versions of board_usb_init and board_usb_cleanup are defined in common USB host code, but it is also used for USB device gadgets, so we also need a weak definition of it when there is no USB host enabled. Both weak definitions do not conflict. Signed-off-by:
Paul Kocialkowski <contact@paulk.fr> Tested-by:
Lukasz Majewski <l.majewski@samsung.com> Test HW: Odroid_XU3 (Exynos5422), trats (Exynos4210)
-
Paul Kocialkowski authored
Each USB download function command calls board_usb_init before registering the USB gadget and board_usb_cleanup after de-registering it. On devices currently using fasboot, musb-new is usually initialized earlier, but some other boards might need the board_usb_init call to properly initialize musb-new. This requires adding an argument (the USB controller index) to the fastboot command, as it is currently done with other USB download gadget functions. Signed-off-by:
Paul Kocialkowski <contact@paulk.fr> Tested-by:
Lukasz Majewski <l.majewski@samsung.com> Test HW: Odroid_XU3 (Exynos5422), trats (Exynos4210)
-
Paul Kocialkowski authored
USB download gadget functions such as thor and dfu have a separate config option for the USB gadget part of the code, independent from the command part. This switches the fastboot USB gadget to the same scheme, for better consistency. Signed-off-by:
Paul Kocialkowski <contact@paulk.fr> Tested-by:
Lukasz Majewski <l.majewski@samsung.com> Test HW: Odroid_XU3 (Exynos5422), trats (Exynos4210)
-
Paul Kocialkowski authored
This introduces a coherent scheme for naming USB download gadget and functions config options. The download USB gadget config option is moved to CONFIG_USB_GADGET_DOWNLOAD for better consistency with other gadgets and each function's config option is moved to a CONFIG_USB_FUNCTION_ prefix. Signed-off-by:
Paul Kocialkowski <contact@paulk.fr> Tested-by:
Lukasz Majewski <l.majewski@samsung.com> Test HW: Odroid_XU3 (Exynos5422), trats (Exynos4210)
-
Nikhil Badola authored
Remove LS102XA immap header inclusion from xhci fsl driver. It removes redefinition warnings when built for platforms other than LS102XA Signed-off-by:
Nikhil Badola <nikhil.badola@freescale.com>
-
Nikhil Badola authored
Map USB XHCI controller base addresses for LS2085A SOC Signed-off-by:
Nikhil Badola <nikhil.badola@freescale.com>
-
Nikhil Badola authored
Move USB controller Base address mapping from ls102xa immap to fsl xhci header. This is required to remove any warnings when controller base addresses are mapped for multiple platforms in their respective files. Signed-off-by:
Nikhil Badola <nikhil.badola@freescale.com>
-
Nikhil Badola authored
This adjusts (micro)frame length to appropriate value thus avoiding USB devices to time out over a longer run Signed-off-by:
Nikhil Badola <nikhil.badola@freescale.com>
-
Nikhil Badola authored
Replace uint32_t with uintptr_t to remove compilation warnings for 64-bit architectures. Signed-off-by:
Nikhil Badola <nikhil.badola@freescale.com>
-
Ramneek Mehresh authored
Enable USB IP support for both EHCI and XHCI for ls1021aqds platform Signed-off-by:
Ramneek Mehresh <ramneek.mehresh@freescale.com>
-
Ramneek Mehresh authored
Enable USB IP support for both EHCI and XHCI for ls1021atwr platform Signed-off-by:
Ramneek Mehresh <ramneek.mehresh@freescale.com>
-
Ramneek Mehresh authored
Add base register address information for USB XHCI controller on LS1021A Signed-off-by:
Ramneek Mehresh <ramneek.mehresh@freescale.com>
-
Ramneek Mehresh authored
Add xhci driver support for all FSL socs Signed-off-by:
Ramneek Mehresh <ramneek.mehresh@freescale.com>
-
Ramneek Mehresh authored
Remove all redundant dwc3 driver function calls that are defined by dwc3 driver Signed-off-by:
Ramneek Mehresh <ramneek.mehresh@freescale.com>
-
Ramneek Mehresh authored
Remove all redundant dwc3 driver function calls that are defined by dwc3 driver Signed-off-by:
Ramneek Mehresh <ramneek.mehresh@freescale.com>
-
Ramneek Mehresh authored
Remove all redundant dwc3 driver function calls that are defined by dwc3 driver Signed-off-by:
Ramneek Mehresh <ramneek.mehresh@freescale.com>
-
Ramneek Mehresh authored
Add support for DWC3 XHCI controller driver Signed-off-by:
Ramneek Mehresh <ramneek.mehresh@freescale.com>
-
- Jul 20, 2015
-
-
Zhichun Hua authored
When final MMU table is setup in DDR, TCR attributes must match those of the memroy for cacheability and shareability. Signed-off-by:
Zhichun Hua <zhichun.hua@freescale.com> Signed-off-by:
York Sun <yorksun@freescale.com>
-
Zhichun Hua authored
For ARMv8, outer shareable is 0b10, inner shareable is 0b11 at bit position [13:12] of TCR_ELx register. Signed-off-by:
Zhichun Hua <zhichun.hua@freescale.com> Signed-off-by:
York Sun <yorksun@freescale.com>
-
Haikun.Wang@freescale.com authored
Freescale DSPI driver has been converted to Driver Model. The new driver depends on OF_CONTROL, DM, DM_SPI. This patch enable FSL_DSPI and its dependence configure options. Signed-off-by:
Haikun Wang <haikun.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Haikun Wang authored
Enable DSPI flash related configurations for LS2085ARDB. Signed-off-by:
Haikun Wang <haikun.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Haikun Wang authored
Enable DSPI flash related configurations. Signed-off-by:
Haikun Wang <haikun.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Haikun.Wang@freescale.com authored
DSPI has pin muxing with SDHC and other IPs, this patch check the value of RCW SPI_PCS_BASE and SPI_BASE_BASE fields, it also check the "hwconfig" variable. If those pins are configured to DSPI and "hwconfig" enable DSPI, set the BRDCFG5 of QIXIS CPLD to configure the routing to on-board SPI memory. Otherwise will configure to SDHC. DSPI is enabled in "hwconfig" by appending "dspi", eg. setenv hwconfig "$hwconfig;dspi" Signed-off-by:
Haikun Wang <Haikun.Wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Haikun Wang authored
DSPI has pin muxing with SDHC and other IPs, this patch check the value of RCW SPI_PCS_BASE and SPI_BASE_BASE fields, it also check the "hwconfig" variable. If those pins are configured to DSPI and "hwconfig" enable DSPI, set the BRDCFG5 of QIXIS FPGA to configure the routing to on-board SPI memory. Otherwise will configure to SDHC. DSPI is enabled in "hwconfig" by appending "dspi", eg. setenv hwconfig "$hwconfig;dspi" Signed-off-by:
Haikun Wang <haikun.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Haikun Wang authored
Signed-off-by:
Haikun Wang <haikun.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Haikun Wang authored
Add dts source files for LS2085AQDS and LS2085ARDB boards. Signed-off-by:
Haikun Wang <haikun.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Haikun Wang authored
Add DSPI controller dts node in fsl-ls2085a.dtsi Signed-off-by:
Haikun Wang <haikun.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Haikun Wang authored
Bring in required device tree files for ls2085a from Linux. These are initially unchanged and have a number of pieces not needed by U-Boot. Signed-off-by:
Haikun Wang <Haikun.Wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Alison Wang authored
As SCFG_ENDIANCR register is added to choose little-endian or big-endian for audio IPs on Rev2.0 silion, little-endian mode is selected. Signed-off-by:
Alison Wang <alison.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Wang Dongsheng authored
Base on PSCI services, implement CPU_ON/CPU_OFF for ls102xa platform. Tested on LS1021AQDS, LS1021ATWR. Test CPU hotplug times: 60K Test kernel boot times: 1.2K Signed-off-by:
Wang Dongsheng <dongsheng.wang@freescale.com> Acked-by:
Alison Wang <alison.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Wang Dongsheng authored
timer_wait is moved from sunxi/psci_sun7i.S, and it can be converted completely into a reusable armv7 generic timer. LS1021A will use it as well. Signed-off-by:
Wang Dongsheng <dongsheng.wang@freescale.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Alison Wang authored
As the function 'sprintf' does not check buffer boundaries but outputs to the buffer 'enet' of fixed size (16), this patch removes the function 'sprintf', and uses 'strcpy' instead. It will assign the character arrays 'enet' and 'phy' the corresponding character strings. Signed-off-by:
Alison Wang <alison.wang@freescale.com> Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Prabhakar Kushwaha authored
Linux itb image size has been increased from 30MB. So updating kernel_size to 40MB in env variable. Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>