Please pull u-boot-dm/next

2022-03-18 Thread Simon Glass
Hi Tom, I have a passing run without the coreboot test. Are you seeing problems with that? I may need to move the downloads into the docker image. https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/11350 The following changes since commit 297e6eb8dcf9d90aaf9b0d146cdd502403003d04:

Re: [PATCH 8/8] Convert CONFIG_ATMEL_LEGACY to Kconfig

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 11:07:36PM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_ATMEL_LEGACY > > Cc: Eugen Hristev > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 7/8] Convert CONFIG_AT91_GPIO_PULLUP to Kconfig

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 11:07:35PM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_AT91_GPIO_PULLUP > > Cc: Eugen Hristev > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 6/8] atmel: Remove CONFIG_AT91SAM9G45_LCD_BASE

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 11:07:34PM -0500, Tom Rini wrote: > This variable is used once and is noted as board-specific. Use the > value directly with a comment. > > Cc: Eugen Hristev > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 5/8] atmel: Remove CONFIG_AT91SAM9G45EKES

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 11:07:33PM -0500, Tom Rini wrote: > This symbol is used only once, and in comparison with an unset symbol, > so drop it. > > Cc: Eugen Hristev > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 4/8] Convert CONFIG_AT91SAM9G10EK et al to Kconfig

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 11:07:32PM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_AT91SAM9G10EK >CONFIG_AT91SAM9261EK >CONFIG_AT91SAM9G10 > > Cc: Eugen Hristev > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description:

Re: [PATCH 3/8] Convert CONFIG_AT91SAM9G20EK et al to Kconfig

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 11:07:31PM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_AT91SAM9G20EK >CONFIG_AT91SAM9260EK >CONFIG_AT91SAM9G20EK_2MMC > > Cc: Eugen Hristev > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Descri

Re: [PATCH 2/8] Convert CONFIG_AT91SAM9260 et al to Kconfig

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 11:07:30PM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_AT91SAM9260 >CONFIG_AT91SAM9G20 >CONFIG_AT91SAM9XE >CONFIG_AT91SAM9261 >CONFIG_AT91SAM9263 >CONFIG_AT91SAM9G45 >CONFIG_AT91SAM9M10G45 >CONFIG_AT91SAM9N12 >

Re: [PATCH 1/8] Convert CONFIG_AM335X_USB0 et al to Kconfig

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 11:07:29PM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_AM335X_USB0 >CONFIG_AM335X_USB0_MODE >CONFIG_AM335X_USB1 >CONFIG_AM335X_USB1_MODE > > We do this by introducing specific options for static configuration of > USB0/USB1 in S

Re: [v2 15/15] net: fec_mxc: Drop CONFIG_FEC_XCV_TYPE

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:12:10AM -0500, Tom Rini wrote: > With all boards now using DM_ETH we determine the value for > CONFIG_FEC_XCV_TYPE at run time, except in the case of the default > fall-back. Set the fallback directly now. > > Cc: Fabio Estevam > Cc: Ramon Fried > Cc: Stefano Babic

Re: [v2 14/15] net: fec_mxc: Remove non-DM_ETH code

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:12:09AM -0500, Tom Rini wrote: > Now that all boards have been converted, remove the non-DM_ETH code. > > Cc: Fabio Estevam > Cc: Ramon Fried > Cc: Stefano Babic > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP sig

Re: [v2 13/15] imx: Convert some boards to DM_ETH

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:12:08AM -0500, Tom Rini wrote: > A small number of i.MX6/7 and vf610 boards have not enabled DM_ETH yet. > Given the state of the rest of the platform, enable DM_ETH. > > Cc: Alison Wang > Cc: Fabio Estevam > Cc: Richard Hu > Cc: Troy Kisky > Cc: Uri Mashiach > Sig

Re: [v2 12/15] Convert CONFIG_ETHPRIME to Kconfig

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:12:07AM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_ETHPRIME > > This is also done by adding a gating Kconfig option, CONFIG_USE_ETHPRIME > similar to other options that are not always set and control environment > variables. > > Signed

Re: [v2 11/15] Remove CONFIG_HAS_ETH0 et al symbols

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:12:06AM -0500, Tom Rini wrote: > This converts removes the following symbols: >CONFIG_HAS_ETH0 >CONFIG_HAS_ETH1 >CONFIG_HAS_ETH2 >CONFIG_HAS_ETH3 > > This is because at this point, only the ids8313 platform was using the > code which was controlled by th

Re: [v2 10/15] Convert CONFIG_NFS_TIMEOUT to Kconfig

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:12:05AM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_NFS_TIMEOUT > > Cc: Ramon Fried > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [v2 09/15] Convert CONFIG_BOOT_RETRY_TIME et al to Kconfig

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:12:04AM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_BOOT_RETRY_TIME >CONFIG_BOOT_RETRY_MIN >CONFIG_RESET_TO_RETRY > > We also introduce CONFIG_BOOT_RETRY to gate these options, and clean up > the associated Makefile entry and C c

Re: [v2 08/15] powerpc: Move CONFIG_BPTR_VIRT_ADDR out of CONFIG namespace

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:12:03AM -0500, Tom Rini wrote: > This is only used in one file, and is never overridden. Move this out > of CONFIG namespace. > > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [v2 07/15] Convert CONFIG_NET_RETRY_COUNT to Kconfig

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:12:02AM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_NET_RETRY_COUNT > > Cc: Ramon Fried > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [v2 06/15] Convert CONFIG_ARP_TIMEOUT to Kconfig

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:12:01AM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_ARP_TIMEOUT > > Cc: Ramon Fried > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [v2 05/15] Convert CONFIG_A008044_WORKAROUND to Kconfig

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:12:00AM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_A008044_WORKAROUND > > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [v2 04/15] Convert CONFIG_A003399_NOR_WORKAROUND to Kconfig

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:11:59AM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_A003399_NOR_WORKAROUND > > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [v2 03/15] Convert CONFIG_ARMV8_SWITCH_TO_EL1 to Kconfig

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:11:58AM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_ARMV8_SWITCH_TO_EL1 > > Cc: Alex Nemirovsky > Cc: Marek Vasut > Cc: Michal Simek > Cc: Nobuhiro Iwamatsu > Cc: Simon Goldschmidt > Cc: Tien Fong Chee > Signed-off-by: Tom Rini >

Re: [v2 01/15] Convert CONFIG_ARMV7_SECURE_BASE et al to Kconfig

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:11:56AM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_ARMV7_SECURE_BASE >CONFIG_ARMV7_SECURE_MAX_SIZE >CONFIG_ARMV7_SECURE_RESERVE_SIZE > > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Descript

Re: [PATCH 4/4] configs: Re-run migrations

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 07:12:48AM -0500, Tom Rini wrote: > As the CI test for stopping platforms from being merged that were > defining symbols that had Kconfig entries, a small number of symbols > needed to be migrated again. Do so, and catch two cases the README > should also have been updated

Re: [PATCH 3/4] Revert "efi: Allow easy selection of serial-only operation"

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 07:12:47AM -0500, Tom Rini wrote: > This commit re-introduced a migrated CONFIG symbol to the board header > file. These changes should likely be handled via documentation instead, > as well. > > Cc: Simon Glass > Signed-off-by: Tom Rini > Reviewed-by: Simon Glass App

Re: [PATCH 2/4] sunxi: Do not define CONFIG_SPL_STACK_ADDR_R

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 07:12:46AM -0500, Tom Rini wrote: > We cannot define a CONFIG value here to ensure that the Kconfig value > isn't set wrong. > > Fixes: 2c699fe0d34d ("configs: sunxi: Add common SUNIV header") > Cc: Icenowy Zheng > Cc: Andre Przywara > Signed-off-by: Tom Rini Applied t

Re: [PATCH 1/4] CI: Fix unmigrated symbol test

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 07:12:45AM -0500, Tom Rini wrote: > When calling comm to compare the CONFIG symbols a defconfig uses with > the symbols that have been migrated, we need to suppress all output as > the summary line will have everything we need. Failure to do this leads > to the test blowin

Re: Pull request: u-boot-rockchip-20220318

2022-03-18 Thread Tom Rini
> > https://source.denx.de/u-boot/custodians/u-boot-rockchip.git > tags/u-boot-rockchip-20220318 > > for you to fetch changes up to 861682b596b81f988d522edd4c1c76341de112a2: > > rockchip: ram: sdram_rk3x88: replace comma by semicolon (2022-03-18 > 18:12:03 +0800) &

Re: [PATCH] patman: Define Commit.path in the constructor

2022-03-18 Thread Tom Rini
On Wed, Mar 02, 2022 at 07:12:24PM -0700, Simon Glass wrote: > It is good practice to init all variables in the constructor and pylint > sometimes checks this. Fix it. > > Signed-off-by: Simon Glass > Reported-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: P

[PATCH v2] binman: Complete elf test coverage

2022-03-18 Thread Simon Glass
Add coverage for the new elf functions needed for the event_dump.py script. Signed-off-by: Simon Glass --- Changes in v2: - Update test to work with elf32 as used in gitlab CI tools/binman/elf.py | 4 ++-- tools/binman/elf_test.py | 48 2 files ch

[PATCH] dtoc: Update fdt tests to use test_util

2022-03-18 Thread Simon Glass
Use the common functions to run tests and report results. Ensure that the result code indicates success or failure. Signed-off-by: Simon Glass --- tools/dtoc/test_fdt.py | 27 ++- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/tools/dtoc/test_fdt.py b/to

Re: [PATCH v3 05/26] dtoc: Tidy up implementation of AddStringList()

2022-03-18 Thread Simon Glass
Hi, On Sat, 5 Mar 2022 at 20:19, Simon Glass wrote: > > Refactor this to avoid a loop. Also add a test for an empty string. > > Signed-off-by: Simon Glass > Suggested-by: Alper Nebi Yasak > Reviewed-by: Alper Nebi Yasak > --- > > Changes in v3: > - Add tests for an empty string/stringlist too

[PATCH] binman: Complete elf test coverage

2022-03-18 Thread Simon Glass
Add coverage for the new elf functions needed for the event_dump.py script. Signed-off-by: Simon Glass --- tools/binman/elf.py | 4 ++-- tools/binman/elf_test.py | 37 + 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/tools/binman/elf.py

atsama5d27 SD card boot question

2022-03-18 Thread Andrew Steinert
Hi, I am struggling to boot my image from a uSD card my issue I believe is that my uSD is connected to the SDMMC0 port instead of the SDMMC1. How can I save my changes in the output/build/linux4sam_6.2/arch/arm/boot/dts files so that they are included in my next make? Thanks, Andrew Steinert S

Re: [PATCH v2] core: devres: optionally build devres into the SPL

2022-03-18 Thread Simon Glass
Hi Angus, On Tue, 1 Mar 2022 at 07:58, Simon Glass wrote: > > On Mon, 28 Feb 2022 at 13:33, Angus Ainslie wrote: > > > > Add a CONFIG_SPL_DEVRES option > > > > Signed-off-by: Angus Ainslie > > --- > > > > Changes since v1: > > > > Instead of gaurding the source add an SPL_DEVRES option > > > >

Re: [PATCH v3 22/26] rockchip: evb-rk3288: Drop raw-image support

2022-03-18 Thread Simon Glass
Hi Alper, On Mon, 14 Mar 2022 at 15:32, Alper Nebi Yasak wrote: > > On 12/03/2022 08:02, Simon Glass wrote: > > On Thu, 10 Mar 2022 at 12:36, Alper Nebi Yasak > > wrote: > >> On 06/03/2022 06:19, Simon Glass wrote: > >>> This boards uses SPL_FIT so does not need to support loading a raw image.

Re: [RFC] serial: mxc: get the clock frequency from the used clock for the device

2022-03-18 Thread Heiko Thiery
Hi Angus, Am Do., 17. März 2022 um 14:19 Uhr schrieb Angus Ainslie : > > Hi Heiko, > > On 2022-03-17 05:41, Heiko Thiery wrote: > > With the clock driver enabled for the imx8mq, it was noticed that the > > frequency used to calculate the baud rate is always taken from the root > > clock of UART1.

Re: [v2 02/15] arm: sunxi: Remove SoC-specific config header files

2022-03-18 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:11:57AM -0500, Tom Rini wrote: > At this point, sunxi-common.h is used for all systems as-is, so remove > the other headers and rename sunxi-common.h to sunxi.h. > > Cc: Jagan Teki > Cc: Andre Przywara > Signed-off-by: Tom Rini > --- > Changes in v2: > - Drop sun50i.

Re: [PATCH v3 12/12] rockchip: fix boot_devices constants

2022-03-18 Thread Johan Jonker
Hi Simon, On 3/12/22 03:24, Simon Glass wrote: > Hi Johan, > > On Thu, 3 Mar 2022 at 16:53, Johan Jonker wrote: >> >> The DT node name pattern in mmc-controller.yaml for mmc >> is "^mmc(@.*)?$". The Rockchip mmc nodes have been synced >> with Linux, so update the boot_devices constants as well.

[PATCH u-boot-net v2 14/14] net: phy: don't require PHY interface mode during PHY creation

2022-03-18 Thread Marek Behún
From: Marek Behún Currently we require PHY interface mode to be known when finding/creating the PHY - the functions * phy_device_create() * create_phy_by_mask() * search_for_existing_phy() * get_phy_device_by_mask() * phy_find_by_mask() (this is the only one global) all require the inte

[PATCH u-boot-net v2 13/14] bcmgenet, sun8i_emac: Don't connect PHY two times

2022-03-18 Thread Marek Behún
From: Marek Behún The bcmgenet and sun8i_emac drivers call phy_connect(), which finds / creates the PHY and also connects it to the eth device via phy_connect_dev(), then set some phydev members (bcmgenet only), and then call phy_connect_dev() explicitly again. Drop the second phy_connect_dev(),

[PATCH u-boot-net v2 09/14] treewide: Rename PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA

2022-03-18 Thread Marek Behún
From: Marek Behún Rename constant PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA to make it compatible with Linux' naming. Signed-off-by: Marek Behún Reviewed-by: Stefan Roese Reviewed-by: Ramon Fried --- board/freescale/corenet_ds/eth_hydra.c | 2 +- board/freescale/corenet_ds/eth_s

[PATCH u-boot-net v2 12/14] net: phy: use ->is_c45 instead of is_10g_interface()

2022-03-18 Thread Marek Behún
From: Marek Behún Use phydev->is_c45 instead of is_10g_interface(phydev->interface) to determine whether clause 45 protocol should be used. Signed-off-by: Marek Behún Reviewed-by: Ramon Fried --- drivers/net/phy/phy.c | 8 include/phy.h | 12 2 files changed, 4

[PATCH u-boot-net v2 11/14] net: phy: xilinx: Check interface type in ->config(), not ->probe()

2022-03-18 Thread Marek Behún
From: Marek Behún We want to be able to have phydev->interface uninitialized during ->probe(). We should assume that phydev->interface is initialized only before ->config(). Signed-off-by: Marek Behún Reviewed-by: Ramon Fried --- drivers/net/phy/xilinx_gmii2rgmii.c | 10 +- 1 file cha

[PATCH u-boot-net v2 10/14] phy: Move PHY_INTERFACE_MODE_NA to the beginning of the enum definition

2022-03-18 Thread Marek Behún
From: Marek Behún Move PHY_INTERFACE_MODE_NA to the beginning of the enum definition to make it have zero value. This makes it possible (although not encouraged) to test for invalid/nonexistent interface mode with !val instead of val == PHY_INTERFACE_MODE_NA. The comment near the definition says

[PATCH u-boot-net v2 07/14] net: introduce helpers to get PHY interface mode from a device/ofnode

2022-03-18 Thread Marek Behún
From: Marek Behún Add helpers ofnode_read_phy_mode() and dev_read_phy_mode() to parse the "phy-mode" / "phy-connection-type" property. Use them treewide. This allows us to inline the phy_get_interface_by_name() into ofnode_read_phy_mode(), since the former is not used anymore. Signed-off-by: M

[PATCH u-boot-net v2 08/14] treewide: Rename PHY_INTERFACE_MODE_COUNT to PHY_INTERFACE_MODE_MAX

2022-03-18 Thread Marek Behún
From: Marek Behún Rename constant PHY_INTERFACE_MODE_COUNT to PHY_INTERFACE_MODE_MAX to make it compatible with Linux' naming. Signed-off-by: Marek Behún Reviewed-by: Stefan Roese --- drivers/core/ofnode.c | 2 +- drivers/net/phy/aquantia.c | 2 +- include/phy_interface.h| 2 +- 3 fi

[PATCH u-boot-net v2 05/14] treewide: use dm_mdio_read/write/reset() wrappers

2022-03-18 Thread Marek Behún
From: Marek Behún Use the new dm_mdio_read/write/reset() wrappers treewide, instead of always getting and dereferencing MDIO operations structure pointer. Signed-off-by: Marek Behún Reviewed-by: Ramon Fried --- drivers/net/mdio_mux_sandbox.c | 6 ++ net/mdio-mux-uclass.c | 16 ++

[PATCH u-boot-net v2 06/14] net: phy: fix parsing wrong property

2022-03-18 Thread Marek Behún
From: Marek Behún The "phy-interface-type" property should be "phy-connection-type". Signed-off-by: Marek Behún Reviewed-by: Ramon Fried --- drivers/net/phy/phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index c9fc20855b

[PATCH u-boot-net v2 04/14] net: mdio-uclass: add wrappers for read/write/reset operations

2022-03-18 Thread Marek Behún
From: Marek Behún Add wrappers dm_mdio_read(), dm_mdio_write() and dm_mdio_reset() for DM MDIO's .read(), .write() and .reset() operations. Signed-off-by: Marek Behún Reviewed-by: Ramon Fried --- include/miiphy.h | 31 +++ net/mdio-uclass.c | 31 ++

[PATCH u-boot-net v2 03/14] net: introduce helpers to get PHY ofnode from MAC

2022-03-18 Thread Marek Behún
From: Marek Behún Add helpers ofnode_get_phy_node() and dev_get_phy_node() and use it in net/mdio-uclass.c function dm_eth_connect_phy_handle(). This is useful because other part's of U-Boot may want to get PHY ofnode without connecting a PHY. Signed-off-by: Marek Behún Reviewed-by: Ramon Frie

[PATCH u-boot-net v2 01/14] net: mdio-uclass: fix type for phy_mode_str and phy_handle_str

2022-03-18 Thread Marek Behún
From: Marek Behún These global variables should both have type static const char * const Signed-off-by: Marek Behún Reviewed-by: Ramon Fried --- net/mdio-uclass.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/net/mdio-uclass.c b/net/mdio-uclass.c index e74e

[PATCH u-boot-net v2 02/14] net: mdio-uclass: use ARRAY_SIZE()

2022-03-18 Thread Marek Behún
From: Marek Behún Use the ARRAY_SIZE() macro instead of hardcoding sizes of arrays in macros. Signed-off-by: Marek Behún --- net/mdio-uclass.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/net/mdio-uclass.c b/net/mdio-uclass.c index 5735afe49e..649dc60f73 1006

[PATCH u-boot-net v2 00/14] u-boot-net refactors, fixes, cleanups

2022-03-18 Thread Marek Behún
From: Marek Behún Hello, this is v2 of https://patchwork.ozlabs.org/project/uboot/list/?series=290889, fixing typo in commit message of patch 2 and adding Reviewed-by tags. Marek Behún (14): net: mdio-uclass: fix type for phy_mode_str and phy_handle_str net: mdio-uclass: use ARRAY_SIZE()

Re: [PATCH] lib/crypto: support sha384/sha512 in x509/pkcs7

2022-03-18 Thread Ilias Apalodimas
On Fri, Mar 18, 2022 at 07:10:43AM -0700, Dhananjay Phadke wrote: > On 3/18/2022 12:44 AM, Ilias Apalodimas wrote: > > +cc Akashi-san who initially ported those. > > > > > > On Tue, 15 Mar 2022 at 19:19, Dhananjay Phadke > > wrote: > > > > > > Set digest_size SHA384 and SHA512 algorithms in pkc

Fwd: [PATCH] spi: zynq_spi: add chip select decoder support

2022-03-18 Thread Nikita Vasilev
>From b779cf5353b1544675a3399ee73749906df1bfc3 Mon Sep 17 00:00:00 2001 From: Nikita Vasilev Date: Fri, 18 Mar 2022 12:56:27 +0100 Subject: [PATCH] spi: zynq_spi: add chip select decoder support Since zynq_spi device is compatible with Linux Cadence SPI driver, which supports chip select (CS) dec

Re: Fwd: [PATCH] spi: zynq_spi: add chip select decoder support

2022-03-18 Thread Michal Simek
On 3/18/22 15:06, Nikita Vasilev wrote: Since zynq_spi device is compatible with Linux Cadence SPI driver, which supports chip select (CS) decoder, this patch adds the same logic for u-boot Zynq SPI driver. As a reference, I have used Xilinx Linux kernel 93dc4dbd16d (xilinx-v2020.2). The SPI

Re: [PATCH] lib/crypto: support sha384/sha512 in x509/pkcs7

2022-03-18 Thread Dhananjay Phadke
On 3/18/2022 12:44 AM, Ilias Apalodimas wrote: +cc Akashi-san who initially ported those. On Tue, 15 Mar 2022 at 19:19, Dhananjay Phadke wrote: Set digest_size SHA384 and SHA512 algorithms in pkcs7 and x509, (not set by ported linux code, but needed by __UBOOT__ part). EFI_CAPSULE_AUTHENTIC

Fwd: [PATCH] spi: zynq_spi: add chip select decoder support

2022-03-18 Thread Nikita Vasilev
Since zynq_spi device is compatible with Linux Cadence SPI driver, which supports chip select (CS) decoder, this patch adds the same logic for u-boot Zynq SPI driver. As a reference, I have used Xilinx Linux kernel 93dc4dbd16d (xilinx-v2020.2). The SPI decoder feature has been tested on ZynqMP ARM

Pull request: u-boot-rockchip-20220318

2022-03-18 Thread Kever Yang
e7fb67df319cec410c20906bbf33936a6f7479b2: Merge https://source.denx.de/u-boot/custodians/u-boot-mmc (2022-03-16 08:13:16 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20220318 for you to fetch changes up to

Re: How to register a "clk-divider" with a "clk_div_table"

2022-03-18 Thread Sean Anderson
Hi Dhu, On 3/18/22 2:24 AM, d...@hodcarrier.org wrote: Dear all, I am tying to port u-boot to new soc, now i am rewrite my clk driver to use "CCF" clk driver. I would recommend against that https://lore.kernel.org/u-boot/20210611041617.1665833-1-sean...@gmail.com/ I have find this api: - -

Re: [PATCH]armv7: cache: support L2 cache disable

2022-03-18 Thread Haifeng Li
PL310 is the L2$ controller from ARM used in many SoCs. Before jumping to linux, UBoot will call v7_outer_cache_disable in cleanup_before_linux_select to disable L2$. This patch is to support cache disable of PL310. Signed-off-by: Haifeng Li --- arch/arm/lib/cache-pl310.c | 5 + 1 file chan

Re: [RFC] serial: mxc: get the clock frequency from the used clock for the device

2022-03-18 Thread Sean Anderson
On 3/18/22 4:05 AM, Heiko Thiery wrote: Hi Sean, Am Fr., 18. März 2022 um 03:19 Uhr schrieb Sean Anderson : On 3/17/22 3:14 PM, Heiko Thiery wrote: Hi Sean, Am Do., 17. März 2022 um 15:38 Uhr schrieb Sean Anderson : Hi Heiko, On 3/17/22 8:41 AM, Heiko Thiery wrote: With the clock driver

Re: [PATCH v2 2/2] ARM: dts: k3-am642: Correct timer frequency

2022-03-18 Thread Nishanth Menon
On 21:23-20220311, Vignesh Raghavendra wrote: > Timer0 runs at 200MHz,and the clock-frequency defined in DT is > incorrect. Fix it. > > Signed-off-by: Vignesh Raghavendra Reviewed-By: Nishanth Menon -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1

Re: [PATCH v2 1/2] configs: am64x_evm_a53_defconfig: Switch to per-cpu timer as tick provider

2022-03-18 Thread Nishanth Menon
On 21:23-20220311, Vignesh Raghavendra wrote: > On arm64 systems, recommendation is to use per-cpu timer for time > keeping. Currently AM64 ends up using DM timer as tick timer as driver > is enabled in the config. Drop OMAP DM Timer related configs, this will > switch to using armv8 per-cpu timer

Re: [PATCH v2 0/2] AM64: Tick timer fixes

2022-03-18 Thread Nishanth Menon
On 21:23-20220311, Vignesh Raghavendra wrote: > Patch 1 switches AM64 to use armv8 per-cpu timer at A53 SPL/U-Boot > stage as done in other TI K3 platforms > > Patch 2 corrects DM timer freq to be 200MHz (used at R5 SPL stage) > > v2: > Update commit message 1/2 as per Nishanth's suggestion > Rew

cache: l2x0: Fix incorrect behavior if the latency is 1 cycle

2022-03-18 Thread haifeng.li
According to the PL310 TRM, 0 in the latency fields(setup/read/write) indicates 1 cycle of latency for Tag and Data RAM latency control registers. If we want to set 1 cycle of latency, we need to clear the field actually. The TRM is as below: https://developer.arm.com/documentation/ddi0246/h/progra

[PATCH 15/15] Convert CONFIG_BACKSIDE_L2_CACHE to Kconfig

2022-03-18 Thread Tom Rini
This converts the following to Kconfig: CONFIG_BACKSIDE_L2_CACHE Signed-off-by: Tom Rini --- arch/powerpc/cpu/mpc85xx/Kconfig | 10 ++ include/configs/P2041RDB.h | 1 - include/configs/T102xRDB.h | 1 - include/configs/T104xRDB.h | 1 - include/configs/corenet_ds.

[PATCH 13/15] lcd: Remove LCD_TEST_PATTERN code

2022-03-18 Thread Tom Rini
This is a legacy driver and the value is set in board config headers without a CONFIG prefix. Remove the code. Cc: Anatolij Gustschin Signed-off-by: Tom Rini --- common/lcd.c | 52 -- include/configs/at91sam9261ek.h| 1 - include/configs/a

[PATCH 14/15] vinco: Remove CONFIG_ATMEL_SPI0

2022-03-18 Thread Tom Rini
This is not referenced anywhere, remove. Signed-off-by: Tom Rini --- include/configs/vinco.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/include/configs/vinco.h b/include/configs/vinco.h index 16c020982b39..74eccfa2e644 100644 --- a/include/configs/vinco.h +++ b/include/configs/vinc

[PATCH 12/15] Convert CONFIG_LCD_INFO et al to Kconfig

2022-03-18 Thread Tom Rini
This converts the following to Kconfig: CONFIG_LCD_INFO CONFIG_LCD_LOGO CONFIG_LCD_INFO_BELOW_LOGO CONFIG_LCD_IN_PSRAM Cc: Anatolij Gustschin Signed-off-by: Tom Rini --- board/ronetix/pm9263/Kconfig | 3 +++ configs/pm9261_defconfig | 2 ++ configs/pm9263_defconfig

[PATCH 08/15] Convert CONFIG_SYS_RX_ETH_BUFFER to Kconfig

2022-03-18 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_RX_ETH_BUFFER Cc: Ramon Fried Signed-off-by: Tom Rini --- README | 8 configs/10m50_defconfig | 1 + configs/3c120_defconfig | 1 + configs/M5208EVBE_de

[PATCH 11/15] Convert CONFIG_ATMEL_LCD et al to Kconfig

2022-03-18 Thread Tom Rini
This converts the following to Kconfig: CONFIG_ATMEL_LCD CONFIG_ATMEL_LCD_BGR555 CONFIG_ATMEL_LCD_RGB565 CONFIG_GURNARD_SPLASH Signed-off-by: Tom Rini --- README| 4 board/bluewater/gurnard/Kconfig | 3 +++ configs/at91sam926

[PATCH 10/15] Convert CONFIG_MII_INIT to Kconfig

2022-03-18 Thread Tom Rini
This converts the following to Kconfig: CONFIG_MII_INIT Signed-off-by: Tom Rini --- cmd/Kconfig | 4 configs/M5208EVBE_defconfig | 1 + configs/M5235EVB_Flash32_defconfig| 1 + configs/M5235EVB_defconfig| 1 + configs/M5272C3_defconfig

[PATCH 03/15] Convert CONFIG_RESET_PHY_R to Kconfig

2022-03-18 Thread Tom Rini
This converts the following to Kconfig: CONFIG_RESET_PHY_R Cc: Ramon Fried Signed-off-by: Tom Rini --- arch/arm/mach-kirkwood/include/mach/config.h | 1 - common/Kconfig | 6 ++ configs/SBx81LIFKW_defconfig | 1 + conf

[PATCH 09/15] Convert CONFIG_PHY_RESET_DELAY to Kconfig

2022-03-18 Thread Tom Rini
This converts the following to Kconfig: CONFIG_PHY_RESET_DELAY Cc: Ramon Fried Signed-off-by: Tom Rini --- README| 7 --- arch/arm/include/asm/arch-bcmcygnus/configs.h | 3 --- common/miiphyutil.c | 2 +- configs/bcm968380

[PATCH 04/15] Convert CONFIG_SYS_FAULT_ECHO_LINK_DOWN to Kconfig

2022-03-18 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_FAULT_ECHO_LINK_DOWN Cc: Ramon Fried Signed-off-by: Tom Rini --- README | 6 -- arch/arm/mach-kirkwood/include/mach/config.h | 7 --- configs/10m50_defconfig

[PATCH 05/15] Convert CONFIG_RMII to Kconfig

2022-03-18 Thread Tom Rini
This converts the following to Kconfig: CONFIG_RMII Cc: Ramon Fried Signed-off-by: Tom Rini --- configs/axm_defconfig | 1 + configs/corvus_defconfig | 1 + configs/devkit3250_defconfig | 1 + configs/ethernut5_defconfig | 1 + configs/gurnard_

[PATCH 06/15] Convert CONFIG_TFTP_PORT to Kconfig

2022-03-18 Thread Tom Rini
This converts the following to Kconfig: CONFIG_TFTP_PORT Cc: Ramon Fried Signed-off-by: Tom Rini --- README| 20 configs/gurnard_defconfig | 1 + configs/snapper9260_defconfig | 1 + configs/snapper9g20_defconfig | 1 + include/configs/snap

[PATCH 07/15] Convert CONFIG_LPC32XX_ETH to Kconfig

2022-03-18 Thread Tom Rini
This converts the following to Kconfig: CONFIG_LPC32XX_ETH Cc: Ramon Fried Signed-off-by: Tom Rini --- drivers/net/Kconfig | 5 + include/configs/devkit3250.h | 5 - include/configs/work_92105.h | 7 --- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/dri

[PATCH 02/15] Convert CONFIG_AT91_WANTS_COMMON_PHY to Kconfig

2022-03-18 Thread Tom Rini
This converts the following to Kconfig: CONFIG_AT91_WANTS_COMMON_PHY Cc: Eugen Hristev Signed-off-by: Tom Rini --- arch/arm/mach-at91/Kconfig | 9 + include/configs/at91sam9263ek.h| 1 - include/configs/at91sam9m10g45ek.h | 1 - include/configs/corvus.h | 1 - i

[PATCH 01/15] Convert CONFIG_AT91_LED to Kconfig

2022-03-18 Thread Tom Rini
This converts the following to Kconfig: CONFIG_AT91_LED Cc: Eugen Hristev Signed-off-by: Tom Rini --- board/siemens/corvus/Kconfig | 3 +++ include/configs/corvus.h | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/board/siemens/corvus/Kconfig b/board/siemens/corvus/Kc

Re: [PATCH]armv7: cache: support L2 cache disable

2022-03-18 Thread Tom Rini
On Fri, Mar 18, 2022 at 06:16:45PM +0800, haifeng...@timesintelli.com wrote: > PL310 is the L2$ controller from ARM used in many SoCs. Before jumping > to linux, UBoot will call v7_outer_cache_disable in > cleanup_before_linux_select to disable L2$. This patch is to support > cache disable of PL31

Re: ARM A53 and initial MMU mapping for EL0/1/2/3 ?

2022-03-18 Thread Joakim Tjernlund
I can see CNTVCT_EL0 counting in u-boot and I can see the relative timestamp in dmesg cont but timeofday is not moving, very odd. COUNTER_FREQUENCY is also there and correct. Jocke From: Andre Przywara Sent: 17 March 2022 01:32 To: Joakim Tjernlund Cc:

Re: [PATCH 2/2] bootcount: Add pmic pfuze100 bootcount driver

2022-03-18 Thread Philip Oberfichtner
On Fri, 2022-03-11 at 19:25 -0700, Simon Glass wrote: > Hi Philip, > > On Fri, 25 Feb 2022 at 06:56, Philip Oberfichtner > wrote: > > Use the MEMA - MEMD registers on the PFUZE100 as bootcount > > registers. > > > > Based on work from Heiko Schocher . > > Signed-off-by: Philip Oberfichtner > >

[PATCH v2 2/2] bootcount: Add pmic pfuze100 bootcount driver

2022-03-18 Thread Philip Oberfichtner
Use the MEMA - MEMD registers on the PFUZE100 as bootcount registers. Based on work from Heiko Schocher . Signed-off-by: Philip Oberfichtner --- Changes in v2: - Migrated bootcount driver to driver model - Introduced error handling. Previously errors were ignored. drivers/bootcount/Kconfig

[PATCH v2 1/2] power: pfuze100: Add MEMx register definitions

2022-03-18 Thread Philip Oberfichtner
Add missing MEMA - MEMD register definitions for PFUZE100. Based on work from Heiko Schocher . Signed-off-by: Philip Oberfichtner --- (no changes since v1) include/power/pfuze100_pmic.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/power/pfuze100_pmic.h b/include/power/pfuz

[PATCH v2 0/2] Add pmic bootcount driver

2022-03-18 Thread Philip Oberfichtner
This series adds a new bootcount driver. The required register definitions and the actual driver are separated in two patches. Changes in v2: - Migrated bootcount driver to driver model - Introduced error handling. Previously errors were ignored. Philip Oberfichtner (2): power: pfuze100: Add

[PATCH]armv7: cache: support L2 cache disable

2022-03-18 Thread haifeng.li
PL310 is the L2$ controller from ARM used in many SoCs. Before jumping to linux, UBoot will call v7_outer_cache_disable in cleanup_before_linux_select to disable L2$. This patch is to support cache disable of PL310. Signed-off-by: Haifeng Li arch/arm/lib/cache-pl310.c | 5 + 1 file changed, 5

Re: [EXT] Re: [PATCH] imx: Revert "imx: mx6ull: fix REFTOP_VBGADJ setting" and fix comments

2022-03-18 Thread Ye Li
Hi Michael, On Fri, 2022-03-11 at 15:01 +0100, Dario Binacchi wrote: > Caution: EXT Email > > Hi, > > On Fri, Mar 11, 2022 at 1:26 PM Ye Li wrote: > > > > > > Hi Michael, > > > > On Fri, 2022-03-11 at 08:57 +0100, Michael Nazzareno Trimarchi > > wrote: > > > > > > Caution: EXT Email > > >

Re: [EXT] Re: GPMI NAND Regression on i.MX6S

2022-03-18 Thread Ye Li
Hi Frieder, On Thu, 2022-03-17 at 09:06 +0100, Frieder Schrempf wrote: > Caution: EXT Email > > Hi Tim, > > Am 16.03.22 um 17:34 schrieb Tim Harvey: > > > > On Wed, Mar 16, 2022 at 7:09 AM Fabio Estevam > > wrote: > > > > > > > > > Adding Han Xu's NXP email on Cc. > > > > > > On Mon, Mar 14

Re: [PATCH u-boot-net 00/14] u-boot-net refactors, fixes, cleanups

2022-03-18 Thread Ramon Fried
On Thu, Mar 17, 2022 at 2:50 PM Marek Behún wrote: > > From: Marek Behún > > So I wanted to solve a problem regarding MDIO bus within mvneta driver, > to make it use the mvmdio DM driver instead of the non-DM MDIO bus > registered during mvneta probe, and improve some other things there, and > it

Re: [PATCH u-boot-net 14/14] net: phy: don't require PHY interface mode during PHY creation

2022-03-18 Thread Ramon Fried
On Thu, Mar 17, 2022 at 2:50 PM Marek Behún wrote: > > From: Marek Behún > > Currently we require PHY interface mode to be known when > finding/creating the PHY - the functions > * phy_device_create() > * create_phy_by_mask() > * search_for_existing_phy() > * get_phy_device_by_mask() >

Re: [PATCH u-boot-net 13/14] bcmgenet, sun8i_emac: Don't connect PHY two times

2022-03-18 Thread Ramon Fried
On Thu, Mar 17, 2022 at 2:50 PM Marek Behún wrote: > > From: Marek Behún > > The bcmgenet and sun8i_emac drivers call phy_connect(), which finds / > creates the PHY and also connects it to the eth device via > phy_connect_dev(), then set some phydev members (bcmgenet only), and > then call phy_co

Re: [PATCH u-boot-net 12/14] net: phy: use ->is_c45 instead of is_10g_interface()

2022-03-18 Thread Ramon Fried
On Thu, Mar 17, 2022 at 2:50 PM Marek Behún wrote: > > From: Marek Behún > > Use phydev->is_c45 instead of is_10g_interface(phydev->interface) to > determine whether clause 45 protocol should be used. > > Signed-off-by: Marek Behún > --- > drivers/net/phy/phy.c | 8 > include/phy.h

Re: [PATCH u-boot-net 11/14] net: phy: xilinx: Check interface type in ->config(), not ->probe()

2022-03-18 Thread Ramon Fried
On Thu, Mar 17, 2022 at 2:50 PM Marek Behún wrote: > > From: Marek Behún > > We want to be able to have phydev->interface uninitialized during > ->probe(). We should assume that phydev->interface is initialized only > before ->config(). > > Signed-off-by: Marek Behún > --- > drivers/net/phy/xil

Re: [PATCH u-boot-net 10/14] phy: Move PHY_INTERFACE_MODE_NA to the beginning of the enum definition

2022-03-18 Thread Ramon Fried
On Thu, Mar 17, 2022 at 2:50 PM Marek Behún wrote: > > From: Marek Behún > > Move PHY_INTERFACE_MODE_NA to the beginning of the enum definition to > make it have zero value. This makes it possible (although not > encouraged) to test for invalid/nonexistent interface mode with !val > instead of va

Re: [PATCH u-boot-net 09/14] treewide: Rename PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA

2022-03-18 Thread Ramon Fried
On Thu, Mar 17, 2022 at 2:50 PM Marek Behún wrote: > > From: Marek Behún > > Rename constant PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA to make > it compatible with Linux' naming. > > Signed-off-by: Marek Behún > --- > board/freescale/corenet_ds/eth_hydra.c | 2 +- > board/freescale

Re: [PATCH u-boot-net 07/14] net: introduce helpers to get PHY interface mode from a device/ofnode

2022-03-18 Thread Ramon Fried
On Thu, Mar 17, 2022 at 2:50 PM Marek Behún wrote: > > From: Marek Behún > > Add helpers ofnode_read_phy_mode() and dev_read_phy_mode() to parse the > "phy-mode" / "phy-connection-type" property. > > Use them treewide. > > This allows us to inline the phy_get_interface_by_name() into > ofnode_rea

Re: [PATCH u-boot-net 06/14] net: phy: fix parsing wrong property

2022-03-18 Thread Ramon Fried
On Thu, Mar 17, 2022 at 2:50 PM Marek Behún wrote: > > From: Marek Behún > > The "phy-interface-type" property should be "phy-connection-type". > > Signed-off-by: Marek Behún > --- > drivers/net/phy/phy.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/phy/p

  1   2   >