[PATCH] RockPi4: Add UEFI capsule update support

2022-05-12 Thread Sughosh Ganu
Add support for updating the idbloader and u-boot images through the UEFI capsule update functionality. Enable the modules required for supporting the functionality. The implementation is for the updatable images placed on a GPT partitioned storage device. With the GPT partition devices, the parti

[PATCH 12/14] power: regulator: scmi: support SCMI multi-channel

2022-05-12 Thread Etienne Carriere
Update SCMI regulator controller driver to get its assigned SCMI channel during initialization. This change allows SCMI voltage domain protocol to use a dedicated channel when defined in the DT. The reference is saved in SCMI regulator controller driver private data. Cc: Jaehoon Chung Signed-off-

[PATCH 14/14] firmware: scmi: use multi channel in mailbox, optee and smccc agents

2022-05-12 Thread Etienne Carriere
Updates .process_msg operators of the SCMI transport drivers that supports multi-channel to use it now that drivers do provide the reference through channel argument. These are the mailbox agent, the optee agent and the smccc agent. Signed-off-by: Etienne Carriere --- drivers/firmware/scmi/mailb

[PATCH 13/14] power: regulator: scmi: simplify scmi_voltd_set_enable()

2022-05-12 Thread Etienne Carriere
Simplify scmi_voltd_set_enable() exit sequence. Cc: Jaehoon Chung Signed-off-by: Etienne Carriere --- drivers/power/regulator/scmi_regulator.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/power/regulator/scmi_regulator.c b/drivers/power/regulator/scmi_regula

[PATCH 11/14] reset: scmi: support SCMI multi-channel

2022-05-12 Thread Etienne Carriere
Update SCMI reset controller driver to get its assigned SCMI channel during initialization. This change allows SCMI reset domain protocol to use a dedicated channel when defined in the DT. The reference is saved in SCMI reset controller driver private data. Signed-off-by: Etienne Carriere --- dr

[PATCH 10/14] clk: scmi: support SCMI multi-channel

2022-05-12 Thread Etienne Carriere
Update SCMI clock driver to get its assigned SCMI channel during initialization. This change allows SCMI clock protocol to use a dedicated channel when defined in the DT. The reference is saved in SCMI clock driver private data. Cc: Lukasz Majewski Cc: Sean Anderson Signed-off-by: Etienne Carrie

[PATCH 08/14] firmware: scmi: smccc transport: implement multi-channel

2022-05-12 Thread Etienne Carriere
Updates SCMI SMCCC transport driver to get SCMI channel reference at initialization and use when posting SCMI messages. Signed-off-by: Etienne Carriere --- drivers/firmware/scmi/smccc_agent.c | 54 +++-- 1 file changed, 52 insertions(+), 2 deletions(-) diff --git a/drive

[PATCH 09/14] firmware: scmi: optee transport: implement multi-channel

2022-05-12 Thread Etienne Carriere
Implements multi SCMI channel support in OP-TEE SCMI transport. An SCMI protocol may use a dedicated channel, specified by the DT. Signed-off-by: Etienne Carriere --- drivers/firmware/scmi/optee_agent.c | 76 - 1 file changed, 63 insertions(+), 13 deletions(-) diff -

[PATCH 06/14] firmware: scmi: add multi-channel support

2022-05-12 Thread Etienne Carriere
Adds resources for SCMI protocols to possibly use a dedicated SCMI channel instead of the default channel allocated by the SCMI agent during initialization. As per DT binding documentation, some SCMI transports can define a specific SCMI communication channel for given SCMI protocols. It allows SCM

[PATCH 07/14] firmware: scmi: mailbox transport: implement multi-channel

2022-05-12 Thread Etienne Carriere
Updates SCMI mailbox transport driver to get SCMI channel reference at initialization and use when posting SCMI messages. Signed-off-by: Etienne Carriere --- drivers/firmware/scmi/mailbox_agent.c | 63 --- 1 file changed, 57 insertions(+), 6 deletions(-) diff --git a/dri

[PATCH 04/14] firmware: scmi: prepare uclass to pass channel reference

2022-05-12 Thread Etienne Carriere
Changes SCMI transport operator ::process_msg to pass the SCMI channel reference provided by caller SCMI protocol device. Signed-off-by: Etienne Carriere --- drivers/firmware/scmi/mailbox_agent.c | 4 +++- drivers/firmware/scmi/optee_agent.c| 4 +++- drivers/firmware/scmi/sandbox-sc

[PATCH 05/14] firmware: scmi: factorize scmi transport look up

2022-05-12 Thread Etienne Carriere
Defines local helper function find_scmi_transport_device() with the instructions to find the SCMI transport device from a SCMI protocol device. Cc: Patrick Delaunay Signed-off-by: Etienne Carriere --- drivers/firmware/scmi/scmi_agent-uclass.c | 26 +++ 1 file changed, 17 ins

[PATCH 03/14] firmware: scmi: prepare scmi uclass API to multi-channel

2022-05-12 Thread Etienne Carriere
Changes SCMI driver API function devm_scmi_process_msg() to add an SCMI channel reference argument for when SCMI agent supports SCMI protocol specific channels. First argument of devm_scmi_process_msg() is also change to point to the caller SCMI protocol device rather than its parent device (the SC

[PATCH 01/14] firmware: scmi: optee: use TEE shared memory for SCMI messages

2022-05-12 Thread Etienne Carriere
Changes implementation when using TEE dynamically allocated shared memory to synchronize with the Linux implementation where the legacy SMT protocol cannot be used with such memory since it is expected from device mapped memory whereas OP-TEE shared memory is cached and hence should not be accessed

[PATCH 02/14] firmware: scmi: optee: fix inline description of PTA_SCMI_CMD_GET_CHANNEL

2022-05-12 Thread Etienne Carriere
Removes inaccurate inline description of OP-TEE SCMI PTA command PTA_SCMI_CMD_GET_CHANNEL. Signed-off-by: Etienne Carriere --- drivers/firmware/scmi/optee_agent.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/firmware/scmi/optee_agent.c b/drivers/firmware/scmi/optee_agent.c index

[PATCH 00/14] SCMI multi-channel and optee shm

2022-05-12 Thread Etienne Carriere
Dear all, This series implements 2 features in driver/firmware/scmi. First, a single change adds support for SCMI OP-TEE transport to use OP-TEE native shared memory. See the 1st patch in this series: "firmware: scmi: optee: use TEE shared memory for SCMI messages". Then come changes for support

[PATCH] arm: socfpga: spl: To notify SDM when SPL pass control to U-Boot

2022-05-12 Thread dinesh . maniyam
From: Dinesh Maniyam Prior SPL pass control to U-Boot, SPL will send a mailbox command "HPS_STAGE_NOTIFY" to notify Secure Device Manager (SDM) on HPS SW transition. The purpose is for debug as user can query SDM on HPS error details when HPS enters a warm reset due to error such as watchdog. Si

[PATCH] arm: socfpga: mailbox: Add mailbox command for HPS execution notifcation

2022-05-12 Thread dinesh . maniyam
From: Dinesh Maniyam Add a new mailbox command "HPS_STAGE_NOTIFY" to notify Secure Device Manager (SDM) on the stage of HPS code execution. In general, there are three main code execution stages: First Stage Boot Loader (FSBL) which is U-Boot SPL, Second Stage Boot Loader (SSBL) which is U-Boot,

[PATCH 5/7] Convert CONFIG_SYS_BOOTPARAMS_LEN to Kconfig

2022-05-12 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_BOOTPARAMS_LEN Signed-off-by: Tom Rini --- common/Kconfig | 12 common/board_r.c | 4 ++-- configs/M5208EVBE_defconfig| 1 + configs/M5235EVB_Fla

[PATCH 7/7] spl: Remove CONFIG_SPL_BOARD_LOAD_IMAGE

2022-05-12 Thread Tom Rini
This symbol has been unused in code for some time now, remove the final references. Signed-off-by: Tom Rini --- arch/sandbox/include/asm/spl.h| 2 -- arch/x86/include/asm/spl.h| 2 -- include/configs/chromebook_link.h | 2 -- include/configs/qemu-x86.h| 2 -- 4 files changed,

[PATCH 6/7] arm: omap2plus: Move CONFIG_SYS_PTV out of CONFIG namespace

2022-05-12 Thread Tom Rini
This is always defined to 2, and referenced in two places. Move the define to and make sure the code that uses this includes that file. Make not include that file, as we don't need to be doing so. Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-omap4/clock.h | 1 - arch/arm/include/asm

[PATCH 3/7] Convert CONFIG_SYS_BARGSIZE to Kconfig

2022-05-12 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_BARGSIZE Signed-off-by: Tom Rini --- Kconfig | 8 README | 4 boot/image-board.c | 6 ++ configs/eb_cpu5282_defconfig

[PATCH 4/7] Convert CONFIG_HUSH_INIT_VAR to Kconfig

2022-05-12 Thread Tom Rini
This converts the following to Kconfig: CONFIG_HUSH_INIT_VAR Signed-off-by: Tom Rini --- board/keymile/Kconfig | 3 +++ include/configs/km/keymile-common.h| 2 -- include/configs/socfpga_arria5_secu1.h | 1 - scripts/config_whitelist.txt | 1 - 4 files changed,

Re: [PATCH v2] fs/squashfs: use lldiv function for math

2022-05-12 Thread Pali Rohár
On Thursday 12 May 2022 20:37:14 Sean Nyekjaer wrote: > From: Sean Nyekjaer > > When compling for x86: > ld.bfd: fs/squashfs/sqfs.o: in function `sqfs_read': > u-boot/fs/squashfs/sqfs.c:1443: undefined reference to `__udivmoddi4' > ld.bfd: u-boot/fs/squashfs/sqfs.c:1521: undefined reference to `_

Re: [PATCH v2 2/3] efi_loader: bootmgr: fix a problem in loading an image from a short-path

2022-05-12 Thread Heinrich Schuchardt
Am 12. Mai 2022 09:25:46 MESZ schrieb AKASHI Takahiro : >On Thu, May 12, 2022 at 08:50:34AM +0200, Heinrich Schuchardt wrote: >> On 5/12/22 04:29, AKASHI Takahiro wrote: >> > Booting from a short-form device path which starts with the first element >> > being a File Path Media Device Path faile

Re: [PATCH] fs/squashfs: use do_div function for math

2022-05-12 Thread Pali Rohár
On Thursday 12 May 2022 20:52:30 Michael Nazzareno Trimarchi wrote: > Hi > > Il gio 12 mag 2022, 20:02 Sean Nyekjaer ha scritto: > > > On Thu, May 12, 2022 at 12:24:01PM +0200, Pali Rohár wrote: > > > On Thursday 12 May 2022 12:19:01 Pali Rohár wrote: > > > > On Monday 09 May 2022 15:08:15 Mique

Re: [PATCH] fs/squashfs: use do_div function for math

2022-05-12 Thread Michael Nazzareno Trimarchi
Hi Il gio 12 mag 2022, 20:02 Sean Nyekjaer ha scritto: > On Thu, May 12, 2022 at 12:24:01PM +0200, Pali Rohár wrote: > > On Thursday 12 May 2022 12:19:01 Pali Rohár wrote: > > > On Monday 09 May 2022 15:08:15 Miquel Raynal wrote: > > > > Hello, > > > > > > > > tr...@konsulko.com wrote on Thu, 5

Re: [PATCH] fs/squashfs: use do_div function for math

2022-05-12 Thread Sean Nyekjaer
On Thu, May 12, 2022 at 08:41:15PM +0200, Pali Rohár wrote: > On Thursday 12 May 2022 20:02:33 Sean Nyekjaer wrote: > > On Thu, May 12, 2022 at 12:24:01PM +0200, Pali Rohár wrote: > > > On Thursday 12 May 2022 12:19:01 Pali Rohár wrote: > > > > On Monday 09 May 2022 15:08:15 Miquel Raynal wrote: >

Re: [PATCH] fs/squashfs: use do_div function for math

2022-05-12 Thread Pali Rohár
On Thursday 12 May 2022 20:02:33 Sean Nyekjaer wrote: > On Thu, May 12, 2022 at 12:24:01PM +0200, Pali Rohár wrote: > > On Thursday 12 May 2022 12:19:01 Pali Rohár wrote: > > > On Monday 09 May 2022 15:08:15 Miquel Raynal wrote: > > > > Hello, > > > > > > > > tr...@konsulko.com wrote on Thu, 5 May

[PATCH v2] fs/squashfs: use lldiv function for math

2022-05-12 Thread Sean Nyekjaer
From: Sean Nyekjaer When compling for x86: ld.bfd: fs/squashfs/sqfs.o: in function `sqfs_read': u-boot/fs/squashfs/sqfs.c:1443: undefined reference to `__udivmoddi4' ld.bfd: u-boot/fs/squashfs/sqfs.c:1521: undefined reference to `__udivmoddi4' Signed-off-by: Sean Nyekjaer Reviewed-by: Miquel Ra

Re: [PATCH] fs/squashfs: use do_div function for math

2022-05-12 Thread Tom Rini
On Thu, May 12, 2022 at 08:02:33PM +0200, Sean Nyekjaer wrote: > On Thu, May 12, 2022 at 12:24:01PM +0200, Pali Rohár wrote: > > On Thursday 12 May 2022 12:19:01 Pali Rohár wrote: > > > On Monday 09 May 2022 15:08:15 Miquel Raynal wrote: > > > > Hello, > > > > > > > > tr...@konsulko.com wrote on T

Re: [PATCH] fs/squashfs: use do_div function for math

2022-05-12 Thread Sean Nyekjaer
On Thu, May 12, 2022 at 12:24:01PM +0200, Pali Rohár wrote: > On Thursday 12 May 2022 12:19:01 Pali Rohár wrote: > > On Monday 09 May 2022 15:08:15 Miquel Raynal wrote: > > > Hello, > > > > > > tr...@konsulko.com wrote on Thu, 5 May 2022 09:15:00 -0400: > > > > > > > On Thu, May 05, 2022 at 11:26

Re: [PATCH 1/6] Revert "Convert CONFIG_SYS_BR0_PRELIM et al to Kconfig"

2022-05-12 Thread Pali Rohár
On Thursday 12 May 2022 12:01:26 Tom Rini wrote: > On Sun, May 01, 2022 at 12:17:51PM -0400, Tom Rini wrote: > > On Sun, May 01, 2022 at 05:33:19PM +0200, Pali Rohár wrote: > > > On Sunday 01 May 2022 11:14:21 Tom Rini wrote: > > > > On Sun, May 01, 2022 at 04:44:16PM +0200, Pali Rohár wrote: > > >

Re: [PATCH 1/6] Revert "Convert CONFIG_SYS_BR0_PRELIM et al to Kconfig"

2022-05-12 Thread Tom Rini
On Sun, May 01, 2022 at 12:17:51PM -0400, Tom Rini wrote: > On Sun, May 01, 2022 at 05:33:19PM +0200, Pali Rohár wrote: > > On Sunday 01 May 2022 11:14:21 Tom Rini wrote: > > > On Sun, May 01, 2022 at 04:44:16PM +0200, Pali Rohár wrote: > > > > On Sunday 01 May 2022 10:39:39 Tom Rini wrote: > > > >

Re: [PATCH v2 0/6] introduce Arm FF-A support

2022-05-12 Thread Ilias Apalodimas
Hi Abdellatif, On Thu, May 12, 2022 at 03:04:38PM +0100, Abdellatif El Khlifi wrote: > On Mon, May 09, 2022 at 11:55:14AM +0100, Abdellatif El Khlifi wrote: > > On Fri, Apr 15, 2022 at 11:43:25AM -0400, Tom Rini wrote: > > > On Fri, Apr 15, 2022 at 01:27:57PM +0100, abdellatif.elkhl...@arm.com >

[PATCH 2/3] usb: add isp1760 family driver

2022-05-12 Thread Rui Miguel Silva
ISP1760/61/63 are a family of usb controllers, here the main goal is to support the ISP1763 hcd part found in the MPS3 FPGA board form Arm. This is based on the kernel driver and ported to u-boot. Signed-off-by: Rui Miguel Silva --- Makefile|1 + drivers/usb/Kconf

[PATCH] Update email address and company name

2022-05-12 Thread Christophe Leroy
This patch updates my email address and company name. Signed-off-by: Christophe Leroy --- board/cssi/MAINTAINERS | 4 ++-- doc/git-mailrc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/cssi/MAINTAINERS b/board/cssi/MAINTAINERS index cbf1406a54..7d237b0b20 10

[PATCH 3/3] corstone1000: enable isp1763 usb controller and mmc

2022-05-12 Thread Rui Miguel Silva
MPS3 board have a ISP1763 usb controller, enable it to be used for mass storage access for example. Enable the usb command also and for the FVP support for mass storage enable the mmc command. Signed-off-by: Rui Miguel Silva --- configs/corstone1000_defconfig | 3 +++ include/configs/corstone100

[PATCH 1/3] usb: common: move urb code to common

2022-05-12 Thread Rui Miguel Silva
Move urb code from musb only use to a more common scope, so other drivers in the future can use the handling of urb in usb. Signed-off-by: Rui Miguel Silva --- drivers/usb/common/Makefile | 2 + drivers/usb/common/usb_urb.c | 160 ++ drivers/u

[PATCH 0/3] usb: add isp1760 hcd support

2022-05-12 Thread Rui Miguel Silva
Add support for the usb isp1760 host controller family, which for example is present in MPS3 FPGA board from Arm (isp1763). First we move some helper functions and defines to a more common place to be shared by several urb users. (patch 1/3) Then add the driver itself, is a ported version of the

Re: [PATCH v2 0/6] introduce Arm FF-A support

2022-05-12 Thread Abdellatif El Khlifi
On Mon, May 09, 2022 at 11:55:14AM +0100, Abdellatif El Khlifi wrote: > On Fri, Apr 15, 2022 at 11:43:25AM -0400, Tom Rini wrote: > > On Fri, Apr 15, 2022 at 01:27:57PM +0100, abdellatif.elkhl...@arm.com wrote: > > > > > From: Abdellatif El Khlifi > > > > > > This patchset adds support for Arm F

[PATCH] net: mpc8xx_fec: Migrate to DM_ETH

2022-05-12 Thread Christophe Leroy
Migrate mpc8xx_fec driver to DM_ETH. Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cpu.c | 12 --- arch/powerpc/dts/mcr3000.dts | 4 + configs/MCR3000_defconfig | 1 + drivers/net/Kconfig | 1 + drivers/net/mpc8xx_fec.c | 189 ++---

Re: [PATCH] imx8mn_evk: Add the missing spl.bin entry

2022-05-12 Thread Arti Zirk
On T, 2022-05-03 at 16:03 -0300, Fabio Estevam wrote: > From: Fabio Estevam > > The generated flash.bin does not boot the imx8mn evk LPDDR4 variant > as it misses the spl.bin description in binman. > > Add its entry to fix the boot on the imx8mn evk LPDDR4 variant. > > Signed-off-by: Fabio Este

Re: [PATCH v5 10/17] bootmenu: add distro boot entry

2022-05-12 Thread Mark Kettenis
> Date: Thu, 12 May 2022 12:39:39 +0200 > From: Heinrich Schuchardt > > Am 12. Mai 2022 10:44:28 MESZ schrieb Takahiro Akashi > : > >On Sun, May 01, 2022 at 11:48:40PM +0200, Heinrich Schuchardt wrote: > >> On 4/28/22 10:09, Masahisa Kojima wrote: > >> > This commit adds the distro_boot entries

Re: [PATCH v5 10/17] bootmenu: add distro boot entry

2022-05-12 Thread Heinrich Schuchardt
Am 12. Mai 2022 10:44:28 MESZ schrieb Takahiro Akashi : >On Sun, May 01, 2022 at 11:48:40PM +0200, Heinrich Schuchardt wrote: >> On 4/28/22 10:09, Masahisa Kojima wrote: >> > This commit adds the distro_boot entries into the bootmenu. >> > The bootmenu read the "boot_targets" U-Boot environment va

Re: [PATCH v5 06/17] efi_loader: bootmgr: add booting from removable media

2022-05-12 Thread Heinrich Schuchardt
Am 12. Mai 2022 11:12:47 MESZ schrieb AKASHI Takahiro : >Heinrich, > >On Thu, May 05, 2022 at 02:47:35PM +0200, Mark Kettenis wrote: >> > Date: Thu, 5 May 2022 14:05:04 +0200 (CEST) >> > From: Mark Kettenis >> > >> > > Date: Fri, 29 Apr 2022 19:03:22 +0200 >> > > From: Heinrich Schuchardt >> >

Re: [PATCH] fs/squashfs: use do_div function for math

2022-05-12 Thread Pali Rohár
On Thursday 12 May 2022 12:19:01 Pali Rohár wrote: > On Monday 09 May 2022 15:08:15 Miquel Raynal wrote: > > Hello, > > > > tr...@konsulko.com wrote on Thu, 5 May 2022 09:15:00 -0400: > > > > > On Thu, May 05, 2022 at 11:26:37AM +0200, Sean Nyekjaer wrote: > > > > > > > From: Sean Nyekjaer > >

Re: [PATCH] fs/squashfs: use do_div function for math

2022-05-12 Thread Pali Rohár
On Monday 09 May 2022 15:08:15 Miquel Raynal wrote: > Hello, > > tr...@konsulko.com wrote on Thu, 5 May 2022 09:15:00 -0400: > > > On Thu, May 05, 2022 at 11:26:37AM +0200, Sean Nyekjaer wrote: > > > > > From: Sean Nyekjaer > > > > > > When compling for x86: > > > ld.bfd: fs/squashfs/sqfs.o: i

[PATCH 3/5] spi: cadence-qspi: reset qspi flash for versal platform

2022-05-12 Thread Ashok Reddy Soma
From: T Karthik Reddy When flash operated at non default mode like DDR, flash need to be reset to operate in SDR mode to read flash ids by spi-nor framework. Reset the flash to the default state before using the flash. This reset is handled by a gpio driver, in case of mini U-Boot as gpio driver

[PATCH 5/5] spi: cadence-qspi: Fix programming ospi flash speed

2022-05-12 Thread Ashok Reddy Soma
From: T Karthik Reddy When the requested flash speed is 0, the baudrate division for the requested speed causing drop in the performance. So set the ospi flash to operate at max frequency when requested speed is zero. Signed-off-by: T Karthik Reddy Signed-off-by: Ashok Reddy Soma --- drivers

[PATCH 1/5] spi: cadence-qspi: move cadence qspi macros to header file

2022-05-12 Thread Ashok Reddy Soma
From: T Karthik Reddy Move all the cadence macros from cadence_qspi_apb.c to cadence_qspi.h file. Signed-off-by: T Karthik Reddy Signed-off-by: Ashok Reddy Soma --- drivers/spi/cadence_qspi.h | 182 + drivers/spi/cadence_qspi_apb.c | 151 --

[PATCH 0/5] Add support for versal specific cadence ospi driver

2022-05-12 Thread Ashok Reddy Soma
This patch series does the following: * Move macros from cadence driver to cadence header file * Add new versal specific cadence ospi driver * Reset qspi flash in when driver probed * Enable/Disable apb linear mode based on dma usage * Fix cadence qspi flash speed programming T Karthik Reddy

[PATCH 4/5] spi: cadence_qspi: Enable apb linear mode for apb read & write operations

2022-05-12 Thread Ashok Reddy Soma
From: T Karthik Reddy On versal platform, enable apb linear mode for apb read and write execute operations amd disable it when using dma reads. This is done by xilinx_pm_request() secure calls when CONFIG_ZYNQMP_FIRMWARE is enabled, else we use direct raw reads and writes in case of mini U-Boot.

[PATCH 2/5] arm64: versal: Add versal specific cadence ospi driver

2022-05-12 Thread Ashok Reddy Soma
From: T Karthik Reddy Add support for cadence ospi driver for Versal platform. This driver provides support for DMA read operation which utilizes cadence qspi driver. If "cdns,is-dma" DT property is specified use dma for read operation from cadence_qspi driver. As cadence_qspi_apb_dma_read() is d

Re: [PATCH v5 06/17] efi_loader: bootmgr: add booting from removable media

2022-05-12 Thread AKASHI Takahiro
Heinrich, On Thu, May 05, 2022 at 02:47:35PM +0200, Mark Kettenis wrote: > > Date: Thu, 5 May 2022 14:05:04 +0200 (CEST) > > From: Mark Kettenis > > > > > Date: Fri, 29 Apr 2022 19:03:22 +0200 > > > From: Heinrich Schuchardt > > > > > > On 4/28/22 10:09, Masahisa Kojima wrote: > > > > From: AK

Re: [PATCH v5 10/17] bootmenu: add distro boot entry

2022-05-12 Thread Takahiro Akashi
On Sun, May 01, 2022 at 11:48:40PM +0200, Heinrich Schuchardt wrote: > On 4/28/22 10:09, Masahisa Kojima wrote: > > This commit adds the distro_boot entries into the bootmenu. > > The bootmenu read the "boot_targets" U-Boot environment variable > > and enumerate it. > > User can select the distro b

Re: Bug in p1_p2_rdb_pc? Caching-inhibited bit for initial L2 SRAM entry in TLB

2022-05-12 Thread Sinan Akman
  Hi Pali On 2022-05-08 11:08 a.m., Pali Rohár wrote: On Thursday 14 April 2022 23:05:39 Pali Rohár wrote: + Sinan On Wednesday 13 April 2022 11:26:33 Pali Rohár wrote: On Tuesday 05 April 2022 10:57:37 Pali Rohár wrote: Hello! I suspect that there is a bug in board/freescale/p1_p2_rdb_pc

[PATCH 3/3] net: dwc_eth_qos: set proper DT node for phy device

2022-05-12 Thread Rasmus Villemoes
Similar to what was done for the FEC driver in commit 89b5bd54c1a4 (net: fec: Allow the PHY node to be retrieved), make sure the PHY is associated with the right device tree node, so that phy specific DT properties is accessible by the phy driver. This is required on a custom iMX8MP board with a t

[PATCH 2/3] phy: introduce eth_phy_get_node_and_addr()

2022-05-12 Thread Rasmus Villemoes
Callers often don't just need to know the address of the phy, but also need to know its DT node so that a subsequent call of phy_config() can fetch various DT attributes specific to the given phy. Currently, phy_get_ofnode() usually incorrectly returns a pointer to the node for the ethernet control

[PATCH 1/3] net: dwc_eth_qos: remove use of DWC_NET_PHYADDR

2022-05-12 Thread Rasmus Villemoes
Only two boards in the tree set the macro DWC_NET_PHYADDR. Both have CONFIG_DM_ETH_PHY=y, so should set the phy address in DT if necessary. The imx8mp_evk does set the correct address in device tree. The other board seems to be a copy-paste-adapt from an old version of the imx8mp_evk config heade

[PATCH 0/3] dwc_eth_qos PHY dt node fixups

2022-05-12 Thread Rasmus Villemoes
I need the dwc_eth_qos to gain a fix similar to what fec_mxc got in 89b5bd54c1a4. The first patch provides a simplification around the logic for fetching the phy's address, so there's one less case to worry about. The second introduces a little helper (it doesn't essentially add any extra code si

Re: [PATCH v2 2/3] efi_loader: bootmgr: fix a problem in loading an image from a short-path

2022-05-12 Thread AKASHI Takahiro
On Thu, May 12, 2022 at 08:50:34AM +0200, Heinrich Schuchardt wrote: > On 5/12/22 04:29, AKASHI Takahiro wrote: > > Booting from a short-form device path which starts with the first element > > being a File Path Media Device Path failed because it doesn't contain > > any valid device with simple fi

[PATCH v1 2/2] spi: stm32_qspi: Remove SR_BUSY bit check before sending command

2022-05-12 Thread Patrice Chotard
Waiting for SR_BUSY bit when receiving a new command is not needed. SR_BUSY bit is already managed in the previous command treatment. Signed-off-by: Patrice Chotard --- drivers/spi/stm32_qspi.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/spi/stm32_qspi.c b/drivers/spi/stm32_

[PATCH v1 1/2] spi: stm32_qspi: Always check SR_TCF flags in stm32_qspi_wait_cmd()

2022-05-12 Thread Patrice Chotard
Currently, SR_TCF flag is checked in case there is data, this criteria is not correct. SR_TCF flags is set when programmed number of bytes have been transferred to the memory device ("bytes" comprised command and data send to the SPI device). So even if there is no data, we must check SR_TCF flag.

[PATCH v1 0/2] spi: stm32_qspi: flags management fixes

2022-05-12 Thread Patrice Chotard
This series update flags management in the following cases: - Always check TCF flag in stm32_qspi_wait_cmd() - Don't check BUSY flag when sending new command Patrice Chotard (2): spi: stm32_qspi: Always check SR_TCF flags in stm32_qspi_wait_cmd() spi: stm32_qspi: Remove SR_BUSY bit check b

Re: [PATCH v2 3/3] test: efi_bootmgr: add a test case for a short-form path

2022-05-12 Thread AKASHI Takahiro
On Thu, May 12, 2022 at 09:02:36AM +0200, Heinrich Schuchardt wrote: > On 5/12/22 04:29, AKASHI Takahiro wrote: > > A short-form path starting with a file device path will be tested in > > a new test case. > > > > This type of short-form path will be created with "efidebug boot add -b", > > in par

Re: [PATCH v2 3/3] test: efi_bootmgr: add a test case for a short-form path

2022-05-12 Thread Heinrich Schuchardt
On 5/12/22 04:29, AKASHI Takahiro wrote: A short-form path starting with a file device path will be tested in a new test case. This type of short-form path will be created with "efidebug boot add -b", in particular, when a file system has no partition table. Signed-off-by: AKASHI Takahiro ---