summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* input: indicate that code page 437 is usedHeinrich Schuchardt2018-03-051-1/+4
| | | | | | | | Add a comment indicating that the German key map assumes code page 437. Add support for character ² (square sign) in the German key map. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* pinctrl: Kconfig: Fix typoMarek Behún2018-03-051-3/+3
| | | | Signed-off-by: Marek Behun <marek.behun@nic.cz>
* gpio: pca953x_gpio: Support label setting from DTMario Six2018-03-051-2/+13
| | | | | | | | | | | | | | | | | | The PCA953x driver uses "gpio@%x_" as the GPIO bank name, where "%x" is instantiated with the I2C address of the chip. While this works, it becomes very confusing if a board has multiple PCAs with the same address on different I2C busses, and it also becomes an issue when a GPIO's value is to be set via the 'gpio' command, because this command only ever sets the value of the first device it encounters, leaving the other devices inaccessible to the command. As to not break boards that rely on this naming scheme, we introduce a new device tree string property "label" for the driver. If it exists, it is used to build a bank name of the form "%s@%x_" (where %x is still instantiated with the I2C address). If it does not exist, the legacy labeling scheme is used. Signed-off-by: Mario Six <mario.six@gdsys.cc>
* spl: Kconfig: Rename SPL_USBETH_SUPPORT to SPL_USB_ETHER to match with the ↵Faiz Abbas2018-03-0517-22/+22
| | | | | | | | | | | U-boot CONFIG Rename CONFIG_SPL_USBETH_SUPPORT to CONFIG_SPL_USB_ETHER. This enables users to block text using CONFIG_IS_ENABLED() instead of resorting to #if ladders with SPL and non-SPL cases. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
* tools/env: allow equal sign as key value separationStefan Agner2018-03-051-1/+1
| | | | | | | | | Treat the first equal sign as a key/value separation too. This makes the script files compatible with mkenvimage input file format. It won't support variables with equal signs anymore, but this seems not really like a loss. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
* Atmel TPM: Fix potential buffer overrunsJeremy Boone2018-03-051-2/+12
| | | | | | | | | Ensure that the Atmel TPM driver performs sufficient validation of the length returned in the TPM response header. This patch prevents memory corruption if the header contains a length value that is larger than the destination buffer. Signed-off-by: Jeremy Boone <jeremy.boone@nccgroup.trust>
* Infineon TPM: Fix potential buffer overrunsJeremy Boone2018-03-051-2/+3
| | | | | | | | | Ensure that the Infineon I2C and SPI TPM driver performs adequate validation of the length extracted from the TPM response header. This patch prevents integer underflow when the length was too small, which could lead to memory corruption. Signed-off-by: Jeremy Boone <jeremy.boone@nccgroup.trust>
* STMicro TPM: Fix potential buffer overrunsJeremy Boone2018-03-052-4/+6
| | | | | | | This patch prevents integer underflow when the length was too small, which could lead to memory corruption. Signed-off-by: Jeremy Boone <jeremy.boone@nccgroup.trust>
* Merge branch 'master' of git://git.denx.de/u-boot-socfpgaTom Rini2018-03-0115-0/+1554
|\
| * arm: socfpga: cyclone5: Enable Macronix flash supportChin Liang See2018-02-273-0/+3
| | | | | | | | | | | | Enable Macronix flash support for Cyclone5 SoC Signed-off-by: Chin Liang See <chin.liang.see@intel.com>
| * ARM: socfpga: Add new CycloneV SoC Devboards DBM-SoC1 boardMarek Vasut2018-02-2612-0/+1551
| | | | | | | | | | | | | | Add support for a new boards from devboards.de , the DBM-SoC1 . This board has one ethernet port, one USB OTG port and USB UART. Signed-off-by: Marek Vasut <marex@denx.de>
* | Merge branch 'master' of git://git.denx.de/u-boot-shTom Rini2018-03-014-6/+331
|\ \
| * | ARM: rmobile: Build u-boot-spl.srec on Gen2Marek Vasut2018-02-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | The u-boot-spl.srec is needed for the minimon update on Gen2 SoCs, conveniently generate this file if SPL is enabled. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Tom Rini <trini@konsulko.com>
| * | Makefile: add u-boot-spl.srec targetMarek Vasut2018-02-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | The u-boot-spl.srec is needed for some platforms, add target to generate this file. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Tom Rini <trini@konsulko.com>
| * | ARM: rmobile: Build u-boot-elf.srec on Gen3Masaru Nagai2018-02-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The u-boot-elf.srec is needed for the minimon update on Gen3 SoCs, conveniently generate this file. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | Makefile: add u-boot-elf.srec targetMasaru Nagai2018-02-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The u-boot-elf.srec is needed for some platforms, add target to generate this file. Signed-off-by: Masaru Nagai <masaru.nagai.vx@renesas.com> Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | ARM: dts: rmobile: Import proper DTS for H2 StoutMarek Vasut2018-02-261-6/+316
| | | | | | | | | | | | | | | | | | | | | | | | Replace the placeholder DTS for R8A7790 H2 Stout with a proper DTS from Linux next . Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | | Merge tag 'xilinx-kconfig-for-v2018.03' of ↵Tom Rini2018-03-0128-35/+97
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://www.denx.de/git/u-boot-microblaze Xilinx Kconfig changes for v2018.03 - Moving some macros to Kconfig # gpg: Signature made Thu 01 Mar 2018 10:45:58 AM EST using DSA key ID 294A0C21 # gpg: Good signature from "Michal Simek <monstr@monstr.eu>" # gpg: aka "Michal Simek (Xilinx) <michals@xilinx.com>" # gpg: aka "Michal Simek (Xilinx) <michal.simek@xilinx.com>"
| * | | mmc: Added Kconfig support for CONFIG_ZYNQ_SDHCI_MIN_FREQVipul Kumar2018-03-014-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_ZYNQ_SDHCI_MIN_FREQ and enabled it in respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | | mmc: Added Kconfig support for CONFIG_ZYNQ_SDHCI_MAX_FREQVipul Kumar2018-03-017-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_ZYNQ_SDHCI_MAX_FREQ and enabled it in respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | | microblaze: Added Kconfig support for CONFIG_XILINX_GPIOVipul Kumar2018-03-013-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_XILINX_GPIO and enabled it in respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | | i2c: Added kconfig support for CONFIG_ZYNQ_I2C0 and CONFIG_ZYNQ_I2C1Vipul Kumar2018-03-0116-8/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_ZYNQ_I2C0 and CONFIG_ZYNQ_I2C1 and enabled it in respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | | i2c: Added Kconfig support for CONFIG_ZYNQ_GEM_I2C_MAC_OFFSETVipul Kumar2018-03-019-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET and enabled it in respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | | i2c: Added Kconfig support for CONFIG_SYS_I2C_ZYNQ_SPEEDVipul Kumar2018-03-013-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_SYS_I2C_ZYNQ_SPEED and set it to default value 100000. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | | i2c: Added Kconfig support for CONFIG_SYS_I2C_ZYNQ_SLAVEVipul Kumar2018-03-013-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_SYS_I2C_ZYNQ_SLAVE and set it default to 0. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | | i2c: Enabled CONFIG_SYS_I2C_ZYNQ in the respective defconfigVipul Kumar2018-03-0112-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch enabled CONFIG_SYS_I2C_ZYNQ in the respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | | i2c: Added Kconfig support for CONFIG_SYS_I2C_ZYNQVipul Kumar2018-03-011-0/+6
|/ / / | | | | | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_SYS_I2C_ZYNQ. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | | arm: zynq: fpga: Added Kconfig support for CONFIG_FPGA_ZYNQPLVipul Kumar2018-02-2819-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | This patch added Kconfig support for CONFIG_FPGA_ZYNQPL and migrates the values over to the defconfigs. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
* | | fpga: Added Kconfig support for FPGA_SPARTAN3Vipul Kumar2018-02-289-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | This patch added Kconfig support for FPGA_SPARTAN3 and migrates the values over to the defconfigs. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
* | | Merge git://git.denx.de/u-boot-netTom Rini2018-02-277-124/+155
|\ \ \
| * | | net: phy: smsc: Add SMSC LAN8741 supportArno Steffens2018-02-261-0/+11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Arno Steffens <star@gmx.li> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
| * | | net: e1000: Fix e1000_igb semaphore handlingBernhard Messerklinger2018-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix commit f1bcad22dd19 ("net: e1000: add support for writing to EEPROM"). Signed-off-by: Bernhard Messerklinger <bernhard.messerklinger@br-automation.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
| * | | NET: designware: fix clock enableEugeniy Paltsev2018-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After commit ba1f966725223 ("net: designware: add clock support") we got NET broken on axs101 and axs103 platforms. Some clock don't support gating so their clock drivers don't implement .enable/.disable callbacks. In such case clk_enable returns -ENOSYS. Also some clock drivers implement .enable/.disable callbacks not for all clock IDs and return -ENOSYS (or -ENOTSUPP) for others. If we have such clock in 'clocks' list of designware ethernet controller node we fail to probe designware ethernet. Fix it. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
| * | | phy: Fix style violationsMario Six2018-02-261-37/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some style violations in the generic PHY management code. Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Mario Six <mario.six@gdsys.cc>
| * | | cmd: mdio: Fix style violationsMario Six2018-02-261-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some style violations in the MDIO command. Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Mario Six <mario.six@gdsys.cc>
| * | | net: phy: marvell 88e151x: Fix handling of bare RGMII interface typeMario Six2018-02-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 68e6ecadc551 ("net: phy: marvell 88e151x: Fix handling of RGMII interface types") fixed the initialization of 88e151x phys, but made it so that interfaces of type PHY_INTERFACE_MODE_RGMII had both RX and TX delay bits cleared. The default (like in m88e1111s_config) is to have both bits set. Hence, this patch changes the behavior in the PHY_INTERFACE_MODE_RGMII case so that both bits are set. Signed-off-by: Mario Six <mario.six@gdsys.cc> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
| * | | net: phy: marvell: Fix style violationsMario Six2018-02-261-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some style violations (mostly wrong indentions) in the Marvell PHY driver. Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Mario Six <mario.six@gdsys.cc>
| * | | net: tsec: Make live-tree compatibleMario Six2018-02-261-23/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the tsec ethernet driver compatible with a live device tree. Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Mario Six <mario.six@gdsys.cc>
| * | | net: tsec: Fix memory leak in error pathMario Six2018-02-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tsec_initialize allocates a private driver structure using malloc. Should the memory allocation of this private structure fail, the function execution is aborted with a return 0, but the previously allocated device structure is never freed, hence leaked. Free the device structure in the error case. Signed-off-by: Mario Six <mario.six@gdsys.cc> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
| * | | net: tsec: Fix style violationsMario Six2018-02-261-35/+37
| |/ / | | | | | | | | | | | | Signed-off-by: Mario Six <mario.six@gdsys.cc> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
* | | Kconfig: cmd: Make networking command dependent on NETMichal Simek2018-02-2771-134/+94
|/ / | | | | | | | | | | | | | | Enable networking command only when NET is enabled. And remove selecting NET for CMD_NET Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Tom Rini <trini@konsulko.com>
* | Merge git://git.denx.de/u-boot-mmcTom Rini2018-02-254-27/+35
|\ \ | |/ |/|
| * mmc: omap_hsmmc: use a default 52MHz max clock rate if none is specifiedJean-Jacques Hiblot2018-02-261-0/+2
| | | | | | | | | | | | | | | | | | | | mmc_of_parse() doesn't set a default value if none is available in DT. In that case, use a default 52MHz clock rate. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Tested-by: Adam Ford <aford173@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
| * mmc: omap_hsmmc: make it possible to compile out ADMA supportJean-Jacques Hiblot2018-02-262-6/+15
| | | | | | | | | | | | | | | | | | | | | | Some platforms don't have ADMA controllers. For those platforms, compiling it out reduces the size of the binary by about 600 bytes. Leaving the support in doesn't break things as the driver checks at runtime if the ADMA2 controller is present. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Tested-by: Adam Ford <aford173@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
| * mmc: omap_hsmmc: compile out write support if not neededJean-Jacques Hiblot2018-02-261-2/+9
| | | | | | | | | | | | | | | | This reduces the size of the binary by about 196 bytes. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Tested-by: Adam Ford <aford173@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
| * mmc: omap_hsmmc: do not embed struct mmc in struct omap_hsmmc_platJean-Jacques Hiblot2018-02-262-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | The area for struct mmc can be allocated dynamically. It greatly reduces the size of struct omap_hsmmc_plat. This is useful in cases where the board level code declares one or two struct omap_hsmmc_plat because it doesn't use the Driver Model. This saves around 740 bytes for the am335x_evm SPL. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Tested-by: Adam Ford <aford173@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
| * mmc: fix off-by-one bug in mmc_startup_v4()Alexander Kochetkov2018-02-231-1/+1
| | | | | | | | | | | | | | MMC card with EXT_CSD_REV value 9 will trigger off-by-one bug while accessing mmc_versions array. The patch fix that. Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
| * mmc: Drop unnecessary case for mmc_probe()Faiz Abbas2018-02-231-6/+1
| | | | | | | | | | | | Drop the unnecessary empty function case for mmc_probe(). Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
| * mmc: synchronize the sequence with enum bus_mode in mmc.hJaehoon Chung2018-02-211-8/+3
| | | | | | | | | | | | | | | | If some configs are disabled, number of freqs array will not assigned to correct value with bus_mode. Synchornize the ordering with enum bus_mode in mmc.h. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
* | Merge git://git.denx.de/u-boot-rockchipTom Rini2018-02-255-1/+58
|\ \