Re: [PATCH 2/2] arm64: a37xx: pci: Assert PERST# signal when unloading driver

2020-08-25 Thread Stefan Roese
On 25.08.20 10:46, Pali Rohár wrote: On Thursday 20 August 2020 10:00:52 Stefan Roese wrote: I suggest to "depend" this driver on DM_GPIO and include the GPIO code without any #ifdef's. And please run a world-build (buildman, Travis...) to see, if nothing breaks. I sent th

[PATCH] x86: qemu-x86_defconfig: Increase CONFIG_SYS_MALLOC_F_LEN

2020-08-25 Thread Stefan Roese
ivers failed to bind alloc space exhausted initcall sequence fff6a760 failed at call fff13b3d (err=-19) This patch now increases CONFIG_SYS_MALLOC_F_LEN to 0x1000, which is already used on qemu-x86_64_defconfig. Signed-off-by: Stefan Roese Cc: Tom Rini Cc: Simon Glass Cc: Bin Meng --- configs/qe

Please pull u-boot-marvell/master

2020-08-25 Thread Stefan Roese
arvell.git for you to fetch changes up to 6944937f9c4d21f39dd257bce7b677a0f6849cea: x86: qemu-x86_defconfig: Increase CONFIG_SYS_MALLOC_F_LEN (2020-08-25 11:37:57 +0200) -------- Stefan Roese (5): dm: core: Add API to read PCI bus-range pro

Please pull u-boot-marvell/remove-config-nr-dram-banks-v9-2020-08-26

2020-08-26 Thread Stefan Roese
bi_memstart & bi_memsize from bd_info (2020-08-26 09:20:05 +0200) ---- Stefan Roese (10): CONFIG_NR_DRAM_BANKS: Remove unreferenced code as its always defined image: Use gd->ram_base/_size in env_get_bootm_size()

Re: [PATCH] spi: octeon_spi: Use a fixed 100MHz input clock on Octeon TX2

2020-08-26 Thread Stefan Roese
Hi Jagan, On 05.08.20 15:07, Stefan Roese wrote: Octeon TX2 sets the TB100_EN bit in the config register. We need to use a fixed 100MHz clock for this as well to work properly. Signed-off-by: Stefan Roese Cc: Aaron Williams Cc: Suneel Garapati Cc: Chandrakala Chavva Cc: Jagan Teki

Re: Please pull u-boot-marvell/remove-config-nr-dram-banks-v9-2020-08-26

2020-08-26 Thread Stefan Roese
On 26.08.20 13:42, Tom Rini wrote: On Wed, Aug 26, 2020 at 09:31:07AM +0200, Stefan Roese wrote: Hi Tom, I've prepared a branch for you to pull the "Remove CONFIG_NR_DRAM_BANKS option and bi_memstart/memsize from bd_info" patchset, if you care to pull from it. I've rebased

[PATCH v3] mtd: nand: Add NAND controller driver for OcteonTX

2020-08-26 Thread Stefan Roese
From: Suneel Garapati Adds support for NAND controllers found on OcteonTX or OcteonTX2 SoC platforms. Also includes driver to support Hardware ECC using BCH HW engine found on these platforms. Signed-off-by: Aaron Williams Signed-off-by: Suneel Garapati Signed-off-by: Stefan Roese --- Series

[PATCH v3] net: Add NIC controller driver for OcteonTX2

2020-08-26 Thread Stefan Roese
From: Suneel Garapati Adds support for Network Interface controllers found on OcteonTX2 SoC platforms. Signed-off-by: Suneel Garapati Signed-off-by: Stefan Roese Cc: Joe Hershberger --- Series-changes: 3 - Add SoB from Stefan - Remove spdx.org line from comment - Remove inclusion of common.h

Re: [PATCH v2 6/9] ram: octeon: Add MIPS Octeon3 DDR4 support (part 2/3)

2020-08-26 Thread Stefan Roese
Hi Daniel, On 21.08.20 13:25, Stefan Roese wrote: Hi Daniel, On 19.08.20 16:47, Daniel Schwierzeck wrote: Am Montag, den 17.08.2020, 14:12 +0200 schrieb Stefan Roese: From: Aaron Williams This Octeon 3 DDR driver is ported from the 2013 Cavium / Marvell U-Boot repository. It currently

Re: [PATCH v4 1/2] arch: arm: use dt and UCLASS_IRQ to get gic details

2020-08-27 Thread Stefan Roese
Hi Rayagonda, On 26.07.20 19:07, Rayagonda Kokatanur wrote: Use device tree and UCLASS_IRQ driver to get following Generic Interrupt Controller (GIC) details, -GIC Distributor interface (GICD) base address and -GIC Redistributors (GICR) base address. Signed-off-by: Rayagonda Kokatanur Reviewe

Re: [PATCH v2 1/4] arm: mvebu: Espressobin: Move env load addresses

2020-08-27 Thread Stefan Roese
resses for envs. [1] - https://github.com/MarvellEmbeddedProcessors/u-boot-marvell/commit/0a5b159806baa0746b6449920e450498bc269ba7 Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan --- Changes in V2: * Move also ramdisk_addr_r, so there is enough space for kernel * Drop pat

Re: [PATCH v2 2/4] arm: mvebu: Espressobin: Change default loadaddr

2020-08-27 Thread Stefan Roese
[1] - https://github.com/MarvellEmbeddedProcessors/u-boot-marvell/commit/0a5b159806baa0746b6449920e450498bc269ba7 Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan --- include/configs/mvebu_armada-37xx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mvebu

Re: [PATCH v2 3/4] arm: mvebu: Espressobin: Define fdt_addr and kernel_addr env aliases

2020-08-27 Thread Stefan Roese
On 27.08.20 15:01, Pali Rohár wrote: Boot scripts for existing Espressobin Linux distributions, like OpenWRT, expect that U-Boot set fdt_addr and kernel_addr envs. So add env aliases from fdt_addr_r and kernel_addr_r values. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks

Re: [PATCH v2 4/4] arm: mvebu: Espressobin: Update README.marvell file

2020-08-27 Thread Stefan Roese
On 27.08.20 15:01, Pali Rohár wrote: Include information about permanent ethernet MAC address and add link how to build ATF as U-Boot on Espressobin cannot be flashed without ATF. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan --- doc/README.marvell | 40

Re: [PATCH v2 1/4] arm: mvebu: Espressobin: Move env load addresses

2020-08-27 Thread Stefan Roese
Hi Andre, On 27.08.20 16:31, Andre Heider wrote: On 27/08/2020 15:01, Pali Rohár wrote: According to Marvell's U-Boot description [1] current env load addresses overlaps with ATF RT services region and TEE. Because the ATF RT service and TEE region is going to be marked as secure and can't be o

Re: [PATCH] arm: mvebu: Espressobin: Enable CONFIG_MVNETA

2020-08-31 Thread Stefan Roese
On 17.08.20 17:13, Pali Rohár wrote: Espressobin uses mvneta ethernet driver. Signed-off-by: Pali Rohár Applied to u-boot-marvell/master Thanks, Stefan --- configs/mvebu_espressobin-88f3720_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mvebu_espressobin-88f3720_d

Re: [PATCH] arm: mvebu: Espressobin: Disallow forwarding packets between wan and lan ports

2020-08-31 Thread Stefan Roese
On 17.08.20 16:36, Pali Rohár wrote: By default Topaz switch on Espressobin board forwards packets between all ethernet ports, including CPU (port 0), wan (port 1) and lan (ports 2,3). This default U-Boot setup is unsuitable for using Espressobin as router as it opens security hole in forwarding

Re: [PATCH 1/2] arm64: a37xx: pci: Make PCIe Reset GPIO DT compatible with Linux kernel DT

2020-08-31 Thread Stefan Roese
On 19.08.20 15:57, Pali Rohár wrote: Change active-high to active-low and change DT property name from reset-gpio to reset-gpios. This format of gpio reset is used by pci-aardvark driver in Linux kernel. Signed-off-by: Pali Rohár Applied to u-boot-marvell/master Thanks, Stefan --- arch/a

Re: [PATCH u-boot-marvell] arm64: dts: armada-3720-espressobin: fix COMPHY nodes

2020-08-31 Thread Stefan Roese
e of same DTS bindings as Linux', but till this is done, we need this patch. Signed-off-by: Marek Behún Tested-by: Pali Rohár Cc: Stefan Roese Applied to u-boot-marvell/master Thanks, Stefan --- arch/arm/dts/armada-3720-espressobin.dts | 8 1 file changed, 4 insertions(+)

Re: [PATCH 2/2] arm64: a37xx: pci: Assert PERST# signal when unloading driver

2020-08-31 Thread Stefan Roese
On 19.08.20 15:57, Pali Rohár wrote: This change ensures that PCIe card is put into reset state when U-Boot stops using it. DM_FLAG_OS_PREPARE ensures that U-Boot executes driver's remove callback prior booting Linux kernel. Linux kernel pci-aardvark driver needs to reset PCIe card via PERST# s

Re: [PATCH 1/2] mmc: xenon: set signal voltage and max base clock

2020-08-31 Thread Stefan Roese
On 19.08.20 16:19, Pali Rohár wrote: From: Evan Wang - The SDIO signal voltage and max base clock frequency setting are missing in driver, which causes SDIO not working. - The patch adds SDIO signal voltage switch support, which is based on regulator-gpio of vqmmc-supply, and sets t

Re: [PATCH 2/2] arm: dts: a37x0: enable sd card support on espressobin

2020-08-31 Thread Stefan Roese
On 19.08.20 16:19, Pali Rohár wrote: From: Wilson Ding Enabled SDIO slot 0 (south bridge) for SD card on Espressobin board. Change-Id: I51a2debf9fba276b9c4a2bc6da91328d47f443e3 Signed-off-by: Wilson Ding Signed-off-by: Konstantin Porotchkin Reviewed-on: http://vgitil04.il.marvell.com:8080/60

Re: [PATCH 1/2] arm: mvebu: Espressobin: Make SPI env offset compatible with Marvell's U-Boot

2020-08-31 Thread Stefan Roese
On 19.08.20 16:24, Pali Rohár wrote: Espressobin board comes with Marvell's U-Boot version where U-Boot env is stored in SPI at offset 0x3F. This patch changes env offset in Espressobin defconfig file to match Marvell's U-Boot version. Users who want to use previous or different env offset c

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-31 Thread Stefan Roese
On 19.08.20 16:24, Pali Rohár wrote: Due to different partition layouts in different U-Boot versions, DTS for Espressobin in Linux does not contain any definition of MTD partitions. See commit https://git.kernel.org/stable/c/00954566464a4 for more details. This patch via ft_board_setup() hook fi

Re: [PATCH v2 1/4] arm: mvebu: Espressobin: Move env load addresses

2020-08-31 Thread Stefan Roese
On 27.08.20 15:01, Pali Rohár wrote: According to Marvell's U-Boot description [1] current env load addresses overlaps with ATF RT services region and TEE. Because the ATF RT service and TEE region is going to be marked as secure and can't be overwritten, use different different addresses for env

Re: [PATCH] arm64: a37xx: pci: Depends on DM_GPIO

2020-08-31 Thread Stefan Roese
On 25.08.20 10:45, Pali Rohár wrote: For proper initialization of aardvark pci driver it is required to de-assert reset GPIO. So depeneds on DM_GPIO option. Signed-off-by: Pali Rohár Applied to u-boot-marvell/master Thanks, Stefan --- drivers/pci/Kconfig| 1 + drivers/pci/pci-a

Re: [PATCH v2 3/4] arm: mvebu: Espressobin: Define fdt_addr and kernel_addr env aliases

2020-08-31 Thread Stefan Roese
On 27.08.20 15:01, Pali Rohár wrote: Boot scripts for existing Espressobin Linux distributions, like OpenWRT, expect that U-Boot set fdt_addr and kernel_addr envs. So add env aliases from fdt_addr_r and kernel_addr_r values. Signed-off-by: Pali Rohár Applied to u-boot-marvell/master Thanks,

Re: [PATCH v2 4/4] arm: mvebu: Espressobin: Update README.marvell file

2020-08-31 Thread Stefan Roese
On 27.08.20 15:01, Pali Rohár wrote: Include information about permanent ethernet MAC address and add link how to build ATF as U-Boot on Espressobin cannot be flashed without ATF. Signed-off-by: Pali Rohár Applied to u-boot-marvell/master Thanks, Stefan --- doc/README.marvell | 40 ++

Re: [PATCH v2 2/4] arm: mvebu: Espressobin: Change default loadaddr

2020-08-31 Thread Stefan Roese
On 27.08.20 15:01, Pali Rohár wrote: Current loadaddr is not writable on Espressobin and 'loadb' command cause rebooting board. Marvell's U-Boot already set default loadaddr to value 0x0600 [1] and after this change 'loadb' is working fine. [1] - https://github.com/MarvellEmbeddedProcessors

Please pull u-boot-marvell/master

2020-08-31 Thread Stefan Roese
Hi Tom, please pull the next batch of Marvell MVEBU updates. It consists this time mostly of fixes and very local enhancements. Here the summary log: - MVEBU Espressobin fixes and enhancements (fix switch security issue, enable

Re: from https://gitlab.denx.de/u-boot/custodians/u-boot-mips:f3d8c7f8d3c02ff1de172aff7e6392a9ddd1f5b2 to master:

2020-08-31 Thread Stefan Roese
image. Only the last test resulted in a permanent hang. The final version mtmips SPL series (which got merged) was also tested by Stefan Roese so it should simply work on your VoCore2 board. You could also switch to tag 2020.07 and test that. It could also be possible that something else got broken

Re: from https://gitlab.denx.de/u-boot/custodians/u-boot-mips:f3d8c7f8d3c02ff1de172aff7e6392a9ddd1f5b2 to master:

2020-09-01 Thread Stefan Roese
Hi Mauro, On 01.09.20 15:09, Mauro Condarelli wrote: Now problem is "Unable to allocate 209398 bytes for LZMA" Full trace below. I assume I should enlarge #define CONFIG_SYS_MALLOC_LEN   (1024 * 1024) since GARDENA has: #define CONFIG_SYS_MALLOC_LEN   (16 * 1024 * 1024) but I

[PATCH v3 8/9] mips: octeon: dram.c: Add RAM driver support

2020-09-01 Thread Stefan Roese
This patch adds the initialization call for the Octeon RAM driver to the Octeon platforms code. So if enabled via Kconfig, the DDR driver will be called and the RAM will be configured and used. If the RAM driver is not enabled, the L2 cache is still used as RAM. Signed-off-by: Stefan Roese

[PATCH v3 2/9] mips: octeon: Add octeon-model.h header

2020-09-01 Thread Stefan Roese
From: Aaron Williams This header is used by the upcoming DDR driver and potentially by other drivers ported from the 2013 Cavium / Marvell U-Boot repository. Signed-off-by: Aaron Williams Signed-off-by: Stefan Roese --- Changes in v3: - Remove "https://spdx.org/licenses"; l

[PATCH v3 1/9] mips: octeon: dts: mrvl, cn73xx.dtsi: Add memory controller DT node

2020-09-01 Thread Stefan Roese
This patch adds the memory controller (LMC) DT node to the Octeon 3 dtsi file. It also adds the L2C DT node, as this is referenced by the DDR driver. Signed-off-by: Stefan Roese --- (no changes since v1) arch/mips/dts/mrvl,cn73xx.dtsi | 17 + 1 file changed, 17 insertions

[PATCH v3 0/9] mips: Add Octeon DDR4 init code

2020-09-01 Thread Stefan Roese
-model.h header mips: octeon Add cvmx/cvmx-lmcx-defs.h header mips: octeon: Add octeon_ddr.h header ram: octeon: Add MIPS Octeon3 DDR4 support (part 1/3) ram: octeon: Add MIPS Octeon3 DDR4 support (part 2/3) ram: octeon: Add MIPS Octeon3 DDR4 support (part 3/3) Stefa

[PATCH v3 9/9] mips: octeon: octeon_ebb7304: Add DDR4 support

2020-09-01 Thread Stefan Roese
; 16 GiB). Signed-off-by: Stefan Roese --- (no changes since v1) board/Marvell/octeon_ebb7304/board.c | 25 +- board/Marvell/octeon_ebb7304/board_ddr.h | 447 +++ configs/octeon_ebb7304_defconfig | 3 + include/configs/octeon_common.h | 11 +- 4 f

[PATCH v3 5/9] ram: octeon: Add MIPS Octeon3 DDR4 support (part 1/3)

2020-09-01 Thread Stefan Roese
based probing. Signed-off-by: Aaron Williams Signed-off-by: Stefan Roese --- Changes in v3: - Remove "https://spdx.org/licenses"; line - Remove inclusion of "common.h" Changes in v2: - Don't re-init after relocation - Some unsupported Octeon families removed (only Oc

[PATCH v3 7/9] ram: octeon: Add MIPS Octeon3 DDR4 support (part 3/3)

2020-09-01 Thread Stefan Roese
integration. Signed-off-by: Aaron Williams Signed-off-by: Stefan Roese --- Changes in v3: - Remove "https://spdx.org/licenses"; line - Remove inclusion of "common.h" drivers/ram/Kconfig | 1 + drivers/ram/Makefile | 2 + drivers/ram/octeon/Kco

[PATCH v3 4/9] mips: octeon: Add octeon_ddr.h header

2020-09-01 Thread Stefan Roese
From: Aaron Williams This header will be used by the DDR driver (lmc). Its ported from the 2013 Cavium / Marvell U-Boot repository. Signed-off-by: Aaron Williams Signed-off-by: Stefan Roese --- Changes in v3: - Remove "https://spdx.org/licenses"; line - Remove inclusion of

[PATCH v3 3/9] mips: octeon Add cvmx/cvmx-lmcx-defs.h header

2020-09-02 Thread Stefan Roese
From: Aaron Williams This header will be used by the DDR driver (lmc). Its ported from the 2013 Cavium / Marvell U-Boot repository. Signed-off-by: Aaron Williams Signed-off-by: Stefan Roese --- Changes in v3: - Remove "https://spdx.org/licenses"; line Changes in v2: - Some u

Re: [PATCH] spl: Avoid printing boot device if silent console is enabled

2020-09-03 Thread Stefan Roese
_SUPPORT) \ +&& defined(CONFIG_SPL_LIBCOMMON_SUPPORT)\ +&& !defined(CONFIG_SILENT_CONSOLE) Nitpicking: I think its preferred to put the "&&" (or "||") at the end of the line. Other than that: Reviewed-by: Stefan Roese Thanks, Stefan

Re: [PATCH] phy: marvell: a3700: add sata comphy on lane 2 with invert option

2020-09-04 Thread Stefan Roese
://vgitil04.il.marvell.com:8080/53601 Reviewed-by: Igal Liberman Tested-by: Igal Liberman [a.heider: adapt to mainline] Signed-off-by: Andre Heider Reviewed-by: Stefan Roese Thanks, Stefan --- This is based on the downstream patch: https://github.com/MarvellEmbeddedProcessors/u-boot-marvell

Re: [PATCH 1/2] defconfig: espressobin: Include support for Gigadevice SPI

2020-09-04 Thread Stefan Roese
.il.marvell.com:8080/61236 Tested-by: iSoC Platform CI Reviewed-by: Igal Liberman Reviewed-by: Stefan Roese Thanks, Stefan --- configs/mvebu_espressobin-88f3720_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mvebu_espressobin-88f3720_defconfig b/configs

Re: [PATCH 2/2] defconfig: espressobin: Add support for ISSI SPI flashes

2020-09-04 Thread Stefan Roese
Platform CI Reviewed-by: Grzegorz Jaszczyk Reviewed-by: Stefan Chulski Reviewed-by: Stefan Roese Thanks, Stefan --- configs/mvebu_espressobin-88f3720_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mvebu_espressobin-88f3720_defconfig b/configs/mvebu_espressobin

Re: [PATCH 1/2] arm64: dts: armada-3720-espressobin: sync with downstream

2020-09-04 Thread Stefan Roese
On 31.08.20 05:34, Andre Heider wrote: This adds the disabled eMMC node. Signed-off-by: Andre Heider Reviewed-by: Stefan Roese Thanks, Stefan --- arch/arm/dts/armada-3720-espressobin.dts | 63 +--- 1 file changed, 23 insertions(+), 40 deletions(-) diff --git a

Re: [PATCH v3 2/2] arm64: mvebu: a37xx: Add support for EspressoBIN with eMMC

2020-09-04 Thread Stefan Roese
: Id1a4f3ca01a6e52df57bf7279f33f0fe45f8ed18 Signed-off-by: Konstantin Porotchkin Reviewed-on: http://vgitil04.il.marvell.com:8080/61290 Tested-by: iSoC Platform CI [a.heider: adapt to mainline] Signed-off-by: Andre Heider Reviewed-by: Stefan Roese Thanks, Stefan --- v2: base upon downstream

Re: [PATCH 1/2] arm64: dts: armada-3720-espressobin: sync with downstream

2020-09-04 Thread Stefan Roese
Hi Andre, On 31.08.20 09:53, Pali Rohár wrote: On Monday 31 August 2020 05:34:07 Andre Heider wrote: This adds the disabled eMMC node. Signed-off-by: Andre Heider --- arch/arm/dts/armada-3720-espressobin.dts | 63 +--- 1 file changed, 23 insertions(+), 40 deletions(-)

Re: [PATCH 1/2] arm64: dts: armada-3720-espressobin: sync with downstream

2020-09-04 Thread Stefan Roese
Hi Andre, On 04.09.20 14:35, Andre Heider wrote: First I though that you have been syncing the file with the Linux kernel version. But now I see that its sync'ed with downstream U-Boot most likely. As for the license of the file: The Linux kernel version has this SPDX tag: // SPDX-License-Id

Re: [PATCH 1/2] defconfig: espressobin: Include support for Gigadevice SPI

2020-09-04 Thread Stefan Roese
On 04.09.20 11:00, Stefan Roese wrote: On 31.08.20 08:48, Andre Heider wrote: From: Konstantin Porotchkin Include support for CONFIG_SPI_FLASH_GIGADEVICE for supporting newly produces EspressoBin boards (v7) Change-Id: I5d4b972cbe2ee5a9d52ce9908794ad4e1b59ee3b Signed-off-by: Konstantin

Re: [PATCH 2/2] defconfig: espressobin: Add support for ISSI SPI flashes

2020-09-04 Thread Stefan Roese
On 04.09.20 11:00, Stefan Roese wrote: On 31.08.20 08:48, Andre Heider wrote: From: Konstantin Porotchkin Enable support of ISSI SPI flashes found on EspressoBIN boards Change-Id: I6de61c48f108fb4f410f321b9db45887d23212e5 Signed-off-by: Konstantin Porotchkin Reviewed-on: http://vgitil04

Re: [PATCH] phy: marvell: a3700: add sata comphy on lane 2 with invert option

2020-09-04 Thread Stefan Roese
On 04.09.20 10:57, Stefan Roese wrote: On 28.08.20 16:56, Andre Heider wrote: From: zachary - This patch moves sata phy powerup from dedicate phy to compphy    and adds invert option for sata powerup routine. Change-Id: I1b4e8753e2b2c14c6efa97bca2ffc7d2553d8a90 Signed-off-by: zachary Signed

Please pull u-boot-marvell/master

2020-09-04 Thread Stefan Roese
Hi Tom, please pull the next batch of Marvell MVEBU updates. Here the summary log: - Fix SATA issue on Armada 3720 - Enable more SPI NOR chips in espressobin defconfig ---

Re: [v4, 00/11] mmc: fsl_esdhc: support eMMC HS200/HS400 modes

2020-09-08 Thread Stefan Roese
27;ll pick this into next branch. I've tested it on the LX2160A-RDB and it the speed improvement is quite impressive. Thanks for working on this. Tested-by: Stefan Roese Thanks, Stefan Thanks, Peng. Thank you. Best regards, Yangbo Lu -Original Message- From: Yangbo Lu

Re: [PATCH] arm: gic-v3-its: Add irq UCLASS_DRIVER

2020-09-09 Thread Stefan Roese
On 09.09.20 10:14, Priyanka Jain wrote: This is required to fix "Error binding driver 'gic-v3': -96" on lx2160a platforms. Signed-off-by: Priyanka Jain --- arch/arm/lib/gic-v3-its.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c

Re: [PATCH v7 05/21] arm: mvebu: x530: Use tiny SPI NOR

2020-09-09 Thread Stefan Roese
On 09.09.20 01:32, Chris Packham wrote: On 7/09/20 3:05 pm, Pratyush Yadav wrote: On 06/09/20 08:34PM, Chris Packham wrote: On 5/09/20 3:39 am, Pratyush Yadav wrote: Chris, On 04/09/20 09:04PM, Pratyush Yadav wrote: The SPI NOR core will get Octal DTR in following commits. This has presente

Re: [PATCH] cmd: mem: fix range of bitflip test

2020-09-09 Thread Stefan Roese
nd - start + 1) / 2 / + sizeof(unsigned long), + (end - start + 1) / 2 / sizeof(unsigned long)); Thanks for finding and fixing this: Reviewed-by: Stefan Roese

Re: [PATCH] cmd: mem: fix range of bitflip test

2020-09-09 Thread Stefan Roese
Hi Ralph, On 09.09.20 15:06, Ralph Siemsen wrote: Hi Stefan, On Wed, Sep 09, 2020 at 10:49:29AM +0200, Stefan Roese wrote: Hi Ralph, Thanks for finding and fixing this: I've sent a v2 with the suggested changes. Yes, thanks. Have also noticed that mtest takes considerably longer

Re: [PATCH v2] cmd: mem: fix range of bitflip test

2020-09-09 Thread Stefan Roese
ts a count rather than an "ending" address. Thus it fails to test the last word of the requested range. Fixed by using (end - start + 1). Fixes: 8e434cb705d463bc8cff935160e4fb4c77cb99ab ("cmd: mem: Add bitflip memory test to alternate mtest") Signed-off-by: Ralph Siemsen Revi

Re: [PATCH] cmd: mem: fix range of bitflip test

2020-09-09 Thread Stefan Roese
Hi Ralph, On 09.09.20 15:49, Ralph Siemsen wrote: Hi Stefan, On Wed, Sep 09, 2020 at 03:34:35PM +0200, Stefan Roese wrote: I agree that it's too time consuming (usually) for a manufacturing test. Either you are okay with disabling CONFIG_SYS_ALT_MEMTEST on your board, which will also di

Re: [PATCH] cmd: mem: fix range of bitflip test

2020-09-09 Thread Stefan Roese
Hi Ralph, On 09.09.20 17:07, Ralph Siemsen wrote: Hi Stefan, On Wed, Sep 09, 2020 at 03:53:08PM +0200, Stefan Roese wrote: Hi Ralph, On 09.09.20 15:49, Ralph Siemsen wrote: Very good, I will send a separate patch that adds a Kconfig option. As it turns out, doing a separate patch for

Re: [PATCH v3] cmd: mem: fix range of bitflip test

2020-09-09 Thread Stefan Roese
On 09.09.20 17:21, Ralph Siemsen wrote: The bitflip test uses two equal sized memory buffers. This is achieved by splitting the range of memory into two pieces. The address of the second buffer, as well as the length of each buffer, were not correctly calculated. This caused bitflip test to acces

Re: [PATCH v5] cmd: mem: fix range of bitflip test

2020-09-09 Thread Stefan Roese
d463bc8cff935160e4fb4c77cb99ab ("cmd: mem: Add bitflip memory test to alternate mtest") Signed-off-by: Ralph Siemsen Reviewed-by: Stefan Roese Thanks, Stefan -- Changes in v5: - Correct logic for updating error count Changes in v4: - Avoid #ifdef in the code Change-Id: Ie641d04e73

Re: [PATCH] arm: gic-v3-its: Add irq UCLASS_DRIVER

2020-09-09 Thread Stefan Roese
Hi Rayagonda, On 09.09.20 19:15, Rayagonda Kokatanur wrote: Hi Stefan, On Wed, Sep 9, 2020 at 1:57 PM Stefan Roese wrote: On 09.09.20 10:14, Priyanka Jain wrote: This is required to fix "Error binding driver 'gic-v3': -96" on lx2160a platforms. Signed-off-by: Priyan

Re: [PATCH] arm: gic-v3-its: Add irq UCLASS_DRIVER

2020-09-10 Thread Stefan Roese
On 10.09.20 07:58, Rayagonda Kokatanur wrote: Hi Stefan, On Thu, Sep 10, 2020 at 10:53 AM Stefan Roese wrote: Hi Rayagonda, On 09.09.20 19:15, Rayagonda Kokatanur wrote: Hi Stefan, On Wed, Sep 9, 2020 at 1:57 PM Stefan Roese wrote: On 09.09.20 10:14, Priyanka Jain wrote: This is

Re: [PATCH] mmc: xenon_sdhci: Add missing common host capabilities

2020-09-10 Thread Stefan Roese
Hi Pali, Andre and others, On 10.09.20 21:04, Pali Rohár wrote: On Thursday 10 September 2020 19:53:40 Andre Heider wrote: Use mmc_of_parse() to set the common host properties. That includes "bus-width", so parsing it can be removed from the driver. But more importantly, "non-removable" is now

Re: [PATCH] mmc: xenon_sdhci: Add missing common host capabilities

2020-09-11 Thread Stefan Roese
On 11.09.20 14:09, Marek Behún wrote: On Fri, 11 Sep 2020 10:37:42 +0200 Andre Heider wrote: On 11/09/2020 08:43, Stefan Roese wrote: Hi Pali, Andre and others, On 10.09.20 21:04, Pali Rohár wrote: On Thursday 10 September 2020 19:53:40 Andre Heider wrote: Use mmc_of_parse() to set the

[PATCH 4/4] mips: octeon: octeon_ebb7304_defconfig: Enable MMC support

2021-03-12 Thread Stefan Roese
Enable MMC support including the regulator support on Octeon EBB7304. Signed-off-by: Stefan Roese Cc: Aaron Williams Cc: Chandrakala Chavva Cc: Daniel Schwierzeck --- configs/octeon_ebb7304_defconfig | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configs

[PATCH 2/4] mips: octeon: mrvl,cn73xx.dtsi: Add MMC DT node

2021-03-12 Thread Stefan Roese
Add the MMC DT node to the Octeon CN73xx dtsi file. Signed-off-by: Stefan Roese Cc: Aaron Williams Cc: Chandrakala Chavva Cc: Daniel Schwierzeck --- arch/mips/dts/mrvl,cn73xx.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/mips/dts/mrvl,cn73xx.dtsi

[PATCH 3/4] mips: octeon: mrvl,octeon_ebb7304.dts: Add MMC DT node

2021-03-12 Thread Stefan Roese
Add the MMC DT node to the Octeon EBB7304 DT file including the regulator node for the MMC power supply. Signed-off-by: Stefan Roese Cc: Aaron Williams Cc: Chandrakala Chavva Cc: Daniel Schwierzeck --- arch/mips/dts/mrvl,octeon-ebb7304.dts | 57 +++ 1 file changed, 57

[PATCH 1/4] mmc: octeontx_hsmmc: Add support for MIPS Octeon

2021-03-12 Thread Stefan Roese
inclusion - Switch to using the clk framework to get the input clock - Remove some functions for MIPS Octeon, as some registers don't exist here Signed-off-by: Stefan Roese Cc: Peng Fan Cc: Aaron Williams Cc: Chandrakala Chavva Cc: Daniel Schwierzeck --- .../include/mach/cvmx-mio-emm-d

Re: [PATCH u-boot-marvell] ddr: marvell: a38x: Add more space for additional info from SPD

2021-03-12 Thread Stefan Roese
On 26.02.21 11:56, Marek Behún wrote: From: Sujeet Baranwal commit 258be123226f8f5cd516b7813fe201fb7d7416e9 upstream. At this moment, only page 0 of SPD is being read but to support smbios, we need to read page 1 also which has more info. In order to do that, we need to allocate more space. S

Re: [PATCH u-boot-marvell] ddr: marvell: a38x: Sync code with Marvell mv-ddr-marvell repository

2021-03-12 Thread Stefan Roese
On 02.03.21 11:17, Pali Rohár wrote: This syncs drivers/ddr/marvell/a38x/ with the master branch of repository https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell.git up to the commit 7c351731d196 ("Merge pull request #29 from pali/sync-a38x-uboot"). This patch was created by following s

Re: [PATCH BUGFIX u-boot-marvell] ddr: marvell: axp: align signature of mv_xor_mem_init() with a38x

2021-03-12 Thread Stefan Roese
On 04.03.21 11:23, Marek Behún wrote: In arch/arm/mach-mvebu/dram.c we always include axp's xor.h for common XOR definitions, regardless whether we compile for axp or a38x. But the declaration of this function has a different signature in axp's xor.h from the one used in a38x' implementation - o

Re: [PATCH u-boot-marvell] ddr: marvell: axp: fix array types have different bounds warning

2021-03-12 Thread Stefan Roese
On 07.03.21 00:00, Marek Behún wrote: The arrays `pbs_dq_mapping`, `div_ratio1to1` and `div_ratio2to1` have different bounds declared in header files where these variables are also defined from the ones declared in source files. This causes the compiler to complain (when building with LTO): d

Re: [PATCH u-boot-marvell 02/39] ddr: marvell: axp: fix array types have different bounds warning

2021-03-12 Thread Stefan Roese
On 09.03.21 14:54, Tom Rini wrote: On Mon, Mar 08, 2021 at 07:50:59AM +0100, Stefan Roese wrote: On 08.03.21 07:45, Marek Behun wrote: Reviewed-by: Stefan Roese Thanks, Stefan. Do you want to merge this into your repo u-boot-marvell, or shall Tom merge this once this series is mature

Re: [PATCH] arm: mvebu: Espressobin: Enable additional options

2021-03-12 Thread Stefan Roese
On 03.03.21 11:34, Pali Rohár wrote: Enable support for NVMe disks which can be connected to mPCIe slot via M.2 reduction. Enable btrfs and squashfs filesystems which are used by more Linux distributions. And enable fsuuid and setexpr commands which can be useful in scripting. Signed-off-by: Pal

Re: [PATCH] arm: a37xx: pci: Implement workaround for the readback value of VEND_ID

2021-03-12 Thread Stefan Roese
On 03.03.21 14:37, Pali Rohár wrote: Marvell Armada 3720 Functional Errata, Guidelines, and Restrictions document describes in erratum 4.1 PCIe value of vendor ID (Ref #: 243): The readback value of VEND_ID (RD007h [15:0]) is 1B4Bh, while it should read 11ABh. The firmware ca

Re: [PATCH] arm: mvebu: a38x: Remove dead code ARMADA_39X

2021-03-12 Thread Stefan Roese
On 05.03.21 15:52, Pali Rohár wrote: Config option ARMADA_39X is never set so remove all dead code hidden under ifdef CONFIG_ARMADA_39X blocks. Also remove useless checks for CONFIG_ARMADA_38X define as this macro is always defined for a38x code path. Signed-off-by: Pali Rohár Applied to u-b

Please pull u-boot-marvell/master

2021-03-12 Thread Stefan Roese
Hi Tom, please pull the next batch of Marvell MVEBU related patches. Here the summary log: - Some more updates/sync's to A38x DDR3 code (Marek & Pali) - marvell/ddr/AXP: Some type fixes found in the LTO work (Marek) - Espressobin:

Re: [PATCH 5/5] Convert CONFIG_MISC_INIT_F to Kconfig

2021-03-21 Thread Stefan Roese
On 22.03.21 06:13, Simon Glass wrote: This converts the following to Kconfig: CONFIG_MISC_INIT_F Signed-off-by: Simon Glass Reviewed-by: Stefan Roese Thanks, Stefan --- common/Kconfig | 6 ++ configs/MPC8349ITXGP_defconfig | 1 + configs

Re: [PATCH v2 6/9] clk: Update drivers to use -EINVAL

2021-03-23 Thread Stefan Roese
On 23.03.21 05:14, Simon Glass wrote: At present some drivers use -ENOSUPP to indicate that an unknown or unsupported clock is used. Most use -EINVAL, indicating an invalid value, so convert everything to that. Signed-off-by: Simon Glass Reviewed-by: Stefan Roese Thanks, Stefan

Re: [PATCH] common: board_f: Restore 85xx watchdog support

2021-03-23 Thread Stefan Roese
Glass ; Stefan Roese ; Stephen Warren Subject: [PATCH] common: board_f: Restore 85xx watchdog support In commit 75918afa649b ("powerpc: Drop old non-generic-board code") we lost the call to init_85xx_watchdog() which had the effect of disabling support for the watchdog on 85xx and similar

Re: [PATCH] common: board_f: Restore 85xx watchdog support

2021-03-24 Thread Stefan Roese
On 24.03.21 08:10, Chris Packham wrote: On Wed, Mar 24, 2021 at 7:06 PM Stefan Roese wrote: Hi Chris, On 23.03.21 13:35, Priyanka Jain wrote: -Original Message- From: U-Boot On Behalf Of Chris Packham Sent: Wednesday, March 3, 2021 2:30 AM To: u-boot@lists.denx.de Cc: York Sun

[PATCH v1 0/5] net: phy: marvell: Sync Marvell ethernet PHY code with Marvell version

2021-03-24 Thread Stefan Roese
This patchset adds the missing ethernet PHY patches from the Marvell U-Boot SDK version to support and fix higher connection speeds. This is done in preparation for the integration of the Octeon TX2 CN913x support, which uses the updated version of this code. Thanks, Stefan Igal Liberman (1):

[PATCH v1 3/5] net: phy: marvell: remove hardcoded PHY 2210 lane swap

2021-03-24 Thread Stefan Roese
From: Stefan Chulski Lane swapped only if "enet-phy-lane-swap" set in device tree. Signed-off-by: Stefan Chulski Tested-by: sa_ip-sw-jenkins Reviewed-by: Kostya Porotchkin Reviewed-by: Yan Markman Reviewed-by: Marcin Wojtas Signed-off-by: Stefan Roese --- drivers/net/phy/marv

[PATCH v1 5/5] net: phy: marvell: Fix 2210 link and speed detection resolution

2021-03-24 Thread Stefan Roese
link resolution loop. Signed-off-by: Stefan Chulski Tested-by: sa_ip-sw-jenkins Reviewed-by: Kostya Porotchkin Reviewed-by: Yan Markman Reviewed-by: Marcin Wojtas Signed-off-by: Stefan Roese --- drivers/net/phy/marvell.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions

[PATCH v1 4/5] net: phy: marvell: Fix PHY 221 2.5G speed detection

2021-03-24 Thread Stefan Roese
From: Stefan Chulski Add missed break in speed detection procedure and remove nested switch. Signed-off-by: Stefan Chulski Tested-by: sa_ip-sw-jenkins Reviewed-by: Kostya Porotchkin Reviewed-by: Yan Markman Signed-off-by: Stefan Roese --- drivers/net/phy/marvell.c | 31

[PATCH v1 1/5] net: phy: marvell: add support for 88E2110 phy

2021-03-24 Thread Stefan Roese
From: Igal Liberman E2110 support 10M/100M/1G/2.5G/5G speed and use C45 register definition. Need to use C45 or C22 r13/r14 indirect method to access Signed-off-by: Kevin Shi Signed-off-by: Igal Liberman Signed-off-by: Stefan Roese --- drivers/net/phy/marvell.c | 205

[PATCH v1 2/5] net: phy: marvell: extend 88E2110 to use both 2.5GHz modes

2021-03-24 Thread Stefan Roese
From: Marcin Wojtas Allow 88E2110 to configure advertisements for both SGMII @2.5Ghz and 2500BaseX modes. Signed-off-by: Marcin Wojtas Tested-by: sa_ip-sw-jenkins Reviewed-by: Kostya Porotchkin Reviewed-by: Stefan Chulski Reviewed-by: Nadav Haklai Signed-off-by: Stefan Roese --- drivers

[PATCH v1 04/23] phy: marvell: cp110: initialize only enabled UTMI units

2021-03-24 Thread Stefan Roese
configuration structure will only contain valid ports information obtained from the DT. Signed-off-by: Omri Itach Signed-off-by: Ken Ma Signed-off-by: Stefan Roese --- drivers/phy/marvell/comphy_cp110.c | 51 +++--- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a

[PATCH v1 01/23] phy: marvell: add comphy type PHY_TYPE_USB3

2021-03-24 Thread Stefan Roese
-off-by: Ken Ma Reviewed-by: Igal Liberman Signed-off-by: Stefan Roese --- drivers/phy/marvell/comphy_core.c| 2 +- include/dt-bindings/comphy/comphy_data.h | 25 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/drivers/phy/marvell/comphy_core.c

[PATCH v1 00/23] phy: marvell: Sync Armada 3k/7k/8k SERDES code with Marvell version

2021-03-24 Thread Stefan Roese
This patchset adds the missing SERDES patches from the Marvell U-Boot SDK U-Boot version. This is done in preparation for the integration of the Octeon TX2 CN913x support, which uses the updated version of this code. Thanks, Stefan Christine Gharzuzi (1): phy: marvell: fix handling of unconn

[PATCH v1 07/23] phy: marvell: save comphy_map_data priv structure

2021-03-24 Thread Stefan Roese
From: Igal Liberman This allows the lower level driver access to comphy map data (required for RX training support, which is introduced in the following patches). Signed-off-by: Igal Liberman Signed-off-by: Stefan Roese --- drivers/phy/marvell/comphy_core.c | 20

[PATCH v1 10/23] phy: marvell: cp110: remove unused definitions

2021-03-24 Thread Stefan Roese
: Stefan Roese --- arch/arm/dts/armada-8040-mcbin.dts | 2 +- drivers/phy/marvell/comphy_core.c| 14 +++ drivers/phy/marvell/comphy_cp110.c | 3 -- include/dt-bindings/comphy/comphy_data.h | 50 ++-- 4 files changed, 27 insertions(+), 42 deletions

[PATCH v1 03/23] phy: marvell: add missing speed during info prints

2021-03-24 Thread Stefan Roese
when speed > 5.0G. Signed-off-by: Igal Liberman Signed-off-by: Stefan Roese --- drivers/phy/marvell/comphy_core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/phy/marvell/comphy_core.c b/drivers/phy/marvell/comphy_core.c index f1f061d7c116..835fc2e907f2 100

[PATCH v1 11/23] phy: marvell: cp110: let the firmware configure comphy for RXAUI

2021-03-24 Thread Stefan Roese
From: Grzegorz Jaszczyk Replace the comphy initialization for RXAUI with appropriate SMC call, so the firmware will execute required serdes configuration. Signed-off-by: Grzegorz Jaszczyk Reviewed-by: Igal Liberman Signed-off-by: Stefan Roese --- drivers/phy/marvell/comphy_cp110.c | 184

[PATCH v1 06/23] phy: marvell: fix several minor bugs in comphy_probe

2021-03-24 Thread Stefan Roese
an Signed-off-by: Stefan Roese --- drivers/phy/marvell/comphy_core.c | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/drivers/phy/marvell/comphy_core.c b/drivers/phy/marvell/comphy_core.c index 835fc2e907f2..d3c89c97747e 100644 --- a/drivers/p

[PATCH v1 12/23] phy: marvell: cp110: let the firmware configure comphy for USB

2021-03-24 Thread Stefan Roese
From: Grzegorz Jaszczyk Replace the comphy initialization for USB with appropriate SMC call, so the firmware will execute required serdes configuration. Signed-off-by: Grzegorz Jaszczyk Signed-off-by: Stefan Roese --- drivers/phy/marvell/comphy_cp110.c | 133 ++--- 1

[PATCH v1 02/23] phy: marvell: rename comphy related definitions to COMPHY_XX

2021-03-24 Thread Stefan Roese
ty, no functional change. Signed-off-by: Igal Liberman Signed-off-by: Konstantin Porotchkin Signed-off-by: Stefan Roese --- arch/arm/dts/armada-3720-db.dts | 8 +- arch/arm/dts/armada-3720-espressobin.dts| 12 +- arch/arm/dts/armada-3720-turris-mox.dts | 12 +- arch/arm/dts/

<    4   5   6   7   8   9   10   11   12   13   >