- Feb 06, 2020
-
-
The i.MX8 has two USB controllers: USBOH and USB3. The USBOH reuses previous i.MX6/7. It has same PHY IP as i.MX7ULP but NC registers are same as i.MX7D. So add its support in ehci-mx6 driver. Also the driver is updated to remove build warning for 64 bits CPU. Signed-off-by:
Ye Li <ye.li@nxp.com> (cherry picked from commit cf0dd3af4c1d6d96e7394da46258e19cf281c6f0)
-
Add a driver for the regulators in the the DA9063 PMIC. Robert Beckett: move regulator modes to header so board code can set modes. Correct mode mask used in ldo_set_mode. Signed-off-by:
Martin Fuzzey <martin.fuzzey@flowbird.group> Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
This adds the basic register access operations and child regulator binding (if a regulator driver exists). Robert Beckett: simplify accesses by using bottom bit of address as offset overflow. This avoids the need to track which page we are on. Signed-off-by:
Martin Fuzzey <martin.fuzzey@flowbird.group> Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Some PMICs (such as the DA9063) have non-contiguous register maps. Attempting to read the non implemented registers returns an error rather than a dummy value which causes 'pmic dump' to terminate prematurely. Fix this by allowing the PMIC driver to return -ENODATA for such registers, which will then be displayed as '--' by pmic dump. Use a single error code rather than any error code so that we can distinguish between a hardware failure reading the PMIC and a non implemented register known to the driver. Signed-off-by:
Martin Fuzzey <martin.fuzzey@flowbird.group> Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Some devices (2 wire eeproms for example) use some bits from the chip address to represent the high bits of the offset instead of or as well as using multiple bytes for the offset, effectively stealing chip addresses on the bus. Add a chip offset mask that can be set for any i2c chip which gets filled with the offset overflow during offset setup. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com> Signed-off-by:
Ian Ray <ian.ray@ge.com>
-
Frieder Schrempf authored
In order to auto-select an option from the pxe boot menu, that matches the detected board, we check the board model string in the devicetree and set the default menu selection, if it matches the label of the menu entry and there is no default selection already set. This is useful in combination with SPL that loads a FIT image with U-Boot and multiple DTBs. SPL can detect the board and choose the matching configuration in the FIT by using board_fit_config_name_match(). Signed-off-by:
Frieder Schrempf <frieder.schrempf@kontron.de>
-
Frieder Schrempf authored
In order to make it possible to auto select a default entry by matching the data of the menu entries by an external matching function, we add some helpers and expose the menu_set_default_by_item_data_match() function. Signed-off-by:
Frieder Schrempf <frieder.schrempf@kontron.de>
-
- Feb 05, 2020
-
-
Frieder Schrempf authored
The MX25V8035F is a 8Mb SPI NOR flash and the MX25R1635F is very similar, but has twice the size (16Mb) and supports a wider supply voltage range. They were tested on the Kontron Electronics i.MX6UL and i.MX8MM SoMs. Signed-off-by:
Frieder Schrempf <frieder.schrempf@kontron.de>
-
- Jan 23, 2020
-
-
Frieder Schrempf authored
Reading the MAC address from ROM is often a standard use case and should not produce a warning. Signed-off-by:
Frieder Schrempf <frieder.schrempf@kontron.de>
-
Frieder Schrempf authored
In cases where the MDIO bus of one FEC is shared and connected to multiple PHYs, instead of setting CONFIG_FEC_MXC_MDIO_BASE, we can also detect the correct base by looking for a "mdio" subnode in the DT. This is currently only applied to i.MX6SX/UL/ULL and it is still possible to overwrite by setting CONFIG_FEC_MXC_MDIO_BASE. Signed-off-by:
Frieder Schrempf <frieder.schrempf@kontron.de>
-
Frieder Schrempf authored
This adds the support for Toshiba SPI NAND chips from the Linux kernel. Signed-off-by:
Frieder Schrempf <frieder.schrempf@kontron.de>
-
Frieder Schrempf authored
To support the SPI MEM API, instead of modifying the existing U-Boot driver, this patch adds a port of the existing Linux driver. This also has the advantage that porting changes and fixes from Linux will be easier. Signed-off-by:
Frieder Schrempf <frieder.schrempf@kontron.de>
-
Perform the replacement to allow platforms use non-DM SPI flash access in SPL/TPL. This is thus far needed on platforms with size constraints. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Jagan Teki <jagan@openedev.com> Cc: Vignesh R <vigneshr@ti.com> Reviewed-by:
Vignesh R <vigneshr@ti.com>
-
- Jan 06, 2020
-
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jan 04, 2020
-
-
Tom Rini authored
Adam Ford reports that this change breaks booting on da850-evm and Bartosz Golaszewski agrees that with the impending release we should revert the change for now. With that noted: This reverts commit 21a4d80a. Cc: Bartosz Golaszewski <brgl@bgdev.pl> Tested-by:
Adam Ford <aford173@gmail.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jan 03, 2020
-
-
Tom Rini authored
- Fixes for host tools with musl C library - Two fixes for TI K3 platforms
-
Lokesh Vutla authored
On K3 devices there are 2 conditions where R5F can deadlock: 1.When software is performing series of store operations to cacheable write back/write allocate memory region and later on software execute barrier operation (DSB or DMB). R5F may hang at the barrier instruction. 2.When software is performing a mix of load and store operations within a tight loop and store operations are all writing to cacheable write back/write allocates memory regions, R5F may hang at one of the load instruction. To avoid the above two conditions disable linefill optimization inside Cortex R5F which will make R5F to only issue up to 2 cache line fills at any point of time. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Lokesh Vutla authored
Update the ddr settings to use the DDR reg config tool rev 0.2.0. This reduces the aging count(in DDRSS_CTL_274_DATA reg) to 15 in-order to avoid DSS underflow errors. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by:
Kevin Scholz <k-scholz@ti.com>
-
Sergei Trofimovich authored
The build failure was originally reported on arm64-musl target at https://bugs.gentoo.org/703132. Here is the amd64-musl variant: ``` $ LANG=C make CROSS_COMPILE=x86_64-gentoo-linux-musl- tools-only_defconfig -j$(nproc) $ LANG=C make CROSS_COMPILE=x86_64-gentoo-linux-musl- tools-all -j$(nproc) ... include/u-boot/crc.h:37:44: error: unknown type name 'uint'; did you mean 'int'? 37 | void crc16_ccitt_wd_buf(const uint8_t *in, uint len, | ^~~~ | int ``` Note: 'uint' is not defined there. On glibc 'uint' comes from <sys/types.h> and happens to work on most .c files. The change imports 'uint' declaration from '<compiler.h>'. Bug: https://bugs.gentoo.org/703132 Signed-off-by:
Sergei Trofimovich <slyfox@gentoo.org>
-
Sergei Trofimovich authored
The build failure was originally reported on arm64-musl target at https://bugs.gentoo.org/703132. Here is the amd64-musl variant: ``` $ LANG=C make CROSS_COMPILE=x86_64-gentoo-linux-musl- tools-only_defconfig -j$(nproc) $ LANG=C make CROSS_COMPILE=x86_64-gentoo-linux-musl- tools-all -j$(nproc) ... In file included from tools/env/../../env/flags.c:7, from tools/env/env_flags.c:1: include/env.h:159:1: error: unknown type name 'ulong'; did you mean 'long'? 159 | ulong env_get_ulong(const char *name, int base, ulong default_val); | ^~~~~ | long ``` Note: 'ulong' is not defined there. On glibc 'ulong' comes from <sys/types.h>: ```c /* Old compatibility names for C types. */ typedef unsigned long int ulong; ``` On musl it comes from <sys/types.h> as well but from under different guards: ```c typedef unsigned long u_long, ulong; ``` The change inlines 'ulong' define similar to 'uint' define. Bug: https://bugs.gentoo.org/703132 Signed-off-by:
Sergei Trofimovich <slyfox@gentoo.org>
-
- Jan 02, 2020
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-videoTom Rini authored
- fix missing graphics output on some x86 boards - avoid using #ifdef in video code - add .gitignore for video font *.S files
-
Dario Binacchi authored
The scripts/Makefile.lib generates an assembler file (*.S) to wrap the font data for each file of type ttf defined in Kconfig. Signed-off-by:
Dario Binacchi <dariobin@libero.it>
-
https://gitlab.denx.de/u-boot/custodians/u-boot-rockchipTom Rini authored
- Fix latest mainline kernel for rk3308 - Update rk3288-evb config to suport OP-TEE - Fix for firefly-px30 DEBUG_UART channel and make it standalone - Script make_fit_atf add python3 support - Fix rk3328 timer with correct COUNTER_FREQUENCY - Fix rk3328 ATF support with enable spl-fifo-mode
-
Tom Rini authored
- Assorted test.py fixes - Other minor changes
-
Simon Glass authored
This test currently does not run because it specifies the sandbox board instead of sandbox_spl. Fix it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Igor Opaniuk authored
My address at Linaro doesn't exist anymore, so people keep getting mail delivery error responses. Map this address to the actual one. Signed-off-by:
Igor Opaniuk <igor.opaniuk@gmail.com> Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
Stephen Warren authored
get_env() was originally written to strip() the output of printenv to isolate the test from any whitespace changes in printenv's output. However, this throws away any whitespace in the variable value, which can cause issues when test code expects to see that whitespace. In fact, printenv never adds any whitespace at all, so there's no need to strip. The strip causes a practical problem for test_env_echo_exists() if state_test_env.get_existent_var() happens to choose a U-Boot variable that contains trailing whitespace. This is true for variable boot_targets. With Python 2, get_existent_var() never returned boot_targets so this issue never caused a practical problem. With Python 3, get_existent_var does sometimes return boot_targets, no doubt due to Python 3's different dict hash key order implementation, about 0.5-2% of the time, so this test appears intermittent. With the strip removed, this intermittency is solved, since the test passes for all possible U-Boot variables. Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
Robert P. J. Day authored
Various (mostly minor) spelling, grammar and punctuation tweaks for arch/arm/Kconfig. Signed-off-by:
Robert P. J. Day <rpjday@crashcourse.ca>
-
Dario Binacchi authored
As described in doc/README.asn1 document the tools/asn1_compiler is used to "generate bytecode as a C file (*.asn1.[ch]) from *.asn1 file". Signed-off-by:
Dario Binacchi <dariobin@libero.it>
-
Dario Binacchi authored
Add the tool to the ignore list to prevent being marked as unversioned. Signed-off-by:
Dario Binacchi <dariobin@libero.it> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
This code does not really need to use #ifdef. We can use if() instead and gain build coverage without impacting code size. Change the #ifdefs to use IS_ENABLED(), etc., instead. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This code does not really need to use #ifdef. We can use if() instead and gain build coverage without impacting code size. Change the #ifdefs to use CONFIG_IS_ENABLED() instead. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This code does not really need to use #ifdef. We can use if() instead and gain build coverage without impacting code size. Change the #ifdefs to use IS_ENABLED() instead. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This code does not really need to use #ifdef. We can use if() instead and gain build coverage without impacting code size. Change the #ifdefs to use IS_ENABLED() instead. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Most x86 boards that use video make use of 32bpp graphics. Enable this by default. This fixes missing graphics output on some x86 boards. Also remove the unnecessary 'default n' while we are here. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Dec 31, 2019
-
-
Kever Yang authored
Enable the ATF in SPL and adjust the SPL STACK/HEAD at the same time to support ATF entry at 0x40000. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Since mmc to sram can't do dma, add patch to prevent aborts transfering TF-A parts. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
The arch timer needs COUNTER_FREQUENCY to get correct counter, add it to make the timer works correct. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
- Dec 28, 2019
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-imxTom Rini authored
Fixes for 2020.01 ----------------- - Fixes for Nitrogen6x - Fix corruption for mx51evk - colibri i.MX6: fix broken ESDHC conversion - mx6sxsabresd: fix broken mmcdev - imx6q_logic: cleanup boot sequence - update ATF for imx8mq_evk - pfuze: fix pmic_get() Travis CI: https://travis-ci.org/sbabic/u-boot-imx/builds/630007464
-
- Dec 27, 2019
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-sunxiTom Rini authored
- Orange Pi Zero Plus 2 support - sunxi psci, prcm fixes
-