summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* wdt: Fix spelling Resettting -> ResettingAndy Shevchenko2017-07-071-1/+1
| | | | | | | | | | Fix spelling Resettting -> Resetting. No functional change intended. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* avr32: Retire AVR32 for goodAndy Shevchenko2017-07-06106-5886/+20
| | | | | | | | | | | | | | AVR32 is gone. It's already more than two years for no support in Buildroot, even longer there is no support in GCC (last version is heavily patched 4.2.4). Linux kernel v4.12 got rid of it (and v4.11 didn't build successfully). There is no good point to keep this support in U-Boot either. Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
* stm32: Correct positioning of declarationSimon Glass2017-07-061-1/+3
| | | | | | | | | | | | | | | | | The current code gives a warning: arch/arm/mach-stm32/stm32f7/soc.c: In function 'arch_cpu_init': arch/arm/mach-stm32/stm32f7/soc.c:38:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (int i = 0; i < ARRAY_SIZE(stm32_region_config); i++) ^ arch/arm/mach-stm32/stm32f7/soc.c:38:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code Fix it by moving the declaration to the top of the function. Signed-off-by: Simon Glass <sjg@chromium.org> Series-cc trini
* km/common: remove unused codeHolger Brunck2017-07-061-3/+0
| | | | | | | | | The 82xx board mgcoge3ne was removed from the codebase, so this is dead code. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Cc: Heiko Schocher <hs@denx.de> Reviewed-by: Heiko Schocher <hs@denx.de>
* configs: Odroid C2: enable device tree overlaysxypron.glpk@gmx.de2017-07-061-0/+1
| | | | | | | | The Odroid C2 comes with several expansion options such as an RTC module. As these expansions are not considered in the Linux device tree they have to be enabled via device tree overlays. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* mkimage: fix display of image types listBaruch Siach2017-07-061-1/+5
| | | | | | | | | | | | | Since commit 5b9d44df2307f (mkimage: Display a better list of available image types) mkimage usage text suggest to "use -T to see a list of available image types". Unfortunately, commit 02221f29deb8 (mkimage: Convert to use getopt()) broke that feature, because getopt() fails when -T has no option argument. Add a pseudo image type name 'list' that lists all image types. Update the usage text accordingly. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
* CHIP: add device tree overlay supportPeter Robinson2017-07-062-0/+4
| | | | | | | CHIP and CHIP Pro devices have options of DIP addon boards some of which need overlays from the beginning so it makes sense to enable device tree overlays. Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
* 96boards: dragonboard/hikey: add device tree overlay supportPeter Robinson2017-07-062-0/+4
| | | | | | | | 96boards CE devices such as the DragonBoard and Hikey devices have numerous mezzanine options some of which need overlays from the beginning so it makes sense to enable device tree overlays. Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
* am335x: beagle/evm: add device tree overlay supportPeter Robinson2017-07-066-0/+7
| | | | | | | | TI am33xx devices such as the BeagleBone devices have numerous cape options such as screens some of which need overlays from the beginning so it makes sense to enable evice tree overlays. Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
* Raspberry Pi: add device tree overlay supportPeter Robinson2017-07-064-0/+8
| | | | | | | | Raspberry Pi has numerous HAT and other HW expansion options such as screens and cameras some of which need overlays from the beginning so it makes sense to enable evice tree overlays. Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
* arm64: use psci reset on snapdragonRob Clark2017-07-061-1/+1
| | | | | | | | This actually works on snapdragon.. not sure why we weren't using it. Fixes reboot/poweroff when using UEFI. Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Alexander Graf <agraf@suse.de>
* igep003x: Falcon modeLadislav Michl2017-07-062-0/+9
| | | | | | | Implement spl_start_uboot to let Falcon mode work. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: Heiko Schocher <hs@denx.de>
* igep00x0: Enable UBI fastmapLadislav Michl2017-07-061-0/+1
| | | | | | | Fastmap significantly reduces flash scan time, enable it by default. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: Heiko Schocher <hs@denx.de>
* spl: Make UBI fastmap support Kconfig selectableLadislav Michl2017-07-061-1/+1
| | | | | | | | Fastmap was always enabled in ubispl, make it selectable by CONFIG_MTD_UBI_FASTMAP. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: Heiko Schocher <hs@denx.de>
* odroid-c2: Populate serial# environment variable from efuseMartin Böh2017-07-061-0/+8
|
* gpio: add static to get_function()Masahiro Yamada2017-07-061-2/+2
| | | | | | Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* serial: make serial_stub_* to static functionsMasahiro Yamada2017-07-063-11/+9
| | | | | | | | | | Add missing static to serial_stub_puts(). Unexport serial_stub_{getc,tstc} because they are used locally. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* Merge tag 'signed-efi-next' of git://github.com/agraf/u-bootTom Rini2017-07-045-14/+44
|\ | | | | | | | | | | | | Patch queue for efi - 2017-07-04 Highlights this time: bugfixes. With these changes, OpenBSD should be more happy.
| * efi_loader: abort on unsupported relocation typexypron.glpk@gmx.de2017-07-041-2/+8
| | | | | | | | | | | | | | | | | | | | | | If a relocation type is not supported loading the EFI binary should be aborted. Writing a message only is insufficient. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> [agraf: use a() != b coding style] Signed-off-by: Alexander Graf <agraf@suse.de>
| * efi_loader: Add efi-next git tree to MAINTAINERS fileAlexander Graf2017-07-041-0/+1
| | | | | | | | | | | | | | | | The efi-next tree lives on github, not the usual denx git. Reflect this in the MAINTAINERS file so that people can find it. Signed-off-by: Alexander Graf <agraf@suse.de>
| * efi_loader: efi_handle_protocol set attributesxypron.glpk@gmx.de2017-07-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UEFI spec 2.7 indicates that HandleProtocol can be implemented by calling OpenProtocol with attributes = EFI_OPEN_PROTOCOL_BY_HANDLE_PROTOCOL. Currently we pass attributes = 0 to efi_open_protocol. 0 is not a valid value when calling OpenProtocol. This does not cause any errors yet because our implementation of OpenProtocol is incomplete. We should pass the correct value to enable a fully compliant implementation of OpenProtocol in the future. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
| * efi_loader: add static to local functionsMasahiro Yamada2017-07-031-9/+11
| | | | | | | | | | | | | | | | These are locally used in lib/efi_loader/efi_boottime.c Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
| * efi_loader: check CreateEvent() parametersJonathan Gray2017-07-031-0/+10
| | | | | | | | | | | | | | | | | | | | | | Add some of the invalid parameter checks described in the UEFI specification for CreateEvent(). This does not include checking the validity of the type and tpl parameters. Signed-off-by: Jonathan Gray <jsg@jsg.id.au> Acked-By: Heinrich Schuchardt <xypron.glpk@gmx.de> [agraf: fix checkpatch.pl indent warning] Signed-off-by: Alexander Graf <agraf@suse.de>
| * efi_loader: run CreateEvent() notify function based on flagsJonathan Gray2017-07-032-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | The UEFI specification states that the tpl, function and context arguments are to be ignored if neither EVT_NOTIFY_WAIT or EVT_NOTIFY_SIGNAL are specified. This matches observed behaviour with an AMI EDK2 based UEFI implementation. Skip calling the notify function if neither flag is present. Signed-off-by: Jonathan Gray <jsg@jsg.id.au> Acked-By: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
| * efi_loader: Add check for fallback fdt memory reservationAlexander Graf2017-07-031-0/+6
| | | | | | | | | | | | | | | | When running bootefi, we allocate new space but never check whether the allocation succeeded. This patch adds a check so that in case things go wrong, we at least know they did. Signed-off-by: Alexander Graf <agraf@suse.de>
* | Prepare v2017.07-rc3v2017.07-rc3Tom Rini2017-07-031-1/+1
| | | | | | | | Signed-off-by: Tom Rini <trini@konsulko.com>
* | powerpc: remove 4xx supportHeiko Schocher2017-07-03471-85191/+14
| | | | | | | | | | | | | | | | | | There was for long time no activity in the 4xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 4xx, so remove it. Signed-off-by: Heiko Schocher <hs@denx.de>
* | drivers, block: remove sil680 driverHeiko Schocher2017-07-033-91/+0
|/ | | | | | driver is not used anymore, so remove it. Signed-off-by: Heiko Schocher <hs@denx.de>
* pico-imx7d: Remove bouncing emailFabio Estevam2017-06-291-1/+0
| | | | | | Wig Cheng's email bounces, so remove it from the maintainers list. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
* doc: restore doc/README.fsl-clkChristophe Leroy2017-06-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doc/README.fsl-clk was removed in commit 5b8e76c35ec31 ("powerpc, 8xx: remove support for 8xx") allthought CONFIG_SYS_FSL_CLK is defined in arch/arm/cpu/armv8/fsl-layerscape/Kconfig and still in use in the following configs: ./include/configs/mx53loco.h:21:#define CONFIG_SYS_FSL_CLK ./include/configs/m53evk.h:16:#define CONFIG_SYS_FSL_CLK ./include/configs/mx25pdk.h:17:#define CONFIG_SYS_FSL_CLK ./include/configs/usbarmory.h:14:#define CONFIG_SYS_FSL_CLK ./include/configs/ls1021aqds.h:14:#define CONFIG_SYS_FSL_CLK ./include/configs/mx53cx9020.h:22:#define CONFIG_SYS_FSL_CLK ./include/configs/colibri_vf.h:17:#define CONFIG_SYS_FSL_CLK ./include/configs/mx35pdk.h:21:#define CONFIG_SYS_FSL_CLK ./include/configs/woodburn_common.h:19:#define CONFIG_SYS_FSL_CLK ./include/configs/mx7_common.h:25:#define CONFIG_SYS_FSL_CLK ./include/configs/ls1021aiot.h:12:#define CONFIG_SYS_FSL_CLK ./include/configs/ls1021atwr.h:14:#define CONFIG_SYS_FSL_CLK ./include/configs/mx53ard.h:21:#define CONFIG_SYS_FSL_CLK ./include/configs/mx53smd.h:21:#define CONFIG_SYS_FSL_CLK ./include/configs/mx51evk.h:16:#define CONFIG_SYS_FSL_CLK ./include/configs/mx6_common.h:31:#define CONFIG_SYS_FSL_CLK ./include/configs/vf610twr.h:14:#define CONFIG_SYS_FSL_CLK ./include/configs/mx53evk.h:21:#define CONFIG_SYS_FSL_CLK Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by: Heiko Schocher <hs@denx.de>
* .travis.yml: All DENX boards are now under AriesTom Rini2017-06-291-2/+2
| | | | | | DENX hardware is now under Aries Embedded, update the job. Signed-off-by: Tom Rini <trini@konsulko.com>
* Revert "armv7m: Disable D-cache when booting nommu(ARMv7M) Linux kernel"Tom Rini2017-06-291-1/+0
| | | | | | | | | The author of the commit discovered later on that this was already being done in cleanup_before_linux() on arch/arm/cpu/armv7m/cpu.c. This reverts commit 8f079cccb369995e46a2ab530d5d60b88c1e70bb. Signed-off-by: Tom Rini <trini@konsulko.com>
* Merge git://git.denx.de/u-boot-arcTom Rini2017-06-2916-38/+325
|\
| * arc: Add support for HS Development Kit boardAlexey Brodkin2017-06-299-0/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ARC HS Development Kit board is a new low-cost development platform sporting ARC HS38 in real silicon with nice set of features such as: * Quad-core ARC HS38 with 512 kB L2 cache and running @1GHz * 4Gb of DDR (we use only lowest 1Gb out of it now) * Lots of DesigWare peripherals * Different connectivity modules: - Synopsys HAPS HT3 - Arduino-compatible connector - MikroBUS This initial commit supports the following peripherals: * UART (DW 8250) * Ethernet (DW GMAC) * SD/MMC (DW Mobile Storage) * USB 1.1 & 2.0 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * arcv2: Set IOC aperture so it covers available DDRAlexey Brodkin2017-06-291-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used to use the same memory layout and size for a couple of boards and thus we just hardcoding IOC aperture start and size. Now when we're getting more boards with more memory on board we need to have an ability to set IOC so it matches real DDR layout and size. Even though it is not really a must but for simplicity we assume IOC covers all the DDR we have, that gives us a chance to not bother where DMA buffers are allocated - any part of DDR is OK. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * axs10x: Move environment from I2C EEPROM to SD-cardAlexey Brodkin2017-06-291-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With deprecation of I2C EEPROM we we left without a permamnent storage for U-Boot environment, but luckily we may simply use SD-card with FAT partition for that. Having environment on SD-card is much more convenient as it allows us to preserve all the settings when moving from one board to another. Moreover instead of 256 bytes of EEPROM we're now virtually unlimited in stuff being placed in environment like complicated scripts etc which are usually required in case of full-scale distros. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * axs10x: Get rid of both I2C and EEPROM who used to use I2CAlexey Brodkin2017-06-293-28/+0
| | | | | | | | | | | | | | | | | | With eb5ba3aefdf0 "i2c: Drop use of CONFIG_I2C_HARD" in place we cannot use I2C EEPROM any longer so we're dropping all references to both EEPROM and I2C which was only used for EEPROM. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Simon Glass <sjg@chromium.org>
| * boards: axs10x, nsim, tb100: Enable cmdline historyAlexey Brodkin2017-06-293-0/+3
| | | | | | | | | | | | | | Enable shell commands history on ARC boards for more convenience of users. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * axs10x: Add support of Ext2/4 FSAlexey Brodkin2017-06-292-0/+6
| | | | | | | | | | | | Those could be easily used on USB flash drives or on SD/MMC cards. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * axs101: Enable data cacheAlexey Brodkin2017-06-291-1/+0
| | | | | | | | | | | | | | There's no reason to keep data cache disabled in axs101 board any longer, enabling it. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * arc: arcv1: Disable master/slave checkAlexey Brodkin2017-06-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ARCompact cores are not supposed to be used in SMP designs (this doesn't stop people from creation of heterogeneous chips, for an example keep reading) so there's no point in checking ARCNUM and halting somebody if we build for ARC700. Moreover on AXS101 board we have ARC770 in the ASIC together with other ARC cores and ARC770 happens to be the last node in JTAG chain with ARCNUM = 4. And existing check halts the one and only core we want keep running. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* | ARM: at91: ma5d4: Support both SF and eMMC SoMsMarek Vasut2017-06-292-10/+38
| | | | | | | | | | | | | | | | | | Discern the SoMs based on the presence of SPI flash to support both variants of the SoM, one booting from SPI NOR and one booting from eMMC. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com>
* | ARM: at91: ma5d4: Enable random ethaddrMarek Vasut2017-06-291-0/+1
| | | | | | | | | | | | Use random ethaddr by default in case no ethaddr is set. Signed-off-by: Marek Vasut <marex@denx.de>
* | ARM: at91: ma5d4: Switch environment start to eMMCMarek Vasut2017-06-291-6/+5
| | | | | | | | | | | | | | | | | | The redesigned version of the SoM which was released onto the market does no longer contain SPI flash, but boots from the eMMC. Move the environment storage to the eMMC. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com>
* | ARM: at91: ma5d4: Boot from MMC2 when using SAM-BAMarek Vasut2017-06-291-0/+18
| | | | | | | | | | | | | | | | | | | | | | Continue loading U-Boot from MMC2 when the SPL was loaded using SAM-BA loader. This allows the board to boot system from the removable media instead of the eMMC, which is useful for commissioning purposes. When booting from the eMMC, always boot from it as it is not possible to boot from the SD interface directly. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com>
* | ARM: at91: ma5d4: Enable support for booting from eMMCMarek Vasut2017-06-291-0/+9
| | | | | | | | | | | | | | | | The SoM has been redesigned to work around bug in the SoC and is now capable of booting from the eMMC. Add support for booting from eMMC. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com>
* | ARM: at91: ma5d4: Swap SD/MMC controller orderMarek Vasut2017-06-292-8/+7
| | | | | | | | | | | | | | | | | | The SDHCI1 is the primary boot controller on rev. 2.1 SoM, which is the version available on the market. Swap the controller order to match this and future versions of the SoM. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com>
* | ARM: at91: ma5d4: Init SD/MMC controller in SPLMarek Vasut2017-06-291-0/+6
| | | | | | | | | | | | | | | | Init the controllers, otherwise the board cannot boot from SD/MMC. This boot option is new on rev. 2.1 SoM . Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com>
* | ARM: at91: ma5d4: Enable DFU and UMSMarek Vasut2017-06-292-0/+12
| | | | | | | | | | | | | | Enable DFU and USB mass storage support for the DENX MA5D4 SoM. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com>
* | ARM: at91: ma5d4: Reset CAN controllers lateMarek Vasut2017-06-291-6/+6
| | | | | | | | | | | | | | | | | | The CAN controllers need slight delay between toggling of their reset line. Move this action into board_init(), otherwise timer will not be initialized and the board might hang. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com>