summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* configs: Resync with savedefconfigTom Rini2018-03-0913-25/+4
| | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
* tools/mkimage: Use proper output parameter in dtc-system callStefan Theil2018-03-091-3/+3
| | | | | | | | | | The system call used by mkimage to run dtc redirects stdout to a temporary file. This can cause problems on Windows (with a MinGW cross-compiled version). Using the "-o" dtc parameter avoids this problem. Signed-off-by: Stefan Theil <stefan.theil@mixed-mode.de> Reviewed-by: Tom Rini <trini@konsulko.com>
* fs: ext4: Do not print mount fail message when not ext4 filesystemMarek Behún2018-03-091-1/+2
| | | | | | Other filesystem drivers don't do this. Signed-off-by: Marek Behun <marek.behun@nic.cz>
* MAINTAINERS: bring sections into alphabetic orderHeinrich Schuchardt2018-03-091-19/+19
| | | | | | NETWORK should be after NAND_FLASH. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* scripts/coccinelle: add some more coccinelle testsHeinrich Schuchardt2018-03-092-0/+316
| | | | | | | | | | | kmerr: verify that malloc and calloc are followed by a check to verify that we are not out of memory. badzero: Compare pointer-typed values to NULL rather than 0 Both checks are copied from the Linux kernel archive. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* yaffs2: iterator variable cannot be NULLHeinrich Schuchardt2018-03-092-8/+5
| | | | | | | | The iterator of list_for_each() is never NULL. Identified with coccinelle. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* bcm283x_pl011: Flush RX queue after setting baud rateAlexander Graf2018-03-093-7/+35
| | | | | | | | | | | | | | | | | After the UART was initialized, we may still have bogus data in the RX queue if it was enabled with incorrect pin muxing before. So let's flush the RX queue whenever we initialize baud rates. This fixes a regression with the dynamic pinmuxing code when enable_uart=1 is not set in config.txt on Raspberry Pis that use pl011 for serial. Fixes: caf2233b28 ("bcm283x: Add pinctrl driver") Reported-by: Göran Lundberg <goran@lundberg.email> Reported-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de> Tested-by: Peter Robinson <pbrobinson@gmail.com> Tested-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* serial_bcm283x_mu: Flush RX queue after setting baud rateAlexander Graf2018-03-091-1/+7
| | | | | | | | | | | | | | | | | After the UART was initialized, we may still have bogus data in the RX queue if it was enabled with incorrect pin muxing before. So let's flush the RX queue whenever we initialize baud rates. This fixes a regression with the dynamic pinmuxing code when enable_uart=1 is not set in config.txt. Fixes: caf2233b28 ("bcm283x: Add pinctrl driver") Reported-by: Göran Lundberg <goran@lundberg.email> Reported-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de> Tested-by: Peter Robinson <pbrobinson@gmail.com> Tested-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* ARM: Drop unreferenced CONFIG_* defines named after boardsTuomas Tynkkynen2018-03-0920-42/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following config symbols are only defined once and never referenced anywhere else: CONFIG_AT91SAM9263EK CONFIG_AT91SAM9RLEK CONFIG_BARIX_IPAM390 CONFIG_BOARD_H2200 CONFIG_EP9301 CONFIG_KZM_A9_GT CONFIG_PICOSAM CONFIG_PLATINUM_PICON CONFIG_PLATINUM_TITANIUM CONFIG_PM9261 CONFIG_PM9263 CONFIG_PM9G45 CONFIG_SIEMENS_DRACO CONFIG_SIEMENS_PXM2 CONFIG_SIEMENS_RUT CONFIG_SMDKC100 CONFIG_SMDKV310 CONFIG_STM32F4DISCOVERY Most of them are config symbols named after the respective boards which seems to have been a standard practice at some point. Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* ARM: Drop unreferenced CONFIG_* defines named after SoCsTuomas Tynkkynen2018-03-095-10/+0
| | | | | | | | | | | | | | | The following config symbols are only defined once and never referenced anywhere else: CONFIG_ARM926EJS CONFIG_CPUAT91 CONFIG_EXYNOS5800 CONFIG_SYS_CORTEX_R4 Most of them are config symbols named after the respective SoCs which seems to have been a standard practice at some point. Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* MIPS: Drop unreferenced CONFIG_* definesTuomas Tynkkynen2018-03-093-4/+0
| | | | | | | | | | | | | The following config symbols are only defined once and never referenced anywhere else: CONFIG_DBAU1X00 CONFIG_PB1X00 Most of them are config symbols named after the respective boards which seems to have been a standard practice at some point. Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* treewide: Fix gdsys mail addressesMario Six2018-03-0924-25/+25
| | | | | | | | | | The @gdsys.cc addresses are supposed to be used for mailing lists. Switch all occurrences of @gdsys.de mail addresses to their @gdsys.cc equivalent. Also, Dirk's address was wrong in one place; fix that as well. Signed-off-by: Mario Six <six@gdsys.cc>
* ARM: qemu-arm: Increase CONFIG_SYS_CBSIZETuomas Tynkkynen2018-03-091-0/+2
| | | | | | | | CONFIG_SYS_CBSIZE determines the maximum length of the kernel command line, and the default value of 256 is too small for booting some Linux images in the wild. Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
* Prepare v2018.03-rc4v2018.03-rc4Tom Rini2018-03-051-1/+1
| | | | Signed-off-by: Tom Rini <trini@konsulko.com>
* Merge git://git.denx.de/u-boot-shTom Rini2018-03-0525-8/+1025
|\
| * ARM: dts: rmobile: Add PHY reset GPIOMarek Vasut2018-03-052-0/+2
| | | | | | | | | | | | | | | | | | This patch got dropped during the update of DTs to 4.14, re-add it back. This adds reset GPIOs to the ethernet PHYs. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * ARM: dts: rmobile: Make PFC and RST available early on Gen2 onlyMarek Vasut2018-03-056-8/+40
| | | | | | | | | | | | | | | | These do not need to be available early on Gen3 , so move them to the respective DT files. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * ARM: rmobile: Add R8A77965 Salvator-XS board supportMarek Vasut2018-03-055-0/+93
| | | | | | | | | | | | | | | | | | Add R8A77965 M3N Salvator-XS development kit support. This kit is similar to the other Salvator-X(S) ones, except is has M3N SoC on it. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * ARM: dts: rmobile: Add SDHI nodes to R8A77965 M3N DTMarek Vasut2018-03-051-4/+32
| | | | | | | | | | | | | | Add SDHI nodes to r8a77965.dtsi to get eMMC and SD slots operational. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * ARM: dts: rmobile: Add xHCI node to R8A77965 M3N DTMarek Vasut2018-03-051-1/+8
| | | | | | | | | | | | | | Add xHCI node to r8a77965.dtsi to get xHCI USB operational. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * ARM: dts: rmobile: Add EHCI nodes to R8A77965 M3N DTMarek Vasut2018-03-051-4/+37
| | | | | | | | | | | | | | Add generic EHCI nodes to r8a77965.dtsi to get EHCI USB operational. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * ARM: dts: rmobile: Add RAVB node to R8A77965 M3N DTMarek Vasut2018-03-051-1/+10
| | | | | | | | | | | | | | Add RAVB node to r8a77965.dtsi to get ethernet operational. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * ARM: dts: rmobile: Import R8A77965 M3N DT files from LinuxMarek Vasut2018-03-053-0/+784
| | | | | | | | | | | | | | Import the R8A77965 M3N DT from Linux 4.16-rc1 . Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * usb: xhci-rcar: Add R8A77965 M3N entriesMarek Vasut2018-03-051-0/+1
| | | | | | | | | | | | | | Add entries for the R8A77965 M3N SoC. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * pinctrl: rmobile: Add R8A77965 M3N entriesMarek Vasut2018-03-051-0/+3
| | | | | | | | | | | | | | Add entries for the R8A77965 M3N SoC. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * net: ravb: Add R8A77965 M3N entriesMarek Vasut2018-03-051-0/+1
| | | | | | | | | | | | | | | | Add entries for the R8A77965 M3N SoC. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Joe Hershberger <joe.hershberger@ni.com>
| * mmc: uniphier-sd: Add R8A77965 M3N entriesMarek Vasut2018-03-051-0/+1
| | | | | | | | | | | | | | | | | | Add entries for the R8A77965 M3N SoC. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
| * gpio: rcar: Add R8A77965 M3N entriesMarek Vasut2018-03-051-0/+1
| | | | | | | | | | | | | | Add entries for the R8A77965 M3N SoC. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * clk: renesas: Add R8A77965 M3N entriesMarek Vasut2018-03-051-0/+19
| | | | | | | | | | | | | | Add entries for the R8A77965 M3N SoC. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * ARM: rmobile: Add R8A77965 M3N IDsMarek Vasut2018-03-053-0/+3
| | | | | | | | | | | | | | Add CPU and PRR IDs for R8A77965 M3N SoC. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | Devboards.de DBM-SoC1 BOARD: Add S lineTom Rini2018-03-051-0/+1
| | | | | | | | | | | | This was missing the 'S' line causing a warning from genboardscfg.py Signed-off-by: Tom Rini <trini@konsulko.com>
* | ARM: DTS: Re-sync logicpd-som-lv with Linux 4.16-rc3Adam Ford2018-03-051-34/+12
| | | | | | | | | | | | This should clean up a warning about a missing phy-cells Signed-off-by: Adam Ford <aford173@gmail.com>
* | MAINTAINERS: bring sections into alphabetic orderHeinrich Schuchardt2018-03-051-44/+44
| | | | | | | | | | | | POWER should be after ONENAND Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* | scripts/spelling.txt: Sync script with kernel 4.16-rc4Fabio Estevam2018-03-051-0/+37
| | | | | | | | | | | | | | Keep spelling.txt in sync with the version from kernel 4.16-rc4. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* | omap3_logic: Remove unnecessary undefsAdam Ford2018-03-051-7/+0
| | | | | | | | | | | | | | Due to evolution of the MMC driver and better support, let's remove unnecessary undefs. Signed-off-by: Adam Ford <aford173@gmail.com>
* | ti_armv7_omap: Remove comment remnantAdam Ford2018-03-051-2/+0
| | | | | | | | | | | | | | With the migration to Kconfig, the I2C block no longer exists in here. Let's clean up the comment. Signed-off-by: Adam Ford <aford173@gmail.com>
* | MPC8315ERDB: Enable DHCP supportEd Bartosh2018-03-051-0/+1
| | | | | | | | | | | | | | | | Enable DHCP support for this board. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Tom Rini <trini@konsulko.com>
* | libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>Masahiro Yamada2018-03-05197-519/+514
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thomas reported U-Boot failed to build host tools if libfdt-devel package is installed because tools include libfdt headers from /usr/include/ instead of using internal ones. This commit moves the header code: include/libfdt.h -> include/linux/libfdt.h include/libfdt_env.h -> include/linux/libfdt_env.h and replaces include directives: #include <libfdt.h> -> #include <linux/libfdt.h> #include <libfdt_env.h> -> #include <linux/libfdt_env.h> Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
* | tools: Include U-Boot libfdt headers from their actual pathPaul Kocialkowski2018-03-051-1/+1
| | | | | | | | | | | | | | | | | | There are no headers for libfdt in lib/libfdt, as they are instead located in scripts/dtc/libfdt. Specifying lib/libfdt for headers inclusion in host tools results in using the system libfdt headers, which is not what we want. Change this to the proper path. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* | 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>