summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-12-05test: don't test for CONFIG_UNIT_TEST twiceHeinrich Schuchardt
Makefile already checks CONFIG_UNIT_TEST. There is point in checking it in test/Makefile again. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]>
2025-12-05test: print_display_buffer must consider 64bit supportHeinrich Schuchardt
Function print_buffer() does not support printing u64 on 32bit systems. Signed-off-by: Heinrich Schuchardt <[email protected]>
2025-12-05test: cmd/bdinfo: consider ARM architecture specific infoHeinrich Schuchardt
On ARM the bdinfo command prints architecture specific information. The test needs to accept these output lines. Signed-off-by: Heinrich Schuchardt <[email protected]> Acked-by: Ilias Apalodimas <[email protected]>
2025-12-05test: Let pytest indicate skipped C unit testsHeinrich Schuchardt
We invoke the ut command in test_ut.py. Currently we only check for failures. Instead we should also indicate if sub-tests were skipped. With this change we will get output like the following for skipped tests: test/py/tests/test_ut.py ..sssss......ss..............s.sssss.s.s... ================================ short test summary info ================================ SKIPPED [1] test/py/tests/test_ut.py:597: Test addrmap addrmap_test_basic has 1 skipped sub-test(s). SKIPPED [1] test/py/tests/test_ut.py:597: Test bdinfo bdinfo_test_eth has 4 skipped sub-test(s). Signed-off-by: Heinrich Schuchardt <[email protected]>
2025-12-05Merge tag 'u-boot-stm32-20251205' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-stm into next CI: https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/28641 _ update LED management for STMicroelectronics boards _ Add 1 GiB DRAM support for STM32MP13x DHCOR SoM _ Fix 512 MiB DRAM support for STM32MP13x DHCOR SoM _ Fix handling OPTEE in middle of the DRAM _ Add missing debug UART build for STM32MP1 DHSOM
2025-12-05ARM: dts: stm32: Drop "u-boot-led" from stm32mp257f-ev1-u-bootPatrice Chotard
Remove obsolete property "u-boot, u-boot-led" from stm32mp257f-ev1-u-boot.dtsi. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05ARM: dts: stm32: Drop "u-boot-led" from stm32mp235f-dk-u-bootPatrice Chotard
Remove obsolete property "u-boot, u-boot-led" from stm32mp235f-dk-u-boot.dtsi. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05ARM: dts: stm32: Drop "u-boot-led" and "error-led" from stm32mp157c-ed1-u-bootPatrice Chotard
Remove obsolete properties "u-boot, u-boot-led" and "u-boot,error-led" from stm32mp157cf-ed1-u-boot.dtsi. Remove led-red and led-blue nodes which are available in kernel DT. See kernel series: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1022570 Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05ARM: dts: stm32: Drop "u-boot-led" and "error-led" from ↵Patrice Chotard
stm32mp157c-ed1-scmi-u-boot Remove obsolete properties "u-boot, u-boot-led" and "u-boot,error-led" from stm32mp157c-ed1-scmi-u-boot.dtsi. Remove led-red and led-blue nodes which are available in kernel DT. See kernel series: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1022570 Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05ARM: dts: stm32: Drop "u-boot-led" and "error-led" from stm32mp157a-dk1-u-bootPatrice Chotard
Remove obsolete properties "u-boot, u-boot-led" and "u-boot,error-led" from stm32mp135f-dk-u-boot.dtsi. Remove led-red which is now available in kernel DT. See kernel series: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1022570 Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05ARM: dts: stm32: Drop "u-boot-led" and "error-led" from ↵Patrice Chotard
stm32mp157a-dk1-scmi-u-boot Remove obsolete properties "u-boot, u-boot-led" and "u-boot,error-led" from stm32mp157a-dk1-scmi-u-boot.dtsi. Remove led-red node which is now available in kernel DT. See kernel series: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1022570 Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05ARM: dts: stm32: Drop "u-boot-led" and "error-led" from stm32mp135f-dk-u-bootPatrice Chotard
Remove obsolete properties "u-boot, u-boot-led" and "u-boot,error-led" from stm32mp135f-dk-u-boot.dtsi. Remove also led-red node which is now part of kernel DT. See kernel series: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1022570 Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05configs: stm32mp2: Enable LED_BOOT for stm32mp23_defconfigPatrice Chotard
Enable LED_BOOT to use led_boot_on/off() API in board file. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05configs: stm32mp2: Enable LED_BOOT for stm32mp25_defconfigPatrice Chotard
Enable LED_BOOT to use led_boot_on/off() API in board file. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05configs: stm32mp15: Enable LED_BOOT for stm32mp15_trusted_defconfigPatrice Chotard
Enable LED_BOOT to use led_boot_on/off() API in board file. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05configs: stm32mp15: Enable LED_BOOT for stm32mp15_basic_defconfigPatrice Chotard
Enable LED_BOOT to use led_boot_on/off() API in board file. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05configs: stm32mp15: Enable LED_BOOT for stm32mp15_defconfigPatrice Chotard
Enable LED_BOOT to use led_boot_on/off() API in board file. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05configs: stm32mp13: Enable LED_BOOT for stm32mp13_defconfigPatrice Chotard
Enable LED_BOOT to use led_boot_on/off() API in board file. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05configs: stm32: Enable LED config flags for stm32h747-discoPatrice Chotard
Enable LED, LED_BOOT and LED_GPIO flags. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05configs: stm32: Enable LED config flags for stm32h743-evalPatrice Chotard
Enable LED, LED_BOOT and LED_GPIO flags. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05configs: stm32: Enable LED config flags for stm32h743-discoPatrice Chotard
Enable LED, LED_BOOT and LED_GPIO flags. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05configs: stm32: Enable LED config flags for stm32f769-discoPatrice Chotard
Enable LED, LED_BOOT and LED_GPIO flags. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05configs: stm32: Enable LED config flags for stm32f746-discoPatrice Chotard
Enable LED, LED_BOOT and LED_GPIO flags. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05configs: stm32: Enable LED config flags for stm32f429-discoPatrice Chotard
Enable LED, LED_BOOT and LED_GPIO flags. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05configs: stm32: Enable LED config flags for stm32f429-discoPatrice Chotard
Enable LED, LED_BOOT and LED_GPIO flags. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05board: st: Update LED management for stm32mp2Patrice Chotard
Remove get_led() and setup_led() which became obsolete since led_boot_on() introduction. led_boot_on() is automatically called from board_r.c Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05board: st: Update LED management for stm32mp1Patrice Chotard
Remove get_led() and setup_led() which became obsolete since led_boot_on() introduction. led_boot_on() is automatically called from board_r.c Regarding "u-boot,error-led" property can't be used anymore since commit Since commit 516a13e8db32 ("led: update LED boot/activity to new property implementation") Instead get the LED labeled "red:status". See kernel series: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1022570 Signed-off-by: Patrice Chotard <[email protected]>
2025-12-05board: st: Drop old LED code from stm32f429-discoSimon Glass
This predates the LED framework, so drop it. Signed-off-by: Simon Glass <[email protected]> Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-12-05ARM: stm32: Add missing build of debug UART init code on DH STM32MP1 DHSOMMarek Vasut
Commit c37a6684818d ("stm32mp: fix compilation issue with DEBUG_UART") split the debug UART initialization code into two files, but failed to update other non-ST boards. This did not lead to noticeable breakage until debug UART is enabled, which is not the default. Update the Makefile accordingly to allow debug UART to work. Fixes: c37a6684818d ("stm32mp: fix compilation issue with DEBUG_UART") Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Patrice Chotard <[email protected]>
2025-12-05ARM: dts: stm32: Add 1 GiB DRAM settings for DH STM32MP13xx DHCOR SoMMarek Vasut
Add DRAM settings for 1 GiB variant of DH STM32MP13xx DHCOR SoM and support for SoM DRAM coding HW straps decoding and automatic DRAM configuration selection. Enable CONFIG_BOARD_EARLY_INIT_F on all STM32MP1 DHSOM, as it is required for the HW straps decoding. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Patrice Chotard <[email protected]>
2025-12-05ARM: dts: stm32: Fix 512 MiB DRAM settings for DH STM32MP13xx DHCOR SoMMarek Vasut
Update DRAM chip type and density comment for 512 MiB DRAM settings for DH STM32MP13xx DHCOR DHSBC to match the chip on the SoM. No functional change. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Patrice Chotard <[email protected]>
2025-12-05stm32mp: Fix handling of OPTEE in the middle of DRAMMarek Vasut
STM32MP13xx may have OPTEE-OS at 0xdd000000 even on systems with 1 GiB of DRAM at 0xc0000000, which is not the end of DRAM anymore. This puts the OPTEE-OS in the middle of DRAM. Currently, the code sets RAM top to 0xdd000000 and prevents the DRAM range past OPTEE at 0xe0000000..0xffffffff from being set as cacheable and from being usable. The code also sets the area over OPTEE as invalid region in MMU tables, which is not correct. Adjust the code such, that it only ever sets RAM top just before OPTEE in case the OPTEE is really at the end of DRAM, mainly to be backward compatible. Furthermore, adjust the MMU table configuration such, that the regions over the OPTEE are simply skipped and not reconfigured, and the regions between end of OPTEE and RAM top are set as cacheable, if any actually exist. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Patrice Chotard <[email protected]> Tested-by: Patrice Chotard <[email protected]>
2025-12-04vexpress_aemv8: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]>
2025-12-04pcm052: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]>
2025-12-04omap3_evm: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]>
2025-12-04hikey960: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]>
2025-12-04hikey: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]>
2025-12-04bcmstb: Make use of bootm_size rather than fdt_highTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. However, this platform also has a large comment block that explains that given previous stage loaders and other parts of the memory map (that may not be in the device tree we see?), adjust this to use bootm_size to restrict relocation to be below the CMA area and update the comment to match. Signed-off-by: Tom Rini <[email protected]>
2025-12-04am335x_shc: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Reviewed-by: Heiko Schocher <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2025-12-04qemu-arm-sba: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]>
2025-12-04arm: Remove remainder of xpress board codeTom Rini
When this platform was removed the config header file was missed. Remove that now. Fixes: ddfc00400965 ("arm: Remove xpress board") Signed-off-by: Tom Rini <[email protected]>
2025-12-04arm: Remove remainder of zc5xxx board codeTom Rini
When these platforms were removed the common config header file was missed. Remove that now. Fixes: a0cacddcafe5 ("arm: Remove zc5202 and zc5601 boards") Signed-off-by: Tom Rini <[email protected]>
2025-12-04adi: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Tested-by: Greg Malysa <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2025-12-04boot/image-fit.c: Use aligned_alloc(...) not memalign(...)Tom Rini
With the changes in commit 8fbcc0e0e839 ("boot: Assure FDT is always at 8-byte aligned address") to call memalign(...) we now always call memalign(...) rather than malloc(...) when allocating a buffer that may contain a device tree. However, memalign(...) is not portable among all of the host OSes we support. The C11 standard does require that aligned_alloc(...) exist and it takes the same parameters as memalign(...) does. Change this file to call aligned_alloc rather than memalign, and for the non-USE_HOSTCC case define that function back to memalign. Fixes: 8fbcc0e0e839 ("boot: Assure FDT is always at 8-byte aligned address") Suggested-by: Heinrich Schuchardt <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2025-12-04clk: Remove myself as a maintainerSean Anderson
Unfortunately I don't really have time to review clock patches. When I initially started maintaining this subsystem I had more free time than I do now. But I also found it hard to motivate myself to review patches. Many clock patches add support for new SoCs and they are time consuming to review properly. You effectively have to spend a few hours reading the reference manual (if it's public!) and reviewing drivers is no small feat either. This is made more difficult since clocking is often very different between SoCs and it can be difficult to determine whether something is a bug in the driver or a workaround for some hardware behavior. I mostly don't care about any given SoC unless I'm hacking on it so I ended up with a ton (more than 7000) of unreviewed patches piling up in my inbox. I'd love to be more active, but I have a day job and I usually want to work on something more interesting when I get home. I still think the clock subsystem is a major mess but I don't care enough to fix it :l The subsystem itself should probably get orphaned since AFAICT all patches go through the mach/arch maintainer or to Tom. Signed-off-by: Sean Anderson <[email protected]>
2025-12-04test: strlcat: Fix SPDX licenseSean Anderson
When I modified this code I meant to accept the LGPL offer to convert the license to GPL. However, while there is an LGPL 2.1, the next version of the GPL after 2.0 is 3.0. Fix the license version Fixess: c4ac52f55d9 ("test: Add test for strlcat") Signed-off-by: Sean Anderson <[email protected]>
2025-12-04binman: fallback to importlib_resources on Python 3.8Chukun Pan
Python 3.7 and 3.8 lack the files attribute in importlib.resources. Use importlib_resources to fix build errors with Python 3.8: binman: module 'importlib.resources' has no attribute 'files' Fixes: 538719cb6a77 ("binman: migrate from pkg_resources to importlib") Signed-off-by: Chukun Pan <[email protected]> Acked-by: Quentin Schulz <[email protected]> [trini: Re-add # pragma: no cover line] Signed-off-by: Tom Rini <[email protected]>
2025-12-04board: BuR: Update MAINTAINERS filesWolfgang Wallner
The MAINTAINERS files for B&R boards are not in sync with the current file names. Update the files so that they are correct again. Signed-off-by: Wolfgang Wallner <[email protected]>
2025-12-04Change email addresses for B&R Industrial AutomationWolfgang Wallner
B&R Industrial Automation has been acquired by ABB in 2017, and this will be reflected in our email addresses beginning from December 2025. The email addresses change as follows: @br-automation.com -> @<country-code>.abb.com The existing email addresses will be valid until December 2026. Add entries for Bernhard Messerklinger and myself to .mailmap, and update the MAINTAINERS files. Signed-off-by: Wolfgang Wallner <[email protected]> Signed-off-by: Wolfgang Wallner <[email protected]>
2025-12-04clk: Only enable the parent clock if the clock was enabled before reparentingMaksim Kiselev
The current implementation of clk_set_parent() unconditionally enables the new parent clock, even if the target clock was not previously enabled. To avoid this implicit behavior, this patch adds a check for whether the target clock has been enabled before parent enabling.. Fixes: ac30d90f336 ("clk: Ensure the parent clocks are enabled while reparenting") Signed-off-by: Maksim Kiselev <[email protected]> Reviewed-by: Miquel Raynal <[email protected]>