summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* travis.yml: change Ubuntu version to xenialRamon Fried2019-09-191-3/+3
| | | | | | | trusty is getting old, move to xenial (16.04) to get updated gcc and other tools. Signed-off-by: Ramon Fried <rfried.dev@gmail.com>
* Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriqWIP/16Sep2019Tom Rini2019-09-1623-52/+275
|\ | | | | | | | | - Add emmc hs200 support - Few bug fixes related to serdes, I2C, ethernet, etc
| * lx2160: Correct serdes frequency print.Meenakshi Aggarwal2019-09-121-1/+1
| | | | | | | | | | | | | | Suffix serdes frequency print with MHz Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * armv8: ls1028a: Updated serdes configuration for 0x13BBHou Zhiqiang2019-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | In SerDes protocol 0x13BB, lane C was erroneously assigned to PCIE1, this is now updated to PCIE2 Fixes: 36f50b75238e ("armv8: ls1028a: Add other serdes protocal support") Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * armv8: fsl-layerscape: Fix typo in Layerscape PCIe config entryHou Zhiqiang2019-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The correct config entry is CONFIG_PCIE_LAYERSCAPE and this typo results in skipping the fixup of Linux PCIe DT nodes. Also enable the fixup when Layerscape Gen4 controller driver is enabled. Fixes: 4da0e52c9dc0 (armv8: fsl-layerscape: fix config dependency for layerscape pci code) Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * board: lx2160aqds: add support for SerDes protocol 14Florin Chiculita2019-09-121-0/+2
| | | | | | | | | | | | | | | | Add SerDes1 protocol 14 in the list of supported protocols. This configuration enables one high-speed 100G port and PCIe x4. Signed-off-by: Florin Chiculita <florinlaurentiu.chiculita@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * board: lx2160aqds: fix ethernet-phy compatible propertyFlorin Chiculita2019-09-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | The code that generates the compatible property concatenates the ethernet phy id and clause-compatible information without separating them with a comma, resulting into no ethernet phy driver getting loaded by Linux kernel. Suffix phy_id_compatible_str with comma to fix this Signed-off-by: Florin Chiculita <florinlaurentiu.chiculita@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
| * board: fsl: lx2160a: implement board_fix_fdtPankaj Bansal2019-09-123-0/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | lx2160a rev1 and rev2 SoC has different pcie controller. The pcie controller device tree node fields "compatible" and registers names needs to be updated accordingly This change in device tree is handled as part of fdt fixups. These changes would only be applied if the soc revision is not rev1. Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
| * armv8: fsl-layerscape: Update I2C clock dividerChuanhua Han2019-09-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | By default, i2c input clock is programmed at platform clk / 2 in u-boot, but this is not correct for all the platforms, Update I2C clock divider's default values as per SoC (LS1012A, LS1028A, LX2160A and LS1088A). Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * watchdog: sp805_wdt: add expire_now methodThomas Schaefer2019-09-121-1/+9
| | | | | | | | | | | | | | | | | | Add sp805_wdt_expire_now function. expire_now method is required by U_BOOT_DRIVER. Signed-off-by: Thomas Schaefer <thomas.schaefer@kontron.com> Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * armv8: ls1028a: configure PMU's PCTBENR to enable WDTThomas Schaefer2019-09-121-2/+4
| | | | | | | | | | | | | | | | | | | | The SP805-WDT module on LS1028A requires configuration of PMU's PCTBENR register to enable watchdog counter decrement and reset signal generation. The watchdog clock needs to be enabled first. Signed-off-by: Thomas Schaefer <thomas.schaefer@kontron.com> Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * arm: dts: ls1028a-qds: define the MDIO MUXAlex Marginean2019-09-121-3/+53
| | | | | | | | | | | | | | | | | | | | | | Add the device-tree structure describing the MUX in board dts. QDS board has an on-board RGMII PHY and 4 slots for extension cards. All these can be accessed over MDIO through a MDIO MUX controlled over I2C. Signed-off-by: Alex Marginean <alexm.osslist@gmail.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * board/lx2160a: Fix MC firmware loading for SD bootPankaj Bansal2019-09-121-6/+6
| | | | | | | | | | | | | | | | | | | | | | During boot, u-boot reads MC, DPL, DPC firmware from SD card and copies to DDR. Update DDR addresses to which these firmwares are copied as per memory map of these firmwares on SD-card so that isolation between the regions of various firmwares is maintained to avoid geting overwritten. Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
| * configs/ls1012ardb,lx2160ardb,ls1028ardb: add esdhc hs200 configYinbo Zhu2019-09-123-0/+6
| | | | | | | | | | | | | | | | | | | | Enable CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK and CONFIG_MMC_HS200_SUPPORT config for ls1012ardb, ls1012ardb, lx2160ardb in defconfig file Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
| * mmc: fsl_esdhc: Add emmc hs200 supportYinbo Zhu2019-09-122-15/+23
| | | | | | | | | | | | | | | | | | | | Add eMMC hs200 mode for ls1028a, ls1012a, lx2160a. This increases eMMC performance. Tuning procedure is currently not supported. Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Acked-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
| * dts: armv8: add emmc hs200 support for ls1028ardbYinbo Zhu2019-09-121-0/+1
| | | | | | | | | | | | | | Add emmc hs200 support for ls1028ardb Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * dts: armv8: add emmc hs200 support for lx2160ardbYinbo Zhu2019-09-121-0/+1
| | | | | | | | | | | | | | Add emmc hs200 support for lx2160ardb Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * dts: armv8: add emmc hs200 support for ls1012ardbYinbo Zhu2019-09-121-0/+4
| | | | | | | | | | | | | | Add emmc hs200 support for ls1012ardb Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * mmc: Kconfig: Add FSL_ESDHC_USE_PERIPHERAL_CLK optionYinbo Zhu2019-09-121-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NXP fsl_esdhc controller supports two reference clocks: platform clock and peripheral clock Peripheral clock can provide higher clock frequency which is required to be used for tuning of SD UHS mode and eMMC HS200/HS400 modes. Peripheral clock is enabled by default by defining config option FSL_ESDHC_USE_PERIPHERAL_CLK if eMMC HS200/HS400 modes are supported. Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
| * fsl-layerscape: Add fsl_esdhc peripheral clock supportYinbo Zhu2019-09-124-19/+78
| | | | | | | | | | | | | | | | | | Add esdhc peripheral clock support for NXP layerscape platforms: LS1046ARDB, LS1043ARDB, LS1012ARDB, LS1028ARDB, LS1088ARDB, LX2160ARDB Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* | Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-spiTom Rini2019-09-1613-93/+253
|\ \ | | | | | | | | | | | | | | | | | | | | | - fix mvebu_a3700_spi clock prescale (Marek Behún) - unmark MXS_SPI, DEPRECATED (Lukasz) - add spi_write_then_read (Jagan) - fix SST26* flash ICs (Eugeniy) - fix soft_spi data abort (Christophe)
| * | doc: driver-model: Update SPI migration statusJagan Teki2019-09-161-2/+1
| | | | | | | | | | | | | | | | | | | | | Update SPI drivers, driver model conversion status for v2019.10 release. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
| * | mtd: spi-nor: enable protection ops for SST26 flash seriesEugeniy Paltsev2019-09-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit c4e8862308d4 (mtd: spi: Switch to new SPI NOR framework) performs switch from previous 'spi_flash' infrastructure without proper testing/investigations which results in a regressions for SST26 flash series. Enable protection ops for SST26 flash series which were previously enabled by Commit 3d4fed87a5fa (mtd: sf: Add support of sst26wf* flash ICs protection ops) Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
| * | mtd: spi-nor: add missing SST26* flash IC protection opsEugeniy Paltsev2019-09-163-0/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit c4e8862308d4 (mtd: spi: Switch to new SPI NOR framework) performs switch from previous 'spi_flash' infrastructure without proper testing/investigations which results in a regressions for SST26 flash series. Add missing SST26* flash IC protection ops which were introduced previously by Commit 3d4fed87a5fa (mtd: sf: Add support of sst26wf* flash ICs protection ops) Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
| * | mtd: spi: Drop sf.cJagan Teki2019-09-163-72/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | spi_write_then_read, will manage to do the respective spi_xfer based on the tx_buf, rx_buf so drop the legacy spi_flash_read/write/cm code. Tested-by: Adam Ford <aford173@gmail.com> #da850-evm Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
| * | mtd: spi_dataflash: Use spi read then writeJagan Teki2019-09-161-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now, we have spi_write_then_read routine that would handle spi_xfer handling based on the tx_buf and rx_buf parameters. So, replace individual flash read/write/cmd transfer call with spi_write_then_read. Cc: Egnite GmbH <info@egnite.de> Cc: Daniel Gorsulowski <daniel.gorsulowski@esd.eu> Cc: Ilko Iliev <iliev@ronetix.at> Cc: Marek Vasut <marex@denx.de> Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Cc: Alison Wang <alison.wang@nxp.com> Tested-by: Adam Ford <aford173@gmail.com> #da850-evm Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
| * | spi: Add spi_write_then_readJagan Teki2019-09-162-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for SPI synchronous write followed by read, this is common interface call from spi-nor to spi drivers. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Tested-by: Adam Ford <aford173@gmail.com> #da850-evm
| * | spi: Kconfig: Unmark DEPRECATED for MXS_SPILukasz Majewski2019-09-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MXS_SPI driver now partially converted into driver-model, so unmark the DEPRECATED option for the same. Signed-off-by: Lukasz Majewski <lukma@denx.de> [jagan: update the commit message] Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
| * | spi: soft_spi: Fix data abort if slave is not probedChristophe Kerello2019-09-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case spi_get_bus_and_cs callback is used, spi bus is first probed then slave devices are probed. To avoid a data abort in soft_spi probe function, we need to check that (slave != NULL). If slave is NULL, cs_flags and clk_flags will be initialized with respectively GPIOD_ACTIVE_LOW and 0. Signed-off-by: Christophe Kerello <christophe.kerello@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
| * | spi: mvebu_a3700_spi: Fix clock prescale computationMarek Behún2019-09-161-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The prescaler value computation can yield wrong result if given 0x1f at the beginning: the value is computed to be 0x20, but the maximum value the register can hold 0x1f, so the actual stored value in this case is 0, which is obviously wrong. Set the upper bound of the value to 0x1f with the min macro. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
* | | Merge branch 'master' of git://git.denx.de/u-boot-shTom Rini2019-09-154-2/+5
|\ \ \
| * | | sh: r2dplus: Enable DHCP commandMarek Vasut2019-09-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the "dhcp" command as a minor convenience. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | | sh: r2dplus: Fix missing PCI rangeMarek Vasut2019-09-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing PCI range for translating DRAM to bus addresses. This fixes e.g. PCI NIC interface and allows network to work in QEMU. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | | sh: Fix SH4 build with GCC versions without -m4-nofpuMarek Vasut2019-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass -m4 instead of -m4-nofpu to GCC versions which do not support the -m4-nofpu option. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | | sh: Fix incorrect linking with new binutilsMarek Vasut2019-09-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since binutils 2.30 , the resulting U-Boot binary was incorrectly linked against address 0 instead of text base, fix it. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | | | Merge branch 'master' of git://git.denx.de/u-boot-usbWIP/14Sep2019Tom Rini2019-09-1415-50/+69
|\ \ \ \ | |_|/ / |/| | | | | | | - Assorted bugfixes
| * | | usb: musb_hcd: fix compilation errorJean-Jacques Hiblot2019-09-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 65c1f9820c8f79f "usb: Add nonblock argument to submit_int_msg" breaks the musb_hcd driver. Fixing it by adding the missing argument Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
| * | | dwc2: use the nonblock argument in submit_int_msgMichal Suchanek2019-09-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An USB 1.1 keyboard connected to dwc2 through a high-speed hub does not report status until it changes. With this patch you can enable keyboard by pressing a key while USB devices are probed. Without a keypress no state is reported and the probe times out. We don't want to wait for a keypress or timeout while polling for keypresses so implement an int_msg nonblock variant that exits early on error. Signed-off-by: Michal Suchanek <msuchanek@suse.de>
| * | | usb: Add nonblock argument to submit_int_msgMichal Suchanek2019-09-1114-40/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be used to implement non-blocking keyboard polling in case of errors. Signed-off-by: Michal Suchanek <msuchanek@suse.de>
| * | | usb: storage: submit_int_msg -> usb_int_msgMichal Suchanek2019-09-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Use the wrapper as other callers do. Signed-off-by: Michal Suchanek <msuchanek@suse.de>
| * | | usb: usb_submit_int_msg -> usb_int_msgMichal Suchanek2019-09-113-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | This aligns naming with usb_bulk_msg and usb_control_msg. Signed-off-by: Michal Suchanek <msuchanek@suse.de>
| * | | usb_kdb: only process events successfully receivedMichal Suchanek2019-09-111-4/+3
| | |/ | |/| | | | | | | | | | | | | Causes unbound key repeat on error otherwise. Signed-off-by: Michal Suchanek <msuchanek@suse.de>
* | | Merge branch '2019-09-13-ti-imports'Tom Rini2019-09-1414-99/+482
|\ \ \ | |_|/ |/| | | | | | | | - Assorted K3 bugfixes. - Assorted DM enablements, dead code removal.
| * | configs: am65x_hs_evm: Use FIT images when booting HS devicesWIP/2019-09-13-ti-importsAndrew F. Davis2019-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | HS devices use the FIT post processing step to authenticate boot images. Set the configured boot command to load FIT by default. Signed-off-by: Andrew F. Davis <afd@ti.com>
| * | configs: ti: Add environment support commands for FIT loadingAndrew F. Davis2019-09-132-1/+10
| | | | | | | | | | | | | | | | | | Some parts of these commands can be reused, add them to common files. Signed-off-by: Andrew F. Davis <afd@ti.com>
| * | ARM: dts: dra74x: Fix iodelay configuration for mmc3Faiz Abbas2019-09-131-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the latest am572x[1] and dra74x[2] data manuals, mmc3 default, hs, sdr12 and sdr25 modes use iodelay values given in MMC3_MANUAL1. Set the MODE_SELECT bit for these so that manual mode is selected and correct iodelay values are configured. [1] http://www.ti.com/lit/ds/symlink/am5728.pdf [2] http://www.ti.com/lit/ds/symlink/dra746.pdf Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
| * | arm: k3: Use get_ti_sci_handle() where ever possibleLokesh Vutla2019-09-132-25/+6
| | | | | | | | | | | | | | | | | | | | | Instead of calling uclass apis everywhere, use get_ti_sci_handle() when ever ti_sci is needed. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
| * | arm: k3: Fix getting ti_sci handleLokesh Vutla2019-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API get_ti_sci_handle() is relying on the device-tree node name to be "dmsc" for probing the ti_sci device. But with the introduction of debug messages for dmsc, the node name changed to dmsc@44083000. Because of this ti_sci is never probed cause a boot failure. Instead of relying on device-tree node name, use the first available firmware node for probing ti_sci. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
| * | ARM: omapl138_lcdk: Enable PinctrlAdam Ford2019-09-131-0/+3
| | | | | | | | | | | | | | | | | | | | | The single pinctrl supports the da8xx, so this patch enables pinctrl in U-Boot. Signed-off-by: Adam Ford <aford173@gmail.com>
| * | ARM: omapl138_lcdk: Enable DM_GPIO and DM and GPIO CommandsAdam Ford2019-09-132-5/+3
| | | | | | | | | | | | | | | | | | | | | The da8xx GPIO driver is available with DM_GPIO support. This patch enables the CMD_GPIO, CMD_DM, and DM_GPIO and DA8XX_GPIO. Signed-off-by: Adam Ford <aford173@gmail.com>