summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-12-31watchdog: npcm: Support more timeout valueStanley Chu
Calculate a timeout value that is close to the requested value. Signed-off-by: Stanley Chu <[email protected]>
2025-12-31spl: Kconfig: k3: Set common default for SPL_LOAD_FIT(_ADDRESS)Andrew Davis
These are common for all K3 based boards. Add the common values as defaults and remove from each board defconfig Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]>
2025-12-31spl: Kconfig: k3: Set common default for CUSTOM_SYS_MALLOC itemsAndrew Davis
These are common for all K3 based boards. Add the common values as defaults and remove from each board defconfig. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]>
2025-12-31spl: Kconfig: k3: Increase malloc size after relocation for R5Andrew Davis
Seems the "generous 2MB space" is no longer enough for SPL on some K3 R5 platforms so let's increase this to 4MB. That matches what we give to ARM64 SPL, so combine these. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]>
2025-12-31configs: Remove default malloc length for K3 R5 SPLAndrew Davis
These values are already the default, remove them from these defconfigs. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]>
2025-12-30Merge patch series "video: Remove unused drivers, clean up dependencies"Tom Rini
Tom Rini <[email protected]> says: This is v2 of the series I originally posted back in August[1]. The changes here are that I've dropped the first patch as TI has recently posted their rework of the driver in question, and I added Svyatoslav's Reviewed-by tag. The end goal here is that "allyesconfig" will be able to build (on sandbox). [1]: https://patchwork.ozlabs.org/project/uboot/list/?series=468123&state=* Link: https://lore.kernel.org/r/[email protected]
2025-12-30drivers: video: tidss: Refactor tidss_drvSwamil Jain
- Refactor tidss_drv to improve modularity, enabling support for more display interfaces beyond OLDI in the future - Add detection and initialization of active OLDI panels using the DT - Port tidss_oldi.c from the upstream Linux kernel oldi series[0] and derive several APIs from it to determine the dual link pixel order - Add tidss_oldi_init() and helper routines to handle OLDI-specific setup and move related helper routines to tidss_oldi.c [0]: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Swamil Jain <[email protected]> Tested-by: Anshul Dalal <[email protected]>
2025-12-30video: simplefb: Add stride handlingIgor Belwon
Some framebuffers (i.e MediaTek) do not have regular stride - its line length is more than the display width by 8 pixels (on MT6878). As such, introduce the optional stride property, which fixes these framebuffers. Signed-off-by: Igor Belwon <[email protected]>
2025-12-30common/splash_source.c: Change bmp_load_addr to ulong from u32Tom Rini
The variable bmp_load_addr is used to hold the address in memory of where to put the splash image (as a bmp). For 32/64bit correctness, this needs to be a ulong and not u32 today. Signed-off-by: Tom Rini <[email protected]>
2025-12-30Merge patch series "video: display: refactor display_read_timing to avoid ↵Tom Rini
code duplication" Julien Stephan <[email protected]> says: Commit 2dcf143398ad ("dm: video: Repurpose the 'displayport' uclass to 'display'") left the display_read_edid() function unused by mistake. This series addresses that oversight and introduces a new useful cmd. Patch 1: - Refactors display_read_timing() to use the existing display_read_edid() function, eliminating redundant code. - Marks display_read_edid() as static since it is not used outside of the file. Patch 2: - Adds a new read_edid command, which can be very useful for debugging or developing new display drivers. - As this command uses display_read_edid(), the function is made non-static again. Link: https://lore.kernel.org/r/[email protected]
2025-12-30cmd: add new command to read edidJulien Stephan
Add a new command to read EDID info from connected display. When applicable EDID can also be retrieved by commands such as: i2c dev x i2c edid 0x50 but the new read_edid function relies on the implementation of the read_edid callback from DISPLAY driver. Signed-off-by: Julien Stephan <[email protected]>
2025-12-30video: stm32: stm32_ltdc: Add missing <linux/sizes.h> to stm32_ltdc.cTom Rini
This driver references the SZ_ macros while relying on an indirection inclusion of <linux/sizes.h>. Add the missing include directly. Signed-off-by: Tom Rini <[email protected]>
2025-12-30video: sharp-lq101r1sx01: Do not make use of 'z' for printing non-size_tTom Rini
The debug macros in this driver make use of the z prefix when printing regular, non-size_t variables and this results in a warning. Drop 'z'. Signed-off-by: Tom Rini <[email protected]>
2025-12-30video: ihs_video_out: Add missing <asm/io.h> to ihs_video_out.cTom Rini
This driver references IO macros while relying on an indirection inclusion of <asm/io.h>. Add the missing include directly. Signed-off-by: Tom Rini <[email protected]>
2025-12-30video: anx9804: Only build when neededTom Rini
The logic for how to handle this video driver is slightly odd. Only in the case of when CONFIG_VIDEO_LCD_PANEL_EDP_4_LANE_1620M_VIA_ANX9804 is enabled do we need to have this file built, and otherwise we have a dummy function in use. Correct the logic by only building this file when needed. Signed-off-by: Tom Rini <[email protected]>
2025-12-30video: Tighten some video driver dependenciesTom Rini
A few video drivers cannot build without access to some platform specific header files. Express those requirements in Kconfig as well. Signed-off-by: Tom Rini <[email protected]>
2025-12-30video: tegra: Rework some of the driver dependenciesTom Rini
Looking these drivers over, all of them cannot build without access to some platform specific header files. Express those requirements in Kconfig as well. Furthermore, update the logic a bit more to reflect which parts are optional when other drivers are enabled and which parts cannot be enabled (meaningfully) by themselves. Reviewed-by: Svyatoslav Ryhel <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2025-12-30video: mali_dp: Remove unused driverTom Rini
This driver is unused. Remove it. Signed-off-by: Tom Rini <[email protected]>
2025-12-30video: display: refactor display_read_timing to avoid code duplicationJulien Stephan
Commit 2dcf143398ad ("dm: video: Repurpose the 'displayport' uclass to 'display'") left the display_read_edid() function unused by mistake. Mark the function as static and reuse it within display_read_timing() to avoid code duplication. Signed-off-by: Julien Stephan <[email protected]>
2025-12-29Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-shTom Rini
- Fix R-Car D3 ability to boot Linux kernel.
2025-12-29clk: renesas: Do not disable realtime modules on R8A77995 D3Niklas Söderlund
Later versions of the datasheet makes it clear D3 do not have any realtime module stop control registers (RMSTPCRx). Remove the manipulation of them from the module clock table to match this. Suggested-by: Marek Vasut <[email protected]> Signed-off-by: Niklas Söderlund <[email protected]>
2025-12-29clk: renesas: Do not enable MSTP4 extra modules on R8A77995 D3Niklas Söderlund
Since commit a2bd99549c61 ("clk: renesas: Tear clock controller down last before booting OS") enabling the module gated by bit 8 in MSTP4 prevents Linux from booting. The bits 8 and 7 of MSTP4 where only documented in early versions of the datasheet and have since been removed. To allow Linux to boot update the MSTP4 enable value to reflect the hardware default, 0x80. Suggested-by: Marek Vasut <[email protected]> Signed-off-by: Niklas Söderlund <[email protected]>
2025-12-29Merge tag 'u-boot-imx-next-20251229' of ↵Tom Rini
https://gitlab.denx.de/u-boot/custodians/u-boot-imx into next CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/28866 - Swicth imx8ulp-evk to standard boot and OF_UPSTREAM. - Cleanup of the IPUv3 video driver. - Add support for the NXP FRDM-IMX91 board. - Make flash.bin target available on i.MX9. - Fix mxsfb pixel clock polarity.
2025-12-29Makefile: Make flash.bin target available on i.MX9Marek Vasut
The current implementation of flash.bin generation with CONFIG_SPL_LOAD_IMX_CONTAINER=y requires build of u-boot.cnt which is i.MX8 specific. Reinstate the i.MX8 check to avoid this dependency for i.MX9 . Fill in flash.bin target for i.MX9 into imx specific Makefile. Fixes: c3587197c0c9 ("Makefile: Make flash.bin target available for all platforms") Signed-off-by: Marek Vasut <[email protected]>
2025-12-29video: imx: ipuv3: refactor to use dm-managed stateBrian Ruley
Get rid of most globals that are spread around between TU's and place them in their own structs managed by dm. Device state is now owned by each driver instance. This design mirrors the Linux IPUv3 driver architecture. This work is done in preparation to migrate the driver to the clock framework. While not the primary intent, this change also enables multiple IPU instances to exist contemporarily. Signed-off-by: Brian Ruley <[email protected]>
2025-12-29video: imx: ipuv3: use CONFIG_IS_ENABLEDBrian Ruley
Bring driver up-to-date with U-Boot conventions, but also takes into account SPL and TPL, let compiler optimize while keeping code more readable. Signed-off-by: Brian Ruley <[email protected]>
2025-12-29video: imx: ipuv3: add names to clk function identifiersBrian Ruley
The API should provide clear distinction in the order of parameters. Signed-off-by: Brian Ruley <[email protected]>
2025-12-29video: imx: ipuv3: fix camel casesBrian Ruley
U-Boot style specifies to use snake case and checkpatch nudge to check them every time. Signed-off-by: Brian Ruley <[email protected]>
2025-12-29video: imx: ipuv3: prefer kernel typesBrian Ruley
Conform with U-Boot guidelines and pass checkpatch checks for upcoming changes. Signed-off-by: Brian Ruley <[email protected]>
2025-12-29video: imx: ipuv3: apply clang-formatBrian Ruley
Bring the code into compliance with U-Boot's coding style guidelines for upcoming changes. Sort includes to tidy things up and apply { RemoveBracesLLVM: true } to remove unnecessary blocks. Signed-off-by: Brian Ruley <[email protected]>
2025-12-29video: imx: ipuv3: remove undefined function declarationsBrian Ruley
These functions don't seem to be defined nor called anywhere so remove them. Signed-off-by: Brian Ruley <[email protected]>
2025-12-29imx: Support i.MX91 11x11 FRDM boardJoseph Guo
Add i.MX91 11x11 FRDM Board support. - Four ddr scripts included w/o inline ecc feature. Support both 1gb and 2gb DDR - SDHC/EQOS/I2C/UART supported - PCA9451 supported, default nominal drive mode - Documentation added. Signed-off-by: Joseph Guo <[email protected]>
2025-12-29arm64: dts: add NXP FRDM-IMX91 device treeJoseph Guo
Add the device tree files for the FRDM-IMX91 board. Provide the initial DT support for FRDM-IMX91. The board devicetree already attempted to upstream, but not been accepted yet: https://lore.kernel.org/all/[email protected]/ Once it complete, can move to OF_UPSTREAM Signed-off-by: Joseph Guo <[email protected]>
2025-12-29imx8ulp_evk: Switch to use devicetree imported from Linux kernel releaseAlice Guo
Enable OF_UPSTREAM for i.MX8ULP EVK so that devicetree imported from Linux kernel release can be used. If mailbox@29220000 is enabled, gd->arch.ele_dev will be set to this device for communication with ELE firmware. This is incorrect because mu@27020000 is the MU used for communication with the ELE firmware. To prevent misconfiguration, disable mailbox@29220000. The driver model for watchdog timer is not enabled yet, so disable wdog3 temporarily. Signed-off-by: Alice Guo <[email protected]>
2025-12-29imx8ulp_evk: Move environment variables to .env fileAlice Guo
Add board-specific environment variables to imx8ulp_evk.env for better maintainability. Define bsp_bootcmd in the environment to resolve the runtime error: "bsp_bootcmd" not defined. Signed-off-by: Alice Guo <[email protected]>
2025-12-29imx8ulp_evk: Convert to standard bootAlice Guo
Replace CONFIG_DISTRO_DEFAULTS with CONFIG_BOOTSTD_FULL to enable the standard boot framework and use standard boot on i.MX8ULP. Update CONFIG_BOOTCOMMAND to run bootflow scan before falling back to board-specific bootcmd, and remove legacy distro boot environment from imx8ulp_evk.h since bootstd now handles boot targets. Signed-off-by: Alice Guo <[email protected]>
2025-12-29video: mxsfb: fix pixel clock polaritySam Meredith
DISPLAY_FLAGS_PIXDATA_NEGEDGE means the controller drives the data on pixel clocks falling edge. That is DOTCLK_POL=0 (default) not 1. The mxsfb-drm driver in the Linux kernel has made the same change and it remains to this day: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.19-rc2&id=53990e416bb7adaa59d045f325a47f31a11b75ee I found this was required on an IMX8X SoM. Without the patch a splash screen displays with aliasing-like jagged edges. Signed-off-by: Sam Meredith <[email protected]> [fabio: Put more information into the commit log] Signed-off-by: Fabio Estevam <[email protected]>
2025-12-27boot: Warn users about fdt_high=~0 usageMarek Vasut
In case the 'fdt_high' environment variable is set to ~0, warn users about the dangers of the fdt_high usage. This will hopefully lead to removal of most of the fdt_high ~0 usage over time. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]>
2025-12-27i2c: Avoid calling dev_read_*() if CONFIG_OF_PLATDATA=yMarek Vasut
If CONFIG_OF_PLATDATA=y , then the udevice has no valid OF node associated with it and ofnode_valid(node) evaluates to 0. The dev_read_u32_default() call ultimately reaches ofnode_read_u32_index() which invokes fdt_getprop() and passes result of ofnode_to_offset(node) as an offset parameter into it. The ofnode_to_offset(node) returns -1 for invalid node, which leads to an fdt_getprop(..., -1, ...) invocation, which will crash sandbox with SIGSEGV because libfdt can not handle negative node offsets without full tree check, which U-Boot inhibits to keep size lower. Since i2c_child_post_bind() already calls dev_has_ofnode(dev), reuse the same call and assign i2c->speed_hz = I2C_SPEED_STANDARD_RATE in case the device has no valid node associated with it, and do not call any of the dev_read_*() functions for devices without valid nodes. Signed-off-by: Marek Vasut <[email protected]>
2025-12-27i2c: Inline i2c_chip_of_to_plat() into i2c_child_post_bind()Marek Vasut
The i2c_chip_of_to_plat() is called only from i2c_child_post_bind(), inline i2c_chip_of_to_plat() into i2c_child_post_bind(). Drop the if CONFIG_IS_ENABLED(OF_REAL) and depend on if (!dev_has_ofnode(dev)) which does check CONFIG_IS_ENABLED(OF_REAL) internally too. Signed-off-by: Marek Vasut <[email protected]>
2025-12-27gpio: sandbox: Avoid calling dev_read_*() if CONFIG_OF_PLATDATA=yMarek Vasut
If CONFIG_OF_PLATDATA=y , then the udevice has no valid OF node associated with it and ofnode_valid(node) evaluates to 0. The dev_read_u32_default() call ultimately reaches ofnode_read_u32_index() which invokes fdt_getprop() and passes result of ofnode_to_offset(node) as an offset parameter into it. The ofnode_to_offset(node) returns -1 for invalid node, which leads to an fdt_getprop(..., -1, ...) invocation, which will crash sandbox with SIGSEGV because libfdt can not handle negative node offsets without full tree check, which U-Boot inhibits to keep size lower. Since gpio_sandbox_probe() already calls dev_has_ofnode(dev) and assigns uc_priv->gpio_count to CONFIG_SANDBOX_GPIO_COUNT accordingly, add matching dev_has_ofnode(dev) check into sandbox_gpio_of_to_plat() and do not call any of the dev_read_*() functions for devices without valid nodes there either. Signed-off-by: Marek Vasut <[email protected]>
2025-12-27clk: fixed_rate: Avoid calling dev_read_*() if CONFIG_OF_PLATDATA=yMarek Vasut
If CONFIG_OF_PLATDATA=y , then the udevice has no valid OF node associated with it and ofnode_valid(node) evaluates to 0. The dev_read_u32_default() call ultimately reaches ofnode_read_u32_index() which invokes fdt_getprop() and passes result of ofnode_to_offset(node) as an offset parameter into it. The ofnode_to_offset(node) returns -1 for invalid node, which leads to an fdt_getprop(..., -1, ...) invocation, which will crash sandbox with SIGSEGV because libfdt can not handle negative node offsets without full tree check, which U-Boot inhibits to keep size lower. Add dev_has_ofnode(dev) check and do not assign clock rate in case the device has no valid node associated with it, and do not call any of the dev_read_*() functions for devices without valid nodes. Signed-off-by: Marek Vasut <[email protected]>
2025-12-25Merge tag 'efi-next-20251225' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-efi into next Pull request efi-next-20251225 Documentation: * Update StarFive Jh7110 common description. * Describe command line options of the bdinfo command. * Describe configuration dependencies of the bdinfo command. UEFI: * Trigger capsule updates with automatically generated boot options. * In the LoadImage unit test add a check that device-paths are correctly used. * In the variables at runtime test remove an unnecessary __efi_runtime_data attribute. Others: * Let the bdinfo command output device-tree information even if LMB is no used. * Add long help texts for all options of the bdinfo command.
2025-12-25mips: Reduce size in gardena-smart-gateway-mt7688Tom Rini
This platform is near the binary size limit for U-Boot. Disable booting some unlikely OS options in order to reclaim some space. Reviewed-by: Stefan Roese <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2025-12-24Merge tag 'mmc-power-next-2025-12-24' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-mmc into next - Various Kconfig prompt fixes for SPL from Quentin - SPL_DM_REGULATOR_GPIO and REGULATOR_PWM dependency fix
2025-12-24doc: board: starfive: update jh7110 common descriptionE Shattow
Updates to the JH7110 common description: - add detailed overview of JH-7110 SoC and boot process - revise descriptions of deprecated StarFive loader modes - refresh build directions grouped with SPL debug advice - reduce usage instructions into common methods shared by supported boards - cite starfive_visionfive2 board maintainer description of StarFive loader - cite published datasheets for ambient operating temperature data Redundant/deprecated sections of each board doc are dropped accordingly: - deepcomputing fml13v01 - milk-v mars - pine64 star64 (also add inclusion of JH7110 common description) - visionfive2 Signed-off-by: E Shattow <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
2025-12-24doc: cmd: bdinfo: document optionsQuentin Schulz
bdinfo may also have -a, -e and -m options depending on some symbols being set. Document all this and provide an example on how to use them and what they typically output. Signed-off-by: Quentin Schulz <[email protected]>
2025-12-24doc: cmd: bdinfo: specify required dependency for some infoQuentin Schulz
The devicetree, current eth and IP addr info are only available when certain symbols are defined, so let's make the dependencies explicit. Signed-off-by: Quentin Schulz <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
2025-12-24cmd: bdinfo: provide long help with all optionsQuentin Schulz
Document the bdinfo -a, -e and -m options in the long help, but only when they can be used. The string concatenation is a bit odd with two newlines, but it does render properly once in U-Boot CLI. Tested-by: Michal Simek <[email protected]> Signed-off-by: Quentin Schulz <[email protected]>
2025-12-24cmd/bdinfo: LMB and device-tree are not relatedHeinrich Schuchardt
The usage of the LMB library and the device-tree source are not related. Remove the dependency in the bdinfo output and adjust the unit test. Reviewed-by: Ilias Apalodimas <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]>