[PATCH 1/1] common: event: check event_type_name() argument

2024-01-27 Thread Heinrich 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 --- common/event.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/event.c

[PATCH v2] spi: cadence_qspi: Address the comparison failure for 0-8 bytes of data

2024-01-27 Thread Tejas Bhumkar
The current implementation encounters issues when testing data ranging from 0 to 8 bytes. This was confirmed through testing with both ISSI (IS25WX256) and Micron (MT35XU02G) Flash exclusively in SDR mode. Upon investigation, it was observed that utilizing the "SPI_NOR_OCTAL_READ" flag and

RE: [PATCH] efi_loader : Suppress error print message

2024-01-27 Thread Bhumkar, Tejas Arvind
[AMD Official Use Only - General] Hi Heinrich, > -Original Message- > From: Heinrich Schuchardt > Sent: Wednesday, January 24, 2024 2:09 AM > To: Bhumkar, Tejas Arvind > Cc: u-boot@lists.denx.de; tr...@konsulko.com; s...@chromium.org; Simek, Michal > ; Abbarapu, Venkatesh > ;

RE: [PATCH RFC] spi: cadence_qspi: Address the comparison failure for 0-8

2024-01-27 Thread Bhumkar, Tejas Arvind
[AMD Official Use Only - General] Please ignore this patch, as I've submitted another one to address this problem. Thank You, Tejas > -Original Message- > From: U-Boot On Behalf Of Tejas Bhumkar > Sent: Monday, January 22, 2024 4:44 PM > To: u-boot@lists.denx.de > Cc:

[PATCH] spi: cadence_qspi: Address the comparison failure for 0-8 bytes of data

2024-01-27 Thread Tejas Bhumkar
The current implementation encounters issues when testing data ranging from 0 to 8 bytes. This was confirmed through testing with both ISSI (IS25WX256) and Micron (MT35XU02G) Flash exclusively in SDR mode. Upon investigation, it was observed that utilizing the "SPI_NOR_OCTAL_READ" flag and

[PULL] u-boot-sh/master-cleanup

2024-01-27 Thread Marek Vasut
The following changes since commit fea3efb757f7a9c6831c023cb456f9fa5fd0278e: Kconfig: boot: Imply BOOTSTD_DEFAULT when BOOTSTD_FULL=y (2024-01-19 18:30:08 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-sh.git master-cleanup for you to fetch

[PATCH v2] net: phy: Use PHY MDIO address from DT if available

2024-01-27 Thread Marek Vasut
In case the PHY is fully described in DT, use PHY MDIO address from DT directly instead of always using auto-detection. This also fixes the behavior of 'mdio list' in such DT setup, which now prints the PHY connected to the MAC correctly. Signed-off-by: Marek Vasut --- Cc: Joe Hershberger Cc:

[PATCH] video: dw_hdmi: Fix compiler warnings with gcc-14

2024-01-27 Thread Khem Raj
GCC-14 find more warnings like "make pointer from integer without a cast" fix them by adding a type cast. Signed-off-by: Khem Raj Cc: Anatolij Gustschin Cc: Tom Rini --- drivers/video/dw_hdmi.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/video/dw_hdmi.c

Re: Fwd: New Defects reported by Coverity Scan for Das U-Boot

2024-01-27 Thread Heinrich Schuchardt
Am 27. Januar 2024 16:40:18 MEZ schrieb Tom Rini : >Hey, I'll just pass this on directly rather than to the list. > >-- Forwarded message - >From: >Date: Sat, Jan 27, 2024 at 10:36 AM >Subject: New Defects reported by Coverity Scan for Das U-Boot >To: > > >Hi, > >Please find

[PATCH v2] mmc: Add SPL_MMC_PWRSEQ to fix link issue when building SPL

2024-01-27 Thread Jonas Karlman
With MMC_PWRSEQ enabled the following link issue may happen when building SPL and SPL_PWRSEQ is not enabled. aarch64-linux-gnu-ld.bfd: drivers/mmc/meson_gx_mmc.o: in function `meson_mmc_probe': drivers/mmc/meson_gx_mmc.c:295: undefined reference to `pwrseq_set_power' Fix this by adding a

[PATCH v2] mmc: Remove alignment hole for cmdidx in struct mmc_cmd

2024-01-27 Thread Jonas Karlman
The alignment hole caused by cmdidx in struct mmc_cmd cause strange issues together with the peephole2 optimization on Amlogic SoCs. Following was observed while working on SPL support for Amlogic SoCs. sd_get_capabilities() normally issue a CMD55 followed by a CMD51. However, on at least Amlogic

Re: [PATCH v3 1/3] riscv: dts: sophgo: add basic device tree for Milk-V Duo board

2024-01-27 Thread Yixun Lan
Hi Kongyang: On 23:05 Sun 21 Jan , Kongyang Liu wrote: > Import device tree from Linux kernel to add basic support for CPU, PLIC, > UART and Timer. The name cv1800b in the filename represent the chip used > on Milk-V Duo board. > > Signed-off-by: Kongyang Liu > > --- > > Changes in v3: >

Re: Pull request smbios-2024-04-rc1-2

2024-01-27 Thread Tom Rini
On Sat, Jan 27, 2024 at 09:55:04AM +0100, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit e7f9e5eb584dd0b5d1b1ff82fe607d6da9940cc6: > > Merge branch '2024-01-24-assorted-fixes-and-updates' (2024-01-25 > 11:01:38 -0500) > > are available in the Git repository at:

[PATCH] configs: visionfive2: Disable ENV_IS_NOWHERE

2024-01-27 Thread Aurelien Jarno
The VisionFive 2 board supports saving the u-boot environment settings are saved to on-board SPI flash. However the defconfig enables both ENV_IS_NOWHERE and ENV_IS_IN_SPI_FLASH, preventing the "saveenv" command to work. Fix that by disabling ENV_IS_NOWHERE. Fixes: 7d79bed00c9e ("configs:

Re: [PATCH v1] tools: mkimage: Add support for i.MXRT FlexSPI Header

2024-01-27 Thread Fabio Estevam
On Tue, Jan 23, 2024 at 11:15 PM Jesse Taube wrote: > > Modify imx8m Flex SPI Configuration Block to work with imxrt. > Add more Flex SPI configuration options to Kconfig. > > Signed-off-by: Jesse Taube Applied, thanks.

Re: [PATCH] ARM: imx: Enable kaslrseed command on Data Modul i.MX8M Mini/Plus eDM SBC

2024-01-27 Thread Fabio Estevam
On Mon, Jan 22, 2024 at 11:56 AM Marek Vasut wrote: > > 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

Re: [PATCH] toradex: tdx-cfg-block: Add new apalis and colibri pid

2024-01-27 Thread Fabio Estevam
On Thu, Jan 25, 2024 at 8:02 AM Francesco Dolcini wrote: > there is some trailing space here at the end of the line. > > Fabio, can you fix this up before applying? Removed the whitespace and applied it, thanks.

Re: [PATCH 1/3] rockchip: rk35xx: Remove use of eMMC DDR52 mode

2024-01-27 Thread Jonas Karlman
Hi Eugen, On 2024-01-27 04:48, Eugen Hristev wrote: > Hi Jonas, > > > On 1/27/24 01:26, Jonas Karlman wrote: >> Writing to eMMC using DDR52 mode does not work reliably or at all on >> RK356x and RK3588 boards. >> > > > This is related to the old issue I encountered last year with mmc write?

Pull request smbios-2024-04-rc1-2

2024-01-27 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit e7f9e5eb584dd0b5d1b1ff82fe607d6da9940cc6: Merge branch '2024-01-24-assorted-fixes-and-updates' (2024-01-25 11:01:38 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/smbios-2024-04-rc1-2

Re: [PATCH v1] sunxi: R528: add UART1 support

2024-01-27 Thread Maxim Kiselev
пт, 26 янв. 2024 г. в 20:11, Andre Przywara : > > On Sun, 21 Jan 2024 14:49:08 +0300 > Maksim Kiselev wrote: > > > Add PG6-PG7 pins configuration for the SPL to allow use UART1 > > on boards with the Allwinner R528/T113 family. > > That looks alright. Not super happy to take yet another