[U-Boot] [PATCH] drivers/mmc/dw_mmc - remove extra arch specific asm/arch/clk.h inclusion

2013-07-15 Thread Alexey Brodkin
1. No contents of asm/arch/clk.h is used within dw_mmc.c. 2. If arch doesn't have asm/arch/clk.h driver won't build. Without mentioned inclusion dw_mmc driver could be built for arches other than ARM. For ARM driver still builds without it. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc

[U-Boot] [PATCH] drivers/net/designware - fix alignment of buffer descriptors

2013-09-25 Thread Alexey Brodkin
sure all buffer descriptors are 128-bit aligned. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- drivers/net/designware.c | 6 +- drivers/net/designware.h | 7 +++ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index

[U-Boot] [PATCH] drivers/net/designware - respect bus mode register contents on SW reset

2013-09-25 Thread Alexey Brodkin
-off-by: Alexey Brodkin abrod...@synopsys.com --- drivers/net/designware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 46f6601..f11cb0b 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -112,7

[U-Boot] [PATCH v2] drivers/net/designware - fix alignment of buffer descriptors

2013-09-25 Thread Alexey Brodkin
of structure itself to 16-byte boundary forces buffer descriptoprs always to be 4-byte aligned that causes driver complete disfunction if GMAC bus width is 64 or 128-bit. Proposed change makes sure all buffer descriptors are 16-byte (128-bit) aligned. Signed-off-by: Alexey Brodkin abrod...@synopsys.com

Re: [U-Boot] [PATCH v2] drivers/net/designware - fix alignment of buffer descriptors

2013-09-26 Thread Alexey Brodkin
On 09/26/2013 09:26 AM, Mischa Jonker wrote: Vipin wrote: I have also faced this problem before. May be a better solution is to place all the struct and buffer declarations at the very start of dw_eth_dev structure (off-course with a comment that these should not be moved). It may avoid the

[U-Boot] [PATCH] drivers/block/systemace: fixes read/write words for bus width = 8

2013-01-02 Thread Alexey Brodkin
From: Alexey Brodkin abrod...@synopsys.com Current implementation works fine for bus width = 16 bits because we never get into if branch. If one sets width to 8 bits there will be 2 consequent data accesses (read/write): 1. Correct data access for 8-bit bus 2. Unconditional (and in this case

[U-Boot] [PATCH] drivers/block/systemace: replaced in16/out16 with more common readw/writew macros

2013-01-02 Thread Alexey Brodkin
makes it possible to build this driver for virtually any architecture. Signed-off-by: Alexey Brodkin alexey.brod...@gmail.com --- drivers/block/systemace.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/systemace.c b/drivers/block/systemace.c index

[U-Boot] [PATCH V2] drivers/block/systemace - added missing else in ace_writew

2013-01-03 Thread Alexey Brodkin
behavior of SystemAce controller. Addition of else fixes described issue and execution is done as expected for both (8-bit and 16-bit) data bus widths. Signed-off-by: Alexey Brodkin alexey.brod...@gmail.com --- drivers/block/systemace.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion

[U-Boot] [PATCH] drivers/block/systemace - fixed data type in systemace_read to match prototype in block_dev_desc_t

2013-01-03 Thread Alexey Brodkin
it's good to have types in function implementation that match exactly with prototypes. Signed-off-by: Alexey Brodkin alexey.brod...@gmail.com --- drivers/block/systemace.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/systemace.c b/drivers/block/systemace.c

[U-Boot] [PATCH v3] net/designware: make driver compatible with data cache

2014-01-22 Thread Alexey Brodkin
From: Alexey Brodkin alexey.brod...@synopsys.com Up until now this driver only worked with data cache disabled. To make it work with enabled data cache following changes were required: * Flush Tx/Rx buffer descriptors their modification * Invalidate Tx/Rx buffer descriptors before reading its

[U-Boot] [PATCH v2] net/designware - switch driver to phylib usage

2014-01-22 Thread Alexey Brodkin
no need now in doc/README.designware_eth because user only needs to instantiate the driver with designware_initialize whose prototype exists in include/netdev.h. Prerequisites are: 1) http://patchwork.ozlabs.org/patch/313326/ 2) http://patchwork.ozlabs.org/patch/309764/ Signed-off-by: Alexey Brodkin

Re: [U-Boot] [PATCH v3] net/designware: make driver compatible with data cache

2014-01-22 Thread Alexey Brodkin
Hi Mischa, On Wed, 2014-01-22 at 17:10 +, Mischa Jonker wrote: Hello Alexey, In general, a very nice, clean patch. + /* Flush modified buffer descriptor */ + flush_dcache_range((unsigned long)desc_p, + (unsigned long)desc_p + sizeof(struct dmamacdescr));

[U-Boot] [PATCH 0/9] Add support for the ARC700 architecture

2014-01-28 Thread Alexey Brodkin
-arc-processors/toolchain/releases/download/arc-4.8-R2/arc_gnu_4.8-R2_prebuilt_uclibc_le_rhel6_install.tar.gz For Debian-based distros: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-4.8-R2/arc_gnu_4.8-R2_prebuilt_uclibc_le_ubuntu_install.tar.gz Alexey

[U-Boot] [PATCH 2/9] arc: add cpu files

2014-01-28 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com --- arch/arc/config.mk | 31 + arch/arc/cpu/arc700/Makefile | 13 ++ arch/arc/cpu/arc700/cache.c | 161 arch

[U-Boot] [PATCH 1/9] arc: add architecture header files

2014-01-28 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com --- arch/arc/include/asm/arch-arc700/hardware.h | 0 arch/arc/include/asm/arcregs.h | 324 arch/arc/include/asm/bitops.h

[U-Boot] [PATCH 5/9] arc: add support for standalone programs

2014-01-28 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com --- examples/standalone/stubs.c | 13 + 1 file changed, 13 insertions(+) diff --git a/examples/standalone/stubs.c b/examples/standalone/stubs.c index

[U-Boot] [PATCH 3/9] arc: add library functions

2014-01-28 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com --- arch/arc/lib/Makefile | 9 arch/arc/lib/bootm.c| 106 arch/arc/lib/relocate.c | 74

[U-Boot] [PATCH 9/9] arc: add README for architecture

2014-01-28 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com --- doc/README.ARC | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 doc/README.ARC diff --git a/doc/README.ARC b/doc

[U-Boot] [PATCH 4/9] arc: bdinfo and image support

2014-01-28 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com --- common/cmd_bdinfo.c | 18 ++ common/image.c | 1 + include/image.h | 1 + 3 files changed, 20 insertions(+) diff --git a/common

[U-Boot] [PATCH 7/9] arc: add AXS101 board support

2014-01-28 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com --- board/synopsys/axs101/Makefile | 8 ++ board/synopsys/axs101/axs101.c | 61 +++ board/synopsys/axs101/nand.c | 224

[U-Boot] [PATCH 6/9] arc: add Arcangel4 board support

2014-01-28 Thread Alexey Brodkin
Prerequisite is http://patchwork.ozlabs.org/patch/300901/ Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com --- board/synopsys/arcangel4/Makefile| 7 +++ board/synopsys/arcangel4/arcangel4.c | 25

[U-Boot] [PATCH 8/9] arc: add architecture to MAKEALL

2014-01-28 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com --- MAKEALL | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAKEALL b/MAKEALL index 562071a..54b0d89 100755 --- a/MAKEALL +++ b/MAKEALL @@ -529,6 +529,12

Re: [U-Boot] [PATCH 1/9] arc: add architecture header files

2014-01-29 Thread Alexey Brodkin
Hello Heiko, On Wed, 2014-01-29 at 06:44 +0100, Heiko Schocher wrote: Hello Alexey, Thanks for your patches, more or less just nitpicking comments ... Thanks for prompt review. Am 29.01.2014 00:09, schrieb Alexey Brodkin: Signed-off-by: Alexey Brodkinabrod...@synopsys.com No commit

Re: [U-Boot] [PATCH 1/9] arc: add architecture header files

2014-01-29 Thread Alexey Brodkin
Hello Heiko, On Wed, 2014-01-29 at 10:04 +0100, Heiko Schocher wrote: Maybe this site helps you: http://www.denx.de/wiki/view/U-Boot/Patches#Attributing_Code_Copyrights_Sign Indeed I even went through this readme a while ago but didn't pay enough attention to it on submission. The

[U-Boot] [PATCH v2 1/9] arc: add architecture header files

2014-01-29 Thread Alexey Brodkin
of designware_i2c driver which refers to asm/arch/hardware.h. It would be good to fix mentioned driver sometime soon but it will cause changes in ARM board configs that use designware_i2c. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois

[U-Boot] [PATCH v2 5/9] arc: add support for standalone programs

2014-01-29 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com No changes for v2. --- examples/standalone/stubs.c | 13 + 1 file changed, 13 insertions(+) diff --git a/examples/standalone/stubs.c b/examples

[U-Boot] [PATCH v2 3/9] arc: add library functions

2014-01-29 Thread Alexey Brodkin
-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Changes for v2: * Added commit message * Added borrowed from Linux optimized string routines * Added explicit mention of files borrowed from Linux sources with reference

[U-Boot] [PATCH v2 4/9] arc: bdinfo and image support

2014-01-29 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com No changes for v2. --- common/cmd_bdinfo.c | 18 ++ common/image.c | 1 + include/image.h | 1 + 3 files changed, 20 insertions(+) diff

[U-Boot] [PATCH v2 9/9] arc: add README for architecture

2014-01-29 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com No changes for v2. --- doc/README.ARC | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 doc/README.ARC diff --git a/doc

[U-Boot] [PATCH v2 8/9] arc: add architecture to MAKEALL

2014-01-29 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com No changes for v2. --- MAKEALL | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAKEALL b/MAKEALL index 562071a..54b0d89 100755 --- a/MAKEALL +++ b

[U-Boot] [PATCH v2 7/9] arc: add AXS101 board support

2014-01-29 Thread Alexey Brodkin
AXS101 is a new generation of devlopment boards from Synopsys that houses ASIC with ARC700 and lots of DesignWare peripherals: * DW APB UART * DW Mobile Storage (MMC/SD) * DW I2C * DW GMAC Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc

[U-Boot] [PATCH v2 2/9] arc: add cpu files

2014-01-29 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com No changes for v2. --- arch/arc/config.mk | 31 + arch/arc/cpu/arc700/Makefile | 13 ++ arch/arc/cpu/arc700/cache.c | 161

[U-Boot] [PATCH v2 6/9] arc: add Arcangel4 board support

2014-01-29 Thread Alexey Brodkin
Arcangel4 is a FPGA-based development board that is used for prototyping and verificationof of both ARC hardware (CPUs) and software running upon CPU. Prerequisite is http://patchwork.ozlabs.org/patch/300901/ Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon

[U-Boot] [PATCH v2 0/9] Add support for the ARC700 architecture

2014-01-29 Thread Alexey Brodkin
for v2: * Deleted unused empty file asm/processor.h * Added borrowed from Linux optimized string routines * Added commit messages for most of patches * Added explicit mention of files borrowed from Linux sources with reference to versoin/commit in Linux git repository Alexey Brodkin (9): arc

Re: [U-Boot] [PATCH v2 1/9] arc: add architecture header files

2014-01-30 Thread Alexey Brodkin
Hello Wolfgang, On Wed, 2014-01-29 at 20:54 +0100, Wolfgang Denk wrote: Dear Alexey Brodkin, In message 1391011745-22239-2-git-send-email-abrod...@synopsys.com you wrote: These are header files used by ARC700 architecture. ... +/* Build Configuration Registers */ +#define

Re: [U-Boot] [PATCH v2 7/9] arc: add AXS101 board support

2014-01-30 Thread Alexey Brodkin
Hello Wolfgang, On Wed, 2014-01-29 at 21:09 +0100, Wolfgang Denk wrote: Dear Alexey Brodkin, In message 1391011745-22239-8-git-send-email-abrod...@synopsys.com you wrote: AXS101 is a new generation of devlopment boards from Synopsys that houses ASIC with ARC700 and lots of DesignWare

Re: [U-Boot] [PATCH v2 2/9] arc: add cpu files

2014-01-30 Thread Alexey Brodkin
Hello Wolfgang, On Wed, 2014-01-29 at 21:06 +0100, Wolfgang Denk wrote: Dear Alexey Brodkin, In message 1391011745-22239-3-git-send-email-abrod...@synopsys.com you wrote: Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard

Re: [U-Boot] [PATCH v2 7/9] arc: add AXS101 board support

2014-01-31 Thread Alexey Brodkin
Hello Wolfgang, On Fri, 2014-01-31 at 00:13 +0100, Wolfgang Denk wrote: Dear Alexey, In message 1391088984.3518.35.ca...@abrodkin-8560l.internal.synopsys.com you wrote: +#defineCONFIG_HOSTNAME axs101 +#defineCONFIG_ETHADDR

Re: [U-Boot] [PATCH v2 1/9] arc: add architecture header files

2014-01-31 Thread Alexey Brodkin
Hello Wolfgang, On Fri, 2014-01-31 at 00:10 +0100, Wolfgang Denk wrote: Dear Alexey, In message 1391088780.3518.33.ca...@abrodkin-8560l.internal.synopsys.com you wrote: As it is clearly mentioned in commit message arcregs.h came from Linux sources and that's why kept as it was. You

Re: [U-Boot] [PATCH v2 7/9] arc: add AXS101 board support

2014-01-31 Thread Alexey Brodkin
Hello Wolfgang, On Fri, 2014-01-31 at 18:49 +0100, Wolfgang Denk wrote: Dear Alexey, In message 1391179745.4721.36.camel@abrodkin-8560l you wrote: Understood. I removed all my network parameters and will take a duty of cleaning up other configs. thanks in advance. The question

[U-Boot] [PATCH v3 1/9] arc: add architecture header files

2014-02-03 Thread Alexey Brodkin
designware_i2c. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- Changes for v3: * Clean-up of headers copied form Linux kernel and other

[U-Boot] [PATCH v3 0/9] Add support for the ARC700 architecture

2014-02-03 Thread Alexey Brodkin
modificatoin so both endianesses could be used for testing and debugging. * Common board init functionality moved from boards to cpu sources. Each patch that follows has detailed description of its changes. Alexey Brodkin (9): arc: add architecture header files arc: add cpu files arc: add

[U-Boot] [PATCH v3 3/9] arc: add library functions

2014-02-03 Thread Alexey Brodkin
-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- Changes for v3: * Mostly cosmetics in string routines. * Moved declaration of __text_end to asm/sections.h. arch/arc

[U-Boot] [PATCH v3 4/9] arc: bdinfo, image and arc-specific init functions declarations support

2014-02-03 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- Changes for v3: * Added inclusion of u-boot-arc.h in common.h. common/cmd_bdinfo.c | 18

[U-Boot] [PATCH v3 2/9] arc: add cpu files

2014-02-03 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- Changes for v3: * Fixed checkpatch.pl errors. * All AUX regs were moved into one header

[U-Boot] [PATCH v3 7/9] arc: add AXS101 board support

2014-02-03 Thread Alexey Brodkin
AXS101 is a new generation of devlopment boards from Synopsys that houses ASIC with ARC700 and lots of DesignWare peripherals: * DW APB UART * DW Mobile Storage (MMC/SD) * DW I2C * DW GMAC Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois

[U-Boot] [PATCH v3 9/9] arc: add README for architecture

2014-02-03 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- No changes for v3. doc/README.ARC | 27 +++ 1 file changed, 27 insertions

[U-Boot] [PATCH v3 8/9] arc: add architecture to MAKEALL

2014-02-03 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- No changes for v3. MAKEALL | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAKEALL b

[U-Boot] [PATCH v3 6/9] arc: add Arcangel4 board support

2014-02-03 Thread Alexey Brodkin
(arcangel4-be) Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- Changes for v3: * Added big-endian flavour of the board. * Common board init code moved

[U-Boot] [PATCH v3 5/9] arc: add support for standalone programs

2014-02-03 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- No changes for v3. examples/standalone/stubs.c | 13 + 1 file changed, 13 insertions

Re: [U-Boot] [PATCH v3 6/9] arc: add Arcangel4 board support

2014-02-03 Thread Alexey Brodkin
Hello Wolfgang, On Mon, 2014-02-03 at 20:15 +0100, Wolfgang Denk wrote: Dear Alexey Brodkin, In message 1391445368-10545-7-git-send-email-abrod...@synopsys.com you wrote: Arcangel4 is a FPGA-based development board that is used for prototyping and verification of of both ARC hardware

Re: [U-Boot] [PATCH v3 7/9] arc: add AXS101 board support

2014-02-03 Thread Alexey Brodkin
Hello Wolfgang, On Mon, 2014-02-03 at 20:19 +0100, Wolfgang Denk wrote: +/* + * I2C configuration + */ +#define CONFIG_HARD_I2C1 +#define CONFIG_DW_I2C 1 ... +#define CONFIG_I2C_MULTI_BUS 1 ... Please do not define values for

[U-Boot] [PATCH v4 4/9] arc: bdinfo, image and arc-specific init functions declarations support

2014-02-04 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- No changes for v4. common/cmd_bdinfo.c | 18 ++ common/image.c | 1

[U-Boot] [PATCH v4 3/9] arc: add library functions

2014-02-04 Thread Alexey Brodkin
These are library functions used by ARC700 architecture. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- No changes for v4. arch/arc/lib/Makefile

[U-Boot] [PATCH v4 1/9] arc: add architecture header files

2014-02-04 Thread Alexey Brodkin
designware_i2c. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- No changes for v4. arch/arc/include/asm/arch-arc700/hardware.h | 10 ++ arch/arc

[U-Boot] [PATCH v4 0/9] Add support for the ARC700 architecture

2014-02-04 Thread Alexey Brodkin
for v4: * Clean-up of board configurations. Each patch that follows has detailed description of its changes. Alexey Brodkin (9): arc: add architecture header files arc: add cpu files arc: add library functions arc: bdinfo, image and arc-specific init functions declarations support

[U-Boot] [PATCH v4 5/9] arc: add support for standalone programs

2014-02-04 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- Changes for v4: * Clean-up of EXPORT_FUNC for ARC. examples/standalone/stubs.c | 13

[U-Boot] [PATCH v4 2/9] arc: add cpu files

2014-02-04 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- No changes for v4. arch/arc/config.mk | 31 + arch/arc/cpu/arc700/Makefile

[U-Boot] [PATCH v4 6/9] arc: add Arcangel4 board support

2014-02-04 Thread Alexey Brodkin
Arcangel4 is a FPGA-based development board that is used for prototyping and verificationof of both ARC hardware (CPUs) and software running upon CPU. This board avaialble in 2 flavours: * Little-endian (arcangel4) * Big-endian (arcangel4-be) Signed-off-by: Alexey Brodkin abrod...@synopsys.com

[U-Boot] [PATCH v4 8/9] arc: add architecture to MAKEALL

2014-02-04 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- No changes for v4. MAKEALL | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAKEALL b

[U-Boot] [PATCH v4 9/9] arc: add README for architecture

2014-02-04 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- No changes for v4. doc/README.ARC | 27 +++ 1 file changed, 27 insertions

[U-Boot] [PATCH v4 7/9] arc: add AXS101 board support

2014-02-04 Thread Alexey Brodkin
AXS101 is a new generation of devlopment boards from Synopsys that houses ASIC with ARC700 and lots of DesignWare peripherals: * DW APB UART * DW Mobile Storage (MMC/SD) * DW I2C * DW GMAC Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois

Re: [U-Boot] [PATCH v4 0/9] Add support for the ARC700 architecture

2014-02-06 Thread Alexey Brodkin
On Tue, 2014-02-04 at 12:56 +0400, Alexey Brodkin wrote: This patch series adds support for the Synopsys DesignWare ARC700 architecture. Any chance to get this series (its 4th re-spin) reviewed/commented/accepted? Regards, Alexey ___ U-Boot mailing

Re: [U-Boot] serial/serial_arc - add driver for ARC UART

2014-02-07 Thread Alexey Brodkin
Hello Tom, On Fri, 2014-02-07 at 08:35 -0500, Tom Rini wrote: On Fri, Dec 13, 2013 at 10:35:11AM +0400, Alexey Brodkin wrote: Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x Signed-off-by: Alexey Brodkin abrod

Re: [U-Boot] [PATCH v4 0/9] Add support for the ARC700 architecture

2014-02-07 Thread Alexey Brodkin
Dear Tom. On Fri, 2014-02-07 at 08:36 -0500, Tom Rini wrote: On Tue, Feb 04, 2014 at 12:56:12PM +0400, Alexey Brodkin wrote: I've applied the series to u-boot/master. But please note that with the toolchain links above, MAKEALL doesn't agree that axs101 builds without error (but doing

[U-Boot] [PATCH 2/2] serial/serial_arc: switch from {read|write}l to {read|write}b accessors

2014-02-07 Thread Alexey Brodkin
This is required for proper functionality on big-endian targets. Memory-mapped registres of ARC UART are not 32-bit words but 8-bit bytes so on little-endian target either acessor (_l or _b) works fine. On big-endian only _b accessors works as expected. Signed-off-by: Alexey Brodkin abrod

[U-Boot] [PATCH 1/2] serial/serial_arc: add work-around of ISS bug

2014-02-07 Thread Alexey Brodkin
Explanation is in in-lined comment. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Noam Camus no...@ezchip.com Cc: Tom Rini tr...@ti.com --- drivers/serial/serial_arc.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers

[U-Boot] [PATCH 0/2] Post-mainline updates of serial_arc driver

2014-02-07 Thread Alexey Brodkin
that are required for propoer driver operation in: * Simulation * On big-endian machines Alexey Brodkin (2): serial/serial_arc: add work-around of ISS bug serial/serial_arc: switch from {read|write}l to {read|write}b accessors drivers/serial/serial_arc.c | 30

[U-Boot] [PATCH] axs101: fix dw gmac instantiation for updated dw gmac driver

2014-02-07 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- board/synopsys/axs101/axs101.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/synopsys/axs101/axs101.c b/board/synopsys/axs101/axs101.c index 4dbeaea..d1271ff 100644 --- a/board/synopsys/axs101/axs101.c +++ b/board

[U-Boot] [PATCH] axs101: change command prompt marker to match marketing name of the board

2014-02-07 Thread Alexey Brodkin
Proper spelling of the boad marketing name is with upper case. So changing it from lower case to upper case here. Cc: Tom Rini tr...@ti.com Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- include/configs/axs101.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH] env: disable CONFIG_ETHADDR CONFIG_IPADDR

2014-02-09 Thread Alexey Brodkin
and CONFIG_NETMASK - they make no sense without CONFIG_IPADDR. If this change is acceptable on the next step whether as a separate follow-up patch or v2 re-spin I may do a clean-up of existing configs. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Tom Rini tr

[U-Boot] [PATCH 2/3] designware_i2c: remove inclusion of asm/arch/hardware.h

2014-02-10 Thread Alexey Brodkin
Kumar vipin.ku...@st.com Cc: Armando Visconti armando.visco...@st.com Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- drivers/i2c/designware_i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c/designware_i2c.c index 9ed9295..5a78a36 100644

[U-Boot] [PATCH 3/3] arc: remove hardware.h

2014-02-10 Thread Alexey Brodkin
This file was only required for compilation of designware_i2c driver. Since explicit inclusion of hardware.h is now removed from the driver we may safely remove this empty header as well. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Tom Rini tr...@ti.com Cc: Heiko Schocher h

[U-Boot] [PATCH 0/3] Make designware_i2c driver platform independent

2014-02-10 Thread Alexey Brodkin
Currently DW I2C driver required a target platform to have asm/arch/hardware.h file. This file doesn't exist for most of platforms so it would be good to remove this requirement. Alexey Brodkin (3): spear: move CONFIG_SYS_I2C_BASE from arch-spear/hardware to board configs

[U-Boot] [PATCH 1/3] spear: move CONFIG_SYS_I2C_BASE from arch-spear/hardware to board configs

2014-02-10 Thread Alexey Brodkin
Having CONFIG_SYS_I2C_BASE requires DW I2C driver to explicitly include arch/hardware.h which other platforms may not have at all. It's always good to have a driver platform-independent. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Tom Rini tr...@ti.com Cc: Heiko Schocher h

Re: [U-Boot] pre-compiled ARC gcc

2014-02-18 Thread Alexey Brodkin
Hello Masahiro-san, On Tue, 2014-02-18 at 19:04 +0900, Masahiro Yamada wrote: Hello Alexey, Can I download ARC gcc from somewhere? I prefer a pre-built one. I want to build all boards over all architectures. Indeed there're pre-built versions of tools for ARC. Please look here:

[U-Boot] [PATCH] arc: fix relocation for big-endian target

2014-02-18 Thread Alexey Brodkin
swapping. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Tom Rini tr...@ti.com cc: Noam Camus no...@ezchip.com --- arch/arc/lib/relocate.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arc/lib/relocate.c b/arch/arc/lib/relocate.c

Re: [U-Boot] pre-compiled ARC gcc

2014-02-19 Thread Alexey Brodkin
Hello Masahiro-san, On Wed, 2014-02-19 at 17:23 +0900, Masahiro Yamada wrote: Hello Alexey, So for Debian/Ubuntu host you need following. Little-endian toolchain:

Re: [U-Boot] [PATCH] axs101: fix dw gmac instantiation for updated dw gmac driver

2014-02-21 Thread Alexey Brodkin
On Sat, 2014-02-08 at 10:24 +0400, Alexey Brodkin wrote: With accepted change to DW GMAC driver - 92a190aaab3536d695c51e0739f925910eb49889 (net/designware - switch driver to phylib usage) we need to update this board because designware_initialize now accepts only 2 parameters instead of 4

Re: [U-Boot] [PATCH 0/2] Post-mainline updates of serial_arc driver

2014-02-21 Thread Alexey Brodkin
On Sat, 2014-02-08 at 10:10 +0400, Alexey Brodkin wrote: serial_arc driver didn't exist in U-Boot Master branch until supoort of ARC700 architecture was accepted yesterday. Because of that there was no way to apply pathes to initially approved version searial_arc driver. So now when

[U-Boot] U-Boot git repo for ARC architecture

2014-02-21 Thread Alexey Brodkin
Hi Tom, I'm wondering if there's a chance to setup a separate git repo for ARC architecture next to other arches on http://git.denx.de/? This way I won't bother you any more with ARC-specific patches and will manage my ARC tree myself. Regards, Alexey

[U-Boot] [PATCH] sizes.h - consolidate for all architectures

2014-02-26 Thread Alexey Brodkin
Copied from Linux sources include/linux/sizes.h commit 413541dd66d51f791a0b169d9b9014e4f56be13c Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Tom Rini tr...@ti.com Cc: Stefan Roese s...@denx.de Cc: Albert Aribaud albert.u.b...@aribaud.net --- arch

[U-Boot] [PATCH] examples: select libgcc for non-default architecture

2014-05-15 Thread Alexey Brodkin
for this but not for examples. So fixing it now. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Masahiro Yamada yamad...@jp.panasonic.com Cc: Tom Rini tr...@ti.com --- examples/standalone/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/standalone/Makefile b

[U-Boot] [PATCH v2] examples: select libgcc for non-default architecture

2014-05-16 Thread Alexey Brodkin
for this but not for examples. So fixing it now. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Masahiro Yamada yamad...@jp.panasonic.com Cc: Tom Rini tr...@ti.com Cc: Wolfgang Denx w...@denx.de --- v2 copies functoinality for libgcc selection from main Makefile. This takes care

[U-Boot] [PATCH v3] examples: select libgcc for non-default architecture

2014-05-16 Thread Alexey Brodkin
for this but not for examples. So fixing it now. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Masahiro Yamada yamad...@jp.panasonic.com Cc: Tom Rini tr...@ti.com Cc: Wolfgang Denx w...@denx.de --- In v3 we export PLATFORM_LIBGCC from the main Makefile and use it for examples --- Makefile

[U-Boot] [PATCH] tb100 - add Abilis TB100 board

2014-05-21 Thread Alexey Brodkin
Development board for headless gateway platform from Abilis Systems. Initial commit with working UART and DW GMAC. For now with generic Ethernet PHY due to problems in Realtek PHY driver. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Christian

[U-Boot] [PATCH] ARC: enable CONFIG_SYS_BOOT_RAMDISK_HIGH

2014-05-24 Thread Alexey Brodkin
This enables relocation of initrd to the end of available DDR before Linux kernel start-up as it is done in other architectures. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- arch/arc/include/asm/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arc/include/asm/config.h

[U-Boot] please pull u-boot-arc master

2014-05-27 Thread Alexey Brodkin
to 7f6a6db638f6375255abb198d32c8917f8c031e9: tb100 - add Abilis TB100 board (2014-05-27 18:22:24 +0400) Alexey Brodkin (1): tb100 - add Abilis TB100 board board/abilis/tb100/Makefile | 7 + board/abilis/tb100/tb100.c | 23

Re: [U-Boot] [PATCH] ARC: enable CONFIG_SYS_BOOT_RAMDISK_HIGH

2014-06-03 Thread Alexey Brodkin
Hello, On Sat, 2014-05-24 at 12:17 +0400, Alexey Brodkin wrote: This enables relocation of initrd to the end of available DDR before Linux kernel start-up as it is done in other architectures. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- arch/arc/include/asm/config.h | 1 + 1

[U-Boot] please pull u-boot-arc master

2014-06-03 Thread Alexey Brodkin
to d119a2ef7fb3c10b01c64a7da8f3906691166efe: ARC: enable CONFIG_SYS_BOOT_RAMDISK_HIGH (2014-06-03 16:16:57 +0400) Alexey Brodkin (1): ARC: enable CONFIG_SYS_BOOT_RAMDISK_HIGH arch/arc/include/asm/config.h | 1 + 1 file changed, 1 insertion

Re: [U-Boot] DCache in designware.c brakes bf609-ezkit board build

2014-06-26 Thread Alexey Brodkin
Hi Vasili, On Wed, 2014-06-25 at 15:38 +0300, Vasili Galka wrote: Hi Alexey, Your commit 50b0df814b0f75c08a3d45a017016a75af3edb5d caused drivers/net/designware.c to be dependent on dcache functionality, e.g. invalidate_dcache_range(). This brakes build for configurations that don't have

[U-Boot] [PATCH] mmc/dwmmc: remove recursive FIFO threshold setup

2013-11-26 Thread Alexey Brodkin
a situation when kernel driver gets DW MMC unexpectedly configured by U-Boot. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Alim Akhtar alim.akh...@samsung.com Cc: Rajeshwari Shinde rajeshwar...@samsung.com Cc: Jaehoon Chung jh80.ch...@samsung.com Cc

Re: [U-Boot] [PATCH] mmc/dwmmc: remove recursive FIFO threshold setup

2013-11-27 Thread Alexey Brodkin
Hi Pantelis, Indeed this is bogus. What is the reset value of the fifoth register? Below is a description for the register in question with default values specified. -- FIFO Threshold Watermark Register -- x

[U-Boot] [PATCH v2] mmc/dwmmc: modify FIFO threshold only if value explicitly set

2013-11-27 Thread Alexey Brodkin
if any particular SoC requires it Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Alim Akhtar alim.akh...@samsung.com Cc: Rajeshwari Shinde rajeshwar...@samsung.com Cc: Jaehoon Chung jh80.ch...@samsung.com Cc: Amar amarendra...@samsung.com Cc: Kyungmin

[U-Boot] [PATCH] board_f: explicitly disable console on early boot

2013-11-27 Thread Alexey Brodkin
. In its turn it will cause attempt to output things to non-initialized yet serial console. So for safety and predictability we set gd-have_console = 0. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s

Re: [U-Boot] [PATCH] board_f: explicitly disable console on early boot

2013-11-28 Thread Alexey Brodkin
On Wed, 2013-11-27 at 18:43 -0700, Simon Glass wrote: I have a similar patch locally, but it actually does memset() on the whole structure. Some archs handle this setup differently. For example both ARM and x86 now allocate it in low level code so there is no need for the board_f code to

Re: [U-Boot] [PATCH v2 4/4] cmd_eeprom: bug fix for i2c read/write

2013-11-28 Thread Alexey Brodkin
On Thu, 2013-11-28 at 10:47 +0800, Kuo-Jung Su wrote: From: Kuo-Jung Su dant...@faraday-tech.com The local pointer of address (i.e., addr) only gets referenced in SPI mode, and it won't be appropriate to pass only 1 bytes addr[1] to i2c_read/i2c_write while CONFIG_SYS_I2C_EEPROM_ADDR_LEN

[U-Boot] [PATCH] dwmmc: make driver usable for non-exynos platforms

2013-11-28 Thread Alexey Brodkin
-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Alexey Brodkin abrod...@synopsys.com Cc: Jaehoon Chung jh80.ch...@samsung.com Cc: Andy Fleming aflem...@gmail.com Cc: Alim Akhtar alim.akh...@samsung.com Cc: Rajeshwari Shinde rajeshwar...@samsung.com Cc: Simon Glass s

Re: [U-Boot] [PATCH] dwmmc: make driver usable for non-exynos platforms

2013-11-28 Thread Alexey Brodkin
Hi Jaehoon, On Fri, 2013-11-29 at 12:46 +0900, Jaehoon Chung wrote: Hi, Alexey, I didn't know exactly which version is used this register. I known this register is used only the exynos series. I have checked the IP version 2.70a, but CLKSEL(0x9c) wasn't used at general register map. If

Re: [U-Boot] [PATCH v2 4/4] cmd_eeprom: bug fix for i2c read/write

2013-11-29 Thread Alexey Brodkin
Hi Kuo-Jung, On Fri, 2013-11-29 at 08:59 +0800, Kuo-Jung Su wrote: No it's a common misunderstanding, I also made the same mistake before. Please check my bug fix for Faraday FTI2C010 I2C driver: http://patchwork.ozlabs.org/patch/294732/ The address should be rebuild inside the i2c driver

  1   2   3   4   5   6   7   8   >