- 09 Aug, 2019 14 commits
-
-
Marek Vasut authored
Fix various type warnings when building this driver for 64bit machine. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Marek Vasut authored
The R8A77980 V3H gether needs a few minor adjustments to the sh_eth driver, add them to support ethernet on R8A77980. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
https://gitlab.denx.de/u-boot/custodians/u-boot-mmcTom Rini authored
- mmc test fix - sdhci driver fix
-
https://gitlab.denx.de/u-boot/custodians/u-boot-rockchipTom Rini authored
- Add rk3399 boards Khadas Edge/-V/-Captain - Add fully souce code support for rk3328 including TPL/DRAM init - Enable boot from eMMC for rk3399 rock960/ficus boards - turn on the IO supply for dw_mmc
-
Peng Fan authored
Commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Vincent Tinelli <vincent.tinelli@intel.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com> Acked-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Peng Fan authored
Commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Ramon Fried <rfried.dev@gmail.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Matthias Brugger <mbrugger@suse.com> Cc: Thomas Fitzsimmons <fitzsim@fitzsim.org> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Wenyou Yang <wenyou.yang@atmel.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com> Tested-by:
Eugen Hristev <eugen.hristev@microchip.com>
-
Michal Simek authored
Test is using random command which has own Kconfig symbol CMD_RANDOM which already depends on CMD_MEMORY. That's why replace cmd_memory by cmd_random. Fixes: 09da18de ("test/py: add MMC/SD block write test") Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Peng Fan <peng.fan@nxp.com>
-
Matwey V. Kornilov authored
Since commit 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. Move the mmc field initialization before sdhci_setup_cfg() call to avoid crash on mmc pointer dereference. [this patch is based on commit 41a9fab8 ("mmc: mv_sdhci: fix uninitialized pointer deref on probe") by Baruch Siach] Fixes: 3d296365 ("mmc: sdhci: Add support for sdhci-caps-mask") Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Matwey V. Kornilov <matwey.kornilov@gmail.com> Reviewed-by:
Peng Fan <peng.fan@nxp.com> Tested-by: Michal Simek <michal.simek@xilinx.com> (on zcu102/zc706)
-
Faiz Abbas authored
Select SPL_HS200_SUPPORT if SPL_HS400_SUPPORT is selected as is being done for the U-boot case. Signed-off-by:
Faiz Abbas <faiz_abbas@ti.com> Reviewed-by:
Peng Fan <peng.fan@nxp.com>
-
- 08 Aug, 2019 3 commits
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-marvellTom Rini authored
- Remove unused bcm2835 watchdog driver (still non-DM) - Cosmetic fixup of mtk_wdt.c
-
Sam Protsenko authored
Signed-off-by:
Sam Protsenko <semen.protsenko@linaro.org>
-
Tom Rini authored
- Misc Android / AVB bugfixes (including updating the header from Android). - MediaTek updates - Other assorted bugfixes.
-
- 07 Aug, 2019 14 commits
-
-
Alex Deymo authored
This takes the latest changes from AOSP from the file include/bootimg/bootimg.h from the repository: https://android.googlesource.com/platform/system/tools/mkbootimg and update the U-Boot version with the latest changes. This file keeps the changes from AOSP to a minimum: * Comments were converted from C++ to C style. * Code inside __cplusplus #ifdef blocks were removed. * C++11 struct extensions replaced with a single struct. Signed-off-by:
Alex Deymo <deymo@google.com> Reviewed-by:
Sam Protsenko <semen.protsenko@linaro.org>
-
Sam Protsenko authored
Do not attempt to print fdt info if root node wasn't found. Signed-off-by:
Sam Protsenko <semen.protsenko@linaro.org>
-
Julius Werner authored
The Linux ramdisk should always be decompressed by the kernel itself, not by U-Boot. Therefore, the 'compression' node in the FIT image should always be set to "none" for ramdisk images, since the only point of using that node is if you want U-Boot to do the decompression itself. Yet some systems populate the node to the compression algorithm used by the kernel instead. This used to be ignored, but now that we support decompression of all image types it becomes a problem. Since ramdisks should never be decompressed by U-Boot anyway, this patch adds a special exception for them to avoid these issues. Still, setting the 'compression' node like that is wrong in the first place, so we still want to print out a warning so that third-party distributions doing this can notice and fix it. Signed-off-by:
Julius Werner <jwerner@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de> Tested-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
Patrick Delaunay authored
Avoid to flush buffer when silent console is activated as the console can be reactivate later, after relocation, when the env will be updated with the saved one. Solve issue (missing beginning of U-Boot trace) when: - CONFIG_SILENT_CONSOLE is activated - silent=1 is defined in default environment (CONFIG_EXTRA_ENV_SETTINGS) - silent is removed in saved environment with: > env delete silent; env save Only functional when PRE_CONSOLE_BUFFER is activated. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Patrick Delaunay authored
Update the "silent" property with the variable "silent" get from saved environment, it solves the issue when: - CONFIG_SILENT_CONSOLE and CONFIG_SYS_CONSOLE_IS_IN_ENV are activated - silent is not defined in default environment - silent is requested in saved environment with: > env set silent 1; env save On next reboot the console is not disabled as expected after relocation and the environment load from flash (the callback is not called when the INSERT is requested in the created hash table) Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Sam Protsenko authored
When building U-Boot with AVB enabled, compiler shows next warnings: cmd/avb.c: In function 'do_avb_read_pvalue': cmd/avb.c:371:18: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] printf("Read %ld bytes, value = %s\n", bytes_read, ~~^ ~~~~~~~~~~ %d cmd/avb.c: In function 'do_avb_write_pvalue': cmd/avb.c:404:19: warning: format '%ld' expects argument of type 'long int', but argument 2 has type '__kernel_size_t' {aka 'unsigned int'} [-Wformat=] printf("Wrote %ld bytes\n", strlen(value) + 1); ~~^ ~~~~~~~~~~~~~~~~~ %d Fix those by using "%zu" specified. Signed-off-by:
Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by:
Igor Opaniuk <igor.opaniuk@gmail.com>
-
Sam Protsenko authored
When having only these AVB related configs enabled: CONFIG_AVB_VERIFY=y CONFIG_CMD_AVB=y CONFIG_LIBAVB=y build fails with next errors: common/avb_verify.c: In function 'read_persistent_value': common/avb_verify.c:867:6: warning: implicit declaration of function 'get_open_session' common/avb_verify.c:870:45: error: 'struct AvbOpsData' has no member named 'tee' common/avb_verify.c:894:7: warning: implicit declaration of function 'invoke_func' common/avb_verify.c: In function 'write_persistent_value': common/avb_verify.c:931:45: error: 'struct AvbOpsData' has no member named 'tee' Guard read_persistent_value() and write_persistent_value() functions by checking if CONFIG_OPTEE_TA_AVB is enabled (as those are only used in that case) to fix the build with mentioned configuration. Signed-off-by:
Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by:
Igor Opaniuk <igor.opaniuk@gmail.com>
-
Ramon Fried authored
Fix the following Coverity warning: CID 244086: Incorrect expression (BAD_COMPARE) Comparing pointer "ep_bar" against NULL using anything besides == or is likely to be incorrect. Fixes: 914026d2 ("drivers: pci_ep: Introduce UCLASS_PCI_EP uclass") Signed-off-by:
Ramon Fried <rfried.dev@gmail.com>
-
Ryder Lee authored
This adds high speed interface subsystem - hifsys (i.e. PCIe and USB) for MT7623 SoC and enables its reset controller. The control block is shared with ethsys and accordingly rename the related defines. Tested-by:
Frank Wunderlich <frank-w@public-files.de> Signed-off-by:
Ryder Lee <ryder.lee@mediatek.com>
-
Ryder Lee authored
This adds missing hifsys reset parts in header files. Tested-by:
Frank Wunderlich <frank-w@public-files.de> Signed-off-by:
Ryder Lee <ryder.lee@mediatek.com>
-
Ryder Lee authored
Add MediaTek team as designated reviewer. Signed-off-by:
Ryder Lee <ryder.lee@mediatek.com>
-
Heiko Schocher authored
if CONFIG_AUTOBOOT_KEYED, CONFIG_AUTOBOOT_ENCRYPTION and CONFIG_AUTOBOOT_STOP_STR_SHA256 are enabled in conjunction with CONFIG_SHA_HW_ACCEL and CONFIG_FSL_CAAM, we get the Error when pressing a key while waiting for bootdelay: Error: Address arguments are not aligned CAAM was not setup properly or it is faulty Reason is, that used variables are not cache aligned, so malloc this variables cache aligned. Probably this is also a bugfix for other hw accelerators than CAAM. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heinrich Schuchardt authored
Provide a concise description of the assert() macro. Point out that the tested expression is always executed, irrespective of the value of _DEBUG. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Weijie Gao authored
The original mtk_qspi driver has been removed. We change MT7629 to use newly added mtk-spimem driver. Signed-off-by:
Weijie Gao <weijie.gao@mediatek.com> Acked-by:
Jagan Teki <jagan@amarulasolutions.com>
-
- 05 Aug, 2019 9 commits
-
-
Matwey V. Kornilov authored
Now we have our own TPL implementation. Remove obsolete notes. Signed-off-by:
Matwey V. Kornilov <matwey.kornilov@gmail.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Matwey V. Kornilov authored
Until now, binary TPL by Rockchip has been required for booting procedure. Starting from this commit we may use only u-boot to boot the device. Note, that using binary TPL instead of U-boot TPL is still working. Signed-off-by:
Matwey V. Kornilov <matwey.kornilov@gmail.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Enable driver options for TPL/SPL in evb-rk3328_defconfig. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> [cherry picked from commit https://github.com/rockchip-linux/u-boot/commit/df4f40acb449815384e397dcaf5b618bbc6cd855 with minor modifications] Signed-off-by:
Matwey V. Kornilov <matwey.kornilov@gmail.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Enable TPL support and some related option in Kconfig. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> [cherry picked from commit https://github.com/rockchip-linux/u-boot/commit/430b01462bf3f24aaf7920ae2587a6943c39ab5d with minor modifications] Signed-off-by:
Matwey V. Kornilov <matwey.kornilov@gmail.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Update dmc node for full feature driver. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> [cherry picked from commit https://github.com/rockchip-linux/u-boot/commit/1e1495636574c78ea9d3af3e0aae95d5204612d6 with minor modifications] Signed-off-by:
Matwey V. Kornilov <matwey.kornilov@gmail.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
This driver supports DDR3/LPDDR3/DDR4 SDRAM initialization. Signed-off-by:
YouMin Chen <cym@rock-chips.com> Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> [cherry picked from commit https://github.com/rockchip-linux/u-boot/commit/9fb0777ec3cc6a89af9d2e0969c3bfe58306a88d with minor modifications] Signed-off-by:
Matwey V. Kornilov <matwey.kornilov@gmail.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Matwey V. Kornilov authored
Split u-boot specific dts configuration to separate rk3328-evb-u-boot.dtsi Signed-off-by:
Matwey V. Kornilov <matwey.kornilov@gmail.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Manivannan Sadhasivam authored
This commits enables booting from eMMC when using SPL on 96Boards Ficus board by adding SDHCI to boot order. Since the SDHCI driver already has the reloc flag, this works straightaway. While we are at it, let's also include the common u-boot dtsi for rk3399. Signed-off-by:
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Manivannan Sadhasivam authored
This commits enables booting from eMMC when using SPL on 96Boards Rock960 board by adding SDHCI to boot order. Since the SDHCI driver already has the reloc flag, this works straightaway. While we are at it, let's also include the common u-boot dtsi for rk3399. Signed-off-by:
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-