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 suppo

RE: [PATCH v3 1/1] Makefile: socfpga: Generate sfp file with 4 SPL images

2020-08-26 Thread Tan, Ley Foon
> -Original Message- > From: Ang, Chee Hong > Sent: Tuesday, August 11, 2020 9:53 PM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Simon Goldschmidt > ; Tom Rini ; See, > Chin Liang ; Tan, Ley Foon > ; Ang, Chee Hong ; > Chee, Tien Fong ; Lim, Elly Siew Chin > > Subject: [PATCH v3 1/1

RE: [PATCH v1] arm: socfpga: soc64: Add timeout waiting for NOC idle ACK

2020-08-26 Thread Tan, Ley Foon
> -Original Message- > From: Ang, Chee Hong > Sent: Monday, August 10, 2020 11:00 PM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Simon Goldschmidt > ; Tom Rini ; See, > Chin Liang ; Tan, Ley Foon > ; Ang, Chee Hong ; > Chee, Tien Fong ; Lim, Elly Siew Chin > > Subject: [PATCH v1] ar

Re: [PATCH] fastboot: getvar: fix partition-size return value

2020-08-26 Thread Lukasz Majewski
Hi Gary, > Hi Lukasz, > > On Wed, Aug 26, 2020 at 11:36:51AM +0200, Lukasz Majewski wrote: > > Hi Gary, > > > > > Hi, > > > > > > Gentle ping on this patch. Hopefully Sam's email won't bounce this > > > time. > > > > You couldn't have better timing than now :-) > > > > I'm now testing PR

RE: [PATCH v1] spi: cadence-qspi: Fix QSPI write issues

2020-08-26 Thread Tan, Ley Foon
> -Original Message- > From: U-Boot On Behalf Of Tan, Ley Foon > Sent: Wednesday, August 5, 2020 6:00 PM > To: Ang, Chee Hong ; u-boot@lists.denx.de > Cc: Phil Edworthy ; Vignesh R > ; Tom Rini ; See, Chin Liang > ; Chee, Tien Fong ; > Lim, Elly Siew Chin > Subject: RE: [PATCH v1] spi:

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-26 Thread Andre Heider
On 26/08/2020 17:10, Pali Rohár wrote: On Wednesday 26 August 2020 16:43:10 Andre Heider wrote: Debian's boot.scr set "bootargs" to "... console=${console}". So we end up with with kernel args "console=console=..." :) So then also other U-Boot boards are broken in Debian... fyi: I opened a

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-26 Thread Andre Heider
On 26/08/2020 17:10, Pali Rohár wrote: On Wednesday 26 August 2020 16:43:10 Andre Heider wrote: On 26/08/2020 16:10, Pali Rohár wrote: On Wednesday 26 August 2020 16:00:05 Andre Heider wrote: On 26/08/2020 15:31, Pali Rohár wrote: On Wednesday 26 August 2020 15:22:26 Andre Heider wrote: Hi,

Re: [PATCH v2 1/1] timer: dw-apb: fix compiler warnings

2020-08-26 Thread Heinrich Schuchardt
Am 26. August 2020 23:13:01 MESZ schrieb Sean Anderson : >On 8/26/20 4:29 PM, Heinrich Schuchardt wrote: >> readl() and writel() expect void *. Do not pass an integer value. >> >> Remove unused include asm/arch/timer.h. >> >> Signed-off-by: Heinrich Schuchardt >> Reviewed-by: Bin Meng >> --- >

[ANN] U-Boot v2020.10-rc3 released

2020-08-26 Thread Tom Rini
Hey all, I know it's a few days past the scheduled release but we had several PRs come in and my general cycle for PRs (for a while now) is take one, throw it at CI and world build before/after, repeat. If it's likely to be fairly localized I will queue a few together, but usually I don't. So her

Re: [PATCH v2 1/1] timer: dw-apb: fix compiler warnings

2020-08-26 Thread Sean Anderson
On 8/26/20 4:29 PM, Heinrich Schuchardt wrote: > readl() and writel() expect void *. Do not pass an integer value. > > Remove unused include asm/arch/timer.h. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Bin Meng > --- > v2: > correct typo in commit message > --- > drivers/timer

[PATCH v2 1/1] timer: dw-apb: fix compiler warnings

2020-08-26 Thread Heinrich Schuchardt
readl() and writel() expect void *. Do not pass an integer value. Remove unused include asm/arch/timer.h. Signed-off-by: Heinrich Schuchardt Reviewed-by: Bin Meng --- v2: correct typo in commit message --- drivers/timer/dw-apb-timer.c | 7 +++ 1 file changed, 3 insertions(+), 4 del

Re: [PATCH 1/1] fs: convert error and debug messages to log

2020-08-26 Thread Simon Glass
On Tue, 25 Aug 2020 at 10:51, Heinrich Schuchardt wrote: > > Use log functions for error and debug messages of the file-system. > > Signed-off-by: Heinrich Schuchardt > --- > fs/fs.c | 16 +--- > fs/fs_internal.c | 16 +--- > 2 files changed, 18 insertions(+), 14

Re: [PATCH] binman: Call helper function binman_set_rom_offset() to fill offset

2020-08-26 Thread Simon Glass
On Wed, 26 Aug 2020 at 07:13, Michal Simek wrote: > > There is prepared function for filing rom_offset. That's why use it instead > of copying content of it. > > Signed-off-by: Michal Simek > --- > > lib/binman.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH] binman: Fix typo in kernel-doc format for binman_symname()

2020-08-26 Thread Simon Glass
On Wed, 26 Aug 2020 at 07:34, Michal Simek wrote: > > Fix typo. > > Fixes: 19790632648b ("binman: Support accessing binman tables at run time") > Signed-off-by: Michal Simek > --- > > include/binman_sym.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Simon Glass

[PATCH 4/6] mmc: atmel-sdhci: do not check clk_set_rate return value

2020-08-26 Thread Eugen Hristev
clk_set_rate will return rate in case of success and zero in case of error, however it can also return -ev, but it's an ulong function. To avoid any issues, disregard the return value of this call. In case this call actually fails, nothing much we can do anyway, but we can at least try with the pre

[PATCH 5/6] mmc: atmel-sdhci: enable the required generic clock

2020-08-26 Thread Eugen Hristev
The second clock of the IP block (the generic clock), must be explicitly enabled. Signed-off-by: Eugen Hristev --- drivers/mmc/atmel_sdhci.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/mmc/atmel_sdhci.c b/drivers/mmc/atmel_sdhci.c index 54b660c34a..c67b065061 100644 --- a/dri

[PATCH 6/6] mmc: atmel-sdhci: use mmc_of_parse to get the DT properties

2020-08-26 Thread Eugen Hristev
Call mmc_of_parse at probe time to fetch all the host properties from the DT. Signed-off-by: Eugen Hristev --- drivers/mmc/atmel_sdhci.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/mmc/atmel_sdhci.c b/drivers/mmc/atmel_sdhci.c index c67b065061..f56ae63bc2 100644 --- a/drivers

[PATCH 2/6] pinctrl: at91-pio4: add compatible for sama7g5 pinctrl block

2020-08-26 Thread Eugen Hristev
Add new compatible to microchip,sama7g5 new SoC. Signed-off-by: Eugen Hristev --- drivers/pinctrl/pinctrl-at91-pio4.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c b/drivers/pinctrl/pinctrl-at91-pio4.c index fdb7920b55..bf85cc916a 100644 --- a/drivers/p

[PATCH 1/6] ARM: mach-at91: add support for new SoC sama7g5

2020-08-26 Thread Eugen Hristev
Add support for new SoC sama7g5 Signed-off-by: Eugen Hristev --- arch/arm/dts/sama7g5-pinfunc.h | 924 + arch/arm/mach-at91/Kconfig | 5 + arch/arm/mach-at91/armv7/Makefile | 1 + arch/arm/mach-at91/armv7/sama7g5_devices.c | 11 + arc

[PATCH 3/6] mmc: atmel-sdhci: add sama7g5-sdhci compatibility string

2020-08-26 Thread Eugen Hristev
Add new compatibility string for matching sama7g5 product. Signed-off-by: Eugen Hristev --- drivers/mmc/atmel_sdhci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/atmel_sdhci.c b/drivers/mmc/atmel_sdhci.c index 0c53caf448..f03c0457e1 100644 --- a/drivers/mmc/atmel_sdhci.c +++

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-26 Thread Andre Heider
On 26/08/2020 17:10, Pali Rohár wrote: On Wednesday 26 August 2020 16:43:10 Andre Heider wrote: On 26/08/2020 16:10, Pali Rohár wrote: On Wednesday 26 August 2020 16:00:05 Andre Heider wrote: On 26/08/2020 15:31, Pali Rohár wrote: On Wednesday 26 August 2020 15:22:26 Andre Heider wrote: Hi,

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-26 Thread Pali Rohár
On Wednesday 26 August 2020 16:43:10 Andre Heider wrote: > On 26/08/2020 16:10, Pali Rohár wrote: > > On Wednesday 26 August 2020 16:00:05 Andre Heider wrote: > > > On 26/08/2020 15:31, Pali Rohár wrote: > > > > On Wednesday 26 August 2020 15:22:26 Andre Heider wrote: > > > > > Hi, > > > > > > > >

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-26 Thread Andre Heider
On 26/08/2020 16:10, Pali Rohár wrote: On Wednesday 26 August 2020 16:00:05 Andre Heider wrote: On 26/08/2020 15:31, Pali Rohár wrote: On Wednesday 26 August 2020 15:22:26 Andre Heider wrote: Hi, On 24/08/2020 16:25, Pali Rohár wrote: Some distribution bootscripts append console env into boo

Re: [GIT PULL] Pull request: u-boot-imx u-boot-imx-20200825

2020-08-26 Thread Tom Rini
On Tue, Aug 25, 2020 at 04:40:48PM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > > The following changes since commit 789bfb52668ee609b2043de645e2f94bbd24fd1f: > > Merge tag 'efi-2020-10-rc3-2' of > https://gitlab.denx.de/u-boot/custodians/u-boot-efi (20

Re: [PATCH V2 1/7] env: Warn on force access if ENV_ACCESS_IGNORE_FORCE set

2020-08-26 Thread Alex Kiernan
On Tue, Jul 7, 2020 at 7:52 PM Marek Vasut wrote: > > If the ENV_ACCESS_IGNORE_FORCE is set, inform user that the variable > cannot be force-set if such attempt happens. > > Signed-off-by: Marek Vasut > --- > V2: No change > --- > env/flags.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deleti

Re: [PATCH v4 20/27] Makefile: Warn against using CONFIG_SPL_FIT_GENERATOR

2020-08-26 Thread Michal Simek
Hi, On 25. 08. 20 18:57, Simon Glass wrote: > Hi Michal, > > On Tue, 25 Aug 2020 at 09:13, Michal Simek wrote: >> >> Hi Simon, >> >> On 25. 08. 20 17:04, Simon Glass wrote: >>> Hi Michal, >>> >>> On Mon, 24 Aug 2020 at 08:12, Michal Simek wrote: Hi Simon, On 22. 08. 20 17:08

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-26 Thread Pali Rohár
On Wednesday 26 August 2020 16:00:05 Andre Heider wrote: > On 26/08/2020 15:31, Pali Rohár wrote: > > On Wednesday 26 August 2020 15:22:26 Andre Heider wrote: > > > Hi, > > > > > > On 24/08/2020 16:25, Pali Rohár wrote: > > > > Some distribution bootscripts append console env into boot cmdline. >

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-26 Thread Andre Heider
On 26/08/2020 15:31, Pali Rohár wrote: On Wednesday 26 August 2020 15:22:26 Andre Heider wrote: Hi, On 24/08/2020 16:25, Pali Rohár wrote: Some distribution bootscripts append console env into boot cmdline. So define console env correctly to have early console access. Signed-off-by: Pali Rohá

[PATCH] binman: Fix typo in kernel-doc format for binman_symname()

2020-08-26 Thread Michal Simek
Fix typo. Fixes: 19790632648b ("binman: Support accessing binman tables at run time") Signed-off-by: Michal Simek --- include/binman_sym.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/binman_sym.h b/include/binman_sym.h index ffb7c15798a7..72e6765fe520 100644 ---

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-26 Thread Pali Rohár
On Wednesday 26 August 2020 15:22:26 Andre Heider wrote: > Hi, > > On 24/08/2020 16:25, Pali Rohár wrote: > > Some distribution bootscripts append console env into boot cmdline. > > So define console env correctly to have early console access. > > > > Signed-off-by: Pali Rohár > > --- > > incl

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

2020-08-26 Thread Tom Rini
On Wed, Aug 26, 2020 at 01:55:55PM +0100, Peter Robinson wrote: > On Wed, Aug 26, 2020 at 1:22 PM Tom Rini wrote: > > > > On Wed, Aug 26, 2020 at 01:52:14PM +0200, Stefan Roese wrote: > > > On 26.08.20 13:42, Tom Rini wrote: > > > > On Wed, Aug 26, 2020 at 09:31:07AM +0200, Stefan Roese wrote: > >

Re: [PATCH 4/5] arm: mvebu: Espressobin: Define console env

2020-08-26 Thread Andre Heider
Hi, On 24/08/2020 16:25, Pali Rohár wrote: Some distribution bootscripts append console env into boot cmdline. So define console env correctly to have early console access. Signed-off-by: Pali Rohár --- include/configs/mvebu_armada-37xx.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: Espressobin booting (Was: Re: [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses)

2020-08-26 Thread Andre Heider
Hi, On 26/08/2020 13:40, Pali Rohár wrote: On Wednesday 26 August 2020 12:51:18 Pali Rohár wrote: On Wednesday 26 August 2020 11:57:01 Andre Heider wrote: Hi, On 26/08/2020 10:31, Pali Rohár wrote: Hello! On Wednesday 26 August 2020 09:30:11 Andre Heider wrote: Pali, thank you for all the

[PATCH] binman: Call helper function binman_set_rom_offset() to fill offset

2020-08-26 Thread Michal Simek
There is prepared function for filing rom_offset. That's why use it instead of copying content of it. Signed-off-by: Michal Simek --- lib/binman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/binman.c b/lib/binman.c index 7a8ad62c4a8c..082ac5679273 100644 --- a/lib/bi

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

2020-08-26 Thread Peter Robinson
On Wed, Aug 26, 2020 at 1:22 PM Tom Rini wrote: > > On Wed, Aug 26, 2020 at 01:52:14PM +0200, Stefan Roese wrote: > > 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

[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

[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-

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

2020-08-26 Thread Tom Rini
On Wed, Aug 26, 2020 at 01:52:14PM +0200, Stefan Roese wrote: > 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/m

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 it on top of latest

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

2020-08-26 Thread Tom Rini
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 it on top of latest TOT, which was necessary > b

Re: Espressobin booting (Was: Re: [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses)

2020-08-26 Thread Pali Rohár
On Wednesday 26 August 2020 12:51:18 Pali Rohár wrote: > On Wednesday 26 August 2020 11:57:01 Andre Heider wrote: > > Hi, > > > > On 26/08/2020 10:31, Pali Rohár wrote: > > > Hello! > > > > > > On Wednesday 26 August 2020 09:30:11 Andre Heider wrote: > > > > Pali, > > > > > > > > thank you for a

RE: [EXT] [PATCH] armv8: lx2162aqds: Add support for LX2162AQDS platform

2020-08-26 Thread Meenakshi Aggarwal
Thanks Kuldeep for the review, will do the changes. > -Original Message- > From: Kuldeep Singh > Sent: Wednesday, August 26, 2020 3:48 PM > To: u-boot@lists.denx.de; Meenakshi Aggarwal > > Cc: Ioana Ciornei ; Qiang Zhao > ; Hui Song ; Manish Tomar > ; Vikas Singh ; Priyanka > Jain ; Ashi

u-boot 2015.4 & 2015.10 can't determine partition table on samsung emmc (error -19)

2020-08-26 Thread Eugene Kruglikov
Hello. I've got the trouble with u-boot and samsung emmc: partition table can't be determined. U-Boot > mmc dev 2 ===> test_block_type error 1: (buffer[DOS_PART_MAGIC_OFFSET + 0] != 0x55) || (buffer[DOS_PART_MAGIC_OFFSET + 1] != 0xaa) bad MBR sector signature: 0x9966 ===> test_part_dos error:

Re: Espressobin booting (Was: Re: [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses)

2020-08-26 Thread Pali Rohár
On Wednesday 26 August 2020 11:57:01 Andre Heider wrote: > Hi, > > On 26/08/2020 10:31, Pali Rohár wrote: > > Hello! > > > > On Wednesday 26 August 2020 09:30:11 Andre Heider wrote: > > > Pali, > > > > > > thank you for all these espressobin fixes, much appreciated! > > > > > > This isn't direc

RE: [EXT] [PATCH] armv8: lx2162aqds: Add support for LX2162AQDS platform

2020-08-26 Thread Kuldeep Singh
Hi Meenakshi, [..] > This patch add base support for LX2162 QDS board. > LX2162 is LX2160 based SoC, it has same die as of LX2160 > with different packaging. > Board support's 4GB ddr memory, i2c, micro-click module, microSD card, > serial console, qspi nor flash, qsgmii, sgmii, 25g, 40g, 50g netw

Re: [PATCH] fastboot: getvar: fix partition-size return value

2020-08-26 Thread Gary Bisson
Hi Lukasz, On Wed, Aug 26, 2020 at 11:36:51AM +0200, Lukasz Majewski wrote: > Hi Gary, > > > Hi, > > > > Gentle ping on this patch. Hopefully Sam's email won't bounce this > > time. > > You couldn't have better timing than now :-) > > I'm now testing PR for Tom [1] and your original patch was

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 --- dr

Re: Espressobin booting (Was: Re: [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses)

2020-08-26 Thread Andre Heider
Hi, On 26/08/2020 10:31, Pali Rohár wrote: Hello! On Wednesday 26 August 2020 09:30:11 Andre Heider wrote: Pali, thank you for all these espressobin fixes, much appreciated! This isn't directly related to the patch I'm replying to, but since you seem to be syncing down- with upstream: Upstr

[PATCH RESEND v2 11/11] usb: xhci: convert to readx_poll_sleep_timeout()

2020-08-26 Thread Chunfeng Yun
Use readx_poll_sleep_timeout() to poll the register status Change-Id: If05a68baf52c54ab30029279e349be6076f1d0ca Signed-off-by: Chunfeng Yun --- v2: fix typo of title suggested by Frank --- drivers/usb/host/xhci.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-)

Re: [PATCH] fastboot: getvar: fix partition-size return value

2020-08-26 Thread Lukasz Majewski
Hi Gary, > Hi, > > Gentle ping on this patch. Hopefully Sam's email won't bounce this > time. You couldn't have better timing than now :-) I'm now testing PR for Tom [1] and your original patch was causing some issues (probably it was correct when it was posted, but it was my fault that I'm goi

[PATCH RESEND v2 05/11] usb: xhci: convert to TRB_TYPE()

2020-08-26 Thread Chunfeng Yun
Use TRB_TYPE(p) instead of ((p) << TRB_TYPE_SHIFT) Signed-off-by: Chunfeng Yun --- v2: no changes --- drivers/usb/host/xhci-mem.c | 3 +-- drivers/usb/host/xhci-ring.c | 11 +-- include/usb/xhci.h | 1 - 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/

[PATCH RESEND v2 09/11] usb: xhci: convert to EP_TYPE()

2020-08-26 Thread Chunfeng Yun
Use EP_TYPE(type) macro instead of ((type) << EP_TYPE_SHIFT) Signed-off-by: Chunfeng Yun --- v2: no changes --- drivers/usb/host/xhci-mem.c | 2 +- drivers/usb/host/xhci.c | 3 +-- include/usb/xhci.h | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/usb/h

[PATCH RESEND v2 08/11] usb: xhci: convert to TRB_TX_TYPE()

2020-08-26 Thread Chunfeng Yun
Use TRB_TX_TYPE() instead of (TRB_DATA_OUT/IN << TRB_TX_TYPE_SHIFT) Signed-off-by: Chunfeng Yun --- v2: no changes --- drivers/usb/host/xhci-ring.c | 4 ++-- include/usb/xhci.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c b/drivers/

[PATCH RESEND v2 10/11] usb: xhci: use macros with parameter to fill ep_info2

2020-08-26 Thread Chunfeng Yun
Use macros with parameter to fill ep_info2, then some macros for MASK and SHIFT can be removed Signed-off-by: Chunfeng Yun --- v2: no changes --- drivers/usb/host/xhci-mem.c | 13 - drivers/usb/host/xhci.c | 3 +-- include/usb/xhci.h | 5 - 3 files changed, 5 inser

[PATCH RESEND v2 03/11] usb: xhci: add quirks flag to support MediaTek xHCI 0.96

2020-08-26 Thread Chunfeng Yun
There some vendor quirks for MTK xHCI 0.96 host controller: 1. It defines some extra SW scheduling parameters for HW to minimize the scheduling effort for synchronous and interrupt endpoints. The parameters are put into reseved DWs of slot context and endpoint context. 2. Its TDS in Norma

[PATCH RESEND v2 02/11] usb: xhci: create one unified function to calculate TRB TD remainder.

2020-08-26 Thread Chunfeng Yun
xhci versions 1.0 and later report the untransferred data remaining in a TD a bit differently than older hosts. We used to have separate functions for these, and needed to check host version before calling the right function. Now Mediatek host has an additional quirk on how it uses the TD Size fi

[PATCH RESEND v2 01/11] usb: xhci: add a member hci_version in xhci_ctrl struct

2020-08-26 Thread Chunfeng Yun
Add a member to save xHCI version, it's used some times. Signed-off-by: Chunfeng Yun --- v2: no changes --- drivers/usb/host/xhci-ring.c | 4 ++-- drivers/usb/host/xhci.c | 1 + include/usb/xhci.h | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/ho

[PATCH RESEND v2 04/11] usb: xhci: convert to HCS_MAX_PORTS()

2020-08-26 Thread Chunfeng Yun
Use HCS_MAX_PORTS(p) instead of ((p & HCS_MAX_PORTS_MASK) >> HCS_MAX_PORTS_SHIFT) Signed-off-by: Chunfeng Yun --- v2: no changes --- drivers/usb/host/xhci.c | 3 +-- include/usb/xhci.h | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/usb/host/xhci.c b/drivers/us

[PATCH v2 RESEND 06/11] usb: xhci: convert to TRB_INTR_TARGET()

2020-08-26 Thread Chunfeng Yun
Use TRB_INTR_TARGET(x) instead of (((x) & TRB_INTR_TARGET_MASK) << TRB_INTR_TARGET_SHIFT) Signed-off-by: Chunfeng Yun --- v2: no changes --- drivers/usb/host/xhci-ring.c | 10 -- include/usb/xhci.h | 2 -- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/

[PATCH v2 RESEND 07/11] usb: xhci: convert to TRB_LEN()

2020-08-26 Thread Chunfeng Yun
Use TRB_LEN(x) instead of ((x) & TRB_LEN_MASK) Signed-off-by: Chunfeng Yun --- v2: no changes --- drivers/usb/host/xhci-ring.c | 8 include/usb/xhci.h | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-rin

RE: [EXT] [PATCH v5 1/2] board: kontron: add sl28 support

2020-08-26 Thread Kuldeep Singh
> +/* environment */ > +/* allow to overwrite serial and ethaddr */ #define > +CONFIG_ENV_OVERWRITE [...] Hi Michael, CONFIG_ENV_OVERWRITE is now converted to Kconfig option and has been moved to defconfigs. Adam Ford has a patch doing that and is available in latest master. -Kuldeep

Re: [PATCH] fastboot: getvar: fix partition-size return value

2020-08-26 Thread Gary Bisson
Hi, Gentle ping on this patch. Hopefully Sam's email won't bounce this time. Let me know if you have any questions. Regards, Gary On Wed, Jun 24, 2020 at 11:00:17AM +0200, Gary Bisson wrote: > Hi, > > Gentle ping on this patch. Anyone had a chance to review? > > Regards, > Gary > > On Wed, M

Espressobin booting (Was: Re: [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses)

2020-08-26 Thread Pali Rohár
Hello! On Wednesday 26 August 2020 09:30:11 Andre Heider wrote: > Pali, > > thank you for all these espressobin fixes, much appreciated! > > This isn't directly related to the patch I'm replying to, but since you seem > to be syncing down- with upstream: > > Upstream u-boot doesn't detect my sa

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

2020-08-26 Thread Stefan Roese
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 it on top of latest TOT, which was necessary because of a merge conflict in pci-uclass.c. I think it's ready to go upstr

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

2020-08-26 Thread Andre Heider
Pali, thank you for all these espressobin fixes, much appreciated! This isn't directly related to the patch I'm replying to, but since you seem to be syncing down- with upstream: Upstream u-boot doesn't detect my sata ssd ("SATA link 0 timeout"), nor is it able to run debian's kernel (hangs

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

2020-08-26 Thread Andre Heider
On 19/08/2020 11:57, Marek Behún wrote: This commit fixes initialization of COMPHY on EspressoBin. Commit 22f418935be4 ("phy: marvell: a3700: Use comphy_mux on Armada 37xx.") introduced usage of comphy_mux on Armada 37xx comphy driver. The lanes are defined in comphy_a3700.c as described in func