summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Configs: Use the newly added PHY_RTL8211E_PINE64_GIGABIT_FIXkevans@FreeBSD.org2018-03-221-0/+2
| | | | | | | | The Pine64+ uses a generic PHY driver, so flip it over to using the Realtek PHY driver to actually apply the RTL8211e fix. Signed-off-by: Kyle Evans <kevans@FreeBSD.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
* net: phy: Add PHY_RTL8211E_PINE64_GIGABIT_FIX for realtek physkevans@FreeBSD.org2018-03-222-0/+44
| | | | | | | | | | | | Setting PHY_RTL8211E_PINE64_GIGABIT_FIX forces internal rx/tx delays off on the PHY, as well as flipping some magical undocumented bits. The magic number comes from the Pine64 engineering team, presumably as a proxy from Realtek. This configuration fixes the throughput on some Pine64 models. Packet loss of up to 60-70% has been observed without this. Signed-off-by: Kyle Evans <kevans@FreeBSD.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
* Merge git://git.denx.de/u-boot-mipsTom Rini2018-03-2150-2/+1578
|\
| * mips: bmips: add ar-5315 usb supportÁlvaro Fernández Rojas2018-03-212-1/+21
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * mips: bmips: add support for bcm6318 usbÁlvaro Fernández Rojas2018-03-212-0/+37
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * phy: add support for bcm6318 usbh phyÁlvaro Fernández Rojas2018-03-213-0/+152
| | | | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * mips: bmips: add vr-3032u usb supportÁlvaro Fernández Rojas2018-03-212-0/+21
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * mips: bmips: add support for bcm63268 usbÁlvaro Fernández Rojas2018-03-212-0/+37
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * mips: bmips: add dgnd3700v2 usb supportÁlvaro Fernández Rojas2018-03-212-0/+21
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * mips: bmips: add support for bcm6362 usbÁlvaro Fernández Rojas2018-03-212-0/+37
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * mips: bmips: add ar-5387un usb supportÁlvaro Fernández Rojas2018-03-212-0/+21
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * mips: bmips: add support for bcm6328 usbÁlvaro Fernández Rojas2018-03-212-0/+37
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * mips: bmips: add wap-5813n usb supportÁlvaro Fernández Rojas2018-03-212-0/+21
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * mips: bmips: add support for bcm6368 usbÁlvaro Fernández Rojas2018-03-212-0/+36
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * phy: add support for bcm6368 usbh phyÁlvaro Fernández Rojas2018-03-213-0/+203
| | | | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * mips: bmips: add nb4-ser usb supportÁlvaro Fernández Rojas2018-03-212-0/+21
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * mips: bmips: add hg556a usb supportÁlvaro Fernández Rojas2018-03-212-0/+21
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * mips: bmips: add support for bcm6358 usbÁlvaro Fernández Rojas2018-03-212-0/+34
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * phy: add support for bcm6358 usbh phyÁlvaro Fernández Rojas2018-03-213-0/+101
| | | | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * mips: bmips: add ct-5361 usb supportÁlvaro Fernández Rojas2018-03-212-0/+15
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * mips: bmips: add support for bcm6348 usbÁlvaro Fernández Rojas2018-03-212-0/+25
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * phy: add support for bcm6348 usbh phyÁlvaro Fernández Rojas2018-03-213-0/+101
| | | | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * mips: micronas/vct: check array bounds before accessHeinrich Schuchardt2018-03-211-1/+3
| | | | | | | | | | | | | | If we check an index against array bounds, we should do so before accessing the array and not afterwards. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * mips: bmips: select OF_EMBED for all boardsÁlvaro Fernández Rojas2018-03-2110-0/+10
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * MIPS: add BMIPS Netgear DGND3700v2 boardÁlvaro Fernández Rojas2018-03-219-0/+243
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * MIPS: add support for Broadcom MIPS BCM6362 SoC familyÁlvaro Fernández Rojas2018-03-216-0/+309
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| * dm: cpu: bmips: add BCM6362 supportÁlvaro Fernández Rojas2018-03-211-0/+51
|/ | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* Merge git://git.denx.de/u-boot-fsl-qoriqTom Rini2018-03-208-21/+167
|\
| * LS2088ARDB: Secure Boot: Fix fall back option failureVinitha V Pillai2018-03-201-7/+7
| | | | | | | | | | | | | | Fix NOR, SD and QSPI fallback option in case of secure boot failure. Signed-off-by: Vinitha V Pillai <vinitha.pillai@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * armv8: ls1088aqds: Add IFC-NOR as boot source for LS1088Ashish Kumar2018-03-206-5/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | IFC-NOR and QSPI-NOR pins are multiplexed on SoC, so they cannot be accessed simultaneously. IFC-NOR can be accessed along with SD-BOOT. Ls1088aqds_sdcard_ifc_defconfig is default config for SD boot and IFC-NOR to be used as flash. This allows writing to IFC-NOR flash. QSPI and DSPI cannot be accessed in this defconfig. IFC-NOR image is generated using ls1088aqds_defconfig. Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * armv8: ls1088a: Add i2c_early_init() func for LS1088AQDSAshish Kumar2018-03-201-0/+3
| | | | | | | | | | | | | | | | This function is required for enabling access to early i2c function for correct usage of QIXIS_READ and QIXIS_WRITE. Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILDAshish Kumar2018-03-201-1/+1
| | | | | | | | | | | | | | | | get_board_ddr_clk(), get_board_sys_clk() and if_board_diff_clk() is now available for SPL build. Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * armv8: ls1088qds: Remove CONFIG_ from local defines for FPGAAshish Kumar2018-03-201-8/+8
| | | | | | | | | | Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
* | Merge git://git.denx.de/u-boot-usbTom Rini2018-03-197-128/+255
|\ \
| * | usb: dwc2: Replace printf, pr_err by dev_info, dev_errPatrice Chotard2018-03-171-9/+11
| | | | | | | | | | | | | | | | | | Replace printf() call by dev_info() and pr_err() by dev_err() Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
| * | usb: dwc2: increase timeout in wait_for_chhltdChristophe Kerello2018-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch increases timeout to 2s. It was seen on 2 USB devices (Verbatim STORE N GO 070B4AED0FB22358 and USB DISK 2.0 9000729BA41DDF40) that the request sense command takes between 1.3s and and 1.5s. Signed-off-by: Christophe Kerello <christophe.kerello@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
| * | usb: dwc2: disable external vbus supply when the device is removedChristophe Kerello2018-03-171-3/+35
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds an interface to disable the power in dwc2 driver. This new interface is called when the device is removed. Signed-off-by: Christophe Kerello <christophe.kerello@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
| * | usb: ohci-generic: replace pr_err() by dev_err()Patrice Chotard2018-03-171-7/+6
| | | | | | | | | | | | | | | | | | | | | As we get access to struct udevice, use dev_err() instead of pr_err(). Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
| * | usb: ohci-generic: factorize PHY operationPatrice Chotard2018-03-171-40/+59
| | | | | | | | | | | | | | | | | | | | | Factorize PHY get/init/poweron and PHY poweroff/exit operations into separate function, it simplify the error path. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
| * | usb: ohci-generic: handle phy power on/offPatrice Chotard2018-03-171-0/+17
| | | | | | | | | | | | | | | | | | | | | Add generic_phy_power_on() and generic_phy_power_off() calls to switch ON/OFF phy during probe and remove functions. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
| * | usb: ehci-generic: replace pr_err() by dev_err()Patrice Chotard2018-03-171-7/+9
| | | | | | | | | | | | | | | | | | | | | As we get access to struct udevice, use dev_err() instead of pr_err(). Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
| * | usb: ehci-generic: factorize PHY operationPatrice Chotard2018-03-171-40/+59
| | | | | | | | | | | | | | | | | | | | | Factorize PHY get/init/poweron and PHY poweroff/exit operations into separate function, it simplify the error path. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
| * | usb: ehci-generic: handle phy power on/offPatrice Chotard2018-03-171-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | Add generic_phy_power_on() and generic_phy_power_off() calls to switch ON/OFF phy during probe and remove functions. Signed-off-by: Christophe Kerello <christophe.kerello@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
| * | usb: Remove unused ppc4xx EHCI host driverStefan Roese2018-03-172-36/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | ppc4xx support was removed some time ago. Lets remove the now unused EHCI driver and all its references for this platform as well. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Marek Vasut <marex@denx.de>
| * | ubs: xhci-dwc3: Enable USB3 PHY when availableVignesh R2018-03-171-0/+11
| | | | | | | | | | | | | | | | | | | | | DWC3 USB3 controllers will need USB3 PHY to be enabled, in addition to USB2 PHY, to be functional. Therefore enable USB3 PHY when available. Signed-off-by: Vignesh R <vigneshr@ti.com>
| * | usb: xhci-dwc3: Refractor PHY operations into separate functionVignesh R2018-03-171-27/+48
| | | | | | | | | | | | | | | | | | | | | Refractor PHY get/init/poweron and PHY poweroff/exit operations into separate function so that its easy to support multiple PHYs. Signed-off-by: Vignesh R <vigneshr@ti.com>
| * | usb: xhci-dwc3: Power on USB PHY before usingVignesh R2018-03-171-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | It is wrong that expect .phy_init() to also power on the PHY. Therefore, explicitly, call generic_phy_power_on() after generic_phy_power_init() in order to power on PHY before using it. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
| * | usb: dwc2: Allow selection of data buffer sizeAlexey Brodkin2018-03-172-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we use hardware with very small RAM (let's consider just a couple of hundreds of kB but not megabytes) it is not super convenient to lose 64kB for statically allocated bufer which most probably won't be used as big as it is. Typically we'll have much shorter data packages to excahnge and in the worst case longer packets will be split on separate transactions. For those corner-cases user will be able to set his buffer size of choice via USB_DWC2_BUFFER_SIZE option in menuconfig. By default we'll use 64 kB as it was hard-coeded before so existing users shouldn't be affected at all. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Marek Vasut <marex@denx.de>
* | | Merge git://git.denx.de/u-boot-sunxiTom Rini2018-03-193-20/+96
|\ \ \
| * | | sunxi: Add DRAM_SUN8I_A83T kconfig entryJagan Teki2018-03-192-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add proper and simple kconfig option for dram_sun8i_a83t.c instead of using MACH type on Makefile. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>