[PATCH] fs: relax ext4_write_file() dependency

2024-05-14 Thread Baruch Siach
ext4_write_file() depends on CONFIG_EXT4_WRITE. Allow build without CONFIG_CMD_EXT4_WRITE. Signed-off-by: Baruch Siach --- fs/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fs.c b/fs/fs.c index bed1f7242f41..0c47943f3339 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -224,7

[PATCH] net: fix NetConsole documentation reference

2023-12-17 Thread Baruch Siach
Fixes: d0253f7e5ca1 ("doc: move README.NetConsole to HTML documentation") Signed-off-by: Baruch Siach --- net/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/Kconfig b/net/Kconfig index 4215889127c9..92a22ac1ea55 100644 --- a/net/Kconfig +++ b/net/Kconfi

[PATCH] net: designware: add DMA offset awareness

2023-10-25 Thread Baruch Siach
translation routines so that properly configured platforms can use the DesignWare Ethernet MAC. For platforms using device-tree this usually means adding dma-ranges property to the bus the device node is in. Signed-off-by: Baruch Siach --- drivers/net/designware.c | 31

[PATCH] cmd: fs: document where 'size' stores its result

2023-05-07 Thread Baruch Siach
Make it a little bit easier for the user to utilize the 'size' command. Signed-off-by: Baruch Siach --- cmd/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/fs.c b/cmd/fs.c index 5ad11647c2d3..6044f73af5b4 100644 --- a/cmd/fs.c +++ b/cmd/fs.c @@ -20,7 +20,7

Re: [PATCH 1/4] doc: signature: update algorithms support description

2023-05-02 Thread Baruch Siach
Hi Simon, On Tue, May 02 2023, Simon Glass wrote: > On Mon, 1 May 2023 at 22:47, Baruch Siach wrote: >> >> U-Boot supports more hash and verification algorithms these days. >> >> Signed-off-by: Baruch Siach >> --- >> doc/uImage.FIT/signature.txt | 4 ++--

[PATCH] doc: devicetree: fix u-boot.bin filename typo

2023-05-02 Thread Baruch Siach
Signed-off-by: Baruch Siach --- doc/develop/devicetree/control.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/develop/devicetree/control.rst b/doc/develop/devicetree/control.rst index 0b3b32be1bb6..cbb65c9b177f 100644 --- a/doc/develop/devicetree/control.rst +++ b

[PATCH 4/4] doc: signature: trim the future work list

2023-05-01 Thread Baruch Siach
Since U-Boot supports more RSA/SHA variants, as well as ECDSA, remove these items from the TODO list. Signed-off-by: Baruch Siach --- doc/uImage.FIT/signature.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt index 240244b30e63

[PATCH 1/4] doc: signature: update algorithms support description

2023-05-01 Thread Baruch Siach
U-Boot supports more hash and verification algorithms these days. Signed-off-by: Baruch Siach --- doc/uImage.FIT/signature.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt index c71280b63bb6..bc123f512f7b

[PATCH 3/4] doc: signature: describe how to enable ECDSA

2023-05-01 Thread Baruch Siach
Signed-off-by: Baruch Siach --- doc/uImage.FIT/signature.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt index b6707417ff63..240244b30e63 100644 --- a/doc/uImage.FIT/signature.txt +++ b/doc/uImage.FIT/signature.txt @@ -439,6

[PATCH 2/4] doc: signature: update algorithm addition description

2023-05-01 Thread Baruch Siach
U-Boot now uses the U_BOOT_CRYPTO_ALGO() macro. Signed-off-by: Baruch Siach --- doc/uImage.FIT/signature.txt | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt index bc123f512f7b..b6707417ff63 100644 --- a/doc

[PATCH] cmd/fdt: fix conf node lookup failure check

2023-05-01 Thread Baruch Siach
fit_conf_get_node() returns negative value on error. Signed-off-by: Baruch Siach --- cmd/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/fdt.c b/cmd/fdt.c index aae3278526c4..2401ea8b44cb 100644 --- a/cmd/fdt.c +++ b/cmd/fdt.c @@ -733,7 +733,7 @@ static int do_fdt

Re: [PATCH v5 36/44] imx: Use SATA instead of CMD_SATA

2023-02-22 Thread Baruch Siach
Hi Simon, On Wed, Feb 22 2023, Simon Glass wrote: > This causes a build failure on mx6cuboxi with split config, since CMD_SATA > shows up as enabled in SPl (because there is no SPL_CMD_SATA). > > The condition is wrong anyway, so change it to use SATA instead. > > Signed-off-by: Simon Glass

Re: [PATCH] cmd: return code when tlv_eeprom incorrectly called

2023-01-29 Thread Baruch Siach
Hi Heinrich, On Fri, Jan 27 2023, Heinrich Schuchardt wrote: > A command called with incorrect parameters should set $? to 1 (false). > Instead of calling cmd_usage(cmdtp) and then returning 0 just return > CMD_RET_FAILURE. > > Signed-off-by: Heinrich Schuchardt Acked-by: Baruch

[PATCH] mx6cuboxi: migrate to DM_SERIAL

2022-11-03 Thread Baruch Siach
Add the needed DT overrides to enable UART in SPL. Cc: Fabio Estevam Signed-off-by: Baruch Siach --- ...mx6qdl-hummingboard2-emmc-som-v15-u-boot.dtsi | 16 board/solidrun/mx6cuboxi/mx6cuboxi.c | 3 +++ configs/mx6cuboxi_defconfig | 2 +- 3

Re: DM_SERIAL for i.MX6 Hummingboard/Cubox-i

2022-11-03 Thread Baruch Siach
Hi Fabio, On Thu, Nov 03 2022, Fabio Estevam wrote: > On Thu, Nov 3, 2022 at 11:28 AM Fabio Estevam wrote: >> On Thu, Nov 3, 2022 at 11:15 AM Fabio Estevam wrote: >> >> > Please try using u-boot,dm-spl for all nodes instead. >> >> In addition to using u-boot,dm-spl, please try calling >>

Re: DM_SERIAL for i.MX6 Hummingboard/Cubox-i

2022-11-03 Thread Baruch Siach
Hi Fabio, On Thu, Nov 03 2022, Fabio Estevam wrote: > On Thu, Nov 3, 2022 at 11:15 AM Fabio Estevam wrote: > >> Please try using u-boot,dm-spl for all nodes instead. > > In addition to using u-boot,dm-spl, please try calling > spl_early_init() like done here: >

Re: DM_SERIAL for i.MX6 Hummingboard/Cubox-i

2022-11-03 Thread Baruch Siach
Hi Fabio, On Thu, Nov 03 2022, Fabio Estevam wrote: > On Thu, Nov 3, 2022 at 9:29 AM Baruch Siach wrote: >> I am trying to migrate the Hummingboard platform to DM_SERIAL. See below >> what I got so far. Booting this on top of master (as of commit >> 8bc87a4c5) shows nothing

DM_SERIAL for i.MX6 Hummingboard/Cubox-i

2022-11-03 Thread Baruch Siach
Hi u-boot list, I am trying to migrate the Hummingboard platform to DM_SERIAL. See below what I got so far. Booting this on top of master (as of commit 8bc87a4c5) shows nothing on the serial console. Next thing I plan to try is toggle GPIOs in entry code to see how far the code proceeds. Any

[PATCH] cmd: eeprom: don't truncate target address at 32-bit

2022-10-23 Thread Baruch Siach
On 64-bit platforms where int is 32-bit wide, the eeprom command parse_numeric_param() routine truncates the memory address parameter to the lower 32-bit. Make parse_numeric_param() return long to allow read/write of addresses beyond the lower 4GB. Signed-off-by: Baruch Siach --- cmd/eeprom.c

Re: [PATCH] tlv_eeprom: Add missing CRC32 dependency

2022-05-30 Thread Baruch Siach
Hi Pali, On Mon, May 30 2022, Pali Rohár wrote: > tlv_eeprom uses crc32() function, so add dependency into Kconfig. > > Signed-off-by: Pali Rohár Reviewed-by: Baruch Siach Thanks, baruch > --- > cmd/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/c

Re: [PATCH] ARM: mvebu: x530: clearfog: Add ODT configuration

2022-02-28 Thread Baruch Siach
r: marvell: a38x: allow board specific ODT > configuration") > Signed-off-by: Chris Packham Acked-by: Baruch Siach Thanks, baruch > --- > > board/alliedtelesis/x530/x530.c| 1 + > board/solidrun/clearfog/clearfog.c | 1 + > 2 files changed, 2 insertions(+) > &g

Re: [PATCH 3/3] mmc: mmc_get_op_cond: Allow quiet detection of eMMC

2021-07-14 Thread Baruch Siach
Hi Pali, On Wed, Jul 14 2021, Pali Rohár wrote: > Add a new 'quiet' argument to mmc_get_op_cond() function which avoids > printing error message when SD/eMMC card is not detected. > > Espressobin and mx6cuboxi boards use this function for detecting presence > of eMMC and therefore it is expected

Re: [PATCH u-boot-mvebu 00/31] kwboot / kwbimage improvements

2021-07-09 Thread Baruch Siach
Hi Marek, Pali, On Thu, Jul 08 2021, Marek Behún wrote: > Hi Stefan and others, > > this is a series of improvements to kwboot, kwbimage and mvebu. > > The main goal of this series is to correctly use BootROM's code > for loading U-Boot from NOR / NAND: currently only SPL is read by > BootROM and

Re: [PATCH u-boot-mvebu 22/31] arm: mvebu: Always use BootROM for loading the rest of U-Boot's binary

2021-07-08 Thread Baruch Siach
Hi Marek, Pali, On Thu, Jul 08 2021, Marek Behún wrote: > From: Pali Rohár > > Now that proper load and execution addresses are set in v1 kwbimage, we > can use BootROM to continue loading main U-Boot binary instead of > U-Boot's SPL code. > > This also reduces the size of U-Boot's SPL image. >

Re: [PATCH u-boot-marvell] mmc: mv_sdhci: call mmc_of_parse()

2021-02-02 Thread Baruch Siach
tect") My patch is missing this tag, though. baruch > Cc: p...@kernel.org > Cc: Baruch Siach > Cc: Stefan Roese > --- > drivers/mmc/mv_sdhci.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/mmc/mv_sdhci.c b/drivers/mmc/mv_sdhci.c > index

[PATCH] mmc: mv_sdhci: parse device-tree entry

2021-02-01 Thread Baruch Siach
Call mmc_of_parse() so that generic DT properties like 'non-removable' are taken into account. This fixes boot on Clearfog with eMMC on SOM that requires the non-removable property. Reported-by: Thorsten Spille Signed-off-by: Baruch Siach --- drivers/mmc/mv_sdhci.c | 4 1 file changed, 4

Re: [PATCH 2/4] ARM: mvebu: helios4 dts changes to enable SPI

2020-12-06 Thread Baruch Siach
Hi Dennis, On Mon, Dec 07 2020, dgilm...@redhat.com wrote: > From: Dennis Gilmore > > mirror seettings for the clearfog on the helios4 to get SPI working. > > Signed-off-by: Dennis Gilmore > --- > arch/arm/dts/armada-388-helios4-u-boot.dtsi | 22 ++ >

[PATCH 4/5] mtd: pxa3xx_nand: remove dead code

2020-10-29 Thread Baruch Siach
The kfree() call is unreachable, and is not needed. Remove this call and the fail_disable_clk label. Reviewed-by: Stefan Roese Signed-off-by: Baruch Siach --- drivers/mtd/nand/raw/pxa3xx_nand.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/mtd/nand

[PATCH 3/5] mtd: pxa3xx_nand: port to use driver model

2020-10-29 Thread Baruch Siach
From: Shmuel Hazan Use the generic DT code to find the device compatible property for us. This makes the driver look more like other current drivers. It also make it easier to add support for other variants like Armada 8K in a future commit. Signed-off-by: Shmuel Hazan Signed-off-by: Baruch

[PATCH 0/5] mtd: pxa3xx_nand: add support for Armada 8k

2020-10-29 Thread Baruch Siach
661c98121d4 ("mtd: nand: pxa3xx: Fix not calling dev_xxx with a device") Baruch Siach (2): arm: dts: armada-cp110-master: update nand-controller mtd: pxa3xx_nand: remove dead code Shmuel Hazan (3): arm: dts: armada-cp110-slave: add missing cps_nand mtd: pxa3xx_nand: port to use dr

[PATCH 5/5] mtd: nand: pxa3xx: enable NAND controller if the SoC needs it

2020-10-29 Thread Baruch Siach
NAND flash controller activated by default. Enabling the controller is a matter of writing in a system controller register that may also be used for other NAND related choices. Reviewed-by: Stefan Roese Signed-off-by: Shmuel Hazan Signed-off-by: Baruch Siach --- drivers/mtd/nand/raw/Kconfig

[PATCH 1/5] arm: dts: armada-cp110-slave: add missing cps_nand

2020-10-29 Thread Baruch Siach
From: Shmuel Hazan Align node properties to kernel dts node. Keep U-Boot specific nand-enable-arbiter, and num-cs for compatibility with the current driver. Reviewed-by: Stefan Roese Signed-off-by: Shmuel Hazan Signed-off-by: Baruch Siach --- arch/arm/dts/armada-cp110-slave.dtsi | 16

[PATCH 2/5] arm: dts: armada-cp110-master: update nand-controller

2020-10-29 Thread Baruch Siach
Align node properties to kernel dts node. The change of compatible property does not affect any currently supported board. Keep U-Boot specific nand-enable-arbiter, and num-cs for compatibility with the current driver. Reviewed-by: Stefan Roese Signed-off-by: Baruch Siach --- arch/arm/dts

Re: [PATCH] imx: mx6cuboxi: Disable CONFIG_IMX_THERMAL

2020-10-28 Thread Baruch Siach
Hi Simon, Adding Walter to Cc. On Thu, Oct 29 2020, Simon Glass wrote: > This feature is incompatble with of-platdata since it uses the > U_BOOT_DEVICE() macro. With of-platdata the only devices permitted are > those created by dtoc. > > Drop this option for now, until the driver can be

[PATCH] imx8mp_evk: README instruction fixes

2020-10-28 Thread Baruch Siach
Use the full name of firmware self extracting file to make it run. Also, don't use sudo when not needed. Signed-off-by: Baruch Siach --- This time add the u-boot list to Cc. --- board/freescale/imx8mp_evk/README | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [PATCH v2 0/5] mtd: pxa3xx_nand: add support for Armada 8k

2020-10-20 Thread Baruch Siach
Hi Stefan, On Tue, Oct 20 2020, Stefan Roese wrote: > On 19.10.20 07:24, Baruch Siach wrote: >> On Sun, Oct 18 2020, Chris Packham wrote: >>> On Mon, Oct 19, 2020 at 1:59 AM Baruch Siach wrote: >>>> >>>> This series adds NAND flash support to Aramda 8

Re: [PATCH 0/3] phy: marvell: cp110: fix Armada 8k rev B0 boot hang

2020-10-20 Thread Baruch Siach
Hi Stefan, On Tue, Oct 20 2020, Stefan Roese wrote: > On 18.10.20 16:11, Baruch Siach wrote: >> Boot of Armada 8040 rev B0 hangs when U-Boot attempts to initialize the PCIe >> serdes. Adapt patches from downstream Marvell tree that move serdes >> initialization to ATF. >&

Re: [PATCH v2 0/5] mtd: pxa3xx_nand: add support for Armada 8k

2020-10-18 Thread Baruch Siach
Hi Chris, On Sun, Oct 18 2020, Chris Packham wrote: > On Mon, Oct 19, 2020 at 1:59 AM Baruch Siach wrote: >> >> This series adds NAND flash support to Aramda 8k systems. Patches make the >> necessary changes to the pxa3xx_nand driver and DT files. >> >> v2: >

[PATCH 2/3] phy: marvell: cp110: let the firmware configure comphy for PCIe

2020-10-18 Thread Baruch Siach
From: Grzegorz Jaszczyk Replace the comphy initialization for PCIe with appropriate SMC call, so the firmware will perform appropriate comphy initialization. Signed-off-by: Grzegorz Jaszczyk Signed-off-by: Ken Ma Reviewed-by: Igal Liberman Signed-off-by: Baruch Siach --- drivers/phy

[PATCH 0/3] phy: marvell: cp110: fix Armada 8k rev B0 boot hang

2020-10-18 Thread Baruch Siach
Boot of Armada 8040 rev B0 hangs when U-Boot attempts to initialize the PCIe serdes. Adapt patches from downstream Marvell tree that move serdes initialization to ATF. This series requires upstream ATF version 2.1 or newer. Grzegorz Jaszczyk (2): phy: marvell: cp110: let the firmware

[PATCH 3/3] phy: marvell: cp110: update mode parameter for pcie power on calls

2020-10-18 Thread Baruch Siach
/55df84f974ea37abbb4f93f000f101f70cda5303 Signed-off-by: Igal Liberman Reviewed-by: Grzegorz Jaszczyk Signed-off-by: Baruch Siach --- drivers/phy/marvell/comphy_cp110.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/phy/marvell/comphy_cp110.c b/drivers/phy/marvell

[PATCH 1/3] phy: marvell: cp110: let the firmware configure the comphy

2020-10-18 Thread Baruch Siach
appropriate comphy initialization. This patch reworks serdes handling for: SATA, SGMII, HS-SGMII and SFI interfaces. Signed-off-by: Grzegorz Jaszczyk Reviewed-by: Igal Liberman Signed-off-by: Baruch Siach --- drivers/phy/marvell/comphy_cp110.c | 816 - 1 file

[PATCH v2 0/5] mtd: pxa3xx_nand: add support for Armada 8k

2020-10-18 Thread Baruch Siach
This series adds NAND flash support to Aramda 8k systems. Patches make the necessary changes to the pxa3xx_nand driver and DT files. v2: Rebase on current master. Fixes conflict with commit 661c98121d4 ("mtd: nand: pxa3xx: Fix not calling dev_xxx with a device") Baruch Siach (2):

[PATCH v2 5/5] mtd: nand: pxa3xx: enable NAND controller if the SoC needs it

2020-10-18 Thread Baruch Siach
NAND flash controller activated by default. Enabling the controller is a matter of writing in a system controller register that may also be used for other NAND related choices. Signed-off-by: Shmuel Hazan Signed-off-by: Baruch Siach --- drivers/mtd/nand/raw/pxa3xx_n

[PATCH v2 1/5] arm: dts: armada-cp110-slave: add missing cps_nand

2020-10-18 Thread Baruch Siach
From: Shmuel Hazan Align node properties to kernel dts node. Keep U-Boot specific nand-enable-arbiter, and num-cs for compatibility with the current driver. Signed-off-by: Shmuel Hazan Signed-off-by: Baruch Siach --- arch/arm/dts/armada-cp110-slave.dtsi | 16 1 file changed

[PATCH v2 4/5] mtd: pxa3xx_nand: remove dead code

2020-10-18 Thread Baruch Siach
The kfree() call is unreachable, and is not needed. Remove this call and the fail_disable_clk label. Signed-off-by: Baruch Siach --- drivers/mtd/nand/raw/pxa3xx_nand.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/mtd/nand/raw/pxa3xx_nand.c b/drivers

[PATCH v2 3/5] mtd: pxa3xx_nand: port to use driver model

2020-10-18 Thread Baruch Siach
From: Shmuel Hazan Signed-off-by: Shmuel Hazan Signed-off-by: Baruch Siach --- drivers/mtd/nand/raw/Kconfig | 2 + drivers/mtd/nand/raw/pxa3xx_nand.c | 117 + 2 files changed, 55 insertions(+), 64 deletions(-) diff --git a/drivers/mtd/nand/raw/Kconfig b

[PATCH v2 2/5] arm: dts: armada-cp110-master: update nand-controller

2020-10-18 Thread Baruch Siach
Align node properties to kernel dts node. The change of compatible property does not affect any currently supported board. Keep U-Boot specific nand-enable-arbiter, and num-cs for compatibility with the current driver. Signed-off-by: Baruch Siach --- arch/arm/dts/armada-cp110-master.dtsi | 15

Re: [BUG] mx6cuboxi : broken MMC support

2020-10-10 Thread Baruch Siach
Hi Fabio, On Sat, Oct 10 2020, Fabio Estevam wrote: > On Sat, Oct 10, 2020 at 4:11 PM Baruch Siach wrote: > >> This might be the cause of the problem. The script listed above >> hardcodes "mmc 0:1". Changing that to "mmc 1:1" might fix this issue. &g

Re: [BUG] mx6cuboxi : broken MMC support

2020-10-10 Thread Baruch Siach
Hi François On Sat, Oct 10 2020, François Perrad wrote: > With 2020.07 (or 2020.04 or 2020.10), something goes wrong on this board. > I think it is related to > https://gitlab.denx.de/u-boot/u-boot/-/commit/6c3fbf3e456c49c2f43c0c286106a0d4b099b67b > > 2020.01 works fine with mmc0 (mmc0 is current

[PATCH] i2c: mvtwsi: disable i2c slave also on Armada 8k

2020-10-01 Thread Baruch Siach
Roese Signed-off-by: Baruch Siach --- drivers/i2c/mvtwsi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/mvtwsi.c b/drivers/i2c/mvtwsi.c index fdb8fd42e5c0..14c594d648ba 100644 --- a/drivers/i2c/mvtwsi.c +++ b/drivers/i2c/mvtwsi.c @@ -823,7 +823,8 @@ static

[PATCH 5/5] mtd: nand: pxa3xx: enable NAND controller if the SoC needs it

2020-09-15 Thread Baruch Siach
NAND flash controller activated by default. Enabling the controller is a matter of writing in a system controller register that may also be used for other NAND related choices. Signed-off-by: Shmuel Hazan Signed-off-by: Baruch Siach --- drivers/mtd/nand/raw/pxa3xx_n

[PATCH 3/5] mtd: pxa3xx_nand: port to use driver model

2020-09-15 Thread Baruch Siach
From: Shmuel Hazan Signed-off-by: Shmuel Hazan Signed-off-by: Baruch Siach --- drivers/mtd/nand/raw/Kconfig | 2 + drivers/mtd/nand/raw/pxa3xx_nand.c | 114 + 2 files changed, 54 insertions(+), 62 deletions(-) diff --git a/drivers/mtd/nand/raw/Kconfig b

[PATCH 4/5] mtd: pxa3xx_nand: remove dead code

2020-09-15 Thread Baruch Siach
The kfree() call is unreachable, and is not needed. Remove this call and the fail_disable_clk label. Signed-off-by: Baruch Siach --- drivers/mtd/nand/raw/pxa3xx_nand.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/mtd/nand/raw/pxa3xx_nand.c b/drivers

[PATCH 1/5] arm: dts: armada-cp110-slave: add missing cps_nand

2020-09-15 Thread Baruch Siach
From: Shmuel Hazan Align node properties to kernel dts node. Keep U-Boot specific nand-enable-arbiter, and num-cs for compatibility with the current driver. Signed-off-by: Shmuel Hazan Signed-off-by: Baruch Siach --- arch/arm/dts/armada-cp110-slave.dtsi | 16 1 file changed

[PATCH 0/5] mtd: pxa3xx_nand: add support for Armada 8k

2020-09-15 Thread Baruch Siach
This series adds NAND flash support to Aramda 8k systems. Patches make the necessary changes to the pxa3xx_nand driver and DT files. Baruch Siach (2): arm: dts: armada-cp110-master: update nand-controller mtd: pxa3xx_nand: remove dead code Shmuel Hazan (3): arm: dts: armada-cp110-slave

[PATCH 2/5] arm: dts: armada-cp110-master: update nand-controller

2020-09-15 Thread Baruch Siach
Align node properties to kernel dts node. The change of compatible property does not affect any currently supported board. Keep U-Boot specific nand-enable-arbiter, and num-cs for compatibility with the current driver. Signed-off-by: Baruch Siach --- arch/arm/dts/armada-cp110-master.dtsi | 15

[PATCH] ARM: mvebu: clearfog: don't override set fdtfile env

2020-09-09 Thread Baruch Siach
Only set the fdtfile environment variable when not already set. Fixes: 867572f09ebe6 ("ARM: mvebu: clearfog: run-time selection of DT file") Cc: Joel Johnson Reported-by: Andre Heider Signed-off-by: Baruch Siach --- board/solidrun/clearfog/clearfog.c | 3 +++ 1 file changed, 3

[PATCH] MAINTAINERS: update clk entry git tree

2020-08-25 Thread Baruch Siach
Signed-off-by: Baruch Siach --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index e35d5d4fcbf8..739bb1468350 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -609,7 +609,7 @@ F: drivers/mtd/jedec_flash.c CLOCK M: Lukasz Majewski

[PATCH] image: don't exceed gd->ram_top in bootm_size

2020-08-24 Thread Baruch Siach
CPU ... Thanks to Patrice CHOTARD who directed me to the right way. Signed-off-by: Baruch Siach --- common/image.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/image.c b/common/image.c index 9d7d5c17d122..da8bccd400dd 100644 --- a/common/image.c +++ b/common/image.c @@ -6

Re: [PATCH] ARM: bootm: take into account gd->ram_top

2020-08-16 Thread Baruch Siach
Hi Patrick, all, On Thu, Feb 13 2020, Patrick Delaunay wrote: > From: Patrice Chotard > > If gd->ram_top has been tuned using board_get_usable_ram_top(), > it must be taken into account when reserving arch lmb. > > Signed-off-by: Patrice Chotard > Reviewed-by: Patrick DELAUNAY > Signed-off-by:

[PATCH] cmd: bootz: fix device-tree overlap test

2020-07-28 Thread Baruch Siach
n: bootm: add checks to verify if ramdisk / fdtimage overlaps OS image") Cc: Tero Kristo Signed-off-by: Baruch Siach --- cmd/bootz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/bootz.c b/cmd/bootz.c index 1c8b0cf89f92..7556cd2752a8 100644 --- a/cmd/bootz.c +++

Re: [PATCH v5 1/3] gpio-uclass.c: save the GPIOD flags also in the gpio descriptor

2020-07-02 Thread Baruch Siach
ng out polarity to control the SD card power regulator. Tested-by: Baruch Siach Should go to v2020.07 I believe. One more comment below. > @@ -614,10 +618,6 @@ int dm_gpio_set_dir_flags(struct gpio_desc *desc, ulong > flags) > flags |= desc->flags; > ret = _dm_

Re: [PATCH 4/4] mx6cuboxi: Convert to DM_ETH

2020-06-18 Thread Baruch Siach
Hi Fabio, Thanks for your debug and fix. Small nits below. On Thu, Jun 18 2020, Fabio Estevam wrote: > Migration to DM_ETH is mandatory, so convert mx6cuboxi to Ethernet > Driver Model. > > This also brings the benefit of restoring Ethernet functionality. > > Reported-by: Tom Rini >

Re: [PATCH 2/2] mv_ddr: ddr3: Update {min, max}_read_sample calculation

2020-05-26 Thread Baruch Siach
mbeddedProcessors/mv-ddr-marvell/pull/22] > Signed-off-by: Chris Packham Tested here on an Armada 385 based system. Running memtester for more than an hour. Tested-by: Baruch Siach Thanks, baruch > --- > > drivers/ddr/marvell/a38x/ddr3_training_hw_algo.c | 4 ++-- > 1 fil

[PATCH] net: move random_port() to dns

2020-05-20 Thread Baruch Siach
The random_port() routine is not used anywhere else. Make it local to dns.c to reduce code clutter, and shrink generated code a little. Signed-off-by: Baruch Siach --- include/net.h | 3 --- net/dns.c | 10 ++ net/net.c | 14 -- 3 files changed, 10 insertions(+), 17

Re: [PATCH v2] misc: i2c_eeprom: implement different probe test eeprom offset

2020-05-07 Thread Baruch Siach
Hi Heiko, On Thu, May 07 2020, Heiko Schocher wrote: > Am 07.05.2020 um 10:53 schrieb Eugen Hristev: >> Because of this commit : >> 5ae84860b0 ("misc: i2c_eeprom: verify that the chip is functional at >> probe()") >> at probe time, each eeprom is tested for read at offset 0. >> >> The Atmel

Re: [PATCH] misc: i2c_eeprom: implement different probe test eeprom offset

2020-05-06 Thread Baruch Siach
Hi Eugen, On Wed, May 06 2020, Eugen Hristev wrote: > Because of this commit : > 5ae84860b0 ("misc: i2c_eeprom: verify that the chip is functional at probe()") > at probe time, each eeprom is tested for read at offset 0. > > The Atmel AT24MAC402 eeprom has different mapping. One i2c slave address

Re: [PATCH 0/4] Updates for ClearFog EEPROM

2020-04-16 Thread Baruch Siach
Hi Stefan, On Wed, Apr 15 2020, Stefan Roese wrote: > On 19.01.20 08:10, Joel Johnson wrote: >> >> This set of patches applies on top of >> https://patchwork.ozlabs.org/cover/1200324/, >> based on testing using the static configuration fallback updates in a >> related patch series. >> >> >> Joel

[PATCH] mtd: nand: pxa3xx: fix raw read when last_chunk_size == 0

2020-04-05 Thread Baruch Siach
drain_fifo() is not called to read the last chunk, which leads to "Wait timeout!!!" error. Fix this. Fixes: 6293b0361d9 ("mtd: nand: pxa3xx: add raw read support") Cc: Miquel Raynal Signed-off-by: Baruch Siach --- drivers/mtd/nand/raw/pxa3xx_nand.c | 2 +- 1 file changed, 1 ins

Re: [RFC 0/7] mx6cuboxi: enable OF_PLATDATA with MMC support

2020-03-29 Thread Baruch Siach
Hi Walter, On Mon, Mar 30 2020, Walter Lozano wrote: > The SPL in iMX6 boards is restricted to 68 KB as this is the free available > space in OCRAM for most revisions. In this context, adding OF_CONTROL and DM > increases the SPL size which could make it difficult to add specific features >

Re: [PATCH v5 00/12] ClearFog Base static variant support

2020-03-23 Thread Baruch Siach
Hi Stefan, On Mon, Mar 23 2020, Stefan Roese wrote: > On 22.03.20 19:46, Joel Johnson wrote: >> I just wanted to ping on this review >> (http://patchwork.ozlabs.org/project/uboot/list/?series=155533) to see if it >> had reached an agreeable state or if there were still lingering issues. I've >>

Re: [PATCH v5 05/12] arm: mvebu: clearfog: Add option for 2.5 Gbps SFP

2020-03-23 Thread Baruch Siach
Hi Stefan, On Mon, Mar 23 2020, Stefan Roese wrote: > On 27.01.20 21:01, Joel Johnson wrote: >> While newer Linux kernels provide autoconfiguration of SFP, provide >> an option for setting in U-Boot Kconfig for use prior to booting. >> >> Signed-off-by: Joel Johnson >> >> --- >> >> v2 changes:

Re: [PATCH v2 2/4] mx6cuboxi: customize board_boot_order to access eMMC

2020-03-16 Thread Baruch Siach
Hi Walter, On Mon, Mar 16, 2020 at 02:53:58PM -0300, Walter Lozano wrote: > On 16/3/20 14:25, Baruch Siach wrote: > > On Mon, Mar 16, 2020 at 02:05:57PM -0300, Walter Lozano wrote: > > > On 16/3/20 13:28, Baruch Siach wrote: > > > > On Thu, Mar 12, 2020 at 01:52:1

Re: [PATCH v2 2/4] mx6cuboxi: customize board_boot_order to access eMMC

2020-03-16 Thread Baruch Siach
Hi Walter On Mon, Mar 16, 2020 at 02:05:57PM -0300, Walter Lozano wrote: > On 16/3/20 13:28, Baruch Siach wrote: > > On Thu, Mar 12, 2020 at 01:52:13PM -0300, Walter Lozano wrote: > > > Thanks for sharing. > > > > > > On 12/3/20 02:02, B

Re: [PATCH v2 2/4] mx6cuboxi: customize board_boot_order to access eMMC

2020-03-16 Thread Baruch Siach
Hi Walter, On Thu, Mar 12, 2020 at 01:52:13PM -0300, Walter Lozano wrote: > Hi Baruch, > > Thanks for sharing. > > On 12/3/20 02:02, Baruch Siach wrote: > > Hi Walter, > > > > On Wed, Mar 11 2020, Walter Lozano wrote: > > > In SPL legacy code only on

Re: [PATCH v2 2/4] mx6cuboxi: customize board_boot_order to access eMMC

2020-03-11 Thread Baruch Siach
Hi Walter, On Wed, Mar 11 2020, Walter Lozano wrote: > In SPL legacy code only one MMC device is created, based on BOOT_CFG > register, which can be either SD or eMMC. In this context > board_boot_order return always MMC1 when configure to boot from > SD/eMMC. After switching to DM both SD and

Re: [PATCH 3/4] mx6cuboxi: customize board_boot_order to access eMMC

2020-03-07 Thread Baruch Siach
Hi Walter, On Wed, Mar 04 2020, Walter Lozano wrote: > In SPL legacy code only one MMC device is created, based on BOOT_CFG > register, which can be either SD or eMMC. In this context > board_boot_order return always MMC1 when configure to boot from > SD/eMMC. After switching to DM both SD and

Re: [PATCH 2/4] mx6cuboxi: enable MMC iomux on board_early_init_f

2020-03-07 Thread Baruch Siach
Hi Walter, Thanks for your SPL_DM support work on this platform. One comment inline below. On Wed, Mar 04 2020, Walter Lozano wrote: > MMC iomux is done on board_mmc_init which is valid when DM_MMC is not > enabled. After enabling it, the iomux setup needs to be moved to a > valid place. > >

Re: [PATCH] arm: mvebu: update RTC values for PCIe memory wrappers

2020-02-25 Thread Baruch Siach
Hi Chris, On Wed, Feb 26 2020, Chris Packham wrote: > From: Chris Packham > > Update the RTC (Read Timing Control) values for PCIe memory wrappers > following an ERRATA (ERRATA# TDB). This means the PCIe accesses will > used slower memory Read Timing, to allow more efficient energy >

Re: [PATCH 1/2] board: solidrun lx2160a-cex7: new board

2020-02-06 Thread Baruch Siach
Hi Priyanka, On Thu, Jan 23, 2020 at 11:42:56AM +0200, Baruch Siach wrote: > On Thu, Jan 23, 2020 at 09:25:29AM +, Priyanka Jain wrote: > > >-Original Message- > > >From: Baruch Siach > > >Sent: Wednesday, December 4, 2019 6:59 PM > > >To: Priya

[PATCH] mx6cuboxi: don't disable fdt relocation

2020-02-04 Thread Baruch Siach
fdt_high value of 0x disables fdt relocation on boot. We don't need that for Cubox-i/Hummingboard. Rely on generic code to find the optimal fdt location at boot time. Signed-off-by: Baruch Siach --- include/configs/mx6cuboxi.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include

Re: [RFC] mx6cuboxi: Enable OF_CONTROL and DM in SPL

2020-02-04 Thread Baruch Siach
Hi Walter, Thanks for the patch. One comment below. On Wed, Jan 29, 2020 at 10:58:07AM -0300, Walter Lozano wrote: > Make an additional step to add full DM support to mx6cuboxi, including its > support for SPL > > With this new configuration SPL image is 50 KB, higher than the > 38 KB from

Re: [PATCH v5 12/12] arm: mvebu: clearfog: Use Pro DT by default

2020-01-27 Thread Baruch Siach
Hi Joel, On Mon, Jan 27, 2020 at 01:01:56PM -0700, Joel Johnson wrote: > Switch to explicitly using the Pro variant DT, which has been > available since Linux 4.11. > > --- > > v4 changes: > - new > v5 changes: > - none > > I separated out this change to the end of the series since it drew

Re: [PATCH v5 06/12] arm: mvebu: clearfog: Add SATA mode flags

2020-01-27 Thread Baruch Siach
Hi Joel, On Mon, Jan 27, 2020 at 01:01:50PM -0700, Joel Johnson wrote: > The mPCIe slots on ClearFog Pro and ClearFog Base may be alternately > configured for SATA usage. > > Signed-off-by: Joel Johnson > > --- > > v2 changes: > - fixed help indentation > v3 changes: > - none > v4

Re: [PATCH v4 03/12] arm: mvebu: clearfog: use Pro name by default

2020-01-27 Thread Baruch Siach
Hi Joel, On Mon, Jan 27 2020, Joel Johnson wrote: > Make the board version printed indicate the Pro variant default. > Also adjust static name casing to match what is expected for > EEPROM product name to share string constants. > > --- > > > Baruch - can you confirm expected/desired branding

Re: [PATCH v4 06/12] arm: mvebu: clearfog: Add option for 2.5 Gbps SFP

2020-01-26 Thread Baruch Siach
Hi Joel, On Mon, Jan 27 2020, Joel Johnson wrote: > On 2020-01-26 22:29, Baruch Siach wrote: >> On Mon, Jan 27 2020, Joel Johnson wrote: >>> While newer Linux kernels provide autoconfiguration of SFP, provide >>> an option for setting in U-Boot Kconfig for use prior to

Re: [PATCH v4 06/12] arm: mvebu: clearfog: Add option for 2.5 Gbps SFP

2020-01-26 Thread Baruch Siach
Hi Joel, On Mon, Jan 27 2020, Joel Johnson wrote: > While newer Linux kernels provide autoconfiguration of SFP, provide > an option for setting in U-Boot Kconfig for use prior to booting. > > Signed-off-by: Joel Johnson > > --- > > v2 changes: > - fixed help indentation > v3 changes: > -

Re: [PATCH 1/2] board: solidrun lx2160a-cex7: new board

2020-01-23 Thread Baruch Siach
Hi Priyanka, On Thu, Jan 23, 2020 at 09:25:29AM +, Priyanka Jain wrote: > >-Original Message- > >From: Baruch Siach > >Sent: Wednesday, December 4, 2019 6:59 PM > >To: Priyanka Jain > >Cc: u-boot@lists.denx.de; Rabeeh Khoury ; Jon > >Nettleton ;

Re: [PATCH v3 03/10] arm: mvebu: clearfog: initial ClearFog Base variant

2020-01-22 Thread Baruch Siach
Hi Joel, On Wed, Jan 22, 2020 at 07:28:51PM +, Joel Johnson wrote: > On January 22, 2020 10:32:58 AM UTC, Baruch Siach wrote: > >On Wed, Jan 22 2020, Joel Johnson wrote: > >> On 2020-01-21 10:49, Baruch Siach wrote: > >>> On Tue, Jan 21, 2020 at 10:32:

Re: [PATCH v3 05/10] arm: mvebu: clearfog: Add SATA mode flags

2020-01-22 Thread Baruch Siach
Hi Joel, On Tue, Jan 21, 2020 at 10:32:19AM -0700, Joel Johnson wrote: > The mPCIe slots on ClearFog Pro and ClearFog Base may be alternately > configured for SATA usage. > > Signed-off-by: Joel Johnson > > --- > > v2 changes: > - fixed help indentation > v3 changes: > - none > > --- >

Re: [PATCH v3 04/10] arm: mvebu: clearfog: Use Pro DT by default

2020-01-22 Thread Baruch Siach
Hi Joel, On Tue, Jan 21, 2020 at 10:32:18AM -0700, Joel Johnson wrote: > Switch to explicitly using the Pro variant DT, which has been > available since Linux 4.11. Also unify the location of DT selection > in board_late_init instead of split between detection and static > configuration paths. >

[PATCH v2] genboardscfg.py: drop python version comment

2020-01-22 Thread Baruch Siach
genboardscfg.py requires python 3.x since commit 3bc14098d8fb ("genboardscfg.py: Convert to Python 3"). Cc: Masahiro Yamada Signed-off-by: Baruch Siach --- v2: Remove the comment entirely (Masahiro Yamada) --- tools/genboardscfg.py | 2 -- 1 file changed, 2 deletions(-) diff --g

Re: [PATCH v3 03/10] arm: mvebu: clearfog: initial ClearFog Base variant

2020-01-22 Thread Baruch Siach
Hi Joel, On Wed, Jan 22 2020, Joel Johnson wrote: > On 2020-01-21 10:49, Baruch Siach wrote: >> On Tue, Jan 21, 2020 at 10:32:17AM -0700, Joel Johnson wrote: >>> Add a unique entry for ClearFog Base variant, reflected in the board >>> name and adjusted SerDes topology.

Re: [PATCH v3 03/10] arm: mvebu: clearfog: initial ClearFog Base variant

2020-01-21 Thread Baruch Siach
Hi Joel, On Tue, Jan 21, 2020 at 10:32:17AM -0700, Joel Johnson wrote: > Add a unique entry for ClearFog Base variant, reflected in the board > name and adjusted SerDes topology. > > Signed-off-by: Joel Johnson > > --- > > v2 changes: > - reworked based on Baruch's run-time TLV EEPROM

Re: [PATCH] genboardscfg.py: fix python version dependency comment

2020-01-21 Thread Baruch Siach
Hi Masahiro Yamada, On Wed, Jan 22, 2020 at 12:19:31AM +0900, Masahiro Yamada wrote: > On Mon, Jan 20, 2020 at 9:08 PM Baruch Siach wrote: > > > > genboardscfg.py requires python 3.x since commit 3bc14098d8fb > > ("genboardscfg.py: Convert to Python 3"). > >

[PATCH v3] cmd: add tlv_eeprom command

2020-01-21 Thread Baruch Siach
ame system. This is useful in case of SOM and carrier that both provide ID and hardware configuration information. Add option to enable for SPL. This allows selection of RAM configuration based on EEPROM stored board identification. Signed-off-by: Baruch Siach --- v3: Drop custom TRUE/FALSE macro

Re: Please pull u-boot-marvell/master

2020-01-21 Thread Baruch Siach
Git repository at: > > > > > >g...@gitlab.denx.de:u-boot/custodians/u-boot-marvell.git > > > > > > for you to fetch changes up to 5bc0175286469c3fd63a7b17264bbcf99adfecc4: > > > > > >ARM: mvebu: clearfog: add Clearfog Base serdes configu

Re: [PATCH 0/4] Updates for ClearFog EEPROM

2020-01-20 Thread Baruch Siach
Hi Joel, On Sun, Jan 19 2020, Joel Johnson wrote: > On 2020-01-19 01:41, Baruch Siach wrote: >> On Sun, Jan 19 2020, Joel Johnson wrote: >>> On 2020-01-19 00:22, Baruch Siach wrote: >>>> On Sun, Jan 19 2020, Joel Johnson wrote: >>>>> This

[PATCH v2 03/10] cmd: add tlv_eeprom command

2020-01-20 Thread Baruch Siach
ame system. This is useful in case of SOM and carrier that both provide ID and hardware configuration information. Add option to enable for SPL. This allows selection of RAM configuration based on EEPROM stored board identification. Signed-off-by: Baruch Siach --- cmd/Kconfig |

  1   2   3   4   5   >