Re: [U-Boot] [PATCH 2/4] mmc: dw_mmc: Zap endless timeout

2015-09-11 Thread Alexey Brodkin
Hi Marek, On Mon, 2015-07-27 at 22:39 +0200, Marek Vasut wrote: > Endless timeouts are bad, since if we get stuck in one, we have no > way out. Zap this one by implementing proper timeout. > > Signed-off-by: Marek Vasut > Cc: Dinh Nguyen > Cc: Pantelis Antoniou > Cc: Tom Rini > --- > drivers

Re: [U-Boot] [PATCH 2/4] mmc: dw_mmc: Zap endless timeout

2015-09-11 Thread Alexey Brodkin
Hi Marek, On Fri, 2015-09-11 at 13:49 +0200, Marek Vasut wrote: > On Friday, September 11, 2015 at 09:59:32 AM, Alexey Brodkin wrote: > > Hi Marek, > > Hi! > btw Is your mailer totally broken by any chance ? Hm, I'm not sure what happened but as I may see here https

Re: [U-Boot] [PATCH 1/2] mmc: dw_mmc: Increase timeout to 20 seconds

2015-09-11 Thread Alexey Brodkin
Hi Marek, Lukasz, > On Wednesday, September 09, 2015 at 09:01:30 AM, Lukasz Majewski wrote: > > Hi, > > > > > The commit: d9dbb97be0e4a550457aec5f11afefb446169c90 > > > "mmc: dw_mmc: Zap endless timeout" removed endless loop waiting for > > > end of dw mmc transfer. > > > > > > For some workload

Re: [U-Boot] [PATCH 1/2] mmc: dw_mmc: Increase timeout to 20 seconds

2015-09-14 Thread Alexey Brodkin
Hi Marek, Lukasz, On Sun, 2015-09-13 at 16:00 +0200, Marek Vasut wrote: > On Sunday, September 13, 2015 at 12:03:18 PM, Lukasz Majewski wrote: > > Hi Marek, > > Hi, > > [...] > > > > > > Still we need to fix regression first with virtually infinite > > > > > timeout :) I would even thing that

Re: [U-Boot] [PATCH 1/2] mmc: dw_mmc: Increase timeout to 20 seconds

2015-09-14 Thread Alexey Brodkin
On Fri, 2015-09-11 at 23:45 +0200, Lukasz Majewski wrote: > Hi Alexey, > > FWIW I faced similar problem even reading data. > > At least on one of my boards reading of ~8Mb file > > took ~1.7 seconds and so 1 second timeout was interrupting data > > exchange. > > Was it SD card or eMMC device? It

Re: [U-Boot] [PATCH v2 0/7] net: add support for phy speed limitation

2016-01-18 Thread Alexey Brodkin
Hi Joe, On Wed, 2016-01-13 at 16:59 +0300, Alexey Brodkin wrote: > In some cases Ethernet PHY and network itself might support speeds > which are not supported by Ethernet controller (MAC). > > To support that kind of situation it is required to force limit > PHY so it is not

Re: [U-Boot] [PATCH 2/5] usb: ehci: Use map_physmem in ehci-generic

2016-01-27 Thread Alexey Brodkin
Hi Marek, On Wed, 2016-01-27 at 03:14 +0100, Marek Vasut wrote: > Some architectures, like MIPS, require remapping of the registers. > Add the map_physmem() call to handle it. > > Signed-off-by: Marek Vasut > Cc: Daniel Schwierzeck > Cc: Hans de Goede > Cc: Masahiro

Re: [U-Boot] [PATCH v2 0/7] net: add support for phy speed limitation

2016-01-27 Thread Alexey Brodkin
Hi Joe, On Tue, 2016-01-19 at 07:02 +, Alexey Brodkin wrote: > Hi Joe, > > On Wed, 2016-01-13 at 16:59 +0300, Alexey Brodkin wrote: > > In some cases Ethernet PHY and network itself might support speeds > > which are not supported by Ethernet controller (MAC). > >

Re: [U-Boot] [PATCH v2 0/7] net: add support for phy speed limitation

2016-01-27 Thread Alexey Brodkin
Hi Joe, On Wed, 2016-01-27 at 12:48 -0600, Joe Hershberger wrote: > On Wed, Jan 27, 2016 at 10:23 AM, Alexey Brodkin > wrote: > > Hi Joe, > > > > On Tue, 2016-01-19 at 07:02 +, Alexey Brodkin wrote: > > > Hi Joe, > > > > > > On W

Re: [U-Boot] [PATCH] drivers/usb/ehci: Use platform-specific accessors

2017-03-24 Thread Alexey Brodkin
Hi Marek, On Sun, 2017-03-05 at 02:09 +0100, Marek Vasut wrote: > On 03/03/2017 02:22 PM, Alexey Brodkin wrote: > > > > Hi Marek, > > > > On Fri, 2017-03-03 at 00:57 +0100, Marek Vasut wrote: > > > > > > On 03/01/2017 01:52 PM, Alexey Brod

[U-Boot] Please pull ARC changes

2017-03-24 Thread Alexey Brodkin
Hi Tom, Please pull changes which introduce ARC built-in timer support in U-Boot. This replaces legacy arch/arc/lib/timer.c implementation and allows us to describe ARC Timers in Device Tree. Among other things that way we may properly inherit Timer's clock from CPU's clock s they really run synch

Re: [U-Boot] [PATCH v3 0/3] arc: introduce timer driver and update device tree

2017-03-24 Thread Alexey Brodkin
Hi Vlad, On Tue, 2017-03-21 at 14:49 +0300, Vlad Zakharov wrote: > ARC cores may have up to 2 built-in timers: timer0 and timer1, > usually at least one of them exists. They both are driven by the > same core clock. > > They are controlled through auxiliary registers and so we > don't have to rem

[U-Boot] [PATCH 0/2] axs103: Add support of v1.1 firmware

2017-03-31 Thread Alexey Brodkin
Even though from software developer PoV not much has changed in v1.1 firmware for axs103 board still there's an important modification introduced by SNPS hardware team: slave cores kick-start procedure now differs and we need to accommodate this change in U-Boot. Alexey Brodkin (2): a

[U-Boot] [PATCH 1/2] axs103: Clean-up smp_kick_all_cpus()

2017-03-31 Thread Alexey Brodkin
e cpu_start pulse with START=1 Signed-off-by: Alexey Brodkin --- board/synopsys/axs10x/axs10x.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/board/synopsys/axs10x/axs10x.c b/board/synopsys/axs10x/axs10x.c index a5e774b2cf7b..57c790220f71 100644 --- a/board/synops

[U-Boot] [PATCH 2/2] axs103: Support slave core kick-start on axs103 v1.1 firmware

2017-03-31 Thread Alexey Brodkin
om 2.1c to 3.0. Signed-off-by: Alexey Brodkin --- board/synopsys/axs10x/axs10x.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/board/synopsys/axs10x/axs10x.c b/board/synopsys/axs10x/axs10x.c index 57c790220f71..912764a3d807 100644 --- a/board/synops

[U-Boot] [PATCH] arcv2: Halt non-master cores

2017-03-31 Thread Alexey Brodkin
other application that want to see all cores of SMP SoC up and running. Signed-off-by: Alexey Brodkin --- arch/arc/lib/start.S | 16 1 file changed, 16 insertions(+) diff --git a/arch/arc/lib/start.S b/arch/arc/lib/start.S index 90ee7e0fe406..b2ba7683097f 100644 --- a/arch/ar

[U-Boot] Please pull ARC changes

2017-03-31 Thread Alexey Brodkin
available in the git repository at:   git://git.denx.de/u-boot-arc.git  for you to fetch changes up to 6cba327bd96f90818a8beede51405228c54a5251:   arcv2: Halt non-master cores (2017-03-31 22:09:36 +0300) Alexey Brodkin (3):   axs103

[U-Boot] [PATCH] ARCv2: SLC: Make sure busy bit is set properly on SLC flushing

2017-04-07 Thread Alexey Brodkin
: Alexey Brodkin --- arch/arc/lib/cache.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arc/lib/cache.c b/arch/arc/lib/cache.c index b6ec83112cd8..f1436bf19992 100644 --- a/arch/arc/lib/cache.c +++ b/arch/arc/lib/cache.c @@ -59,10 +59,16 @@ static unsigned int

[U-Boot] Please pull ARC changes

2017-04-11 Thread Alexey Brodkin
ry at:   git://git.denx.de/u-boot-arc.git  for you to fetch changes up to 40a808f173008729a0c631ab84693b6a2b0dcfc9:   ARCv2: SLC: Make sure busy bit is set properly on SLC flushing (2017-04-11 17:54:31 +0300) Alexey Brodkin (1):   

[U-Boot] [PATCH] arc: arcv1: Disable master/slave check

2017-04-11 Thread Alexey Brodkin
C together with other ARC cores and ARC770 happens to be the last node in JTAG chain with ARCNUM = 4. And existing check halts the one and only core we want keep running. Signed-off-by: Alexey Brodkin --- arch/arc/lib/start.S | 4 1 file changed, 4 insertions(+) diff --git a/arch/arc/lib

Re: [U-Boot] [PATCH] drivers/usb/ehci: Use platform-specific accessors

2017-04-14 Thread Alexey Brodkin
Hi Marek, On Fri, 2017-04-14 at 16:44 +0200, Marek Vasut wrote: > On 03/24/2017 01:56 PM, Marek Vasut wrote: > >  > Even better, this patch breaks powerpc board lwmon5, so dropped. Are you sure the problem is in my patch? Maybe this PPC board just needs to UNdefine CONFIG_EHCI_DESC_BIG_ENDIAN or

[U-Boot] [PATCH] axs10x: Get rid of both I2C and EEPROM who used to use I2C

2017-06-01 Thread Alexey Brodkin
With eb5ba3aefdf0 "i2c: Drop use of CONFIG_I2C_HARD" in place we cannot use I2C EEPROM any longer so we're dropping all references to both EEPROM and I2C which was only used for EEPROM. Signed-off-by: Alexey Brodkin Cc: Simon Glass --- configs/axs101_defconfig | 1 - configs/a

[U-Boot] [PATCH] axs10x: Move environment from I2C EEPROM to SD-card

2017-06-01 Thread Alexey Brodkin
another. Moreover instead of 256 bytes of EEPROM we're now virtually unlimited in stuff being placed in environment like complicated scripts etc which are usually required in case of full-scale distros. Signed-off-by: Alexey Brodkin --- include/configs/axs10x.h | 9 ++--- 1 file chang

[U-Boot] [PATCH] ehci-pci: Prepare for usage of readl()/writel() accessors

2017-06-05 Thread Alexey Brodkin
x27;ehci_readl' HC_LENGTH(ehci_readl(&hccr->cr_capbase))); ^~ ->8--- This the same fix as we have for "ehci-ppc4xx" in 83cb46c286b "ehci-ppc4xx: Prepare for usage of readl()/writel() accessors". Signed-off-by: Alexey Brodkin Cc: S

Re: [U-Boot] [PATCH] ehci-pci: Prepare for usage of readl()/writel() accessors

2017-06-05 Thread Alexey Brodkin
Hi Marek, On Mon, 2017-06-05 at 13:42 +0200, Marek Vasut wrote: > On 06/05/2017 09:19 AM, Alexey Brodkin wrote: > > > > We used to have opencoded ehci_readl()/writel() which required no > > external functions to be called. > > Applied, thanks. Now when we get everyth

Re: [U-Boot] [PATCH] ehci-pci: Prepare for usage of readl()/writel() accessors

2017-06-05 Thread Alexey Brodkin
Hi Marek, On Mon, 2017-06-05 at 14:06 +0200, Marek Vasut wrote: > On 06/05/2017 02:03 PM, Alexey Brodkin wrote: > > > > Hi Marek, > > Hi, > > > > > On Mon, 2017-06-05 at 13:42 +0200, Marek Vasut wrote: > > > > > > On 06/05/2017 09:19

Re: [U-Boot] [PATCH] arc: Move dram_init out of arch code, into board code

2017-06-05 Thread Alexey Brodkin
Hi Alexandru, On Mon, 2017-06-05 at 10:49 -0700, Alexandru Gagniuc wrote: > The following commit > f1683aa board_f: Rename initdram() to dram_init() > wrongly assumed that the lack of DRAM init is the property of the > architecture. In fact, it is only the AXS10x boards that do not need a > specia

[U-Boot] [RESEND] drivers/usb/ehci: Use platform-specific accessors

2017-06-05 Thread Alexey Brodkin
From: Alexey Brodkin Current implementation doesn't allow utilization of platform-specific reads and writes. But some arches or platforms may want to use their accessors that do some extra work like adding barriers for data serialization etc. Interesting enough OHCI accessors already do

[U-Boot] [PATCH] drivers/usb/ehci: Use platform-specific accessors

2017-02-10 Thread Alexey Brodkin
CI to it now. Signed-off-by: Alexey Brodkin Cc: Marek Vasut Cc: Simon Glass Cc: Mateusz Kulikowski --- drivers/usb/host/ehci.h | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index 734d7f036278..2ab830df5155 1

Re: [U-Boot] [PATCH] drivers/usb/ehci: Use platform-specific accessors

2017-03-01 Thread Alexey Brodkin
Hi Marek, On Fri, 2017-02-10 at 21:33 +0100, Marek Vasut wrote: > On 02/10/2017 09:23 PM, Alexey Brodkin wrote: > > > > Current implementation doesn't allow utilization of platform-specific > > reads and writes. > > > > But some arches or platforms m

Re: [U-Boot] [PATCH] drivers/usb/ehci: Use platform-specific accessors

2017-03-03 Thread Alexey Brodkin
Hi Marek, On Fri, 2017-03-03 at 00:57 +0100, Marek Vasut wrote: > On 03/01/2017 01:52 PM, Alexey Brodkin wrote: > > > > Hi Marek, > > > > On Fri, 2017-02-10 at 21:33 +0100, Marek Vasut wrote: > > > > > > On 02/10/2017 09:23 PM, Alexey Bro

Re: [U-Boot] [PATCH] ehci-pci: Prepare for usage of readl()/writel() accessors

2017-06-14 Thread Alexey Brodkin
Hi Marek, On Mon, 2017-06-05 at 14:06 +0200, Marek Vasut wrote: > On 06/05/2017 02:03 PM, Alexey Brodkin wrote: > > > > Hi Marek, > > Hi, > > > > > On Mon, 2017-06-05 at 13:42 +0200, Marek Vasut wrote: > > > > > > On 06/05/2017 09:19

Re: [U-Boot] [PATCH] ehci-pci: Prepare for usage of readl()/writel() accessors

2017-06-15 Thread Alexey Brodkin
Hi Marek, On Thu, 2017-06-15 at 19:23 +0200, Marek Vasut wrote: > On 06/15/2017 07:19 PM, Tom Rini wrote: > > > > On Thu, Jun 15, 2017 at 07:00:25PM +0200, Marek Vasut wrote: > > > > > > On 06/14/2017 11:55 AM, Alexey Brodkin wrote: [snip] > > Clearl

Re: [U-Boot] [PATCH] ehci-pci: Prepare for usage of readl()/writel() accessors

2017-06-15 Thread Alexey Brodkin
Hi Marek, On Thu, 2017-06-15 at 19:51 +0200, Marek Vasut wrote: > On 06/15/2017 07:48 PM, Alexey Brodkin wrote: > > > > Hi Marek, > > > > On Thu, 2017-06-15 at 19:23 +0200, Marek Vasut wrote: > > > > > > On 06/15/2017 07:19 PM, Tom Rini wrote: >

Re: [U-Boot] [PATCH] arc: Move dram_init out of arch code, into board code

2017-06-15 Thread Alexey Brodkin
Hi Alexandru, On Mon, 2017-06-05 at 13:00 -0700, Alexandru Gagniuc wrote: > On 06/05/2017 12:22 PM, Alexey Brodkin wrote: > > > > Hi Alexandru, > > > > On Mon, 2017-06-05 at 10:49 -0700, Alexandru Gagniuc wrote: > > > > > > The following commi

[U-Boot] [PATCH] arcv2: Set IOC aperture so it covers available DDR

2017-06-26 Thread Alexey Brodkin
lly a must but for simplicity we assume IOC covers all the DDR we have, that gives us a chance to not bother where DMA buffers are allocated - any part of DDR is OK. Signed-off-by: Alexey Brodkin --- arch/arc/lib/cache.c | 29 +++-- 1 file changed, 23 insertions(+), 6 dele

[U-Boot] [PATCH] arc: Add support for HS Development Kit board

2017-06-26 Thread Alexey Brodkin
connectivity modules: - Synopsys HAPS HT3 - Arduino-compatible connector - MikroBUS This initial commit supports the following peripherals: * UART (DW 8250) * Ethernet (DW GMAC) * SD/MMC (DW Mobile Storage) * USB 1.1 & 2.0 Signed-off-by: Alexey Brodkin --- arch/arc/Kco

[U-Boot] Please pull ARC changes

2017-06-29 Thread Alexey Brodkin
19:34:10 +0300) -------- Alexey Brodkin (8):   arc: arcv1: Disable master/slave check   axs101: Enable data cache   axs10x: Add support of Ext2/4 FS   boards: axs10x, nsim, tb100: Enable cmdline history   axs10x: Get rid of both I2C and EEPROM who used to use I2C   axs10x: M

[U-Boot] [PATCH] ehci-ppc4xx: Prepare for usage of readl()/writel() accessors

2017-04-17 Thread Alexey Brodkin
HC_LENGTH(ehci_readl(&(*hccr)->cr_capbase))); ^ >8------- Signed-off-by: Alexey Brodkin Cc: Tom Rini Cc: Marek Vasut Cc: Stefan Roese --- drivers/usb/host/ehci-ppc4xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/ehci-ppc4xx.c b/dri

Re: [U-Boot] [PATCH] drivers/usb/ehci: Use platform-specific accessors

2017-04-17 Thread Alexey Brodkin
Hi Tom, Marek, On Fri, 2017-04-14 at 16:06 -0400, Tom Rini wrote: > On Fri, Apr 14, 2017 at 05:16:11PM +0000, Alexey Brodkin wrote: > > > > Hi Marek, > > > > On Fri, 2017-04-14 at 16:44 +0200, Marek Vasut wrote: > > > > > &

[U-Boot] [PATCH] clean-up: Remove uselsess mentions of CONFIG_COMMAND_HISTORY

2017-04-18 Thread Alexey Brodkin
-off-by: Alexey Brodkin Cc: Masahiro Yamada Cc: Peter Griffin Cc: Stephen Warren Cc: Steve Rae Cc: Jon Mason Cc: Simon Glass Cc: Stefan Roese --- include/configs/bcm_ep_board.h | 1 - include/configs/bcm_northstar2.h | 1 - include/configs/hikey.h | 2 -- include/configs/rpi.h

[U-Boot] [PATCH] arc: arcv1: Disable master/slave check

2017-04-21 Thread Alexey Brodkin
C together with other ARC cores and ARC770 happens to be the last node in JTAG chain with ARCNUM = 4. And existing check halts the one and only core we want keep running. Signed-off-by: Alexey Brodkin --- arch/arc/lib/start.S | 4 1 file changed, 4 insertions(+) diff --git a/arch/arc/lib

[U-Boot] [PATCH] axs101: Enable data cache

2017-04-21 Thread Alexey Brodkin
There's no reason to keep data cache disabled in axs101 board any longer, enabling it. Signed-off-by: Alexey Brodkin --- configs/axs101_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/axs101_defconfig b/configs/axs101_defconfig index 1af505d9ebc4..b9ea1c6dea21 100644

[U-Boot] [PATCH] axs10x: Add support of Ext2/4 FS

2017-04-21 Thread Alexey Brodkin
Those could be easily used on USB flash drives or on SD/MMC cards. Signed-off-by: Alexey Brodkin --- configs/axs101_defconfig | 3 +++ configs/axs103_defconfig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configs/axs101_defconfig b/configs/axs101_defconfig index b9ea1c6dea21

[U-Boot] [PATCH] boards: axs10x, nsim, tb100: Enable cmdline history

2017-04-21 Thread Alexey Brodkin
Enable shell commands history on ARC boards for more convenience of users. Signed-off-by: Alexey Brodkin --- include/configs/axs10x.h | 1 + include/configs/nsim.h | 1 + include/configs/tb100.h | 1 + 3 files changed, 3 insertions(+) diff --git a/include/configs/axs10x.h b/include/configs

[U-Boot] [PATCH] travisci: Add support for ARC

2017-04-21 Thread Alexey Brodkin
Finally adding support for ARC boards in TravisCI. To build for ARC boards we need to install Synopsys prebuilt toolchain which we do here. Signed-off-by: Alexey Brodkin Cc: Tom Rini --- .travis.yml | 8 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index

Re: [U-Boot] [PATCH] travisci: Add support for ARC

2017-04-21 Thread Alexey Brodkin
Hi Tom, On Fri, 2017-04-21 at 09:13 -0400, Tom Rini wrote: > On Fri, Apr 21, 2017 at 01:35:43PM +0300, Alexey Brodkin wrote: > > > > > Finally adding support for ARC boards in TravisCI. > > > > To build for ARC boards we need to install Synopsys prebuilt

Re: [U-Boot] [PATCH] travisci: Add support for ARC

2017-04-21 Thread Alexey Brodkin
Hi Tom, On Fri, 2017-04-21 at 09:17 -0400, Tom Rini wrote: > On Fri, Apr 21, 2017 at 01:14:23PM +0000, Alexey Brodkin wrote: > > > > Hi Tom, > > > > On Fri, 2017-04-21 at 09:13 -0400, Tom Rini wrote: > > > > > > On Fri, Apr 21, 2

Re: [U-Boot] [PATCH] ARC: HSDK: introduce CREG GPIO driver

2017-10-13 Thread Alexey Brodkin
Hi Tom, On Fri, 2017-10-13 at 16:21 +0300, Eugeniy Paltsev wrote: > The HSDK can manage some pins via CREG registers block. > > Signed-off-by: Eugeniy Paltsev > --- >  MAINTAINERS   |   6 +++ >  drivers/gpio/Kconfig  |   7 +++ >  drivers/gpio/Makefile |   1 + >  d

Re: [U-Boot] [PATCH] ARC: HSDK: introduce CREG GPIO driver

2017-10-13 Thread Alexey Brodkin
Hi Tom, On Fri, 2017-10-13 at 09:46 -0400, Tom Rini wrote: > On Fri, Oct 13, 2017 at 01:33:22PM +0000, Alexey Brodkin wrote: > > > > Hi Tom, > > > > On Fri, 2017-10-13 at 16:21 +0300, Eugeniy Paltsev wrote: > > > > > > The HSDK can manage some pins

Re: [U-Boot] [PATCH] ARC: HSDK: introduce CREG GPIO driver

2017-10-16 Thread Alexey Brodkin
Hi Eugeniy, On Fri, 2017-10-13 at 16:21 +0300, Eugeniy Paltsev wrote: > The HSDK can manage some pins via CREG registers block. > > Signed-off-by: Eugeniy Paltsev > --- >  MAINTAINERS   |   6 +++ >  drivers/gpio/Kconfig  |   7 +++ >  drivers/gpio/Makefile |   1 +

Re: [U-Boot] [uboot-snps-arc] [PATCH v2] ARC: HSDK: introduce CREG GPIO driver

2017-10-16 Thread Alexey Brodkin
Hi Eugeniy, On Mon, 2017-10-16 at 16:21 +0300, Eugeniy Paltsev wrote: > The HSDK can manage some pins via CREG registers block. > > Signed-off-by: Eugeniy Paltsev > --- > Changes v1->v2: >   * Use linux debug function (debug -> pr_debug, errror -> pr_err) > as uboot "error" was removed. > >

Re: [U-Boot] [PATCH v2] DW SPI: Get clock value from Device Tree

2017-10-17 Thread Alexey Brodkin
Hi Jagan, > -Original Message- > From: Eugeniy Paltsev [mailto:palt...@synopsys.com] > Sent: Tuesday, October 17, 2017 4:33 PM > To: jagannadh.t...@gmail.com > Cc: u-boot@lists.denx.de; uboot-snps-...@synopsys.com > Subject: [uboot-snps-arc] Re: [PATCH v2] DW SPI: Get clock value from Devi

Re: [U-Boot] [RESEND] drivers/usb/ehci: Use platform-specific accessors

2017-10-30 Thread Alexey Brodkin
Hi Marek, Vladimir, On Sun, 2017-10-29 at 11:00 +0100, Marek Vasut wrote: > On 10/27/2017 02:42 PM, Vladimir Boroda wrote: > > > > Alexey/Marek, > > > > It appears that the "drivers/usb/ehci: Use platform-specific accessors" > > patch that was submitted in June (and currently adopted in U-Boot >

[U-Boot] [PATCH] arc: bootm: Move slave cores kick-starting under !fake

2017-11-17 Thread Alexey Brodkin
Currently slave cores will be kick-started even if we want to dry run bootm which is not what we really want. Signed-off-by: Alexey Brodkin Cc: Eugeniy Paltsev --- arch/arc/lib/bootm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arc/lib/bootm.c b/arch/arc

[U-Boot] [PATCH] arc: cache: Add required NOPs after invalidation of instruction cache

2017-11-17 Thread Alexey Brodkin
As per ARC HS databook (see chapter 5.3.3.2) it is required to add 3 NOPs after each write to IC_IVIC which we do from now on. Signed-off-by: Alexey Brodkin Cc: Eugeniy Paltsev --- arch/arc/lib/cache.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arc/lib/cache.c b/arch/arc

[U-Boot] [PATCH] usb: ehci: Fix accessors for big-endian platforms and descriptors

2017-11-17 Thread Alexey Brodkin
data without messing with endianess. While at it replace cpu_to_be32() to be32_to_cpu() in readl() to keep sane semantics. Signed-off-by: Alexey Brodkin Cc: Marek Vasut Reported-by: Vladimir Boroda --- drivers/usb/host/ehci.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[U-Boot] Please pull ARC changes

2017-11-24 Thread Alexey Brodkin
) Alexey Brodkin (2):   arc: bootm: Move slave cores kick-starting under !fake   arc: cache: Add required NOPs after invalidation of instruction cache Eugeniy Paltsev (1):   ARC: HSDK: introduce CREG GPIO driver  MAINTAINERS   |   6 ++  arch

[U-Boot] [PATCH] gpio/hsdk: Depend on DM_GPIO instead of simple DM

2017-12-10 Thread Alexey Brodkin
d/gpio.c:188: undefined reference to 'gpio_request' ... -->8--------- Signed-off-by: Alexey Brodkin Cc: Eugeniy Paltsev Cc: Simon Glass --- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/

[U-Boot] Please pull ARC changes

2017-12-11 Thread Alexey Brodkin
Hi Tom, Seems like I'm a little bit late as RC1 was already cut but anyways I think most if not all the mentioned below changes could be safely pulled. That's because 5 of 6 patches are really just very trivial fixes (which I think is quite of for post-RC1 stage) and the only more significant cha

[U-Boot] Please pull ARC changes

2017-12-12 Thread Alexey Brodkin
7:30 +0300) -------- Alexey Brodkin (1):   gpio/hsdk: Depend on DM_GPIO instead of simple DM  drivers/gpio/Kconfig | 2 +-  1 file changed, 1 insertion(+), 1 deletion(-) -Alexey ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.d

[U-Boot] [PATCH] board: axs10x: Flush entire cache after programming reset vector

2016-06-09 Thread Alexey Brodkin
) so other cores will see it via its L1 instruction cache we're using always functional flush_dcache_all() here. Signed-off-by: Alexey Brodkin Cc: Marek Vasut --- board/synopsys/axs101/axs101.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/synopsys/axs101/axs10

[U-Boot] [PATCH] arc/cache: Flush & invalidate all caches right before enabling IOC

2016-06-09 Thread Alexey Brodkin
g our best flushing and invalidating it. Signed-off-by: Alexey Brodkin --- arch/arc/lib/cache.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arc/lib/cache.c b/arch/arc/lib/cache.c index a27499e..b6ec831 100644 --- a/arch/arc/lib/cache.c +++ b/arch/arc/lib/cache.c @@ -209,6 +209

[U-Boot] [PATCH] arc/cache: really do invalidate_dcache_all() even if IOC exists

2016-06-09 Thread Alexey Brodkin
hrough DMA we need to care ourselves about data used only by CPU cores and so remove dependency on IOC from invalidate_dcache_all() and always do real invalidation. Signed-off-by: Alexey Brodkin --- arch/arc/lib/cache.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ar

[U-Boot] [PATCH] arc: Update data accessors with use of memory barriers

2016-06-09 Thread Alexey Brodkin
corruptions. This implementation was heavily borrowed from up to date Linux kernel. Signed-off-by: Alexey Brodkin --- arch/arc/include/asm/io.h | 95 +++ 1 file changed, 79 insertions(+), 16 deletions(-) diff --git a/arch/arc/include/asm/io.h b/arch/arc/include

[U-Boot] [PATCH] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
65 74 40 65 30 30 31 38 fdtcontret@e0018 --->8 Source of hexdump.c was copied from Linux kernel v4.7-rc2. Signed-off-by: Alexey Brodkin --- include/common.h | 57 + include/linux/compat.h | 1 - lib/Kconfig| 5 + lib/Makefile

Re: [U-Boot] [PATCH] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
Hi Stefan, On Fri, 2016-06-10 at 12:39 +0200, Stefan Roese wrote: > Hi Alexey, > > On 10.06.2016 12:30, Alexey Brodkin wrote: > > > > Often during debugging session it's very interesting to see > > what data we were dealing with. For example what we wri

[U-Boot] [PATCH 0/2 v2] Introduce hexdump

2016-06-10 Thread Alexey Brodkin
gges as v2 Cc: Stefan Roese Cc: Tom Rini Alexey Brodkin (2): linux-compat: Use original kern_levels.h for kernel debug levels lib: Add hexdump Changes v1 -> v2: * Introduced linux/kern_levels.h so KERNEL_XXX symbols are really defined * Move hexdump definitions to a separate header.

[U-Boot] [PATCH 1/2] linux-compat: Use original kern_levels.h for kernel debug levels

2016-06-10 Thread Alexey Brodkin
ation to introduction of a real implementation of print_hex_dump() we need those symbols to be defined as something real so we're taking them as they are from Linux kernel. Signed-off-by: Alexey Brodkin Cc: Stefan Roese Cc: Tom Rini --- Changes v1 -> v2: * This patch was only introduc

[U-Boot] [PATCH 2/2] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
.. --->8 Source of hexdump.c was copied from Linux kernel v4.7-rc2. Signed-off-by: Alexey Brodkin Reviewed-by: Stefan Roese Cc: Tom Rini --- Changes v1 -> v2: * Move hexdump definitions to a separate header. * Move helper funcions to the header so they might be used ev

[U-Boot] [PATCH RESEND 0/2 v2] Introduce hexdump

2016-06-10 Thread Alexey Brodkin
functions. Note even though entire series is tagges as v2 Cc: Stefan Roese Cc: Tom Rini Alexey Brodkin (2): linux-compat: Use original kern_levels.h for kernel debug levels lib: Add hexdump Changes v1 -> v2: * Introduced linux/kern_levels.h so KERNEL_XXX symbols are really defined *

[U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
.. --->8 Source of hexdump.c was copied from Linux kernel v4.7-rc2. Signed-off-by: Alexey Brodkin Reviewed-by: Stefan Roese Cc: Tom Rini --- Changes v1 -> v2: * Move hexdump definitions to a separate header. * Move helper funcions to the header so they might be used ev

[U-Boot] [PATCH RESEND 1/2 v2] linux-compat: Use original kern_levels.h for kernel debug levels

2016-06-10 Thread Alexey Brodkin
ation to introduction of a real implementation of print_hex_dump() we need those symbols to be defined as something real so we're taking them as they are from Linux kernel. Signed-off-by: Alexey Brodkin Cc: Stefan Roese Cc: Tom Rini --- Changes v1 -> v2: * This patch was only introduc

[U-Boot] [PATCH] axs103: Bump CPU frequency from 50MHz to 100MHz

2016-06-10 Thread Alexey Brodkin
In the upcoming release of axs103 v1.1 CPU will run @100MHz which we support with that change. Signed-off-by: Alexey Brodkin --- configs/axs103_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/axs103_defconfig b/configs/axs103_defconfig index aa9bf33

Re: [U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
г. 18:32 пользователь "Langer, Thomas" написал: Hello Alexey, This feature is already available in u-boot, please look for 'print_buffer'. Best regards, Thomas > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Alexey >

Re: [U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
Hi Tom, On Fri, 2016-06-10 at 15:22 -0400, Tom Rini wrote: > On Fri, Jun 10, 2016 at 03:42:31PM +0300, Alexey Brodkin wrote: > > > > > Often during debugging session it's very interesting to see > > what data we were dealing with. For example what we write

Re: [U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
Hi Tom, On Fri, 2016-06-10 at 15:37 -0400, Tom Rini wrote: > On Fri, Jun 10, 2016 at 03:31:30PM +, Langer, Thomas wrote: > > > > > Hello Alexey, > > > > This feature is already available in u-boot, please look for 'print_buffer'. > > ... make this a candidate for moving over to the linux ke

Re: [U-Boot] [PATCH RESEND 1/2 v2] linux-compat: Use original kern_levels.h for kernel debug levels

2016-06-13 Thread Alexey Brodkin
Hi Tom, On Fri, 2016-06-10 at 15:20 -0400, Tom Rini wrote: > On Fri, Jun 10, 2016 at 03:42:30PM +0300, Alexey Brodkin wrote: > > > > Even currently in U-Boot we don't really use kernel debug levels > > we do have quite a lot of code that was copy-pasted from Linux

[U-Boot] Please pull ARC changes

2016-06-13 Thread Alexey Brodkin
fc1e8fbbb2ea73139c2eadf2f174d6c3fc4ee03f:   axs103: Bump CPU frequency from 50MHz to 100MHz (2016-06-13 14:38:05 +0200) Alexey Brodkin (5):   arc/cache: really do invalidate_dcache_all() even if IOC exists   arc/cache: Flush & invalidate all caches r

Re: [U-Boot] arc: axs103 compile broken ?

2016-06-14 Thread Alexey Brodkin
Hi Heiko, On Tue, 2016-06-14 at 07:07 +0200, Heiko Schocher wrote: > Hello Sjoerd, > > as I just write a tbot testcase, which checks patches, which moves > a config option to Kconfig, I tested also to compile arc boards, and > the first try immediately failed with: > > pollux:u-boot-dxr2 hs [mas

Re: [U-Boot] arc: axs103 compile broken ?

2016-06-15 Thread Alexey Brodkin
Hi Simon, On Wed, 2016-06-15 at 18:39 -0600, Simon Glass wrote: > Hi Alexey, > > On 14 June 2016 at 01:15, Alexey Brodkin wrote: > > > > Hi Heiko, > > > > On Tue, 2016-06-14 at 07:07 +0200, Heiko Schocher wrote: > > > > > > Hello Sjoerd,

[U-Boot] [PATCH] arc: Use "-mcpu=archs" instead of deprecated "-marchs" for ARC HS

2016-06-16 Thread Alexey Brodkin
Newer ARC toolchains don't support "-marchs" option any longer. Instead "-mcpu=archs" should be used. What's also important older toiolchains that support ARC HS cores will also happily accept "-mcpu=archs" so that's a very safe move. Signed-off-by

[U-Boot] [PATCH] net: designware: Make driver independent from DM_GPIO again

2016-06-27 Thread Alexey Brodkin
that's the case for Synopsys AXS10x boards) we're shielding all DM_GPIO things by ifdefs. Signed-off-by: Alexey Brodkin Cc: Simon Glass Cc: Beniamino Galvani Cc: Joe Hershberger Cc: Sjoerd Simons Cc: Sonic Zhang Cc: Bin Meng Cc: Marek Vasut --- drivers/net/designware.c | 10 +++

[U-Boot] [PATCH] splash: Introduce default_splash_locations

2016-07-01 Thread Alexey Brodkin
well. Signed-off-by: Alexey Brodkin Cc: Nikita Kiryanov Cc: Simon Glass Cc: Jeroen Hofstee Cc: Anatolij Gustschin Cc: Robert Winkler --- common/splash.c | 30 +- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/common/splash.c b/common/splash.c index

[U-Boot] [PATCH] splash: Accommodate DM_USB in splash_init_usb()

2016-07-01 Thread Alexey Brodkin
Current implementation of splash_init_usb() requires usb_stor_scan() which doesn't exist in case of DM_USB simply because real probing happens right in usb_init(). So disable usage of usb_stor_scan() in case of DM_USB. Signed-off-by: Alexey Brodkin Cc: Nikita Kiryanov Cc: Simon Glas

Re: [U-Boot] [PATCH] net: designware: Make driver independent from DM_GPIO again

2016-07-04 Thread Alexey Brodkin
Hi Joe, On Mon, 2016-06-27 at 13:17 +0300, Alexey Brodkin wrote: > Commit 90b7fc924adf "net: designware: support phy reset device-tree > bindings" made DW GMAC driver dependent on DM_GPIO by unconditional > usage of purely DM_GPIO stuff like: >  * dm_gpio_XXX() >

[U-Boot] Please pull ARC changes

2016-07-04 Thread Alexey Brodkin
oot-arc.git  for you to fetch changes up to c7dea6e259d68cc0645daf3fe2188e077748ef9e:   arc: make global_data.h usable in assembly files (2016-07-04 11:43:41 +0300) ------------ Alexey Brodkin (2):   arc: Use "-mcpu=archs" in

[U-Boot] Wandboard: u-boot.img is getting too large

2016-07-04 Thread Alexey Brodkin
Hello, Recently I started to notice that u-boot.img built for Wandboard by some toolchains becomes so large that it basically overlaps with U-Boot environment area on SD-card. According to  http://wiki.wandboard.org/index.php/Boot-process#sdcard_boot_data_layout Wandboard's SD-card layout is as f

Re: [U-Boot] Wandboard: u-boot.img is getting too large

2016-07-04 Thread Alexey Brodkin
Hi Wolfgang, On Tue, 2016-07-05 at 08:11 +0200, Wolfgang Denk wrote: Dear Alexey, In message <1467694422.3144.32.ca...@synopsys.com> you wrote: According to http://wiki.wandboard.org/index.php/Boot-process#sdcard_boot_data_layout Wandboard's SD-c

[U-Boot] Please pull ARC changes

2016-04-21 Thread Alexey Brodkin
/cache: really do flush_dcache_all() even if IOC exists (2016-04-21 20:09:59 +0300) Alexey Brodkin (1):   arc/cache: really do flush_dcache_all() even if IOC exists  arch/arc/lib/cache.c | 7 ++-  1 file changed, 2 insertions

Re: [U-Boot] [PATCH] arc/cache: really do flush_dcache_all() even if IOC exists

2016-04-21 Thread Alexey Brodkin
Hi, On Mon, 2016-04-18 at 13:28 +0300, Alexey Brodkin wrote: > flush_dcache_all() is used in the very end of U-Boot self relocation > to write back all copied and then patched code and data to their > new location in the very end of available memory space. > > Since that has not

Re: [U-Boot] Unaligned flush_dcache_range in axs101.c

2016-05-26 Thread Alexey Brodkin
Hi Marek, On Fri, 2016-04-15 at 15:49 +0200, Marek Vasut wrote: > On 04/15/2016 03:00 PM, Alexey Brodkin wrote: > > Cache management functions should be implemented per arch or platform and so > > that they match requirements of underlying hardware. If hardware may only > &

[U-Boot] [PATCH] arc: Use -mcpu=XXX instead of obsolete -marcXXX

2016-09-16 Thread Alexey Brodkin
With newer ARC tools old way of CPU specification gets obsolete, so we're switching to newer and more common way of setting "-mcpu". Signed-off-by: Alexey Brodkin Cc: Anton Kolesov --- arch/arc/config.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -

[U-Boot] Please pull ARC changes

2016-09-16 Thread Alexey Brodkin
r you to fetch changes up to 7c8d81605302e7d7fdd3e7d8eb69302bddc64a2c:   arc: Use -mcpu=XXX instead of obsolete -marcXXX (2016-09-16 12:12:26 +0300) Alexey Brodkin (1):   arc: Use -mcpu=XXX instead of obsolete -marcXXX  arc

[U-Boot] [PATCH] wandboard: move environment partition farther from u-boot.img

2016-07-09 Thread Alexey Brodkin
U-Boot and the first real partition on the SD-card. This patch will follow 8fb9eea5653796 ("mx6sabre_common: Fix U-Boot corruption after 'saveenv'"). So env is still not in the very end of the gap (obviously 256kb is way too much for U-Boot's env) but at least we have now the same p

Re: [U-Boot] [PATCH] wandboard: move environment partition farther from u-boot.img

2016-07-10 Thread Alexey Brodkin
Hi Otavio, On Sat, 2016-07-09 at 10:02 -0300, Otavio Salvador wrote: > On Sat, Jul 9, 2016 at 9:42 AM, Alexey Brodkin > wrote: > > > > Recently I started to notice that u-boot.img built for Wandboard > > by some toolchains becomes so large that it basically overlaps wit

Re: [U-Boot] [PATCH 1/3] usb: add CONIFG_USB_OHCI_HCD in Kconfig

2016-08-01 Thread Alexey Brodkin
Hi Masahiro-san, On Sun, 2016-07-31 at 18:24 +0900, Masahiro Yamada wrote: > Add this option as a common config for all OHCI controllers.  Its > help message was copied from Linux.  Also, I moved it below EHCI > to respect the order in Linux's Kconfig. > > Add CONFIG_USB_OHCI_HCD=y to axs103_defc

[U-Boot] [PATCH] arc: Add debug messages during relocation fixups

2016-08-04 Thread Alexey Brodkin
This might be useful to make sure relocation fixups really happen. And since this info gets printed only in DEBUG build it doesn't really hurt normal execution. Signed-off-by: Alexey Brodkin --- arch/arc/lib/relocate.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/ar

[U-Boot] [PATCH] arc: Update exception & interrupt handling for ARCv2

2016-08-04 Thread Alexey Brodkin
implemented properly and extened to all possible 240 items. Signed-off-by: Alexey Brodkin --- arch/arc/cpu/arcv2/ivt.S | 31 ++- arch/arc/lib/interrupts.c | 26 ++ arch/arc/lib/ints_low.S | 28 3 files changed, 72

[U-Boot] [PATCH] arc: No need in sections defined in sources with newer tools

2016-08-04 Thread Alexey Brodkin
Starting from arc-2016.03 GNU tools linker properly works with symbols defined in linker script and so external declarations are no longer required, dump them. Signed-off-by: Alexey Brodkin --- arch/arc/cpu/u-boot.lds | 51 +++-- arch/arc/include/asm

<    1   2   3   4   5   6   7   8   >