summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'u-boot-imx-20190405' of git://git.denx.de/u-boot-imxTom Rini2019-04-058-25/+11
|\ | | | | | | | | | | | | | | Fixes for 2019.04 - fix bashism for MX8 - fix ethernet for MX53 - fix docs for i.MX8
| * DTS: Fix ETH PHY reset on HSC|DDC boards (imx53)Lukasz Majewski2019-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | After the commit: "eth: dm: fec: Add gpio phy reset binding" SHA1: efd0b791069af93e9d439a70d1fe2ae8994dbbfa The FEC ETH driver switched to PHY GPIO reset performed with data defined in DTS. For the HSC|DDC boards the GPIO reset signal is active low and hence the wrong DTS description must be changed (otherwise the reset for ETH is not properly setup). Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * cosmetic: Remove not needed string from kp_imx53.h configLukasz Majewski2019-04-021-2/+0
| | | | | | | | Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * cosmetic: config: Remove empty #ifdefsLukasz Majewski2019-04-024-13/+0
| | | | | | | | | | | | | | | | | | After running tools/moveconfig.py it turned out that for various boards there are an empty #ifdef statements. Remove them to clean u-boot source code. Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * imx8mq_evk: README: Make the underline marker fill the whole sentenceFabio Estevam2019-04-021-5/+5
| | | | | | | | | | | | | | Let the underline marker "=" fill the whole sentence for better readability. Signed-off-by: Fabio Estevam <festevam@gmail.com>
| * imx8mq_evk: README: Fix a typo in the destination pathFabio Estevam2019-04-021-1/+1
| | | | | | | | | | | | | | The DDR firmware binaries should be copied to '$(srctree)', so fix a typo. Signed-off-by: Fabio Estevam <festevam@gmail.com>
| * imx8mq_evk: README: Need to copy bl31.bin to U-Boot source treeFabio Estevam2019-04-021-1/+2
| | | | | | | | | | | | | | | | | | After building ATF it is needed to copy the generated bl31.bin file to the U-Boot source tree. Make this step explicit in the instructions. Signed-off-by: Fabio Estevam <festevam@gmail.com>
| * tools/imx8m_image.sh: remove bashismBaruch Siach2019-04-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a single '=' to test string equality for compatibility with non-bash shells. Otherwise, if /bin/sh is dash, build fails: ./tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpected operator ./tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpected operator ./tools/imx8m_image.sh: 15: [: spl/u-boot-spl-ddr.bin: unexpected operator ./tools/imx8m_image.sh: 15: [: spl/u-boot-spl-ddr.bin: unexpected operator WARNING './spl/u-boot-spl-ddr.bin' not found, resulting binary is not-functional Signed-off-by: Baruch Siach <baruch@tkos.co.il> Tested-by: Chris Spencer <christopher.spencer@sea.co.uk>
* | Merge branch 'master' of git://git.denx.de/u-boot-usbTom Rini2019-04-031-1/+1
|\ \ | | | | | | | | | - Documentation fix
| * | doc: Fix outdated ohci board hook documentationKrzysztof Kozlowski2019-04-021-1/+1
| | | | | | | | | | | | | | | | | | The ohci driver calls board_usb_init(), not usb_board_init(). Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
* | | Merge branch '2019-04-03-master-imports'Tom Rini2019-04-035-3/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | - Important Khadas VIM2 fix - Build fix for macOS Mojave - Build fix for gcc-4.7 for host tools.
| * | | tools/Makefile: build host tools with -std=gnu99Thomas Petazzoni2019-04-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parts of the code are using C99 constructs (such as variables declared inside loops), but also GNU extensions (such as typeof), so using -std=gnu99 is necessary to build with older versions of gcc that don't default to building with gnu99. It fixes the following build failure: ./tools/../lib/crc16.c: In function "crc16_ccitt": ./tools/../lib/crc16.c:70:2: error: "for" loop initial declarations are only allowed in C99 mode for (int i = 0; i < len; i++) ^ ./tools/../lib/crc16.c:70:2: note: use option -std=c99 or -std=gnu99 to compile your code when building the host tools with gcc 4.7. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
| * | | fix compile error on macOS Mojave默默2019-04-032-1/+15
| | | |
| * | | configs: khadas_vim2: Fix defconfigNeil Armstrong2019-04-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Khadas VIM2 defconfig was missing the USB PHY config and two other misc configs to setup dram banks and call misc_init_r. Align it on the other Amlogic SoC based boards defconfig. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * | | phy: Also allow MESON_GXM for MESON_GXL_USB_PHYNeil Armstrong2019-04-031-1/+1
|/ / / | | | | | | | | | | | | | | | | | | The MESON_GXL_USB_PHY is also used on the Amlogic Meson GXM SoCs. Fixes: 2960e27e38 ("phy: Add Amlogic Meson USB2 & USB3 Generic PHY drivers") Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* | | travis-ci: fix at91 missing boardsEugen Hristev2019-04-021-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix missing at91 boards and split the at91 in two categories: at91 arm v7 at91 arm926esj which are the two main cores for the at91 architecture. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
* | | Merge branch 'master' of git://git.denx.de/u-boot-shTom Rini2019-04-0111-19/+16
|\ \ \ | |/ / |/| | | | | Minor fixes for the Alt board and PHY use on Gen2.
| * | ARM: rmobile: alt: Fix I2C bus numberMarek Vasut2019-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | The I2C bus number to access the PMIC is I2C 7, fix this. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | ARM: dts: rmobile: Activate I2C7 on AltMarek Vasut2019-03-301-0/+5
| | | | | | | | | | | | | | | | | | | | | Activate I2C7 on Alt to allow access to the PMIC. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | ARM: rmobile: rcar-gen2: Activate bootm_sizeMarek Vasut2019-03-301-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit d245059ff797 ("ARM: rmobile: rcar-gen3: Activate bootm_size") only fixed the superfluous CONFIG_SYS_BOOTMAPSZ for R-Car Gen3, even though it listed all affected boards. Apply the same fix to Gen2. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Fixes: d245059ff797 ("ARM: rmobile: rcar-gen3: Activate bootm_size") Cc: Eugeniu Rosca <erosca@de.adit-jv.com>
| * | ARM: rmobile: Fix PHY LED mode register maskMarek Vasut2019-03-307-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | The PHY LED mode register mask should be 0xc000 , not 0xc0000. Correct the mask to operate on the right bits. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | ARM: rmobile: alt: Synchronize defconfigMarek Vasut2019-03-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Synchronize the R8A7794 Alt defconfig, enable DM SPI, DM SPI FLASH and I2C driver support. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | ARM: rmobile: alt: Remove CLK2MHZ macroMarek Vasut2019-03-301-1/+0
| | | | | | | | | | | | | | | | | | | | | The CLK2MHZ macro is unused, remove it. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | ARM: rmobile: alt: Remove R8A7794_ETHERNET_BMarek Vasut2019-03-301-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | The R8A7794_ETHERNET_B config option is unused and based on the description, this is a setting which should be fully done on a DT level instead. Remove this config option. 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-sunxiTom Rini2019-04-011-0/+2
|\ \ \ | | | | | | | | | | | | - clk: sunxi: a10: Add CLK_AHB_GMAC
| * | | clk: sunxi: a10: Add CLK_AHB_GMACJagan Teki2019-04-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CLK_AHB_GMAC was suppose to be part of previous commit "clk: sunxi: Implement A10 EMAC clocks" add it so-that we can get rid of sunxi_set_gate warning on boot message. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
* | | | Merge tag 'u-boot-imx-20190401' of git://git.denx.de/u-boot-imxTom Rini2019-04-018-12/+53
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | Fixes for 2019.01 - pico-imx6ul: fix after conversion - engicam boards - pico-imx7d _ README due to hang with imx-usb-loader
| * | pico-imx7d: README: Recommend the usage of a USB hubFabio Estevam2019-03-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 9e3c0174da842 ("pico-imx7d: Add LCD support") we started to notice some hangs in U-Boot. There is not an issue on such commit per se, but due to the LCD support the current drawn is increased and this may cause issues when powering pico-imx7d-pi from USB. Some computers may be a bit strict with USB current draw and will shut down their ports if the draw is too high. The solution for that is to use an externally powered USB hub between the board and the host computer. Add such recommendation to the README file. Signed-off-by: Fabio Estevam <festevam@gmail.com>
| * | configs: icorem6: Use imx6 cratch register for bootcountJagan Teki2019-03-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SRAM address used for bootcount on exiting code is erasing previous count value when system reset from Linux. So use the dedicated imx6 scratch register, GPR2 to preserve the contents even if the system reset from Linux. Fixes: 4eb9aa39350e ("configs: imx6qdl_icore_mmc: Enable watchdog and bootcounter") Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Tested-by: Shyam Saini <shyam.saini@amarulasolutions.com> Reviewed-by: Stefano Babic <sbabic@denx.de>
| * | configs: icore: Fix U-Boot proper loading from nandMichael Trimarchi2019-03-312-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SPL on Engicam i.Core M6 boards enabled DM, so it would require some malloc() pool before relocation in order to load U-Boot proper properly. So, enable SPL malloc() pool of 0x2000 size similarly like what we have used for icore mmc defconfigs. Reviewed-by: Jagan Teki <jagan@amarulasolutions.com> Tested-by: Shyam Saini <shyam.saini@amarulasolutions.com> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
| * | ARM: imx6q_logic: Enable UUID supportAdam Ford2019-03-312-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | With UUID support, the root can now point to UUID. This makes swiching between mmc 0 and mmc 1 easier by simplying changing mmcdev between 0 and 1. From there, the scripts handle the rest. Signed-off-by: Adam Ford <aford173@gmail.com>
| * | pico-imx6ul: Fix eMMC boot after DM_MMC conversionFabio Estevam2019-03-311-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After the DM_MMC conversion the following eMMC boot error is observed: U-Boot SPL 2019.04-rc4 (Mar 20 2019 - 18:53:28 +0000) Trying to boot from MMC1 MMC Device 0 not found spl: could not find mmc device 0. error: -19 SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### This happens because the SPL code does not initialize the SDHC pins and clock. Fix it by moving the original eMMC initialization from U-Boot proper to SPL. Reported-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Fabio Estevam <festevam@gmail.com> Tested-by: Fabio Berton <fabio.berton@ossystems.com.br> Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
| * | Merge branch 'master' of git://git.denx.de/u-bootStefano Babic2019-03-31760-1302/+1764
| |\ \ | | |/ | | | | | | Signed-off-by: Stefano Babic <sbabic@denx.de>
| * | board: tbs2910: Fix default environmentSoeren Moch2019-03-141-6/+6
| | | | | | | | | | | | | | | | | | | | | Especially fix usb keyboard support. Other changes are only for beautification. Signed-off-by: Soeren Moch <smoch@web.de>
* | | Merge tag 'video-fixes-for-2019.04-rc4' of git://git.denx.de/u-boot-videoTom Rini2019-03-311-25/+37
|\ \ \ | | | | | | | | | | | | sunxi HDMI clock fix
| * | | sunxi: video: HDMI: Fix clock setupJernej Skrabec2019-03-281-25/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, HDMI driver doesn't consider minimum and maximum allowed rate of pll3 (video PLL). It works most of the time, but not always. Consider monitor with resolution 1920x1200, which has pixel clock rate of 154 MHz. Current code would determine that pll3 rate has to be set to 154 MHz. However, minimum supported rate is 192 MHz. In this case video output just won't work. The reason why the driver is written in the way it is, is that at the time HDMI PHY and clock configuration wasn't fully understood. But now we have needed knowledge, so the issue can be fixed. With this fix, clock configuration routine uses full range (1-16) for clock divider instead of limited one (1, 2, 4, 11). It also considers minimum and maximum allowed rate for pll3. Fixes: 56009451d843 ("sunxi: video: Add A64/H3/H5 HDMI driver") Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
* | | | Merge tag 'rockchip-fixes-for-2019.04' of git://git.denx.de/u-boot-rockchipTom Rini2019-03-314-20/+77
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Last-minute fixes for Rockchip for 2019.04: - reverts the deprecation of the 'download-key' detection (with a full solution pending for the next release) - applies a temporary fix for the 32bit pinctrl registers on the RK3288
| * | | | pinctrl: rockchip: Add 32bit writing function for rk3288 gpio0 pinctrlDavid Wu2019-03-293-13/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are no higher 16 writing corresponding bits for pmu_gpio0's iomux/drive/pull at rk3288, need to read the value from register firstly. Add the flag to distinguish it from normal registers. Signed-off-by: David Wu <david.wu@rock-chips.com>
| * | | | Revert "rockchip: Drop call to rockchip_dnl_mode_check() for now"Philipp Tomsich2019-03-291-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to a final resolution not coming up in time for 2019.04 and following the consensus on the discussion, we'll keep this around for 2019.04 after all. This reverts commit 0d968ceb1ff63b0d220a571f438f0d5fe6350e88.
* | | | | dfu: usb: Update MAINTAINERS file regarding DFU/USB gadget supportLukasz Majewski2019-03-311-0/+5
| |_|_|/ |/| | | | | | | | | | | Signed-off-by: Lukasz Majewski <lukma@denx.de>
* | | | Merge branch '2019-03-29-master-imports'Tom Rini2019-03-295-6/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Bugfixes: - mmc: correct the HS400 initialization process - configs: ti: Move FIT image load address to avoid overwrite - lib: time: update module enable MACRO - Add mbrugger as RPi board maintainer, correct agraf's email address.
| * | | | lib: time: update module enable MACROKever Yang2019-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We'd better use correct way to check if module has enabled. for we have 3 timer MACRO: - CONFIG_TIMER - CONFIG_SPL_TIMER - CONFIG_TPL_TIMER Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
| * | | | doc/git-mailrc: correct entry 'agraf'Heinrich Schuchardt2019-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct Alex's email address. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Alexander Graf <agraf@csgraf.de>
| * | | | RPi: Add mbrugger as board maintainerMatthias Brugger2019-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I took over maintainership from Alex Graf with commit 3157bbfa18 ("rpi: Make Matthias maintainer") But I forgot to update the board maintainer file. This patch adds myself to the game. Signed-off-by: Matthias Brugger <mbrugger@suse.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Alexander Graf <agraf@csgraf.de>
| * | | | configs: ti: Move FIT image load address to avoid overwriteAndrew F. Davis2019-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The FIT image is loaded to 0x8700_0000 followed by extracting from that several large images also into the 0x8x00_0000 range. Large images can end up overwriting the FIT image as it is being extracted from. Move the FIT load address clear out to 0x9000_0000, this will require a board to have at least 256MB of DRAM, if less then more careful planning will be required for that platform. Signed-off-by: Andrew F. Davis <afd@ti.com>
| * | | | mmc: correct the HS400 initialization processBOUGH CHEN2019-03-291-2/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After the commit b9a2a0e2e9c0 ("mmc: Add support for downgrading HS200/HS400 to HS mode"), it add a parameter in mmc_set_card_speed() which indicates that the HS200/HS400 to HS downgrade is happening. During the HS400 initialization, first select to HS200, and config the related clock rate, then downgrade to HS mode. So here also need to config the downgrade value to be true for two reasons. First, make sure in the function mmc_set_card_speed(), after switch to HS mode, first config the clock rate, then read the EXT_CSD, avoid receiving data of EXT_CSD in HS mode at 200MHz. Second, after issue the MMC_CMD_SWITCH command, it need to wait a bit then switch bus properties. Test on i.MX8QM MEK board, some Micron eMMC will stuck in transfer mode in this case, and USDHC will never get data transfer complete status, cause the uboot hang. Signed-off-by: Haibo Chen <haibo.chen@nxp.com> Acked-by: Marek Vasut <marek.vasut@gmail.com>
* | | | Merge tag 'efi-2019-04-rc5-2' of git://git.denx.de/u-boot-efiTom Rini2019-03-295-11/+27
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Pull request for UEFI system for v2019.04-rc5-2 This patch series contains a bug fix for a double free in a UEFI unit test. The other patches are documentation only (except for the definition of two additional constants).
| * | | efi_loader: define development target in README.uefiHeinrich Schuchardt2019-03-281-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Describe the target scope of the UEFI implementation in U-Boot. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | | efi_loader: update TODOs in doc/README.uefiHeinrich Schuchardt2019-03-271-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following TODOs are closed: - GetNextVariableName is not implemented - event groups - manage events in a linked list Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | | MAINTAINERS: adjust git repository for EFI PAYLOADHeinrich Schuchardt2019-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The EFI PAYLOAD will use git://git.denx.de/u-boot-efi.git in future. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>