[PATCH] arm: dts: socfpga: stratix10: Update MMC smplsel value

2022-04-27 Thread yau . wai . gan
From: Yau Wai Gan This new MMC sample select value is obtained from running tests on multiple Stratix 10 boards and proven working. Signed-off-by: Yau Wai Gan --- arch/arm/dts/socfpga_stratix10_socdk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH V2 2/4] mtd: nand: mxs_nand_spl: Fix bad block skipping

2022-04-27 Thread Michael Nazzareno Trimarchi
Hi On Thu, Apr 28, 2022 at 2:27 AM Han Xu wrote: > > > > > -Original Message- > > From: Michael Trimarchi > > Sent: Wednesday, April 27, 2022 12:50 AM > > To: Han Xu ; U-Boot-Denx > > Cc: Ye Li ; Stefano Babic ; Miquel Raynal > > ; Fabio Estevam ; Dario > > Binacchi ; Sean Anderson > >

Re: [PATCH v5 00/12] efi_loader: more tightly integrate UEFI disks to driver model

2022-04-27 Thread AKASHI Takahiro
On Wed, Apr 27, 2022 at 12:26:09PM +0900, AKASHI Takahiro wrote: > Heinrich, > > On Tue, Apr 26, 2022 at 07:02:46PM +0200, Heinrich Schuchardt wrote: > > On 4/26/22 16:44, AKASHI Takahiro wrote: > > > On Tue, Apr 26, 2022 at 03:57:26PM +0200, Heinrich Schuchardt wrote: > > >> On 4/26/22 01:44,

[PATCH] efi_loader: fix a problem in loading an image from a short-path

2022-04-27 Thread AKASHI Takahiro
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 file system protocol and efi_dp_find_obj() in efi_load_image_from_path() will return NULL. For instance,

[PATCH] efi_loader: disk: allow blk devices even without UCLASS_PARTITION

2022-04-27 Thread AKASHI Takahiro
While GPT partition is mandated in UEFI specification, CONFIG_PARTITION is seen optional under the current implementation. So modify efi_disk_rw_blocks() to allow accepting UCLASS_BLK devices. Fixes: commit d97e98c887ed ("efi_loader: disk: use udevice instead of blk_desc") Signed-off-by: AKASHI

Re: [PATCH] mtd: spi-nor-ids: Add support for W25Q512JV

2022-04-27 Thread Dhananjay Phadke
On 4/20/2022 8:18 AM, Jaap Crezee wrote: Hi Dhananjay, On 1/9/22 00:47, Dhananjay Phadke wrote: Will send v2 to use "w25q512jvm" name to be consistent with other DTR parts. Any follow-up on this? Hi Jaap, I didn't get hold of the system with that flash part to collect SFDP output for

Re: pull request of u-boot-mpc85xx, fsl-qoriq for v2022.07

2022-04-27 Thread Tom Rini
On Wed, Apr 27, 2022 at 10:11:27AM +, Priyanka Jain wrote: > Hello Tom, > > Please find my pull-request for u-boot-mpc85xx/master > https://github.com/u-boot/u-boot/pull/170 > > > Summary > fsl-qoriq: Fixes and updates on fsl-layerscape > mpc85xx: fixes and code cleanup > > Regards >

Re: [GIT PULL] Please pull u-boot-amlogic-20220427

2022-04-27 Thread Tom Rini
8 -0400) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custodians/u-boot-amlogic.git > tags/u-boot-amlogic-20220427 > > for you to fetch changes up to 5a9e5922ceccd55dc6427b3cf61b4dc74c7322ab: > > doc: boards: amlogic: update jethub d1 specif

Re: [PATCH v1] sunxi: Make SYS_VENDOR, SYS_BOARD, SYS_CONFIG_NAME configurable

2022-04-27 Thread qianfan
在 2022/4/28 8:16, Andre Przywara 写道: On Wed, 27 Apr 2022 08:42:09 +0800 qianfan wrote: Hi, 在 2022/4/26 20:49, Andre Przywara 写道: On Thu, 21 Apr 2022 11:32:11 +0800 qianfangui...@163.com wrote: Hi, From: qianfan Zhao The board is not configurable if use sunxi soc. Add Kconfig items

RE: [PATCH V2 2/4] mtd: nand: mxs_nand_spl: Fix bad block skipping

2022-04-27 Thread Han Xu
> -Original Message- > From: Michael Trimarchi > Sent: Wednesday, April 27, 2022 12:50 AM > To: Han Xu ; U-Boot-Denx > Cc: Ye Li ; Stefano Babic ; Miquel Raynal > ; Fabio Estevam ; Dario > Binacchi ; Sean Anderson > ; linux-ker...@amarulasolutions.com; Jagan Teki > ; Ariel

Re: [PATCH v1] sunxi: Make SYS_VENDOR, SYS_BOARD, SYS_CONFIG_NAME configurable

2022-04-27 Thread Andre Przywara
On Wed, 27 Apr 2022 08:42:09 +0800 qianfan wrote: Hi, > 在 2022/4/26 20:49, Andre Przywara 写道: > > On Thu, 21 Apr 2022 11:32:11 +0800 > > qianfangui...@163.com wrote: > > > > Hi, > > > >> From: qianfan Zhao > >> > >> The board is not configurable if use sunxi soc. Add Kconfig items and > >>

[PATCH] board: gateworks: venice: add fixup for GW73xx-C+

2022-04-27 Thread Tim Harvey
The GW73xx-C revision and onward replaced the 5-port PCIe switch with a 4-port (dropping PCIe to one of the miniPCIe sockets) due to part availability. This moved the PCI bus of the GbE eth1 device. Use a fixup to adjust the dt accordingly so that local-mac-address assigned from dt works on new

Re: [PATCH v4] board: purism: add the Purism Librem5 phone

2022-04-27 Thread Alper Nebi Yasak
On 25/04/2022 20:06, Angus Ainslie wrote: > Initial commit of Librem5 u-boot and SPL > > Signed-off-by: Angus Ainslie > Co-developed-by: Sebastian Krzyszkowiak > Signed-off-by: Sebastian Krzyszkowiak > --- > > All of the pre-requisite patches for this board are now upstream or in review. > >

[PATCH 12/12] ARM: dts: sun50i: H6: Sync from Linux v5.18-rc1

2022-04-27 Thread Samuel Holland
Copy the devicetree source for the H6 SoC and all existing boards from the Linux v5.18-rc1 tag. To maintain ABI compatibility with existing LTS kernels, one change moving some IP blocks to the r_intc interrupt controller is excluded. This effectively reverts Linux commits 189bef235dd3 and

[PATCH 10/12] ARM: dts: sun8i: R40/T3: Sync from Linux v5.18-rc1

2022-04-27 Thread Samuel Holland
Copy the devicetree for the R40/T3 SoC verbatim from the Linux v5.18-rc1 tag. None of the existing boards had any devicetree updates. This commit adds the following new board devicetrees: - sun8i-r40-oka40i-c.dts - sun8i-t3-cqa3t-bv3.dts Signed-off-by: Samuel Holland ---

[PATCH 04/12] ARM: dts: sun7i: Sync from Linux v5.18-rc1

2022-04-27 Thread Samuel Holland
Copy the devicetree source for the A20 SoC and all existing boards verbatim from the Linux v5.18-rc1 tag. This commit also adds the following new board devicetrees: - sun7i-a20-haoyu-marsboard.dts - sun7i-a20-linutronix-testbox-v2.dts - sun7i-a20-olinuxino-lime-emmc.dts This update includes

[PATCH 09/12] ARM: dts: sun8i: V3/V3s/S3: Sync from Linux v5.18-rc1

2022-04-27 Thread Samuel Holland
Copy the devicetree source for the V3(s)/S3 SoCs and all existing boards verbatim from the Linux v5.18-rc1 tag. This commit also adds the following new board devicetrees: - sun8i-s3-elimo-initium.dts - sun8i-v3-sl631-imx179.dts This update should not impact any existing U-Boot functionality.

[PATCH 11/12] ARM: dts: sun50i: A64: Sync from Linux v5.18-rc1

2022-04-27 Thread Samuel Holland
Copy the devicetree source for the A64 SoC and all existing boards from the Linux v5.18-rc1 tag. To maintain ABI compatibility with existing LTS kernels, one change moving some IP blocks to the r_intc interrupt controller is excluded. This effectively reverts Linux commits 189bef235dd3 and

[PATCH 07/12] ARM: dts: sun8i: A83T: Sync from Linux v5.18-rc1

2022-04-27 Thread Samuel Holland
Copy the devicetree source for the A83T SoC and all existing boards from the Linux v5.18-rc1 tag. To maintain ABI compatibility with existing LTS kernels, one change moving some IP blocks to the r_intc interrupt controller is excluded. This effectively reverts Linux commits 994e5818392c and

[PATCH 08/12] ARM: dts: sunxi: H2+/H3/H5: Sync from Linux v5.18-rc1

2022-04-27 Thread Samuel Holland
Copy the devicetree source for the H2+/H3/H5 SoCs and all existing boards from the Linux v5.18-rc1 tag. To maintain ABI compatibility with existing LTS kernels, one change moving some IP blocks to the r_intc interrupt controller is excluded. This effectively reverts Linux commits 994e5818392c and

[PATCH 06/12] ARM: dts: sun9i: Sync from Linux v5.18-rc1

2022-04-27 Thread Samuel Holland
Copy the devicetree source for the A80 SoC and all existing boards verbatim from the Linux v5.18-rc1 tag. This update should not impact any existing U-Boot functionality. Signed-off-by: Samuel Holland --- arch/arm/dts/sun9i-a80-cubieboard4.dts | 67 ++---

[PATCH 03/12] ARM: dts: sun4i: Sync from Linux v5.18-rc1

2022-04-27 Thread Samuel Holland
Copy the devicetree source for the A10 SoC and all existing boards verbatim from the Linux v5.18-rc1 tag. This commit also adds the following new board devicetree: - sun4i-a10-topwise-a721.dts While this update should not impact any existing U-Boot functionality, the changes to the USB PHY

[PATCH 01/12] dt-bindings: sunxi: Update clock/reset binding headers

2022-04-27 Thread Samuel Holland
Some devicetree updates make use of newly-exposed clocks and resets. To support that, copy the binding headers from the Linux v5.18-rc1 tag. Signed-off-by: Samuel Holland --- include/dt-bindings/clock/sun50i-a64-ccu.h| 2 +- include/dt-bindings/clock/sun5i-ccu.h | 13 ++---

[PATCH 02/12] ARM: dts: sunxi: Remove unused devicetree headers

2022-04-27 Thread Samuel Holland
These files are not included anywhere and do not exist in the Linux devicetree source. Signed-off-by: Samuel Holland --- arch/arm/dts/sun5i-q8-common.dtsi | 180 -- arch/arm/dts/sunxi-q8-common.dtsi | 83 -- 2 files changed, 263 deletions(-) delete

[PATCH 00/12] sunxi: Devicetree sync from Linux v5.18-rc1

2022-04-27 Thread Samuel Holland
This series brings all of our devicetrees up to date with Linux. Older SoCs (before A83T) have not been synchronized in over 3 years. And I don't have any of this hardware to test. But there are not major changes to those devicetrees either. The big motivation for including older SoCs in this

Re: [PATCH] patman: Fix defaults not propegating to subparsers

2022-04-27 Thread Alper Nebi Yasak
On 22/04/2022 19:50, Sean Anderson wrote: > On python 3.8.10, subparsers are not updated with defaults. I suspect > this is related to [1]. Fix this by explicitly updating subparsers with > settings. > > [1] https://github.com/python/cpython/issues/89398 > > Fixes: 3145b63513 ("patman: Update

[PATCH 2/2] sandbox: Avoid binman error when run without device tree

2022-04-27 Thread Simon Glass
With sandbox, U-Boot can be run without a device tree (i.e. no -d or -T parameter). In this case an empty device tree is created for convenience. With a recent change this causes an error due to the missing '/binman' node. Add this node to avoid the problem, as well as a test that U-Boot can be

[PATCH 1/2] test/py: Add a way to start sandbox without a device tree

2022-04-27 Thread Simon Glass
This is useful sometimes when running a specific test. Add support for it in the existing restart_uboot_with_flags() function. Signed-off-by: Simon Glass --- test/py/u_boot_console_sandbox.py | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git

[PATCH] board: freescale: p1_p2_rdb_pc: Remove mapping for TDM-PMC card

2022-04-27 Thread Pali Rohár
>From whole P1/P2 family of RDB boards is TDM-PMC card (PCI Mezzanine Card, Freescale PQ-MDS-T1) available only on P1021RDB and P1025RDB boards. So address mapping for TDM-PMC card on LBC should not be enabled on any other P1/P2 RDB board as there is no device at that TDM-PMC address. Support

[PATCH 3/4] powerpc: dts: p2020: Define DMA nodes

2022-04-27 Thread Pali Rohár
Copy definition of DMA nodes from upstream Linux kernel P2020 dts files. Signed-off-by: Pali Rohár --- arch/powerpc/dts/p2020-post.dtsi | 3 ++ arch/powerpc/dts/pq3-dma-0.dtsi | 66 arch/powerpc/dts/pq3-dma-1.dtsi | 66 3

[PATCH 1/4] powerpc: dts: p2020: Define MPIC nodes

2022-04-27 Thread Pali Rohár
Copy definition of MPIC nodes from upstream Linux kernel P2020 dts files. Signed-off-by: Pali Rohár --- arch/powerpc/dts/p2020-post.dtsi | 3 + arch/powerpc/dts/pq3-mpic-timer-B.dtsi | 42 ++ arch/powerpc/dts/pq3-mpic.dtsi | 79 ++ 3 files

[PATCH 4/4] powerpc: dts: p2020: Define ecm, memory and guts nodes

2022-04-27 Thread Pali Rohár
Copy definition of these nodes from upstream Linux kernel P2020 dts files. Signed-off-by: Pali Rohár --- arch/powerpc/dts/p2020-post.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/powerpc/dts/p2020-post.dtsi b/arch/powerpc/dts/p2020-post.dtsi index

[PATCH 2/4] powerpc: dts: p2020: Define crypto node

2022-04-27 Thread Pali Rohár
Copy definition of crypto node from upstream Linux kernel P2020 dts files. Signed-off-by: Pali Rohár --- arch/powerpc/dts/p2020-post.dtsi | 1 + arch/powerpc/dts/pq3-sec3.1-0.dtsi | 45 ++ 2 files changed, 46 insertions(+) create mode 100644

Re: [PATCH v1] ARM: dts: imx: Fix iMX6QDL DHCOM PDK2 DTC Warnings

2022-04-27 Thread Tom Rini
On Wed, Apr 27, 2022 at 09:53:51AM +0200, Marek Vasut wrote: > On 4/27/22 04:49, Fabio Estevam wrote: > > Hi Marcel, > > > > On Tue, Apr 26, 2022 at 7:29 PM Marcel Ziswiler wrote: > > > > > Messing with all those so late in the game does not seem like too good > > > of an idea. Therefore, I

Re: Suggestion: Revert commit c7fad78ec0ee ("Convert CONFIG_SYS_BR0_PRELIM et al to Kconfig")

2022-04-27 Thread Tom Rini
On Wed, Apr 27, 2022 at 09:20:52AM +0200, Pali Rohár wrote: > On Tuesday 26 April 2022 15:40:42 Tom Rini wrote: > > On Tue, Apr 26, 2022 at 09:07:44PM +0200, Pali Rohár wrote: > > > On Tuesday 26 April 2022 14:47:40 Tom Rini wrote: > > > > On Tue, Apr 26, 2022 at 08:35:26PM +0200, Pali Rohár

Re: [PATCH] dt-bindings: mtd: partitions: add UBI binding

2022-04-27 Thread Rafał Miłecki
Hi Rob, could you re-review my patch as I provided answers (see below), please? On 3.03.2022 09:32, Rafał Miłecki wrote: On 2.03.2022 22:59, Rob Herring wrote: On Thu, Feb 17, 2022 at 11:24:48AM +0100, Rafał Miłecki wrote: From: Rafał Miłecki UBI is often used on embedded devices to store

[PATCH v2 12/12] doc: Add documentation for STM32 MCUs

2022-04-27 Thread Patrice Chotard
Add documentation for STM32 MCUs (F4, F7 and H7 series). Signed-off-by: Patrice Chotard --- Changes in v2: - fix documentation file stm32_MCU.rst board/st/stm32f429-discovery/MAINTAINERS | 1 + board/st/stm32f429-evaluation/MAINTAINERS | 1 + board/st/stm32f469-discovery/MAINTAINERS

[PATCH v2 10/12] configs: stm32746g-eval: Add stm32746g-eval_defconfig

2022-04-27 Thread Patrice Chotard
Add stm32746g-eval_defconfig for stm32746g evaluation board to build U-Boot proper. Full board description can be found here : https://www.st.com/en/evaluation-tools/stm32746g-eval.html Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- (no changes since v1)

[PATCH v2 11/12] configs: stm32746g-eval: Add stm32746g-eval_spl_defconfig

2022-04-27 Thread Patrice Chotard
Add stm32746g-eval_spl_defconfig for stm32746g evaluation board to build SPL. Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- (no changes since v1) board/st/stm32f746-disco/MAINTAINERS | 1 + configs/stm32746g-eval_spl_defconfig | 86 2 files

[PATCH v2 09/12] configs: stm32f746-disco: use CONFIG_DEFAULT_DEVICE_TREE as fdtfile

2022-04-27 Thread Patrice Chotard
As stm32f46-disco, stm32f769-disco and stm32746g-eval are very similar except their respective device tree file. These 3 boards uses the same TARGET_STM32F746_DISCO flag (so same include/configs/stm32f746-disco.h and same board file board/st/stm32f746-disco/stm32f746-disco.c) To be able to

[PATCH v2 08/12] board: stm32f746-disco: Fix dram_init() in none SPL config

2022-04-27 Thread Patrice Chotard
Replace CONFIG_SUPPORT_SPL by CONFIG_SPL_BUILD to allow dram_init() execution when using none SPL defconfig (stm32f746-disco_defconfig). Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- (no changes since v1) board/st/stm32f746-disco/stm32f746-disco.c | 2 +- 1 file changed, 1

[PATCH v2 05/12] configs: stm32f769-disco: Add stm32f769-disco_defconfig

2022-04-27 Thread Patrice Chotard
Add stm32f769-disco_defconfig for stm32f769 discovery board to build U-Boot proper. Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- (no changes since v1) configs/stm32f769-disco_defconfig | 65 +++ 1 file changed, 65 insertions(+) create mode

[PATCH v2 07/12] configs: stm32f746-disco: Migrate SPL flags to defconfig

2022-04-27 Thread Patrice Chotard
Migrate SPL flags to stm32f746-disco_spl_defconfig Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- (no changes since v1) arch/arm/mach-stm32/Kconfig | 20 configs/stm32f746-disco_spl_defconfig | 24 2 files changed, 20

[PATCH v2 06/12] configs: stm32f769-disco: Migrate SPL flags to defconfig

2022-04-27 Thread Patrice Chotard
Migrate SPL flags to stm32f769-disco_spl_defconfig Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- (no changes since v1) configs/stm32f769-disco_spl_defconfig | 25 + 1 file changed, 21 insertions(+), 4 deletions(-) diff --git

[PATCH v2 04/12] configs: stm32f769-disco: Rename stm32f769-disco_defconfig to stm32f769-disco_spl_defconfig

2022-04-27 Thread Patrice Chotard
The current stm32f769-disco_defconfig file supports SPL, rename it to stm32f769-disco_spl_defconfig to reflect the supported configuration. Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- (no changes since v1) board/st/stm32f746-disco/MAINTAINERS

[PATCH v2 00/12] stm32: add new board support, defconfig and documentation

2022-04-27 Thread Patrice Chotard
Add new stm32746g-eval board support Add defconfig for SPL and none SPL mode for STM32F7 boards. Add documentation on how to build and flash STM32 MCUs. Changes in v2: - fix documentation file stm32_MCU.rst Patrice Chotard (12): configs: stm32f746-disco: Concatenate spl and u-boot binaries

[PATCH v2 03/12] configs: stm32f746-disco: Add stm32f746-disco_defconfig

2022-04-27 Thread Patrice Chotard
Add stm32f746-disco_defconfig for stm32f746 discovery board to build U-Boot proper. Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- (no changes since v1) configs/stm32f746-disco_defconfig | 64 +++ 1 file changed, 64 insertions(+) create mode

[PATCH v2 02/12] configs: stm32f746-disco: Rename stm32f746-disco_defconfig to stm32f746-disco_spl_defconfig

2022-04-27 Thread Patrice Chotard
The current stm32f746-disco_defconfig file supports SPL, rename it to stm32f746-disco_spl_defconfig to reflect the supported configuration. Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- (no changes since v1) board/st/stm32f746-disco/MAINTAINERS

[PATCH v2 01/12] configs: stm32f746-disco: Concatenate spl and u-boot binaries

2022-04-27 Thread Patrice Chotard
This allows to concatenate spl and u-boot binaries together. Previously, both binaries has to be flashed separately at the correct offset (spl at offset 0 and u-boot at offset 0x8000). With this patch, only one binary is generated (u-boot-with-spl.bin) and has to be copied in flash at offset 0

[PATCH 2/4] regulator: add driver for the TPS65219 BUCK & LDO regulators

2022-04-27 Thread Neil Armstrong
The TPS65219 I2S PMIC features 3 Buck converters and 4 linear regulators, 2 GPOs, 1 GPIO, and 3 multi-function-pin. This adds the driver for the Buck converters & linear regulators. Signed-off-by: Neil Armstrong --- drivers/power/regulator/Kconfig | 9 +

[PATCH 4/4] ARM: dts: k3-am642-sk-u-boot: add PMIC node

2022-04-27 Thread Neil Armstrong
The E4 revision of the AM64 SKEVM embeds a TPS65219 PMIC, this adds the PMIC node with the required regulators voltages. Signed-off-by: Neil Armstrong --- arch/arm/dts/k3-am642-sk-u-boot.dtsi | 61 1 file changed, 61 insertions(+) diff --git

[PATCH 3/4] config: enable TPS65219 for am64x_evm_a53 boards

2022-04-27 Thread Neil Armstrong
The E4 revision of the AM64 SKEVM embeds a TPS65219 PMIC, this enables the necessary options to load and control the PMIC regulators. Signed-off-by: Neil Armstrong --- configs/am64x_evm_a53_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/am64x_evm_a53_defconfig

[PATCH 1/4] power: add driver for the TPS65219 PMIC

2022-04-27 Thread Neil Armstrong
The TPS65219 I2S PMIC features 3 Buck converters and 4 linear regulators, 2 GPOs, 1 GPIO, and 3 multi-function-pin. This adds the PMIC driver, loading the regulator sub-nodes. Signed-off-by: Neil Armstrong --- drivers/power/pmic/Kconfig| 6 +++ drivers/power/pmic/Makefile | 1 +

[PATCH 0/4] Add support for TPS65219 PMIC on AM64X-SKEVM

2022-04-27 Thread Neil Armstrong
This serie adds support for the TPS65219 PMIC available on the E4 revision of the AM64X-SKEVM board. Neil Armstrong (4): power: add driver for the TPS65219 PMIC regulator: add driver for the TPS65219 BUCK & LDO regulators config: enable TPS65219 for am64x_evm_a53 boards ARM: dts:

Re: [PATCH v1 12/12] doc: Add documentation for STM32 MCUs

2022-04-27 Thread Patrice CHOTARD
Hi Patrick ok v2 will be sent with your remarks Thanks Patrice On 4/26/22 13:59, Patrick DELAUNAY wrote: Hi Patrice Few minor remarks, On 4/13/22 17:05, Patrice Chotard wrote: Add documentation for STM32 MCUs (F4, F7 and H7 series). Signed-off-by: Patrice Chotard ---  

[PATCH u-boot-marvell 11/19] net: mvneta: Use bool instead of int for boolean variable

2022-04-27 Thread Marek Behún
From: Marek Behún Use the bool type instead of int for status_change variable. Signed-off-by: Marek Behún --- drivers/net/mvneta.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index 66d5e10174..7d582c1206 100644 ---

[PATCH u-boot-marvell 15/19] net: mvneta: Convert to use PHY_FIXED for fixed-link

2022-04-27 Thread Marek Behún
From: Marek Behún Stop parsing fixed-link in the MAC driver. Instead support only PHY mode and let the fixed PHY driver handle the fixed-link case. Enable CONFIG_PHY_FIXED for mvneta boards that need it: Turris Omnia and ESPRESSObin. Signed-off-by: Marek Behún ---

[PATCH u-boot-marvell 19/19] net: mvneta: Drop unneeded macro

2022-04-27 Thread Marek Behún
From: Marek Behún Macro MVNETA_GMAC_FORCE_LINK_UP can be dropped from value assignment in fixed link case, since it's value is written into the register later in the function for link-down-to-link-up case. The value is written as MVNETA_GMAC_FORCE_LINK_DOWN | MVNETA_GMAC_FORCE_LINK_PASS, and so

[PATCH u-boot-marvell 18/19] net: mvneta: Disable fixed PHY code if PHY_FIXED is not compiled in

2022-04-27 Thread Marek Behún
From: Marek Behún Guard the code handling the fixed PHY case by CONFIG_IS_ENABLED(PHY_FIXED). Signed-off-by: Marek Behún --- drivers/net/mvneta.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index 378789b632..292c364e5e

[PATCH u-boot-marvell 17/19] net: mvneta: Drop fixed_link member from private struct

2022-04-27 Thread Marek Behún
From: Marek Behún Since this member is checked only at two places drop it and inline it's usage. Signed-off-by: Marek Behún --- drivers/net/mvneta.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index

[PATCH u-boot-marvell 16/19] net: mvneta: Write PHY address just before enabling HW polling

2022-04-27 Thread Marek Behún
From: Marek Behún Write PHY address just before enabling HW polling of the PHY. Signed-off-by: Marek Behún --- drivers/net/mvneta.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index 5b1c4fe5fc..4917857681 100644 ---

[PATCH u-boot-marvell 13/19] net: mvneta: Don't check for CONFIG_PHYLIB

2022-04-27 Thread Marek Behún
From: Marek Behún Drop checking for CONFIG_PHYLIB in mvneta, this is already done in Kconfig. Signed-off-by: Marek Behún --- drivers/net/mvneta.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index 5c3f7125b5..0ec9d2957c 100644 ---

[PATCH u-boot-marvell 14/19] net: mvneta: Rename CONFIG_NR_CPUS to MVNETA_NR_CPUS

2022-04-27 Thread Marek Behún
From: Marek Behún The CONFIG_* macros are reserved for Kconfig. This was probably done when this driver was being imported from Linux. Rename the macro. Signed-off-by: Marek Behún --- drivers/net/mvneta.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH u-boot-marvell 10/19] net: mvneta: Drop one indentation level in mvneta_adjust_link()

2022-04-27 Thread Marek Behún
From: Marek Behún Drop one indentation level in the mvneta_adjust_link() function. Signed-off-by: Marek Behún --- drivers/net/mvneta.c | 38 ++ 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index

[PATCH u-boot-marvell 12/19] net: mvneta: Drop unnecessary space

2022-04-27 Thread Marek Behún
From: Marek Behún Drop unnecessary space in mvneta_adjust_link(). Signed-off-by: Marek Behún --- drivers/net/mvneta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index 7d582c1206..5c3f7125b5 100644 --- a/drivers/net/mvneta.c

[PATCH u-boot-marvell 09/19] net: mvneta: Fix unused variable warning if DM_GPIO is disabled

2022-04-27 Thread Marek Behún
From: Marek Behún The `ret` variable in mvneta_probe() is unused if DM_GPIO is disabled. Since the variable is used only once after assigning value, we can inline the usage and drop the variable. Signed-off-by: Marek Behún --- drivers/net/mvneta.c | 5 ++--- 1 file changed, 2 insertions(+),

[PATCH u-boot-marvell 07/19] arm: mvebu: turris_mox: Use DM registered MDIO

2022-04-27 Thread Marek Behún
From: Marek Behún In order to be able to get rid of the non-DM MDIO bus registered in mvneta driver, start using the DM registered one in Turris MOX board code. This also allows us to drop the hack introduced in MOX' -u-boot.dtsi file. Signed-off-by: Marek Behún ---

[PATCH u-boot-marvell 08/19] net: mvneta: Don't register MDIO bus

2022-04-27 Thread Marek Behún
From: Marek Behún This MDIO bus is now handled by a proper mvmdio DM driver. Remove it from mvneta. Signed-off-by: Marek Behún --- drivers/net/mvneta.c | 143 +-- 1 file changed, 2 insertions(+), 141 deletions(-) diff --git a/drivers/net/mvneta.c

[PATCH u-boot-marvell 06/19] net: mdio-uclass: add dm_phy_find_by_ofnode() helper

2022-04-27 Thread Marek Behún
From: Marek Behún Add helper to resolve PHY node from it's ofnode via DM MDIO subsystem. Signed-off-by: Marek Behún --- include/miiphy.h | 9 + net/mdio-uclass.c | 22 ++ 2 files changed, 31 insertions(+) diff --git a/include/miiphy.h b/include/miiphy.h index

[PATCH u-boot-marvell 05/19] arm: mvebu: Espressobin: Use DM registered MDIO to configure switch

2022-04-27 Thread Marek Behún
From: Marek Behún In order to be able to get rid of the non-DM MDIO bus registered in mvneta driver, we need to stop using board_network_enable() and instead use the DM registered MDIO device to configure switch in last_stage_init(). Signed-off-by: Marek Behún ---

[PATCH u-boot-marvell 04/19] net: mvneta: Remember fixed link instead of PHY address in priv data

2022-04-27 Thread Marek Behún
From: Marek Behún We don't need to remember PHY address anymore, because since using DM MDIO for connecting PHY, the address is parsed by mdio-uclass from the ofnode. But the driver uses a special value of the address to signal fixed link usage. Drop phyaddr add fixed_link in driver private

[PATCH u-boot-marvell 03/19] net: mvneta: Use DM MDIO API for connecting PHY

2022-04-27 Thread Marek Behún
From: Marek Behún Use the modern DM MDIO API for connecting PHY in the mvneta driver. This requires enabling MVMDIO driver in several config files. Signed-off-by: Marek Behún --- configs/clearfog_defconfig | 1 + configs/controlcenterdc_defconfig | 1 +

[PATCH u-boot-marvell 02/19] net: mvneta: Fix 10Mbps speed

2022-04-27 Thread Marek Behún
From: Marek Behún In mvneta_adjust_link() we need to set MII_SPEED bit only if PHY reports the speed at 100Mbps. Signed-off-by: Marek Behún --- drivers/net/mvneta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index

[PATCH u-boot-marvell 01/19] net: mvneta: Get rid of platdata

2022-04-27 Thread Marek Behún
From: Marek Behún Drop .of_to_plat() from the mvneta driver and parse the two properties in .probe(). Signed-off-by: Marek Behún --- drivers/net/mvneta.c | 24 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c

[PATCH u-boot-marvell 00/19] some mvneta changes, cleanups, fixes

2022-04-27 Thread Marek Behún
From: Marek Behún Hello Stefan, here come some refactors, cleanups and fixed for the mvneta driver. Marek Behún (19): net: mvneta: Get rid of platdata net: mvneta: Fix 10Mbps speed net: mvneta: Use DM MDIO API for connecting PHY net: mvneta: Remember fixed link instead of PHY address

Re: [PATCH] imx8m: fix reading of DDR4 MR registers

2022-04-27 Thread Fabio Estevam
Hi Paul, On 27/04/2022 03:48, Paul Liu wrote: Hi Fabio, I tested. It works. Tested-by: Ying-Chun Liu (PaulLiu) Thanks for testing. Reviewed-by: Fabio Estevam

pull request of u-boot-mpc85xx, fsl-qoriq for v2022.07

2022-04-27 Thread Priyanka Jain
Hello Tom, Please find my pull-request for u-boot-mpc85xx/master https://github.com/u-boot/u-boot/pull/170 Summary fsl-qoriq: Fixes and updates on fsl-layerscape mpc85xx: fixes and code cleanup Regards Priyanka --- The following changes since commit

Re: efi_loader breakage

2022-04-27 Thread Mark Kettenis
> Date: Wed, 27 Apr 2022 16:26:25 +0900 > From: AKASHI Takahiro > > On Wed, Apr 27, 2022 at 01:48:13PM +0900, AKASHI Takahiro wrote: > > On Tue, Apr 26, 2022 at 07:07:13PM +0200, Mark Kettenis wrote: > > > commit d97e98c887ed8fa4a339350c02f093f03cd1cf4d breaks the OpenBSD > > > bootloader. Or

Re: [PATCH v4 0/3] spi: spi_flash_probe_bus_cs() rely on DT for spi speed and mode

2022-04-27 Thread Patrice CHOTARD
Hi Jagan Could you have a look at this series ? It would be great if this series can be merged in the v2022.07 Thanks Patrice On 3/30/22 09:33, Patrice Chotard wrote: Since commit e2e95e5e2542 ("spi: Update speed/mode on change") when calling "sf probe" or "env save" on SPI flash,

Re: [RFC PATCH 2/8] rockchip: Add binman definitions for final images

2022-04-27 Thread Johan Jonker
On 4/25/22 02:03, Andrew Abbott wrote: > Currently, building for Rockchip targets produces: > > - idbloader.img > - rksd-formatted TPL with SPL appended; or > - rksd-formatted SPL > - u-boot.itb > - U-Boot Proper FIT image > - u-boot-rockchip.bin > - idbloader.img + u-boot.itb,

[PATCH] Revert "arm64: xilinx: Set CONFIG_ZYNQMP_FIRMWARE config for mini emmc"

2022-04-27 Thread Michal Simek
From: T Karthik Reddy This reverts commit 122ca834f2f4a9d70abeece3d1ff200a3556ab24. Disable CONFIG_ZYNQMP_FIRMWARE config from zynqmp & versal mini emmc defconfig files, as mini emmc does not use any firmware. Signed-off-by: T Karthik Reddy Acked-by: Ashok Reddy Soma Signed-off-by: Michal

[PATCH] mmc: zynq_sdhci: Add weak function prototype

2022-04-27 Thread Michal Simek
From: T Karthik Reddy zynqmp_pm_is_function_supported() which checks feature support on som, which is implemented in firmware_zynqmp.c driver. As mini configuration does not use firmware driver, so create a weak function to avoid compilation error on zynqmp mini configuration. Signed-off-by: T

Re: [PATCH v1] ARM: dts: imx: Fix iMX6QDL DHCOM PDK2 DTC Warnings

2022-04-27 Thread Marek Vasut
On 4/27/22 04:49, Fabio Estevam wrote: Hi Marcel, On Tue, Apr 26, 2022 at 7:29 PM Marcel Ziswiler wrote: Messing with all those so late in the game does not seem like too good of an idea. Therefore, I suggest reverting just that one PWM node for now. We may (and really should) properly

[GIT PULL] Please pull u-boot-amlogic-20220427

2022-04-27 Thread Neil Armstrong
Neil The following changes since commit 9bb99fa95826d1a608737ca821977b4136a1a278: Merge branch '2022-04-22-assorted-updates' (2022-04-23 08:06:28 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20220427 for

Re: efi_loader breakage

2022-04-27 Thread AKASHI Takahiro
On Wed, Apr 27, 2022 at 01:48:13PM +0900, AKASHI Takahiro wrote: > On Tue, Apr 26, 2022 at 07:07:13PM +0200, Mark Kettenis wrote: > > commit d97e98c887ed8fa4a339350c02f093f03cd1cf4d breaks the OpenBSD > > bootloader. Or rather, it seems that this breaks access to raw > > devices through the UEFI

Re: Suggestion: Revert commit c7fad78ec0ee ("Convert CONFIG_SYS_BR0_PRELIM et al to Kconfig")

2022-04-27 Thread Pali Rohár
On Tuesday 26 April 2022 15:40:42 Tom Rini wrote: > On Tue, Apr 26, 2022 at 09:07:44PM +0200, Pali Rohár wrote: > > On Tuesday 26 April 2022 14:47:40 Tom Rini wrote: > > > On Tue, Apr 26, 2022 at 08:35:26PM +0200, Pali Rohár wrote: > > > > On Tuesday 26 April 2022 14:23:48 Tom Rini wrote: > > > >

Re: [PATCH] imx8m: fix reading of DDR4 MR registers

2022-04-27 Thread Paul Liu
Hi Fabio, I tested. It works. Tested-by: Ying-Chun Liu (PaulLiu) On Tue, 26 Apr 2022 at 20:59, Fabio Estevam wrote: > Hi Paul, > > On Mon, Apr 25, 2022 at 11:23 AM Rasmus Villemoes > wrote: > > > > I was trying to employ lpddr4_mr_read() to something similar to what > > the