summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-08toradex: tdx-cfg-block: add 0086 i.mx8m mini skuJoao Paulo Goncalves
Add new product id 0086 Verdin iMX8M Mini DualLite 2GB IT. Signed-off-by: Joao Paulo Goncalves <[email protected]> Reviewed-by: Igor Opaniuk <[email protected]>
2024-02-08imx: imx8: print reset causeIgor Opaniuk
Add support for printing reset cause during boot. Signed-off-by: Igor Opaniuk <[email protected]>
2024-02-08imx: scu_api: add implementation of sc_pm_reset_reasonIgor Opaniuk
Add implementation of sc_pm_reset_reason() call for obtaining reset reason. Signed-off-by: Igor Opaniuk <[email protected]>
2024-02-08board: phytec: phycore-imx93: Add phyBOARD-Segin-i.MX93 supportMathieu Othacehe
Add initial support for the PHYTEC phyBOARD-Segin-i.MX93 board based on the PHYTEC phyCORE-i.MX93 SoM. Supported features: - 1GB LPDDR4 RAM - eMMC - external SD - FEC Ethernet - debug UART - watchdog Signed-off-by: Mathieu Othacehe <[email protected]> Tested-by: Primoz Fiser <[email protected]> Reviewed-by: Yannic Moog <[email protected]>
2024-02-08imx9: clock: Fix board_interface_eth_init for FECPrimoz Fiser
Commit d5eae216d833 ("net: dwc_eth_qos: Add board_interface_eth_init() for i.MX93") implemented board_interface_eth_init for i.MX9 platforms. However it only accounted for the EQOS interface while any board using FEC as primary Ethernet interface was left out as return value -EINVAL is always returned from the function in such case. Fix this by returning 0 (success) when FEC interface is primarily used instead of EQOS interface on i.MX93. Fixes: d5eae216d833 ("net: dwc_eth_qos: Add board_interface_eth_init() for i.MX93") Signed-off-by: Primoz Fiser <[email protected]> Tested-by: Mathieu Othacehe <[email protected]>
2024-02-08tools: mkimage: Add support for i.MXRT FlexSPI HeaderJesse Taube
Modify imx8m Flex SPI Configuration Block to work with imxrt. Add more Flex SPI configuration options to Kconfig. Signed-off-by: Jesse Taube <[email protected]> Tested-by: Adam Ford <[email protected]> #imx8mn-beacon
2024-02-08ARM: imx: Enable kaslrseed command on Data Modul i.MX8M Mini/Plus eDM SBCMarek Vasut
Linux 6.6.y with KASLR enabled would print the following message on boot: " KASLR disabled due to lack of seed " Enable the 'kaslrseed' command so a random number seed can be pulled from CAAM and inserted into the /chosen node 'kaslr-seed' property of Linux kernel DT before boot, thus letting KASLR work properly. Signed-off-by: Marek Vasut <[email protected]>
2024-02-08toradex: tdx-cfg-block: Add new apalis and colibri pidJoao Paulo Goncalves
Add new apalis imx6 and colibri imx6/imx7 products IDs. Signed-off-by: Joao Paulo Goncalves <[email protected]> Acked-by: Marcel Ziswiler <[email protected]>
2024-02-08fsl-layerscape/soc.c: do not destroy bootcmd environmentMike Looijmans
When an XXX_BOOTCOMMAND isn't defined, the result is that bootcmd is set to some random memory content. Fix it so that the function does nothing in that case and leaves the bootcmd environment unmodified. Signed-off-by: Mike Looijmans <[email protected]> Reviewed-by: Dan Carpenter <[email protected]>
2024-02-08net: phy: nxp-c45-tja11xx: add tja1120 supportRadu Pirea (NXP OSS)
Add TJA1120 driver structure and report 1G speed. Signed-off-by: "Radu Pirea (NXP OSS)" <[email protected]>
2024-02-08net: phy: nxp-c45-tja11xx: rename nxp_c45_tja11xx structureRadu Pirea (NXP OSS)
Rename nxp_c45_tja11xx structure to nxp_c45_tja1103. The driver will support more PHYs and nxp_c45_tja11xx is too generic. Signed-off-by: "Radu Pirea (NXP OSS)" <[email protected]>
2024-02-08net: phy: nxp-c45-tja11xx: read PHY the speed from hardwareRadu Pirea (NXP OSS)
Read PHY speed from hardware instead of assuming 100Mbps by default. The TJA1103 works only at 100Mbps, but the driver will support more PHYs. Signed-off-by: "Radu Pirea (NXP OSS)" <[email protected]>
2024-02-08net: phy: nxp-c45-tja11xx: use local definion of featuresRadu Pirea (NXP OSS)
Use a local definition for the PHY features. PHY_100BT1_FEATURES are not defined using the 100BaseT1 bit, so keep this workaround in the driver. Signed-off-by: "Radu Pirea (NXP OSS)" <[email protected]>
2024-02-07Merge branch '2024-02-06-assorted-fixes'Tom Rini
A number of assorted fixes
2024-02-07Merge tag 'u-boot-rockchip-20240207' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-rockchip - Add board: rv1126 Sonoff iHost board - rv1126 ddr4 support; - Enable BOOTSTD_FULL for RK3399 and RK3588; - rk3036 spl stack addr fix; - dts sync from linux v6.8-rc1 for rk356x, rk3588, rv1126; - Enable eMMC HS200 mode by default for rk3568 and rk3588;
2024-02-07arm: dts: rockpro64: Add RockPro64 smbiosShantur Rathore
Add smbios information for Pine64 RockPro64 board and enable in config Signed-off-by: Shantur Rathore <[email protected]> Reviewed-by: Kever Yang <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2024-02-06blk: host_dev: Fix error code in host_sb_attach_file()Dan Carpenter
This error path should return -EINVAL instead of success. Fixes: e261fbf34785 ("blk: host_dev: Sanity check on the size of host backing file") Signed-off-by: Dan Carpenter <[email protected]>
2024-02-06firmware: ti_sci: Add comment explaining the is_secure codeDhruva Gole
Add a comment to explain the code under is_secure condition of ti_sci_do_xfer. This will help avoid confusion amongst people who may in future touch upon this code. Reviewed-by: Nishanth Menon <[email protected]> Signed-off-by: Dhruva Gole <[email protected]>
2024-02-06firmware: ti_sci: fix the secure_hdr in do_xferDhruva Gole
The ti_sci driver in U-Boot has support for secure_msg as part of it's do_xfer function. This let's U-boot send secure messages during boot up. The protocol to send such secure messages is described as part of the struct ti_sci_secure_msg_hdr. As part of this, there are 2 fields for checksum and reserved that occupy the first 4 bytes of any secure message. This is called as the secure_hdr. As of now, the secure_hdr needs to be 0 init-ed before sending secure messages. However the existing code was never putting the zero-inited vars into the secure_buf, leading to possibility of the first 4 bytes of secure_buf being possibly garbage. Fix this by initialising the secure_hdr itself to the secure_buf location, thus when we make secure_hdr members 0, it automatically ensures the first 4 bytes of secure_buf are 0. Fixes: 32cd25128bd849 ("firmware: Add basic support for TI System Control Interface (TI SCI)") Reviewed-by: Nishanth Menon <[email protected]> Signed-off-by: Dhruva Gole <[email protected]>
2024-02-06arm: mach-k3: j721s2_init: Support less than max DDR controllersNeha Malcom Francis
The number of DDR controllers to be initialised and used should depend on the device tree with the constraint of the maximum number of controllers the device supports. Since J721S2 has multiple (2) controllers, instead of hardcoding the number of probes, move to depending on the device tree UCLASS_RAM nodes present. Signed-off-by: Neha Malcom Francis <[email protected]> Reviewed-by: Manorit Chawdhry <[email protected]>
2024-02-06dma: ti: k3-udma: Use ring_idx to pair k3 nav ringsMD Danish Anwar
Use ring_idx to pair rings. ring_idx will be same as tx flow_id for all non-negative flow_ids. For negative flow_ids, ring_idx will be tchan->id added with bchan_cnt. Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/dma/ti/k3-udma.c?h=v6.8-rc2#n1686 Signed-off-by: MD Danish Anwar <[email protected]> Reviewed-by: Ravi Gunasekaran <[email protected]>
2024-02-06vexpress_ca9x4: Enable DM_SERIALOle P. Orhagen
This commit enables support for DM_SERIAL in the vexpress_ca9x4 boards. When running the board with the DM_SERIAL driver, the board ran out of memory in SPL when initialising the DM serial driver. Thus this required an increase in the pre-allocated SRAM memory. I did increase it to 0x800, and it now works graciously. It could probably be set lower, but I do not see any reason not to use the available SRAM at this point. Also adds stdout-path to the 'chosen' node in the device tree. Signed-off-by: Ole P. Orhagen <[email protected]> Reviewed-by: Linus Walleij <[email protected]>
2024-02-06common: event: check event_type_name() argumentHeinrich Schuchardt
In event_type_name() we should avoid possible buffer overruns by checking the type argument. Addresses-Coverity-ID: 478862 Out-of-bounds access Signed-off-by: Heinrich Schuchardt <[email protected]>
2024-02-06arm: dts: nuvoton: modify npcm8xx reset propertyJim Liu
Change reset method from generic to reset driver Signed-off-by: Jim Liu <[email protected]>
2024-02-06scripts/gen_compile_commands: update to Linux v6.7Brandon Maier
Adds support for assembly files and updates the LINE_PATTERN so it supports both "cmd" and "savedcmd", which allows reverting the U-Boot modification in commit 97fbb2eb016b ("scripts/gen_compile_commands.py: adapt _LINE_PATTERN"). Upstream commits: - 880946158b011 gen_compile_commands.py: fix path resolve with symlinks in it - 9e56d3be4bfd2 gen_compile_commands: Sort output compile commands by file name - 52c15e7e79285 gen_compile_commands: Allow the line prefix to still be cmd_ - 1c67921444bf6 gen_compile_commands: add assembly files to compilation database Signed-off-by: Brandon Maier <[email protected]> Cc: Joao Marcos Costa <[email protected]>
2024-02-05Merge patch series "board: siemens: clean up subfolders"Tom Rini
Enrico Leto <[email protected]> says: The common folder was initialially created for the common parts of the products based on draco-am355x board family. We have the product lines 'pxm2', 'rut' and the base line unfortunately named 'draco'! Adding the new capricorn-imx8 board family, the files were enhanced without cleanup. Simplify first EEPROM probe and access that implements both i2c with & without driver model. Use abstraction functions for this. Move all am355x specifics to a new file 'board_am335x'. Clean-up includes, config checks, maintainer.
2024-02-05siemens: factoryset: use correct config for soc specific implementationEnrico Leto
Adding the capricorn board family some parts diverge from draco family. The switches used were not pertinent and need to be enhanced for each new board of the capricorn family. Replace them through the SOC name 'AM33XX' and 'IMX8'. Signed-off-by: Enrico Leto <[email protected]>
2024-02-05siemens: board: clean up includesEnrico Leto
Many includes were not removed when code parts were moved or removed. Signed-off-by: Enrico Leto <[email protected]>
2024-02-05siemens: board: clean up products folders vs commonEnrico Leto
The common folder was initialially created for the common parts of the products based on draco-am355x board family. These are the product lines 'pxm2', 'rut' and the base line named 'draco'! Adding the new capricorn-imx8 board family, common was enhanced without cleanup. - rename 'common/board.c' to 'common/board_am335x.c' - add 'common/board_am335x.h' for export to the product lines Reviewed-by: Alexander Sverdlin <[email protected]> Signed-off-by: Enrico Leto <[email protected]>
2024-02-05siemens: board: etamin: remove deprecated nand configEnrico Leto
NAND was used in the early development phase of etamin. The board runs now on MMC. This setting is no more used -> remove to simplify the board file. Further clean-up of etamin should remove all NAND settings. Complete clean- up of etamin board will take place in a separate patch serie. Signed-off-by: Enrico Leto <[email protected]>
2024-02-05siemens draco: i2c: use driver model for u-bootEnrico Leto
Add support for driver model where EEPROM data are read in draco board. Reviewed-by: Alexander Sverdlin <[email protected]> Signed-off-by: Enrico Leto <[email protected]>
2024-02-05siemens: eeprom: simplify setup & readEnrico Leto
Since we have boards using the driver model or not for i2c, use abstraction function to probe the i2c, check the EEPROM and read from EEPROM. Signed-off-by: Enrico Leto <[email protected]>
2024-02-05siemens: eeprom: clean up definitionsEnrico Leto
Move the I2C and EEPROM address definitions in common board header. Reviewed-by: Alexander Sverdlin <[email protected]> Signed-off-by: Enrico Leto <[email protected]>
2024-02-05Merge tag 'rpi-next-2024.04' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-raspberrypi Add RaspberryPi5 basic support. Acked-by: Peter Robinson <[email protected]>
2024-02-05rockchip: rk3568-generic: Enable eMMC HS200 modeJonas Karlman
Writing to eMMC using HS200 mode work more reliably then other modes on RK356x boards. Add device tree props and enable Kconfig options for eMMC HS200 mode on the generic RK3566/RK3568 board. Also enable the pinctrl driver in SPL and add missing rk3568-generic.dtb to Makefile. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2024-02-05rockchip: rk3588-evb: Enable USB supportAndy Yan
Enable USB releated config to support boot from usb. Signed-off-by: Andy Yan <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2024-02-05mmc: rockchip_sdhci: Fix HS400 mode write on RK3568Jonas Karlman
Testing has shown that writing to eMMC using HS400 modes on RK3568 result in an ERROR. Change the tap number for transmit clock to fix this. Also stop DLL when config_dll() is called to disable DLL. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2024-02-05rockchip: rk35xx: Enable eMMC HS200 mode by defaultJonas Karlman
Testing has shown that writing to eMMC using a slower mode then HS200 typically generate an ERROR on first attempt on RK3588. # Rescan using MMC legacy mode => mmc rescan 0 # Write a single block to sector 0x4000 fails with ERROR => mmc write 20000000 4000 1 # Write a single block to sector 0x4000 now works => mmc write 20000000 4000 1 With the MMC_SPEED_MODE_SET Kconfig option enabled. Writing to eMMC using HS200 mode work more reliably than slower modes on RK35xx boards. Enable MMC_HS200_SUPPORT Kconfig option by default to prefer use of HS200 mode on RK356x and RK3588. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2024-02-05rockchip: rk35xx: Remove use of eMMC DDR52 modeJonas Karlman
Testing has shown that writing to eMMC using DDR52 mode does not seem to work on RK356x and RK3588 boards. A simple test of writing a single block to e.g. sector 0x4000 fails: # Rescan using DDR52 mode => mmc rescan 4 # Write a single block to sector 0x4000 fails with ERROR => mmc write 20000000 4000 1 With the MMC_SPEED_MODE_SET Kconfig option enabled. Fix this by removing the mmc-ddr-1_8v prop from sdhci nodes in affected board u-boot.dtsi files. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2024-02-05rockchip: rk3588-quartzpro64: Enable AHCI, PCI and USBJonas Karlman
Enable Kconfig options to support AHCI, PCI and USB features. This help keep rk3588-quartzpro64 in sync with other RK3588 boards. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2024-02-05rockchip: rk3588: Enable eMMC HS200 modeJonas Karlman
Writing to eMMC using HS200 mode work more reliably then other modes on RK3588 boards. Enable MMC_HS200_SUPPORT Kconfig option to prefer use of HS200 mode. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]> Reviewed-by: Weizhao Ouyang <[email protected]>
2024-02-04rockchip: rk35xx: Remove unnecessary status propsJonas Karlman
Remove unnecessary status props from rk35xx u-boot.dtsi files, regular device tree files or default value already enable the affected nodes. Also reorder bootph-pre-ram and clock-frequency props alphabetically in rk3588s-u-boot.dtsi uart2 node. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2024-02-04rockchip: rk3588: Add default u-boot,spl-boot-order propJonas Karlman
Add a default u-boot,spl-boot-order prop to rk3588s-u-boot.dtsi and remove the prop from board u-boot.dtsi files using the default value. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Eugen Hristev <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2024-02-04rockchip: rk3588: Sync device tree from linux v6.8-rc1Jonas Karlman
Sync rk3588 device tree from linux v6.8-rc1. Signed-off-by: Jonas Karlman <[email protected]>
2024-02-04rockchip: rk3588: Sync device tree with linux v6.7Jonas Karlman
Sync rk3588 device tree from linux v6.7. Also drop the rockchip,rk3568-dwc3 compatible now that dwc3-generic driver support the rockchip,rk3588-dwc3 compatible. Signed-off-by: Jonas Karlman <[email protected]>
2024-02-04rockchip: rk356x: Move common uart2 props to rk356x-u-boot.dtsiJonas Karlman
Move uart2 bootph-pre-ram and clock-frequency props from board to SoC u-boot.dtsi. Regular board device tree already enables the uart2 node, so status prop is dropped from u-boot.dtsi file. Also remove unnecessary stdout-path = &uart2, regular board device tree already provide a stdout-path = "serial2:" value. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2024-02-04rockchip: rk356x: Sync device tree from linux v6.8-rc1Jonas Karlman
Sync rk356x device tree from linux v6.8-rc1. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2024-02-04rockchip: rk356x: Sync device tree from linux v6.7Jonas Karlman
Sync rk356x device tree from linux v6.7. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2024-02-04arch: arm: mach-rockchip: Kconfig: Enable BOOTSTD_FULL for RK3399 and RK3588Shantur Rathore
Rockchip RK3399 and RK3588 SoCs can support wide range of bootflows. Without full bootflow commands, it can be difficult to figure out issues if any, hence enable by default. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Shantur Rathore <[email protected]>
2024-02-04rockchip: rv1126: Move RAM disk addressTim Lunn
OPTEE gets loaded into a memory region overlapping with the ram disk. Fix the ramdisk address so it doesn't overlap with the OPTEE memory region. Signed-off-by: Tim Lunn <[email protected]> Reviewed-by: Kever Yang <[email protected]>