summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* powerpc, 5xx: remove some "5xx" remainsHeiko Schocher2017-06-164-4/+0
| | | | | | we removed 5xx support. So delete some forgotten remains. Signed-off-by: Heiko Schocher <hs@denx.de>
* powerpc, 82xx: remove some missed mpc82xx remainsHeiko Schocher2017-06-163-5/+0
| | | | | | | we removed 82xx support. Missed some 82xx remains, remove them now. Signed-off-by: Heiko Schocher <hs@denx.de>
* powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512xHeiko Schocher2017-06-16269-34007/+14
| | | | | | | | | There was for long time no activity in the mpx5xxx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in mpc5xxx, so remove it. Signed-off-by: Heiko Schocher <hs@denx.de>
* arm: mach-omap2: Generate MLO file from SD boot capable targetsAndrew F. Davis2017-06-161-2/+11
| | | | | | | | | Secure boot targets that can be loaded from an SD card FAT partition need to be called "MLO" on the filesystem, make a copy with this name to clarify the correct image for SD card booting. Signed-off-by: Andrew F. Davis <afd@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
* cmd: ethsw: Fix out-of-bounds errorYork Sun2017-06-161-1/+1
| | | | | | | | | | | | | The for loop in cmd_keywords_opt_check() seems to use wrong array to set boundary, reported by Coverity analysis. Signed-off-by: York Sun <york.sun@nxp.com> CC: Joe Hershberger <joe.hershberger@ni.com> CC: Tom Rini <trini@konsulko.com> CC: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reported-by: Coverity (CID: 163251) Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
* arm: ti: Add missing guards to headersSemen Protsenko2017-06-162-0/+10
| | | | | | | | | To prevent possible double inclusions in future. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* board/BuR/brxre1: refactor default environmentHannes Schmelzer2017-06-161-30/+21
| | | | | | | | For better readability and setup-handling we refactor the default environment. Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* board/BuR/brxre1: cosmetic cleanup of config-headerHannes Schmelzer2017-06-161-2/+0
| | | | | Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* board/BuR/brxre1: drop obsolete CONFIG_LCD_NOSTDOUT from config-headerHannes Schmelzer2017-06-162-2/+0
| | | | | | | | | | This define isn't used anymore in the u-boot source tree, so we drop it from the config header. We drop it also from the 'config_whitelist.txt' Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* board/BuR/brxre1: drop bootlogo featureHannes Schmelzer2017-06-161-11/+0
| | | | | | | | the BMP logo loading has become obsolete and is not used any more. So we drop the support for it. Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* board/BuR/brxre1: fix MMC bootHannes Schmelzer2017-06-162-7/+12
| | | | | | | | | | | | | | since commit 'd5abcf94c7123167725fc22ace342f0d455093c1' - ti: boot: Register the MMC controllers in SPL in the same way as in u-boot MMC boot on brxre1 board is broken, with this commit we make our board working again. Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
* treewide: remove unneeded semicolonsMasahiro Yamada2017-06-1614-21/+21
| | | | Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
* defconfig: arm335x_evm_usbspl: Update MUSB EthernetMichael Welling2017-06-161-1/+4
| | | | | | | | | | | Adds CONFIG_SPL_USB_GADGET_SUPPORT and CONFIG_SPL_USBETH_SUPPORT. Removes CONFIG_SPL_NAND_SUPPORT, CONFIG_SPL_MTD_SUPPORT, and CONFIG_SPL_YMODEM_SUPPORT to free up space to fit in RAM. Signed-off-by: Michael Welling <mwelling@ieee.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Marek Vasut <marex@denx.de>
* include: nand: move endif to end of fileMugunthan V N2017-06-161-2/+2
| | | | | | | | | | The terminator endif of ifdef _NAND_H_ should be at the end of file as a fail safe. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
* Merge git://git.denx.de/u-boot-mpc85xxTom Rini2017-06-1445-1488/+40
|\
| * powerpc: fsl: Update maintainersYork Sun2017-06-124-5/+5
| | | | | | | | | | | | Update maintainers for B4860QDS, P1010RDB, P1_TWR, T104xRDB. Signed-off-by: York Sun <york.sun@nxp.com>
| * powerpc: mpc8569mds: Update config and maintainerYork Sun2017-06-123-1/+3
| | | | | | | | | | | | Enable DHCP command by default. Update maintainer info. Signed-off-by: York Sun <york.sun@nxp.com>
| * powerpc: mpc8568mds: Update board configYork Sun2017-06-123-4/+5
| | | | | | | | | | | | | | | | Enable DHCP command by default. Move environmental variable location to before U-Boot image. Enlarge reserved mem for malloc. Update maintainer. Signed-off-by: York Sun <york.sun@nxp.com>
| * powerpc: mpc8536ds: Update maintainerYork Sun2017-06-121-1/+1
| | | | | | | | Signed-off-by: York Sun <york.sun@nxp.com>
| * powerpc: mpc8544ds: Update maintainerYork Sun2017-06-121-1/+1
| | | | | | | | Signed-off-by: York Sun <york.sun@nxp.com>
| * powerpc: mpc8544ds: Fix environmental variable locationYork Sun2017-06-121-2/+2
| | | | | | | | Signed-off-by: York Sun <york.sun@nxp.com>
| * powerpc: mpc8544ds: Enable DHCP command by defaultYork Sun2017-06-121-0/+1
| | | | | | | | Signed-off-by: York Sun <york.sun@nxp.com>
| * powerpc: mpc8548cds: Enable DHCP command by defaultYork Sun2017-06-122-0/+2
| | | | | | | | Signed-off-by: York Sun <york.sun@nxp.com>
| * powerpc: mpc8548cds: Update maintainerYork Sun2017-06-121-1/+1
| | | | | | | | Signed-off-by: York Sun <york.sun@nxp.com>
| * net: phy: marvell: Fix init function for m88e1145York Sun2017-06-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | Commit a058052c changed the generic phy_reset() to clear all bits in BMCR. This inevitably clears the ANEG bit. m88e1145 requires any change to ANEG bit to be followed by a software reset. This seems to be different from other PHYs. Implement read-modify-write procedure for this PHY init. Signed-off-by: York Sun <york.sun@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
| * powerpc: mpc8641hpcn: Enable DHCP command and DDR debugYork Sun2017-06-122-1/+2
| | | | | | | | | | | | | | Enable DHCP command to make TFTP easier. Enable DDR interactive debug by default. Signed-off-by: York Sun <york.sun@nxp.com>
| * driver: ddr: fsl: Fix compiling error for DDR2York Sun2017-06-121-0/+4
| | | | | | | | | | | | Fix compiling error of "no member named 'taamin_ps'" for DDR2. Signed-off-by: York Sun <york.sun@nxp.com>
| * powerpc: mpc8536ds: Enable DHCP command by defaultYork Sun2017-06-122-0/+2
| | | | | | | | | | | | | | Enable DHCP command to make TFTP easier. Users don't have to use static IP address. Signed-off-by: York Sun <york.sun@nxp.com>
| * powerpc: mpc86xx: Update maintainer for MPC8610HPCD and MPC8641HPCNYork Sun2017-06-122-3/+3
| | | | | | | | Signed-off-by: York Sun <york.sun@nxp.com>
| * powerpc: mpc85xx: Update maintainer for MPC8541CDS and MPC8555CDSYork Sun2017-06-122-4/+4
| | | | | | | | Signed-off-by: York Sun <york.sun@nxp.com>
| * powerpc: mpc8540ads: mpc8560ads: Drop support for MPC8540/60ADSYork Sun2017-06-1218-1464/+0
| | | | | | | | | | | | Drop support for these two legacy boards. Signed-off-by: York Sun <york.sun@nxp.com>
* | Merge branch 'master' of git://git.denx.de/u-boot-tegraTom Rini2017-06-149-268/+0
|\ \
| * | ARM: tegra: remove Whistler supportStephen Warren2017-06-129-268/+0
| |/ | | | | | | | | | | | | | | | | Whistler is an ancient Tegra 2 reference board. I may have been the only person who ever used it with upstream software, and I've just recycled the board hardware. Hence, it makes sense to remove support from software. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
* | Revert "ARM: fixed relocation using proper alignment"Tom Rini2017-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | It turns out this change was not intended to be merged and as such, revert it. This reverts commit cdde7de0364ffa505d631b342f1a2fa729e8e67d. Reported-by: Manfred Schlaegl <manfred.schlaegl@ginzinger.com> Signed-off-by: Tom Rini <trini@konsulko.com>
* | board: ti: am335x: Fix scale_vcore for beaglebonesLokesh Vutla2017-06-122-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 0650798824 ("board: am335x: Introduce scale_vcores") updated voltages of each board based on efuse. It updated beagle bone specific voltages under the condition board_is_bone(). But this is true only for BeagleBoneWhite. Due to which voltages are not configured for BBB, BBW as wrong device is being probed. So create a common function board_is_beaglebonex() which includes am335x based beagle family. Use this for updating voltages. Also remove extra if condition for selecting voltages which is done later using a switch case and match usb current limit as before the commit 0650798824. Fixes: 0650798824 ("board: am335x: Introduce scale_vcores") Reported-by: Emmanuel Vadot <manu@bidouilliste.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
* | arm: am57xx: Keep environment in eMMCSemen Protsenko2017-06-121-5/+9
| | | | | | | | | | | | | | | | Use eMMC (instead of SD card) to store U-Boot environment. Use "reserved" partition for U-Boot environment. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Lokesh Vutla <lokeshvuta@ti.com>
* | arm: dra7: Increase "bootloader" partition sizeSemen Protsenko2017-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | Increase the size of u-boot.img, so that it conforms with new DFU configuration (see commit [1]). [1] 7a53a1a8115b ARM: ti: Update layout for MMC and eMMC (env and dfu) Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Tom Rini <trini@konsulko.com>
* | arm: am57xx: Increase "bootloader" partition sizeSemen Protsenko2017-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | Increase the size of u-boot.img, so that it conforms with new DFU configuration (see commit [1]). [1] 7a53a1a8115b ARM: ti: Update layout for MMC and eMMC (env and dfu) Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Tom Rini <trini@konsulko.com>
* | MAINTAINERS: mpc83xx: Add new custodianmario.six@gdsys.cc2017-06-121-2/+2
| | | | | | | | Add myself as mpc83xx custodian.
* | tools/tbot: update READMEHeiko Schocher2017-06-125-685/+1
| | | | | | | | | | | | | | | | refer in the README to tbots webpage, and delete the README in tools/tbot, as the latest documentation for tbot is on this webpage. Signed-off-by: Heiko Schocher <hs@denx.de>
* | ARM: dts: keystone-k2hk-evm: Add U-boot specific dtsi fileCooper Jr., Franklin2017-06-121-0/+15
| | | | | | | | | | | | | | | | | | | | With Davinci I2C switching to device model, K2HK requires U-boot specific device tree entries. This is only required for I2C 1 which is needed extremely early during the boot process. Fixes: 1743d040b1df ("ARM: keystone: Enable DM_I2C by default") Reported-by: Yan Liu <yan-liu@ti.com> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
* | cmd: nvedit: bring error message in sync with condition under which it appearsLothar Waßmann2017-06-121-2/+2
| | | | | | | | | | | | | | | | | | The list of symbols listed in the error message for missing Kconfig symbols is out of sync with the symbols actually tested. Add the missing symbols and reorder their appearance to be in sync with the #if statement for easier checking. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
* | cmd: mtdparts: fix uninitialized variable warningLothar Waßmann2017-06-121-1/+1
| | | | | | | | | | | | | | | | | | commit 06a040a31bcf ("cmd: mtdparts: fix null pointer dereference in parse_mtdparts") removed the initialization of a pointer variable, which is subsequently used in a debug() call. This produces an uninitialized variable warning, when compiling with DEBUG defined. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
* | dm: bcm6345_gpio: Set proper output level in bcm6345_gpio_direction_outputAxel Lin2017-06-121-0/+2
| | | | | | | | | | | | | | Current code does not set output level in bcm6345_gpio_direction_output, fix it. Signed-off-by: Axel Lin <axel.lin@ingics.com>
* | board_f: fix calculation of reloc_offLothar Waßmann2017-06-121-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | relocate_code() calculates the relocation offset wrt. the symbol __image_copy_start which happens to have the same value as CONFIG_TEXT_BASE on most systems. When creating an i.MX boot image with an integrated IVT it is convenient to have CONFIG_TEXT_BASE point to the start of the IVT that is prepended to the actual code. Thus CONFIG_TEXT_BASE will differ from __image_copy_start, while the calculation 'gd->relocaddr - __image_copy_start' still gives the right relocation offset. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
* | ARM: provide a valid exception stack address for startup codeLothar Waßmann2017-06-121-1/+4
| | | | | | | | | | | | | | Create exception stack in IRAM if available to facilitate debugging of pre-relocation code by catching exceptions rather than stopping dead. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
* | arm: adjust PC displayed in exception handlers to point to the failing ↵Lothar Waßmann2017-06-121-0/+14
| | | | | | | | | | | | | | | | | | | | | | instruction Adjust the program counter register to point to the failing instruction depending on the exeption type. This makes it easier to localize the offending instruction leading to a fatal exception. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
* | ARM: remove bogus cp_delay() functionLothar Waßmann2017-06-121-14/+1
| | | | | | | | | | | | | | | | | | | | | | The cp_delay() function was introduced because of a missing 'volatile' attribute to the 'asm' statement in get_cr() which led to the 'mrc' instruction in get_cr() being optimised out eventually. This has been fixed in commit 53fd4b8c22bb ("arm: mmu: Add missing volatile for reading SCTLR register") but the bogus cp_delay() function which was introduced as a workaround for the malfunctioning get_cr() was never removed. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
* | serial: stm32x7: simplify baud rate register calculationPatrice Chotard2017-06-122-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | Simplify baud rate register formula and use the oversampling uart feature. This code is aligned with what is implemented in kernel driver drivers/tty/serial/stm32-usart.c since kernel v4.9. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Christophe KERELLO <christophe.kerello@st.com> Reviewed-by: Patrick DELAUNAY <patrick.delaunay@st.com> Acked-by: Vikas MANOCHA <vikas.manocha@st.com>
* | serial: stm32x7: align compatible with kernel onePatrice Chotard2017-06-122-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stm32x7.c driver is dedicated for STM32F7. In kernel, "st,stm32-usart" and "st,stm32-uart" compatible strings are dedicated for STM32F4. To keep U-boot and kernel aligned, replace the serial compatible string from "st,stm32-usart", "st,stm32-uart" to "st,stm32f7-usart", "st,stm32f7-uart" specific for STM32F7. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Christophe KERELLO <christophe.kerello@st.com> Reviewed-by: Patrick DELAUNAY <patrick.delaunay@st.com> Acked-by: Vikas MANOCHA <vikas.manocha@st.com>