[U-Boot] [PATCH] arc: Fine-tune implementation of memory barriers

2018-02-21 Thread Alexey Brodkin
supported in EM family. 2. Still if there's no dedicated instruction for memory barrier let's at least insert compile-time barrier to make sure compiler deosn't reorder critical memory operations. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- arch/arc/include/asm

[U-Boot] Please pull ARC changes

2018-06-21 Thread Alexey Brodkin
. Alexey Brodkin (1): ARC: EMDK: Add readme board/synopsys/emdk/README | 82 ++ 1 file changed, 82 insertions(+) create mode 100644 board/synopsys/emdk/README -Alexey

[U-Boot] [PATCH] ARC: EMDK: Add readme

2018-06-21 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- board/synopsys/emdk/README | 82 ++ 1 file changed, 82 insertions(+) create mode 100644 board/synopsys/emdk/README diff --git a/board/synopsys/emdk/README b/board/synopsys/emdk/README new file mode 100644 index

[U-Boot] [PATCH] ARC: AXS10x/HSDK: Use our own version of mkimage

2018-07-29 Thread Alexey Brodkin
Since U-Boot tools are being built anyways it's much nicer to use them instead of relying on some of them bein installed on build host (which might easily not be the case). Signed-off-by: Alexey Brodkin --- board/synopsys/axs10x/config.mk | 2 +- board/synopsys/hsdk/config.mk | 2 +- 2 files

[U-Boot] [PATCH] ARC: Enable unaligned access in hardware if compiler uses it

2018-07-29 Thread Alexey Brodkin
: 0xbfd59c78 r20: 0xbfd58d40 | r21: 0xbfd58d44 r22: 0x r23: 0x | r24: 0xbfd59ba8 | Resetting CPU ... Now we're checking for __ARC_UNALIGNED__ define emitted by the compiler if it's going to use unaligned access and then we force-enable it in hardware too. Signed-off-by: Alexey Brodkin

[U-Boot] Please pull ARC changes or 2018.09-rc2

2018-07-30 Thread Alexey Brodkin
Alexey Brodkin (3): ARC: AXS10x/HSDK: Use our own version of mkimage HSDK: Fixes and improvements in README ARC: Enable unaligned access in hardware if compiler uses it Eugeniy Paltsev (4): GPIO: CREG: improve flexibility of hsdk-creg-gpio

[U-Boot] [PATCH] EMDK: Enable bootelf

2018-08-06 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- configs/emdk_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/emdk_defconfig b/configs/emdk_defconfig index e3bccd234fcd..f283a9c9b3c6 100644 --- a/configs/emdk_defconfig +++ b/configs/emdk_defconfig @@ -10,7 +10,6 @@ CONFIG_VERSION_VARIABLE

Re: [U-Boot] [PATCH] serial: ns16550: Add register shift variable

2018-07-15 Thread Alexey Brodkin
Hi Tom, Felix, all > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Saturday, July 14, 2018 6:50 PM > To: Wolfgang Denk > Cc: Felix Brack ; u-boot@lists.denx.de; Stefan Roese > ; Alexey Brodkin ; > Alexander Graf ; Michal Simek > Subj

Re: [U-Boot] [PATCH] serial: ns16550: Add register shift variable

2018-07-17 Thread Alexey Brodkin
Hi Alexander, Tom, > -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Tuesday, July 17, 2018 4:33 PM > To: Tom Rini > Cc: Wolfgang Denk ; Felix Brack ; > u-boot@lists.denx.de; Stefan Roese ; Alexey Brodkin > ; Michal Simek > Subject: Re:

Re: [U-Boot] [PATCH v2] serial: ns16550: Add register shift variable

2018-07-17 Thread Alexey Brodkin
Hi Felix, > -Original Message- > From: Felix Brack [mailto:f...@ltec.ch] > Sent: Tuesday, July 17, 2018 3:13 PM > To: Alexander Graf ; Lokesh Vutla ; > u-boot@lists.denx.de > Cc: Wolfgang Denk ; Tom Rini ; Marek Vasut > ; Patrice Chotard > ; Michal Simek ;

Re: [U-Boot] [PATCH v2 5/5] Kconfig: Sort bool, default, select and imply options

2018-07-23 Thread Alexey Brodkin
Hi Michal, On Mon, 2018-07-23 at 15:55 +0200, Michal Simek wrote: > Another round of sorting Kconfig entries aplhabetically. > > Signed-off-by: Michal Simek > --- > > Changes in v2: None [snip] > arch/arc/Kconfig | 10 +----- Ack

Re: [U-Boot] [PATCH] serial: ns16550: Add register shift variable

2018-07-16 Thread Alexey Brodkin
Hi Felix, > -Original Message- > From: Felix Brack [mailto:f...@ltec.ch] > Sent: Sunday, July 15, 2018 5:02 PM > To: Alexey Brodkin ; Tom Rini > > Cc: u-boot@lists.denx.de; Stefan Roese ; Alexander Graf > ; Michal Simek ; > Wolfgang Denk > Subject: Re: [U-Bo

[U-Boot] Please pull last minute ARC fixes

2018-09-05 Thread Alexey Brodkin
Alexey Brodkin (1): EMDK: Enable bootelf Eugeniy Paltsev (1): ARC: HSDK: Fix timer frequency value arch/arc/dts/hsdk.dts | 2 +- configs/emdk_defconfig | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) Regards, Alexey

Re: [U-Boot] [PATCH v2 1/2] SPI Flash: add support of sst26wf* flash series

2018-04-04 Thread Alexey Brodkin
Hi Jagan, On Wed, 2018-04-04 at 19:13 +0530, Jagan Teki wrote: > On Mon, Mar 26, 2018 at 4:38 PM, Eugeniy Paltsev > wrote: > > sst26wf flash series block protection implementation differs > > from other SST series, so add implementation for sst26wf > >

[U-Boot] Please pull ARC fixes for RC3

2018-04-17 Thread Alexey Brodkin
Hi Tom, The following changes since commit 8c0a17be0a632b9a823e14628c42f85c3e64f08e: Prepare v2018.05-rc2 (2018-04-16 20:00:14 -0400) are available in the Git repository at: git://git.denx.de/u-boot-arc.git tags/arc-for-2018.05-rc3 for you to fetch changes up to

Re: [U-Boot] [uboot-snps-arc] [PATCH v2 0/2] SF: add support for sst26wf016, sst26wf032, sst26wf064

2018-03-30 Thread Alexey Brodkin
Hi Jagan, On Mon, 2018-03-26 at 14:08 +0300, Eugeniy Paltsev wrote: > Add support for the SST sst26wf016, sst26wf032 and sst26wf064 flash IC: > > sst26wf*** flash series block protection implementation differs from other > SST series, so we add implementation for sst26wf*** lock/unlock/is_locked

Re: [U-Boot] [PATCH v2 2/2] ARC: HSDK: enable spi flash support

2018-03-26 Thread Alexey Brodkin
Hi Eugeniy, On Mon, 2018-03-26 at 15:57 +0300, Eugeniy Paltsev wrote: > HSDK board has sst26wf016 spi flash IC which we want to support. > > Add SPI controller, CS-gpio and SPI flash nodes to hsdk device tree. > Enable corresponding options in hsdk defconfig. > > Signed-off-by: Eugeniy Paltsev

Re: [U-Boot] [uboot-snps-arc] [PATCH v2 0/2] SF: add support for sst26wf016, sst26wf032, sst26wf064

2018-03-26 Thread Alexey Brodkin
Hi Jagan, On Mon, 2018-03-26 at 14:08 +0300, Eugeniy Paltsev wrote: > Add support for the SST sst26wf016, sst26wf032 and sst26wf064 flash IC: > > sst26wf*** flash series block protection implementation differs from other > SST series, so we add implementation for sst26wf*** lock/unlock/is_locked

[U-Boot] [PATCH] Makefile: Disable stack-usage check for ARC

2018-04-02 Thread Alexey Brodkin
get clean buildman output we're disabling stack-usage check for ARC. See https://lists.denx.de/pipermail/u-boot/2018-April/324455.html for more background. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Masahiro Yamada <yamada.masah...@socionext.com> Cc: Tom Rini <tr..

[U-Boot] Please pull ARC changes for 2018.05

2018-04-02 Thread Alexey Brodkin
/ Alexey Brodkin (1): ARC: Bump ARC tools used in TravisCI to the most recent release arc-2017.09 Eugeniy Paltsev (3): ARC: AXS10x: DTS: Remove unused interrupt properties ARC: HSDK: Add platform-specific commands

[U-Boot] [PATCH] ARC: Bump ARC tools used in TravisCI to the most recent release arc-2017.09

2018-04-02 Thread Alexey Brodkin
This is much more recent version of ARC tools based on GCC 7.1.1 and Binutils 2.29. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6cad65fd378d..d83a5e63329a

Re: [U-Boot] [PATCH] Makefile: Disable stack-usage check for ARC

2018-04-03 Thread Alexey Brodkin
Hi Tom, On Tue, 2018-04-03 at 16:25 -0400, Tom Rini wrote: > On Tue, Apr 03, 2018 at 08:21:06PM +0000, Alexey Brodkin wrote: > > Hi Tom, > > > > On Tue, 2018-04-03 at 16:17 -0400, Tom Rini wrote: > > > On Mon, Apr 02, 2018 at 12:18:02PM +0300, Alexey Brodkin wrote

Re: [U-Boot] [PATCH] Makefile: Disable stack-usage check for ARC

2018-04-03 Thread Alexey Brodkin
Hi Tom, On Tue, 2018-04-03 at 16:17 -0400, Tom Rini wrote: > On Mon, Apr 02, 2018 at 12:18:02PM +0300, Alexey Brodkin wrote: > > > With the most recent tools for ARC (arc-2017.09) in case of > > "naked" function compiler throws a warning: > > --

Re: [U-Boot] [PATCH v2 1/2] ARC: HSDK: add platform-specific commands

2018-03-30 Thread Alexey Brodkin
Hi Tom, On Mon, 2018-03-26 at 15:57 +0300, Eugeniy Paltsev wrote: > This patch add support of hsdk platform-specific commands: > > hsdk_clock set - set clock from axi_freq, cpu_freq and tun_freq > environment variables/command line arguments > > hsdk_clock get - save clock frequencies to

Re: [U-Boot] [PATCH] Makefile: Disable stack-usage check for ARC

2018-04-04 Thread Alexey Brodkin
Hi Tom, On Tue, 2018-04-03 at 16:49 -0400, Tom Rini wrote: > On Tue, Apr 03, 2018 at 08:27:20PM +0000, Alexey Brodkin wrote: > > Hi Tom, > > > > On Tue, 2018-04-03 at 16:25 -0400, Tom Rini wrote: > > > On Tue, Apr 03, 2018 at 08:21:06PM +, Alexey

Re: [U-Boot] [PATCH 0/5] DW SPI: fixes and improvements

2018-03-21 Thread Alexey Brodkin
Hi Jagan, On Thu, 2018-03-22 at 00:04 +0530, Jagan Teki wrote: > On Tue, Mar 13, 2018 at 8:44 PM, Jagan Teki wrote: > > On Mon, Mar 5, 2018 at 6:47 PM, Eugeniy Paltsev > > wrote: > > > Various fixes and improvements of designware spi

Re: [U-Boot] [PATCH v2 0/5] DW SPI: fixes and improvements

2018-03-22 Thread Alexey Brodkin
Cool,thanks! -Alexey On Thu, 2018-03-22 at 23:42 +0530, Jagan Teki wrote: > On Thu, Mar 22, 2018 at 11:05 PM, Alexey Brodkin > <alexey.brod...@synopsys.com> wrote: > > Hi Jagan, > > > > On Thu, 2018-03-22 at 23:03 +0530, Jagan Teki wrote: > > > On Thu, M

Re: [U-Boot] [PATCH v2 0/5] DW SPI: fixes and improvements

2018-03-22 Thread Alexey Brodkin
Hi Jagan, On Thu, 2018-03-22 at 23:03 +0530, Jagan Teki wrote: > On Thu, Mar 22, 2018 at 4:20 PM, Eugeniy Paltsev > wrote: > > Various fixes and improvements of designware spi driver. > > > > Changes v1->v2: > > * Use readl_poll_timeout macros instead of custom

Re: [U-Boot] [PATCH] ARC: HSDK: add platform-specific commands

2018-03-22 Thread Alexey Brodkin
ps,dw-apb-ssi"; > + reg = <0xf002 0x1000>; > + #address-cells = <1>; > + #size-cells = <0>; > + spi-max-frequency = <400>; > + clocks = <_clk CLK_SYS_SPI_REF>; > + clock-na

[U-Boot] git clone http://git.denx.de/u-boot-arc.git doesn't work

2018-03-21 Thread Alexey Brodkin
Hello, For some reason git clone fails if HTTP URL is used [at least for ARC's U-Boot tree]. See: --->8--- git clone http://git.denx.de/u-boot-arc.git Cloning into 'u-boot-arc'... warning: alternate disabled by http.followRedirects:

Re: [U-Boot] [PATCH 2/2] ARC: HSDK: add platform-specific commands

2018-03-23 Thread Alexey Brodkin
Hi Eugeniy, Please populate commit message with brief explanation of what kind of functionality is added by that change and why it is needed in the first place. On Fri, 2018-03-23 at 15:35 +0300, Eugeniy Paltsev wrote: > Signed-off-by: Eugeniy Paltsev > --- >

[U-Boot] Please pull ARC changes

2018-03-23 Thread Alexey Brodkin
-arc.git for you to fetch changes up to f665c14f04d225597cd3cb0c6faa35ddc2a1b2df: ARC: bootm: Refactor GO and PREP subcommands implementation (2018-03-23 15:57:51 +0300) Alexey Brodkin (5): arc: Get rid of handwritten string

Re: [U-Boot] Please pull ARC changes

2018-03-23 Thread Alexey Brodkin
Hi Tom, On Fri, 2018-03-23 at 09:33 -0400, Tom Rini wrote: > On Fri, Mar 23, 2018 at 01:23:53PM +0000, Alexey Brodkin wrote: > > > Hi Tom, > > > > This is the first batch of ARC changes for the next release. > > > > Here we: > > 1. Signif

Re: [U-Boot] [RFC] ns16550: Add support for AUX regs usage on some ARC SoCs

2018-03-02 Thread Alexey Brodkin
Hi Simon, On Thu, 2018-02-22 at 10:29 -0700, Simon Glass wrote: > Hi Alexey, > > On 22 February 2018 at 09:23, Alexey Brodkin > <alexey.brod...@synopsys.com> wrote: > > Hi Simon, > > > > On Thu, 2018-02-22 at 09:17 -0700, Simon Glass wrote: [snip] &

[U-Boot] [PATCH] usb: dwc2: Allow selection of data buffer size

2018-02-28 Thread Alexey Brodkin
. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Marek Vasut <ma...@denx.de> --- drivers/usb/host/Kconfig | 12 drivers/usb/host/dwc2.c | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index

[U-Boot] Please pull ARC changes

2018-10-05 Thread Alexey Brodkin
e for sure. -------- Alexey Brodkin (5): ARC: Don't pre-define CROSS_COMPILE ARC: Add model property to boards .dts ARC: Implement print_cpuinfo() ARC: Enable DISPLAY_CPUINFO & DISPLAY_BOARDINFO arc: Add support for I

[U-Boot] [PATCH] axs10x/emdk/hsdk/iot_dk: Implement board_mmc_getcd()

2018-10-11 Thread Alexey Brodkin
t very clear one: >8--- Loading Environment from FAT... MMC: no card present >8--- Signed-off-by: Alexey Brodkin --- board/synopsys/axs10x/axs10x.c | 7 +++ board/synopsys/emdk/emdk.c

[U-Boot] [PATCH] iot_dk: Save CPU clock value to gd->cpu_clk

2018-10-11 Thread Alexey Brodkin
Since gd->cpu_clk is a global item we may once populate it from .dtb ans use it then in other places like for printing CPU info etc. Signed-off-by: Alexey Brodkin --- board/synopsys/iot_devkit/iot_devkit.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/bo

[U-Boot] [PATCH] iot_dk: Add localversion string

2018-10-11 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- configs/iot_devkit_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/iot_devkit_defconfig b/configs/iot_devkit_defconfig index 1f0f9c3..0c5aba3 100644 --- a/configs/iot_devkit_defconfig +++ b/configs/iot_devkit_defconfig @@ -6,6 +6,7

[U-Boot] [PATCH 1/2] ARC: make generic print_cpuinfo() weak

2018-10-11 Thread Alexey Brodkin
stead of "ARC HS". Signed-off-by: Alexey Brodkin --- arch/arc/lib/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/lib/cpu.c b/arch/arc/lib/cpu.c index 50cd7cd..a969a16 100644 --- a/arch/arc/lib/cpu.c +++ b/arch/arc/lib/cpu.c @@ -60,7 +60,7 @@ const char *d

[U-Boot] [PATCH 0/2] ARC: Allow per-board more precise CPU identification

2018-10-11 Thread Alexey Brodkin
print them then. Alexey Brodkin (2): ARC: make generic print_cpuinfo() weak iot_dk/hsdk: Implement its own print_cpuinfo() arch/arc/lib/cpu.c | 2 +- board/synopsys/hsdk/hsdk.c | 8 board/synopsys/iot_devkit/iot_devkit.c | 8 3 files changed, 17

[U-Boot] [PATCH] ARC: Don't use COMMON section for global not-initialized variables

2018-10-11 Thread Alexey Brodkin
COMMON section to each and every linker script. Signed-off-by: Alexey Brodkin --- arch/arc/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/config.mk b/arch/arc/config.mk index d255c90..18005d9 100644 --- a/arch/arc/config.mk +++ b/arch/arc/config.mk @@ -43,7

[U-Boot] [PATCH] iot_dk: Link for eFlash

2018-10-11 Thread Alexey Brodkin
That's what we'll have in production. But note it won't work for loading via JTAG as eFlash is not directly writable, one needs to use prebootloader to flash uboot.bin from SD-card into eFlash. Signed-off-by: Alexey Brodkin --- configs/iot_devkit_defconfig | 2 +- 1 file changed, 1 insertion

[U-Boot] [PATCH] iot_dk: Implement board reset

2018-10-11 Thread Alexey Brodkin
It is done by writing some magic sequence in a special register. Signed-off-by: Alexey Brodkin --- board/synopsys/iot_devkit/iot_devkit.c | 8 1 file changed, 8 insertions(+) diff --git a/board/synopsys/iot_devkit/iot_devkit.c b/board/synopsys/iot_devkit/iot_devkit.c index 1d848dd

[U-Boot] [PATCH] iot_dk: Add support of 136 MHz clock

2018-10-11 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- board/synopsys/iot_devkit/iot_devkit.c | 8 1 file changed, 8 insertions(+) diff --git a/board/synopsys/iot_devkit/iot_devkit.c b/board/synopsys/iot_devkit/iot_devkit.c index fb39e6d..04e003c 100644 --- a/board/synopsys/iot_devkit/iot_devkit.c +++ b

[U-Boot] [PATCH 2/2] iot_dk/hsdk: Implement its own print_cpuinfo()

2018-10-11 Thread Alexey Brodkin
ARC IDENTITY register only encodes major architecture type and version while for a particular board/silicon we may know better which template was used and so we may identify CPU more precise, which exactly we do here. Signed-off-by: Alexey Brodkin --- board/synopsys/hsdk/hsdk.c | 8

Re: [U-Boot] [uboot-snps-arc] Please pull ARC changes

2018-10-15 Thread Alexey Brodkin
Hi Tom, Not sure why that duplicate email appeared... Either my mailer became crazy or I'm fatfingering :( Sorry for that! Though I'll re-send a pull-request as I did miss one important patch. -Alexey On Mon, 2018-10-15 at 10:22 +, Alexey Brodkin wrote: > Hi Tom, > > The

[U-Boot] Please pull ARC changes

2018-10-15 Thread Alexey Brodkin
- Print of CPU freq on boot - Link for eFlash etc Alexey Brodkin (9): iot_dk: Add localversion string iot_dk: Disable networking support ARC: make generic print_cpuinfo() weak iot_dk/hsdk: Implement its own

[U-Boot] Please pull ARC changes (fixed re-send)

2018-10-15 Thread Alexey Brodkin
by command - Print of CPU freq on boot - Link for eFlash etc Alexey Brodkin (10): iot_dk: Add localversion string iot_dk: Disable networking support ARC: make generic print_cpuinfo() weak iot_dk/hsdk

[U-Boot] [PATCH] emdk->emsdp: Rename board

2018-10-18 Thread Alexey Brodkin
Real marketing name of the board was recently updated so to accommodate that change renaming the board and all related to it. Signed-off-by: Alexey Brodkin --- arch/arc/Kconfig | 6 +++--- arch/arc/dts/Makefile | 2 +- arch/arc/dts

[U-Boot] Please pull ARC changes

2018-10-12 Thread Alexey Brodkin
- Print of CPU freq on boot - Link for eFlash etc Alexey Brodkin (9): iot_dk: Add localversion string iot_dk: Disable networking support ARC: make generic print_cpuinfo() weak iot_dk/hsdk: Implement its own

[U-Boot] [PATCH] iot_dk: Add README

2018-10-31 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- board/synopsys/iot_devkit/README | 145 +++ 1 file changed, 145 insertions(+) create mode 100644 board/synopsys/iot_devkit/README diff --git a/board/synopsys/iot_devkit/README b/board/synopsys/iot_devkit/README new file mode 100644

[U-Boot] Please pull ARC changes

2018-11-01 Thread Alexey Brodkin
Alexey Brodkin (2): emdk->emsdp: Rename board iot_dk: Add README arch/arc/Kconfig | 6 +++--- arch/arc/dts/Makefile | 2 +- arch/arc/dts/{emdk.dts => ems

[U-Boot] [PATCH] iot_dk: Disable networking support

2018-10-09 Thread Alexey Brodkin
There's no Ethernet controller on the board so no point in having networking support. This also saves us 5.5 kB of precious memory. | # bloat-o-meter u-boot.net u-boot.no_net_regex | tail -1 | Total: Before=127892, After=122334, chg -4.35% Signed-off-by: Alexey Brodkin --- configs

[U-Boot] [PATCH] axs10x/emdk/hsdk/iot_dk: Implement board_mmc_getcd()

2018-10-11 Thread Alexey Brodkin
t very clear one: >8--- Loading Environment from FAT... MMC: no card present >8--- Signed-off-by: Alexey Brodkin --- board/synopsys/axs10x/axs10x.c | 7 +++ board/synopsys/emdk/emdk.c

[U-Boot] [PATCH] ARC: Don't use COMMON section for global not-initialized variables

2018-10-11 Thread Alexey Brodkin
COMMON section to each and every linker script. Signed-off-by: Alexey Brodkin --- arch/arc/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/config.mk b/arch/arc/config.mk index d255c90..18005d9 100644 --- a/arch/arc/config.mk +++ b/arch/arc/config.mk @@ -43,7

[U-Boot] [PATCH] ARC: Don't pre-define CROSS_COMPILE

2018-10-04 Thread Alexey Brodkin
Even though arc-linux- prefix is used in ARC prebuilt tools and in Buildroot there're other options like Linux distro cross-tools etc where prefix is different so let's not rely on this default. Signed-off-by: Alexey Brodkin --- arch/arc/config.mk | 6 -- 1 file changed, 6 deletions

[U-Boot] [PATCH] ARC: Add model property to boards .dts

2018-10-04 Thread Alexey Brodkin
/torvalds/linux.git/commit/?id=618a9cd06dd471ac232f5b27325b24d26eba5571 Signed-off-by: Alexey Brodkin --- arch/arc/dts/abilis_tb100.dts | 2 ++ arch/arc/dts/axs101.dts | 2 ++ arch/arc/dts/axs103.dts | 2 ++ arch/arc/dts/emdk.dts | 2 ++ arch/arc/dts/hsdk.dts | 2 ++ arch

[U-Boot] [PATCH] ARC: Implement print_cpuinfo()

2018-10-04 Thread Alexey Brodkin
Once we enable DISPLAY_CPUINFO for ARC we'll see ARC core family and version printed on boot. Signed-off-by: Alexey Brodkin --- arch/arc/lib/cpu.c | 35 ++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/arch/arc/lib/cpu.c b/arch/arc/lib/cpu.c

[U-Boot] [PATCH] arc: Add support for IoT development kit

2018-10-04 Thread Alexey Brodkin
USB JTAG probe so only micro-USB cable is needed! [1] https://www.synopsys.com/dw/ipdir.php?ds=arc_iot_development_kit [2] https://www.synopsys.com/dw/doc.php/ds/cc/iot_dev_kit.pdf Signed-off-by: Alexey Brodkin --- arch/arc/Kconfig | 5 + arch/arc/dts/Makefile

[U-Boot] [PATCH] ARC: Enable DISPLAY_CPUINFO & DISPLAY_BOARDINFO

2018-10-04 Thread Alexey Brodkin
With implemented print_cpuinfo() and model property in .dts we're ready to print nice info about ARC cores and boards on boot. Signed-off-by: Alexey Brodkin --- common/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index

Re: [U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Wednesday, January 16, 2019 7:19 PM > To: Alexey Brodkin > Cc: u-boot@lists.denx.de; uboot-snps-...@synopsys.com; Michal Simek > ; Simon > Glass > Subject: Re: [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to

[U-Boot] [PATCH v2] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Join the party of some ARM boards and drop more items from include/configs/xxx.h. Signed-off-by: Alexey Brodkin Cc: Michal Simek Cc: Simon Glass Cc: Tom Rini --- Changes in v2: * Default ENV_OFFSET defined specially for ARC but not all configs/emsdp_defconfig | 1 + configs

[U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Join the party of some ARM boards and drop more items from include/configs/xxx.h. Signed-off-by: Alexey Brodkin Cc: Michal Simek Cc: Simon Glass Cc: Tom Rini --- configs/emsdp_defconfig | 1 + configs/iot_devkit_defconfig | 1 + configs/tb100_defconfig | 1 + env/Kconfig

Re: [U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Wednesday, January 16, 2019 7:25 PM > To: Alexey Brodkin > Cc: u-boot@lists.denx.de; uboot-snps-...@synopsys.com; Michal Simek > ; Simon > Glass > Subject: Re: [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to

Re: [U-Boot] [PATCH v3 01/10] Convert CONFIG_BOARD_TYPES to Kconfig

2019-01-16 Thread Alexey Brodkin
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Saturday, January 12, 2019 4:37 AM > To: U-Boot Mailing List > Cc: Simon Glass ; Lukasz Majewski ; Mario > Six ; > Michal Simek ; Alexey Brodkin > ; Eugeniy Paltsev > ; Jaehoon Chung ; Marek >

[U-Boot] [PATCH] serial_arc: Allocate buffer for private data

2019-01-22 Thread Alexey Brodkin
Apparently we never allocated buffer for arc_serial_platdata which for some reason never caused problems when executed in nSIM. But in Qemu this causes expected problems. Signed-off-by: Alexey Brodkin --- drivers/serial/serial_arc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers

[U-Boot] Please pull ARC changes

2018-12-03 Thread Alexey Brodkin
to known ARC core templates 2. Print CPU frequency for all ARC boards 3. Add more board-specific info Alexey Brodkin (6): arc: emsdp: Bump RAM size to 16 Mb ARC: Improve identification of ARC cores arc: Get rid

Re: [U-Boot] [PATCH v3 1/5] Kconfig: Migrate BOUNCE_BUFFER

2018-12-03 Thread Alexey Brodkin
Hi Philipp, On Fri, 2018-11-30 at 22:13 +0100, Philipp Tomsich wrote: > The bounce buffer is used by a few drivers (most of the MMC drivers) > to overcome limitations in their respective DMA implementation. > > This moves the configuration to Kconfig and makes it user-selectable > (even though

Re: [U-Boot] [PATCH v3 5/5] arc: select BOUNCE_BUFFER for CMD_NAND on AXS10x

2018-12-03 Thread Alexey Brodkin
Hi Philipp, On Fri, 2018-11-30 at 22:13 +0100, Philipp Tomsich wrote: > The NAND driver of AXS10x depends on the availability of the bounce > buffer. As the NAND driver is gated by CMD_NAND only, we need to > select BOUNCE_BUFFER conditionally (on CMD_NAND) for TARGET_AXS101 and > TARGET_AXS103.

Re: [U-Boot] [PATCH v3 5/5] arc: select BOUNCE_BUFFER for CMD_NAND on AXS10x

2018-12-03 Thread Alexey Brodkin
Hi Philipp, On Mon, 2018-12-03 at 13:28 +0100, Philipp Tomsich wrote: Alexey, On 03.12.2018, at 12:20, Alexey Brodkin mailto:alexey.brod...@synopsys.com>> wrote: Hi Philipp, On Fri, 2018-11-30 at 22:13 +0100, Philipp Tomsich wrote: The NAND driver of AXS10x depends on the availa

Re: [U-Boot] [PATCH v3 1/5] Kconfig: Migrate BOUNCE_BUFFER

2018-12-03 Thread Alexey Brodkin
Hi Philipp, On Mon, 2018-12-03 at 13:38 +0100, Philipp Tomsich wrote: Alexey, On 03.12.2018, at 13:35, Alexey Brodkin mailto:alexey.brod...@synopsys.com>> wrote: Hi Philipp, On Mon, 2018-12-03 at 13:32 +0100, Philipp Tomsich wrote: Alexey, On 03.12.2018, at 12:17, Alexey B

[U-Boot] [PATCH] travis: Bump ARC tools to arc-2018.09

2018-12-03 Thread Alexey Brodkin
Build tested in Travis, see: https://travis-ci.org/abrodkin/u-boot/jobs/462808237 Signed-off-by: Alexey Brodkin --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a061f02399c0..ed07d817fa47 100644 --- a/.travis.yml +++ b

Re: [U-Boot] [PATCH v3 1/5] Kconfig: Migrate BOUNCE_BUFFER

2018-12-03 Thread Alexey Brodkin
Hi Philipp, On Mon, 2018-12-03 at 13:32 +0100, Philipp Tomsich wrote: Alexey, On 03.12.2018, at 12:17, Alexey Brodkin mailto:alexey.brod...@synopsys.com>> wrote: Hi Philipp, On Fri, 2018-11-30 at 22:13 +0100, Philipp Tomsich wrote: The bounce buffer is used by a few drivers (most of t

Re: [U-Boot] [PATCH 1/6] Kconfig: Migrate BOUNCE_BUFFER

2018-11-30 Thread Alexey Brodkin
Hi Philipp, > -Original Message- > From: Philipp Tomsich [mailto:philipp.toms...@theobroma-systems.com] > Sent: Friday, November 30, 2018 2:40 PM > To: u-boot@lists.denx.de > Cc: Tom Rini ; Philipp Tomsich > ; Mario Six ; > Michal Simek ; Simon Glass ; > Ma

[U-Boot] [PATCH] arc: emsdp: Bump RAM size to 16 Mb

2018-11-26 Thread Alexey Brodkin
On v2 boards that will hit real stock we'll have 16 Mb of RAM. Note on v1 boards (if anybody ever get one out of trash bin) this leads to U-Boot execution freeze in the middle ofthe relocation so don't be surprised. Signed-off-by: Alexey Brodkin --- include/configs/emsdp.h | 2 +- 1 file

[U-Boot] [PATCH 0/5] Improve identification of ARC cores

2018-11-26 Thread Alexey Brodkin
Print more complex information about ARC core we're running on. This includes smarts for ARC core template detection, CPU clock frequency, human-readable board·description etc. Alexey Brodkin (5): ARC: Improve identification of ARC cores arc: Get rid of board-specific print_cpuinfo() arc

[U-Boot] [PATCH 4/5] arc: emsdp: Refactor register and bit accesses

2018-11-26 Thread Alexey Brodkin
Instead of "base + offset" define all registers right away and access them later via direct defines. Generate bit masks with "BIT" macro. Signed-off-by: Alexey Brodkin --- board/synopsys/emsdp/emsdp.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-)

[U-Boot] [PATCH 5/5] arc: devboards: Implement checkboard()

2018-11-26 Thread Alexey Brodkin
This allows us to print nice board name on boot. Signed-off-by: Alexey Brodkin --- board/synopsys/axs10x/axs10x.c | 8 board/synopsys/emsdp/emsdp.c | 10 ++ board/synopsys/hsdk/hsdk.c | 6 ++ 3 files changed, 24 insertions(+) diff --git a/board/synopsys/axs10x

[U-Boot] [PATCH 3/5] arc: emsdp: Read real CPU clock value from hardware

2018-11-26 Thread Alexey Brodkin
to "(void *)". Signed-off-by: Alexey Brodkin --- board/synopsys/emsdp/emsdp.c | 42 +--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/board/synopsys/emsdp/emsdp.c b/board/synopsys/emsdp/emsdp.c index b5ec7f17ec1b..5ab44353746b 100644 -

[U-Boot] [PATCH 1/5] ARC: Improve identification of ARC cores

2018-11-26 Thread Alexey Brodkin
L1 I$ fpr simplicity) - XY-memory - DSP extensions etc. 2. Identify ARC subsystems 3. Print core clock frequency Signed-off-by: Alexey Brodkin --- arch/arc/include/asm/arcregs.h | 25 - arch/arc/lib/cpu.c | 200 + 2 files changed, 204 inserti

[U-Boot] [PATCH 2/5] arc: Get rid of board-specific print_cpuinfo()

2018-11-26 Thread Alexey Brodkin
Since we now do advanced CPU identification in generic ARC code there's no need to have per-board hardcoded data. Signed-off-by: Alexey Brodkin --- board/synopsys/hsdk/hsdk.c | 8 board/synopsys/iot_devkit/iot_devkit.c | 10 -- 2 files changed, 18 deletions

Re: [U-Boot] [PATCH v1 3/4] serial: add an of-platdata driver for "snps, dw-apb-uart"

2019-01-11 Thread Alexey Brodkin
Hi Simon, [snip] > >> +config DESIGNWARE_SERIAL > >> + bool "DesignWare UART support" > >> + depends on DM_SERIAL && SPL_OF_PLATDATA > > > > Might be a bit naïve question but why depend on SPL_OF_PLATDATA only? > > What about CONFIG_OF_EMBED? Ok I completely forgot that standard ns16550

Re: [U-Boot] [PATCH v1 3/4] serial: add an of-platdata driver for "snps, dw-apb-uart"

2019-01-11 Thread Alexey Brodkin
Hi Simon, > -Original Message- > From: Simon Goldschmidt [mailto:simon.k.r.goldschm...@gmail.com] > Sent: Friday, January 11, 2019 11:41 AM > To: Alexey Brodkin > Cc: Patrice Chotard ; Simon Glass > ; Anup Patel > ; Lokesh Vutla ; Patrick Delaunay >

Re: [U-Boot] [PATCH v1 3/4] serial: add an of-platdata driver for "snps, dw-apb-uart"

2019-01-09 Thread Alexey Brodkin
Hi Simon, > -Original Message- > From: Simon Goldschmidt [mailto:simon.k.r.goldschm...@gmail.com] > Sent: Tuesday, January 8, 2019 12:14 AM > To: Marek Vasut > Cc: Simon Goldschmidt ; Patrice Chotard > ; > Simon Glass ; Anup Patel ; Lokesh > Vutla ; > Alexey

[U-Boot] [PATCH] serial: Get rid of CONFIG_DW_SERIAL

2019-01-09 Thread Alexey Brodkin
CONFIG_DW_SERIAL is no longer used anywhere so let's forget about it. Signed-off-by: Alexey Brodkin Cc: Tom Rini Cc: Adam Ford Cc: Mario Six Cc: Tuomas Tynkkynen Cc: Alex Kiernan Cc: Simon Glass Cc: "Jörg Krause" Cc: Stephen Warren --- include/configs/axs10x.h | 1 - inclu

Re: [U-Boot] [PATCH] serial: Get rid of CONFIG_DW_SERIAL

2019-01-14 Thread Alexey Brodkin
Hi Simon, Tom, > -Original Message- > From: Simon Glass [mailto:s...@chromium.org] > Sent: Thursday, January 10, 2019 3:57 PM > To: Alexey Brodkin > Cc: U-Boot Mailing List ; uboot-snps-...@synopsys.com; > Tom Rini > ; Adam Ford ; Mario Six > ; Tuomas Tynkkynen

Re: [U-Boot] [PATCH 2/4] Convert CONFIG_BOARD_TYPES to Kconfig

2018-12-09 Thread Alexey Brodkin
Hi Simon, On Sun, 2018-12-09 at 18:44 -0700, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_BOARD_TYPES > > Signed-off-by: Simon Glass > --- > > arch/arm/mach-exynos/Kconfig | 8 > configs/odroid-xu3_defconfig | 2 +- > configs/odroid_defconfig | 2 +- >

[U-Boot] Please pull ARC changes

2019-01-24 Thread Alexey Brodkin
notable are: * Move of ENV_SIZE/ENV_OFFSET to Kconfig * Fix with private structure allocation for arc_uart * Definition of CONFIG_SYS_CACHELINE_SIZE useful for building drivers Alexey Brodkin (5): serial: Get rid

[U-Boot] [PATCH] ARC: cache: define CONFIG_SYS_CACHELINE_SIZE as ARCH_DMA_MINALIGN

2019-01-22 Thread Alexey Brodkin
Even though we don't use CONFIG_SYS_CACHELINE_SIZE in ARC-specific code it is used a lot in different drivers for alignment purposes. So we define it and make much more drivers at least compilable for ARC. Signed-off-by: Alexey Brodkin --- arch/arc/include/asm/cache.h | 3 +++ 1 file changed

[U-Boot] [PATCH] ARC: Fix iteration in arc_xx_version()

2019-01-22 Thread Alexey Brodkin
"i" gets incremented before we're entering loop body and effectively we iterate from 1 to 8 instead of 0 to 7. This way we: a) Skip the first line of struct hs_versions b) Go over it and access memory beyond the structure Signed-off-by: Alexey Brodkin --- arch/arc/lib/cpu.c | 4 ++

[U-Boot] Please pull ARC last minute changes for 2019.04

2019-03-28 Thread Alexey Brodkin
-ci.org/abrodkin/u-boot/builds/512041342 Alexey Brodkin (1): hsdk: readme: Suggest getting pyelftools with pip Eugeniy Paltsev (1): ARC: AXS10x: drop NAND support board/synopsys/axs10x/Makefile | 1 - board/synopsys

[U-Boot] [PATCH] hsdk: readme: Suggest getting pyelftools with pip

2019-02-18 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin Suggested-by: Yunir Salimzyanov --- board/synopsys/hsdk/README | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/board/synopsys/hsdk/README b/board/synopsys/hsdk/README index e29a6a1727..9155f17c6e 100644 --- a/board/synopsys/hsdk/README

Re: [U-Boot] [uboot-snps-arc] ARC changes for 2019.07

2019-04-18 Thread Alexey Brodkin
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Thursday, April 18, 2019 7:21 PM > To: Alexey Brodkin > Cc: uboot-snps-...@synopsys.com; u-boot@lists.denx.de > Subject: Re: [uboot-snps-arc] [U-Boot] ARC changes for 2019.07 > > On Thu, Apr 18, 2019 at

Re: [U-Boot] [PATCH v1 5/5] CONFIG_SPL_SYS_[DI]CACHE_OFF: add

2019-04-18 Thread Alexey Brodkin
| 4 ++-- For ARC part... Acked-by: Alexey Brodkin ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v1 4/5] CONFIG_SYS_[DI]CACHE_OFF: convert to Kconfig

2019-04-18 Thread Alexey Brodkin
| 8 ++-- Even though I'm ok with ARC changes (which are just rephrases in help message) I'm wondering if we now may finally move both items (for D$ & I$) to a higher level to reduce duplication? Acked-by: Alexey Brodkin ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] ARC changes for 2019.07

2019-04-18 Thread Alexey Brodkin
Hi Tom, The following changes since commit 75ce8c938d39bd22460be66e6bf318bd2410c17b: Merge tag 'u-boot-imx-20190415' of git://git.denx.de/u-boot-imx (2019-04-15 07:31:14 -0400) are available in the Git repository at: git://git.denx.de/u-boot-arc.git tags/arc-for-2019.07 for you to fetch

Re: [U-Boot] [RFC PATCH] net: designware: drop compatible altr, socfpga-stmmac

2019-08-20 Thread Alexey Brodkin
Hi Ralph, > -Original Message- > From: Ralph Siemsen > Sent: Monday, August 19, 2019 9:43 PM > To: u-boot@lists.denx.de; Joe Hershberger ; Alexey > Brodkin > ; Vlad Zakharov > Cc: Ralph Siemsen > Subject: [RFC PATCH] net: designware: drop compatible altr,socf

Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-08-30 Thread Alexey Brodkin
Hi Kever, [snip] > I think this tree does not including this patch, Peng drop it because of > this issue, > so you need to apply this patch in your branch to reproduce the problem. > I have send out V2 patch for this fix with only using 32bit variable Could you please refer me to the

[U-Boot] Please pull ARC fixes for 2019.10-rc4

2019-09-03 Thread Alexey Brodkin
. Alexey Brodkin (3): arc: emsdp: Add initialization of PSRAM arc: libgcc: Import __udivdi3 & __udivmoddi4 to allow 64-bit division arc: emsdp: Add more platform-specific compiler options arch/arc/lib/libgcc2.c

<    2   3   4   5   6   7   8   >