- Jun 14, 2017
-
-
git://git.denx.de/u-boot-tegraTom Rini authored
-
Tom Rini authored
It turns out this change was not intended to be merged and as such, revert it. This reverts commit cdde7de0. Reported-by:
Manfred Schlaegl <manfred.schlaegl@ginzinger.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jun 12, 2017
-
-
Stephen Warren authored
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>
-
Lokesh Vutla authored
commit 06507988 ("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 06507988. Fixes: 06507988 ("board: am335x: Introduce scale_vcores") Reported-by:
Emmanuel Vadot <manu@bidouilliste.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Semen Protsenko authored
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>
-
Semen Protsenko authored
Increase the size of u-boot.img, so that it conforms with new DFU configuration (see commit [1]). [1] 7a53a1a8 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>
-
Semen Protsenko authored
Increase the size of u-boot.img, so that it conforms with new DFU configuration (see commit [1]). [1] 7a53a1a8 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>
-
mario.six@gdsys.cc authored
Add myself as mpc83xx custodian.
-
Heiko Schocher authored
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>
-
Cooper Jr., Franklin authored
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: 1743d040 ("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>
-
Lothar Waßmann authored
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>
-
Lothar Waßmann authored
commit 06a040a3 ("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>
-
Axel Lin authored
Current code does not set output level in bcm6345_gpio_direction_output, fix it. Signed-off-by:
Axel Lin <axel.lin@ingics.com>
-
Lothar Waßmann authored
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>
-
Lothar Waßmann authored
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>
-
Lothar Waßmann authored
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>
-
Lothar Waßmann authored
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 53fd4b8c ("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>
-
Patrice Chotard authored
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>
-
Patrice Chotard authored
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>
-
Simon Glass authored
Assigning a variable to itself is not necessary. Drop this and also add a check for malloc() failure. Signed-off-by:
Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 161418) Fixes: 111bcc4f (rockchip: mkimage: pad the header to 8-bytes (using a 'nop') for RK3399)
-
Simon Glass authored
The current implementation makes it look like the 'if (from_spl)' part is dead code because these features are not enabled for sandbox. We could enable it for sandbox_spl, but this is not done yet (it requires sharing memory between SPL and U-Boot proper which is in fact supported). It is probably nicer to avoid #ifdef anyway. Change it. Signed-off-by:
Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163244) Fixes: 824bb1b4 (bootstage: Support SPL)
-
Simon Glass authored
Suppress a warning on next = next->sibling. Signed-off-by:
Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163245) Fixes 644ec0a9 (dm: core: Add livetree access functions)
-
Simon Glass authored
We know that uclass_get_device() and device_find_child_by_of_offset() do not return NULL for dev when they succeeds but coverity does not. Add an extra check to hopefully keep it happy. Signed-off-by:
Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163246) Fixes: 0753bc2d (dm: Simple Watchdog uclass)
-
Simon Glass authored
We know that uclass_get_device() does not return NULL for dev when it succeeds but coverity does not. Add an extra check to hopefully keep it happy. Signed-off-by:
Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163247) Fixes: 0753bc2d (dm: Simple Watchdog uclass)
-
Simon Glass authored
We know that fdt_getprop() does not return NULL when len is > 0 but coverity does not. Add an extra check to keep it happy. Signed-off-by:
Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163248)
-
Simon Glass authored
We know that fdt_getprop() does not return NULL when len is > 0 but coverity does not. Add an extra check to keep it happy. Signed-off-by:
Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163249) Fixes: bc80295b (fdt: Add get commands to fdt)
-
Simon Glass authored
Since the parameter can be NULL we must be careful not to dereference it in this case. Signed-off-by:
Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163250) Fixes: 1043d0a0 (fdt: Add fdtgrep tool)
-
Simon Glass authored
We should not use an open-coded value here. Use sizeof() instead. Signed-off-by:
Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163252) Fixes: 43c6bdd0 (edid: Add HDMI flag to timing info)
-
Simon Glass authored
We know that uclass_get_device() does not return NULL for dev when it succeeds but coverity does not. Add an extra check to hopefully keep it happy. Signed-off-by:
Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 161690) Fixes: 43b41566 (dm: sandbox: pwm: Add a basic pwm test)
-
Heiko Schocher authored
There was for long time no activity in the 5xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 5xx, so remove it. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
There was for long time no activity in the 8260 area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 8260, so remove it. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
There was for long time no activity in the 8xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 8xx, so remove it (with a heavy heart, knowing that I remove here the root of U-Boot). Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Semen Protsenko authored
One can obtain those variables using next commands: $ fastboot getvar cpu $ fastboot getvar secure $ fastboot getvar board_rev $ fastboot getvar userdata_size Those variables are needed for fastboot.sh script. Signed-off-by:
Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Semen Protsenko authored
One can obtain those variables using next commands: $ fastboot getvar cpu $ fastboot getvar secure $ fastboot getvar board_rev $ fastboot getvar userdata_size Those variables are needed for fastboot.sh script. Signed-off-by:
Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Semen Protsenko authored
This patch reuses new option, which allows us to expose variables from environment to "fastboot getvar" command. Those variables must be of "fastboot.%s" format. Signed-off-by:
Sam Protsenko <semen.protsenko@linaro.org>
-
Manfred Schlaegl authored
Using u-boot-2017.05 on i.MX6UL we ran into following problem: Initially U-Boot could be started normally. If we added one random command in configuration, the newly generated image hung at startup (last output was DRAM: 256 MiB). We tracked this down to a data abort within relocation (relocated_code). relocated_code in arch/arm/lib/relocate.S copies 8 bytes per loop iteration until the source pointer is equal to __image_copy_end. In a good case __image_copy_end was aligned to 8 bytes, so the loop stopped as suggested, but in an errornous case __image_copy_end was not aligned to 8 bytes, so the loop ran out of bounds and caused a data abort exception. This patches solves the issue by aligning __image_copy_end to 8 byte using the linker script related to arm. I don't know if it's the correct way to solve this, so some review would be very appreciated.
-
- Jun 10, 2017
-
-
git://git.denx.de/u-boot-dmTom Rini authored
-
Tom Rini authored
When we don't have CONFIG_BLK defined we don't have a forward declaration of struct udevice, and thus get a warning about it on blk_get_from_parent(), which we only have when CONFIG_BLK is set. Move the declaration of blk_get_from_parent() to be with the other CONFIG_BLK parts. Fixes 9f103b9c ("dm: blk: Add a way to obtain a block device from ...") Signed-off-by:
Tom Rini <trini@konsulko.com>
-
git://git.denx.de/u-boot-videoTom Rini authored
-
git://git.denx.de/u-boot-mmcTom Rini authored
-