summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-04-08ram: renesas: dbsc: Use macro in renesas_dbsc5_board_config channel countMarek Vasut
Use DRAM_CH_CNT macro in renesas_dbsc5_board_config channel count. The macro is defined in the same file a few lines above. This way, the maximum channel count in the structure and the macro can not diverge. Signed-off-by: Marek Vasut <[email protected]>
2026-04-08arm64: renesas: Separate 64bit only codeMarek Vasut
Conditionally compile code that is only compatible with 64bit ARMv8 on 64bit R-Car Gen3/4/5 SoCs. Protect such code with CONFIG_ARM64. This split is implemented in preparation for build of Cortex-M33 version of R-Car Gen5 U-Boot for its RSIPM core. Signed-off-by: Marek Vasut <[email protected]>
2026-04-08arm64: renesas: Make R-Car board code 32-bit ARMv8-M compatibleMarek Vasut
The 64-bit R-Car board code is currently unbuildable on 32-bit ARM cores. Skip DRAM initialization bits to make the code compatible with these cores, because those cores do not use the DRAM, they only use SRAM. Signed-off-by: Marek Vasut <[email protected]>
2026-04-08arm64: renesas: Enable SMC command on all R-Car 64-bit systemsMarek Vasut
Enable the 'smc' command on all R-Car 64-bit systems. This command is useful for interacting with EL3 firmware, testing interaction with the PSCI provider or OPTEE-OS. Signed-off-by: Marek Vasut <[email protected]>
2026-04-08arm: renesas: Use stock lowlevel_init function and remove s_initMarek Vasut
Replace s_init() early initialization at the end of lowlevel_init by invoking the same code in mach_cpu_init(). The mach_cpu_init() is called a bit later, but as the code initializes timer and no code uses timer until mach_cpu_init(), this does not pose a problem. Signed-off-by: Marek Vasut <[email protected]>
2026-04-08arm: renesas: Enable preboot environment variable on all R-Car systemsMarek Vasut
Enable the 'preboot' variable on all R-Car systems. This variable can optionally be set and contain a script which is executed before the autoboot timeout starts. This can be used to run critical scripts or similar tasks. By default, the "preboot" variable is empty. Signed-off-by: Marek Vasut <[email protected]>
2026-04-08arm: renesas: Enable modern HUSH parser on all R-Car systemsMarek Vasut
Enable modern HUSH parser on all Renesas R-Car systems. This replaces the old HUSH parser and includes matching updates to the command line parser. No functional change expected. Signed-off-by: Marek Vasut <[email protected]>
2026-04-08Merge patch series "env: scsi: support SCSI env without partition UUID"Tom Rini
David Lechner <[email protected]> says: This is a series adding support for reading U-Boot env directly from SCSI devices that do not have a partition table, similar to how we can already do this for MMC devices. The motivation behind this is that MediaTek's BSP is already using the same disk images for both MMC and UFS devices, so we need to be able to read the env from SCSI devices without requiring a partition UUID. The series starts with cleaning up a few oddities we noticed in the existing code. Then some refactoring so that the env code manages calling scsi_scan() so that we don't have to duplicate that for the new code path. Then finally, the last few patches add and document the new functionality. Link: https://lore.kernel.org/r/[email protected]
2026-04-08env: scsi: document requirements for ENV_IS_IN_SCSIDavid Lechner
Expand the Kconfig help for ENV_IS_IN_SCSI to explain the other required config options when this option is enabled. Signed-off-by: David Lechner <[email protected]>
2026-04-08env: scsi: add CONFIG_ENV_SCSI_HW_PARTITIONDavid Lechner
Add CONFIG_ENV_SCSI_HW_PARTITION and supporting code to allow loading the environment directly from a SCSI device without a partition table. Some platforms store the environment directly on the SCSI device without a way to look it up by partition UUID. Signed-off-by: David Lechner <[email protected]>
2026-04-08scsi: move scsi_scan() call out of scsi_get_blk_by_uuid()David Lechner
Move scsi_scan() call out of scsi_get_blk_by_uuid(). The only caller, env_scsi_get_part(), should be managing this call since it may also want to use different ways to get the partition information in the future. Signed-off-by: David Lechner <[email protected]>
2026-04-08scsi: document return values of public functionsDavid Lechner
Add Return: documentation for some public functions in scsi.h that were missing it. Signed-off-by: David Lechner <[email protected]>
2026-04-08scsi: return ENODEV in scsi_get_blk_by_uuid()David Lechner
Change scsi_get_blk_by_uuid() to return -ENODEV instead of -1 on error. Other scsi_* functions return an error code rather than -1. 1 is EPERM, which doesn't make sense here. So we use ENODEV instead. The only caller only checks for !success, so changing the value has no effect on the caller. Signed-off-by: David Lechner <[email protected]>
2026-04-08env: scsi: rename ENV_SCSI_PART_UUIDDavid Lechner
Rename SCSI_ENV_PART_UUID to ENV_SCSI_PART_UUID. All other environment- related config names are of the form ENV_<name>, so this is more consistent. Signed-off-by: David Lechner <[email protected]> Reviewed-by: Sumit Garg <[email protected]>
2026-04-08cmd/scsi: drop scsi reset commandDavid Lechner
Since commit b630f8b3aefc ("scsi: Forceably finish migration to DM_SCSI") the "scsi reset" command has no possibility of actually resetting any SCSI controller. Drop the command to avoid confusion that the command is actually resetting the SCSI controller. Signed-off-by: David Lechner <[email protected]>
2026-04-07dm: Respect dma-ranges sizeMarek Vasut
Rework dev_phys_to_bus() and dev_bus_to_phys() to respect the size of the area specified in dma-ranges DT property. The area outside of ranges is remapped 1:1, while the area in the ranges is remapped according to the description in the dma-ranges property. Adjust the test to test the area within the remapped range, not area outside the remapped range, which was incorrect. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Markus Schneider-Pargmann <[email protected]>
2026-04-07hikey960: Drop unnecessary BOARD_EARLY_INIT_F usageTom Rini
This platform enables CONFIG_BOARD_EARLY_INIT_F and then has a do-nothing board_early_init_f function. Change to not enabling the option and so not needing an empty function. Signed-off-by: Tom Rini <[email protected]>
2026-04-07spl: Remove unused CONFIG_SPL_FRAMEWORK_BOARD_INIT_F optionTom Rini
The option CONFIG_SPL_FRAMEWORK_BOARD_INIT_F enables a simple board_init_f function in SPL. This however is never enabled, so remove this function and option. Signed-off-by: Tom Rini <[email protected]>
2026-04-07arm: Remove redundant "xPL_SYS_MALLOC_F default y" entriesTom Rini
The symbol SPL_SYS_MALLOC_F defaults to y when visible and TPL_SYS_MALLOC_F defaults to y when visible and SPL_SYS_MALLOC_F is enabled. Remove the places from Kconfig files that had unneccsary "default y" for these options. Signed-off-by: Tom Rini <[email protected]>
2026-04-07board: ti: am62dx: Separate resource management config from am62axParesh Bhagat
AM62d currently shares resource management configuration files with AM62a. However, AM62a resource management needs to be modified for DMA resource sharing scheme for CPSW3G Ethernet functionality to support multi-core traffic handling. Add separate AM62d-specific resource management configuration files to decouple from the AM62a changes and maintain proper resource allocation for AM62d. Signed-off-by: Paresh Bhagat <[email protected]> Reviewed-by: Anshul Dalal <[email protected]>
2026-04-07Update my email addressSean Anderson
Soon I will no longer be working at SECO. Update the mailmap to redirect to my linux.dev address which I still have access to. Signed-off-by: Sean Anderson <[email protected]> Reviewed-by: Sean Anderson <[email protected]>
2026-04-07Merge tag 'mediatek-for-master-2026-04-07' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-mediatek This is the first wave of MediaTek changes for this merge window. We also expect to be sending another decent-sized pull request later for the backlog of patches that are currently waiting on dependencies or need little more time for review. * Fixes for cargo-culted issues in mach-mediatek init.c files. * Some consistency cleanups of recently added Genio boards (510/700/1200). * Some pinctrl improvements to support newer MediaTek SOCs (mt8189 compatible). * New devicetree and config for Genio 520/720 EVK boards (can boot to eMMC or SD). * New CPU-specific functions to read vendor-specific CPU info at runtime.
2026-04-07doc: release cycle: fix 2026.04 stats linkDavid Lechner
Fix the link to the 2026.04 stats page. It was likely copied from the 2026.01 line below and not updated. Signed-off-by: David Lechner <[email protected]> Reviewed-by: Tom Rini <[email protected]>
2026-04-07arm: mediatek: mt8189: print specific CPU informationDavid Lechner
Modify the print_cpuinfo() function to print a more specific CPU name when possible. Reviewed-by: Macpaul Lin <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: David Lechner <[email protected]>
2026-04-07arm: mediatek: add SIP platform bininfo lookupsDavid Lechner
Add a couple of functions to look up the segment and part name using SIP calls. These will be used to print more accurate CPU information in print_cpuinfo(). Reviewed-by: Macpaul Lin <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: David Lechner <[email protected]>
2026-04-07sandbox: Adjust how OS-interface files are builtSimon Glass
The current mechanism uses a completely separate build rule for each file which must be built with system headers. This is tricky to maintain. Add a foreach template in the sandbox cpu Makefile which generates the custom compile rules from a CFLAGS_USE_SYSHDRS list. This keeps the rules data-driven without needing changes to the common scripts/Makefile.lib, which could affect other architectures. Move initjmp.o into the template since it uses the same pattern. Add sdl.o to the list too, with an override for its command since it also needs -fshort-wchar removed and -fno-lto added. Signed-off-by: Simon Glass <[email protected]>
2026-04-07arm: mach-sc5xx: Align header paths with SYS_SOC conventionPhilip Molloy
Define CONFIG_SYS_SOC in the mach-sc5xx Kconfig. Follow the standard U-Boot include path convention by moving the SC5xx SoC headers from arch/arm/include/asm/arch-adi/sc5xx/ to the conventional arch/arm/include/asm/arch-sc5xx/ location. Update includes from <asm/arch-adi/sc5xx/*.h> to <asm/arch/*.h> across mach-sc5xx and board files. Signed-off-by: Philip Molloy <[email protected]>
2026-04-07global: Correct duplicate U_BOOT_DRIVER entry namesTom Rini
The U_BOOT_DRIVER macro creates a list of drivers used at link time, and all entries here must be unique. This in turn means that all entries in the code should also be unique in order to not lead to build failures later with unexpected build combinations. Typically, the problem we have here is when a driver is obviously based on another driver and didn't update this particular field and so while the name field reflects something unique the linker entry itself is not. In a few places this provides a more suitable string name as well, however. Reviewed-by: Marek Vasut <[email protected]> Reviewed-by: Svyatoslav Ryhel <[email protected]> # Tegra Reviewed-by: Peter Robinson <[email protected]> Reviewed-by: Heiko Schocher <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2026-04-07tpl: Correct dependencies for TPL_OF_CONTROLTom Rini
The TPL_OF_CONTROL option can only select TPL_OF_LIBFDT functionality if we also have enabled TPL_LIBGENERIC_SUPPORT, so express this dependency in Kconfig. Signed-off-by: Tom Rini <[email protected]>
2026-04-07serial: omap: Fix "unused" warnings with SERIAL_PRESENT=n and OF_REAL=yTom Rini
The definition of our ID table (and of_to_plat function) is guarded with OF_REAL however the U_BOOT_DRIVER that would in turn use the table is guarded with SERIAL_PRESENT. To avoid a potential warning we must also guard both with SERIAL_PRESENT. Signed-off-by: Tom Rini <[email protected]>
2026-04-07serial: ns16550: Fix an "unused" warning with SERIAL_PRESENT=n and OF_REAL=yTom Rini
The definition of our ID table is guarded with OF_REAL however the U_BOOT_DRIVER that would in turn use the table is guarded with SERIAL_PRESENT. To avoid a potential warning we must also guard the ID table with SERIAL_PRESENT. Signed-off-by: Tom Rini <[email protected]>
2026-04-07input: Correct dependencies for CROS_EC_KEYBTom Rini
The CROS_EC_KEYB functionality can only work with CROS_EC enabled, so express this dependency in Kconfig, for all build phases. Signed-off-by: Tom Rini <[email protected]>
2026-04-07spl: env: Correct dependencies for SPL_SAVEENV and MMCTom Rini
The SPL_SAVEENV functionality, when working with an MMC device, can only work with SPL_MMC_WRITE enabled. This however only works with SPL_MMC also being enabled. Update the dependencies to show that if we have enabled SPL_ENV_IS_IN_MMC then we select SPL_MMC_WRITE and make SPL_ENV_IS_IN_MMC depends on SPL_MMC. Signed-off-by: Tom Rini <[email protected]>
2026-04-07w1: Correct dependencies for CMD_W1Tom Rini
The CMD_W1 functionality can only work with both W1 and W1_EEPROM enabled, so express this dependency in Kconfig. Signed-off-by: Tom Rini <[email protected]>
2026-04-07cmd: Correct dependencies for CMD_BOOTDTom Rini
The CMD_BOOTD functionality can only work with CMD_BOOTM enabled, so express this dependency in Kconfig. Signed-off-by: Tom Rini <[email protected]>
2026-04-07lmb: boot: Update dependencies within BOOT_DEFAULTS_CMDSTom Rini
The CMD_BOOT[IZ] symbols have a dependency on LMB, correctly, currently. Make sure that in BOOT_DEFAULTS_CMDS we only select these commands if LMB is enabled. Signed-off-by: Tom Rini <[email protected]>
2026-04-07lmb: Rework the LMB_ARCH_MEM_MAP symbolTom Rini
This symbol should not be enabled by the user directly but rather selected when implemented in a given platform. This converts all of the current users of this feature and hides the symbol. Signed-off-by: Tom Rini <[email protected]>
2026-04-07dts: Disallow OF_UPSTREAM for sandboxTom Rini
Our sandbox platform are not appropriate for OF_UPSTREAM, reflect this in Kconfig. Signed-off-by: Tom Rini <[email protected]>
2026-04-07env: remote: Disallow CMD_SAVEENVTom Rini
Looking at how the saveenv portion of this driver was implemented, it does not appear that it could actually result in changes being saved on the remote end. Update Kconfig to disallow CMD_SAVEENV for ENV_IS_IN_REMOTE and then remove the relevant code. Signed-off-by: Tom Rini <[email protected]>
2026-04-07env: Make more use of the ENV_SAVE_PTR macroTom Rini
With commit 82b2f4135719 ("env_internal.h: add alternative ENV_SAVE_PTR macro") we introduced the ENV_SAVE_PTR macro but as explained in the commit message, left full conversion for a later time. This commit makes more progress on that front by doing the remaining easy conversions to the new macro. Signed-off-by: Tom Rini <[email protected]> Changes in v2: - Reduce the number of conversions, some didn't work as expected once CMD_SAVEENV was actually disabled. - Finish converting UBI Cc Rasmus Villemoes <[email protected]>
2026-04-07configs: mt8189: enable GPIO supportDavid Lechner
Enable GPIO support for mt8189-based boards. This is needed for U-Boot to be able to use the SD card slot on the board (for the CD pin). Reviewed-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: David Lechner <[email protected]>
2026-04-07arm: dts: add U-Boot overrides for Genio 520 and 720 SD cardDavid Lechner
Add U-Boot-specific device tree overrides for the Genio 520 and 720 EVK boards. These are needed to enable SD card support in U-Boot due to current driver limitations. It is expected that these files will remain after eventually converting these to CONFIG_OF_UPSTREAM, so we use separate .u-boot.dtsi files for this. Reviewed-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: David Lechner <[email protected]>
2026-04-07arm: dts: mt8371: add SD card nodesDavid Lechner
Add SD card nodes to the MT8371 Genio common and MT8189 SoC device tree files. This is coming from what has been submitted upstream in Linux [1]. The process is going slow, so we a copy in U-Boot until we can switch to CONFIG_OF_UPSTREAM. Link: https://lore.kernel.org/linux-mediatek/20251203-add-mediatek-genio-520-720-evk-v1-0-df794b2a30ae@collabora.com/ [1] Reviewed-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: David Lechner <[email protected]>
2026-04-07board: mediatek: Add Genio 520/720 EVK defconfigsChris-QJ Chen
Add basic defconfigs for Genio 520 and 720 EVKs. Signed-off-by: Chris-QJ Chen <[email protected]> Signed-off-by: Macpaul Lin <[email protected]> Reviewed-by: Julien Stephan <[email protected]> Reviewed-by: Macpaul Lin <[email protected]> Link: https://patch.msgid.link/20260323-mtk-mt8391-initial-support-v3-6-19dd92f4543f@baylibre.com Signed-off-by: David Lechner <[email protected]>
2026-04-07arm: dts: mediatek: Add MediaTek Genio 520/720 EVK DTSChris-QJ Chen
Add a basic .dts file for MediaTek Genio 520/720 EVKs. This will suffice until an upstream devicetree is available from Linux. These boards are virtually identical (other than some camera capabilities) so share mostly the same devicetree. Signed-off-by: Chris-QJ Chen <[email protected]> Reviewed-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/20260323-mtk-mt8391-initial-support-v3-5-19dd92f4543f@baylibre.com Signed-off-by: David Lechner <[email protected]>
2026-04-07arm: dts: mediatek: Add MediaTek MT8189 dtsi fileChris-QJ Chen
Add a basic .dtsi file for MediaTek MT8189. This will suffice until an upstream devicetree is available from Linux. Signed-off-by: Chris-QJ Chen <[email protected]> Reviewed-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/20260323-mtk-mt8391-initial-support-v3-4-19dd92f4543f@baylibre.com Signed-off-by: David Lechner <[email protected]>
2026-04-07arm: dts: mediatek: mt8189: Add pinmux macro header fileCathy Xu
Add the pinctrl header file on MediaTek mt8189. Signed-off-by: Cathy Xu <[email protected]> Reviewed-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/20260323-mtk-mt8391-initial-support-v3-3-19dd92f4543f@baylibre.com Signed-off-by: David Lechner <[email protected]>
2026-04-07arm: mediatek: add support of MT8189 SoC familyChris-QJ Chen
Add TARGET_MT8189 for MT8189 and similar SoCs. Signed-off-by: Chris-QJ Chen <[email protected]> Signed-off-by: Macpaul Lin <[email protected]> Reviewed-by: Julien Stephan <[email protected]> Reviewed-by: Macpaul Lin <[email protected]> Link: https://patch.msgid.link/20260323-mtk-mt8391-initial-support-v3-2-19dd92f4543f@baylibre.com Signed-off-by: David Lechner <[email protected]>
2026-04-07clk: mediatek: mt8189: add some VLP clocksDavid Lechner
Add some VLP clocks needed by the PMIC on MT8189 and similar SoCs. Reviewed-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/20260323-mtk-mt8391-initial-support-v3-1-19dd92f4543f@baylibre.com Signed-off-by: David Lechner <[email protected]>
2026-04-07pinctrl: mediatek: mtk8189: set get_pinconf functionsDavid Lechner
Set the get_pinconf functions for the mt8189 pinctrl driver. This will append pinconf bias info to the output of the pinmux status command. This is useful for debugging pin configuration issues. Reviewed-by: Macpaul Lin <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: David Lechner <[email protected]>