[U-Boot] Pull request: u-boot-blackfin

2015-11-10 Thread Sonic Zhang
Hi Tom, Please pull the following patches for Blackfin from u-boot-blackfin into your tree. Thanks Sonic Zhang The following changes since commit 83bf005710a1e01341de5e2f44a3ce082717e313: arm: at91: reworked meesc board support (2015-11-03 14:21:32 +0100) are available in the git

[U-Boot] Pull request: u-boot-blackfin

2015-02-01 Thread Sonic Zhang
Hi Tom, Please pull the following patches for Blackfin from u-boot-blackfin into your tree. Thanks Sonic Zhang The following changes since commit 28c4dae114c9b94b2ad81d4da716e9fc2cba: Merge branch 'next' of git://git.denx.de/u-boot-video (2015-01-14 16:26:15 -0500) are av

[U-Boot] [PATCH] net: Support DMA threshold mode in DWMAC driver

2015-01-28 Thread Sonic Zhang
From: Sonic Zhang - DMA threshold mode can be selected in board config head file. Signed-off-by: Sonic Zhang --- drivers/net/designware.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 51eff85..bc3c88f 100644 --- a

[U-Boot] [PATCH v3] net: configure DWMAC DMA by default AXI burst length

2015-01-28 Thread Sonic Zhang
From: Sonic Zhang Board can define its own AXI burst length to improve DWMAC DMA performance. v2-changes: - Avoid write burst len register when the Macro is not defined. v3-changes: - Add axi_bus register member to struct eth_dma_regs. Signed-off-by: Sonic Zhang --- drivers/net

[U-Boot] [PATCH v2] net: configure DWMAC DMA by default AXI burst length

2015-01-28 Thread Sonic Zhang
From: Sonic Zhang Board can define its own AXI burst length to improve DWMAC DMA performance. v2-changes: - Avoid write burst len register when the Macro is not defined. Signed-off-by: Sonic Zhang --- drivers/net/designware.c |4 1 file changed, 4 insertions(+) diff --git a/drivers

Re: [U-Boot] [PATCH] net: configure DWMAC DMA by default AXI burst length

2015-01-28 Thread Sonic Zhang
Hi Joe, On Wed, Jan 28, 2015 at 5:42 PM, Joe Hershberger wrote: > On Tue, Jan 27, 2015 at 9:24 PM, Sonic Zhang wrote: >> >> Hi Joe, >> >> On Wed, Jan 28, 2015 at 4:43 AM, Joe Hershberger >> wrote: >> > On Mon, Jan 26, 2015 at 8:54 PM, wrote: >&g

Re: [U-Boot] [PATCH] net: configure DWMAC DMA by default AXI burst length

2015-01-27 Thread Sonic Zhang
Hi Joe, On Wed, Jan 28, 2015 at 4:43 AM, Joe Hershberger wrote: > On Mon, Jan 26, 2015 at 8:54 PM, wrote: >> >> From: Sonic Zhang >> >> Board can define its own AXI burst length to improve DWMAC DMA >> performance. >> >> Signed-off-by: Sonic Zhang

[U-Boot] [PATCH] memmove_wd: copy chunk down from big address if parameter to is larger than from

2014-12-10 Thread Sonic Zhang
From: Sonic Zhang When watchdog is enabled, memmove_wd() always copy chunk up from small address. This damanges overlapped memory data if destination address is smaller than source address. Signed-off-by: Sonic Zhang --- common/image.c | 14 -- 1 file changed, 12 insertions

Re: [U-Boot] [PATCH 1/3 v2] blackfin: rename bfin-twi_i2c driver to adi_i2c

2014-11-16 Thread Sonic Zhang
Hi Keiko, On Mon, Nov 17, 2014 at 2:50 PM, Heiko Schocher wrote: > Hello Sonic Zhang, > > Am 13.11.2014 08:30, schrieb Scott Jiang: > >> Signed-off-by: Scott Jiang >> --- >> drivers/i2c/Makefile |2 +- >> drivers/i2c/

[U-Boot] Pull request: u-boot-blackfin

2014-11-09 Thread Sonic Zhang
Hi Tom, Please pull the following patches for Blackfin from u-boot-blackfin into your tree. Thanks Sonic Zhang The following changes since commit 11ada9225a16ed2d8ddbf0715a2416245a777cbc: Merge branch 'rmobile' of git://www.denx.de/git/u-boot-sh (2014-11-05 13:11:18 -0500) are

Re: [U-Boot] [PATCH v4 1/2] blackfin: convert blackfin board_f and board_r to use generic board init functions

2014-08-31 Thread Sonic Zhang
Hi Michael, On Fri, Aug 29, 2014 at 8:20 PM, Michal Simek wrote: > Hi Sonic > > On 08/07/2014 09:08 AM, Sonic Zhang wrote: >> From: Sonic Zhang >> >> - move blackfin specific cpu init code from blackfin board.c to cpu.c >> - remove blackfin specific board ini

Re: [U-Boot] [PATCH] tools/env: change stripping strategy to allow no-stripping

2014-08-28 Thread Sonic Zhang
> the build if it fails, and does the stripping in place on the final > binary. This allows the logic to work fine if stripping doesn't work, > as it leaves the final binary untouched. > > Signed-off-by: Thomas Petazzoni > Cc: Masahiro Yamada > Cc: Sonic Zhang > --- >

[U-Boot] [PATCH] bfin: the max bfin sdh block count is 127

2014-08-15 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- include/configs/bfin_adi_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h index ea9acf6..07ec5f2 100644 --- a/include/configs/bfin_adi_common.h +++ b/include

Re: [U-Boot] Build broken for bf538f-ezkit board - not enough ram

2014-08-15 Thread Sonic Zhang
Hi Vasili, Applied. Thanks, Sonic On Thu, Aug 14, 2014 at 5:52 PM, Vasili Galka wrote: > Hi Simon, > > On Thu, Aug 14, 2014 at 7:20 AM, Simon Glass wrote: >> >> Hi, >> >> On 12 August 2014 10:12, Vasili Galka wrote: >> > On Sun, Jun 29, 2014 at 6:01 PM, Vasili Galka wrote: >> > >> >> Hi, >>

[U-Boot] [PATCH] bfin: make the CPU macro of LDR target more genenric

2014-08-12 Thread Sonic Zhang
From: Sonic Zhang Remove BFIN from the CPU macro in Makefile. Signed-off-by: Sonic Zhang --- Makefile | 2 +- arch/blackfin/include/asm/config.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 666d291..2da17de 100644

Re: [U-Boot] [PATCH] mmc: set correct block size value in bfin sdh driver

2014-08-12 Thread Sonic Zhang
PING On Wed, Aug 6, 2014 at 6:14 PM, Sonic Zhang wrote: > From: Sonic Zhang > > Wait data transfer till the data end bit other than the data block end > bit is set. > > Signed-off-by: Sonic Zhang > --- > > drivers/mmc/bfin_sdh.c | 7 --- > 1 file changed

[U-Boot] Pull request v2: u-boot-blackfin

2014-08-10 Thread Sonic Zhang
Hi Tom, Please pull the following patches for Blackfin from u-boot-blackfin into your tree. Thanks Sonic Zhang The following changes since commit e76b933e02e1b38e48754c435e9dba1c0deeb3c6: Prepare v2014.10-rc1 (2014-08-06 09:12:58 -0400) are available in the git repository at: git

Re: [U-Boot] Pull request: u-boot-blackfin

2014-08-07 Thread Sonic Zhang
Hi Tom, On Wed, Aug 6, 2014 at 8:38 PM, Tom Rini wrote: > On Mon, Aug 04, 2014 at 09:56:45AM +0800, Sonic Zhang wrote: > >> Hi Tom, >> >> Please pull the following patches for Blackfin from u-boot-blackfin >> into your tree. >> >> Thanks >> >>

[U-Boot] [PATCH v4 1/2] blackfin: convert blackfin board_f and board_r to use generic board init functions

2014-08-07 Thread Sonic Zhang
From: Sonic Zhang - move blackfin specific cpu init code from blackfin board.c to cpu.c - remove blackfin specific board init code and invoke generic board_f fron cpu init entry - rename section name bss_vma to bss_start in order to match the generic board init code - add a fake relocate_code

[U-Boot] [PATCH v4 2/2] support blackfin board initialization in generic board_f

2014-08-07 Thread Sonic Zhang
From: Sonic Zhang - init hardware watchdog if applicable - use CONFIG_SYS_MONITOR_LEN as the gd monitor len for Blackfin - reserve u-boot memory at the top field of the RAM for Blackfin - avoid refer to CONFIG_SYS_MONITOR_LEN, which is not defined by Blackfin Signed-off-by: Sonic Zhang

[U-Boot] [PATCH] mmc: set correct block size value in bfin sdh driver

2014-08-06 Thread Sonic Zhang
From: Sonic Zhang Wait data transfer till the data end bit other than the data block end bit is set. Signed-off-by: Sonic Zhang --- drivers/mmc/bfin_sdh.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/bfin_sdh.c b/drivers/mmc/bfin_sdh.c index bcd6a3e

[U-Boot] Pull request: u-boot-blackfin

2014-08-03 Thread Sonic Zhang
Hi Tom, Please pull the following patches for Blackfin from u-boot-blackfin into your tree. Thanks Sonic Zhang The following changes since commit e1b362f4425209d836f230a872ef2bf04b45de27: boards.cfg : Add maintainers entries for SOCFPGA (2014-07-29 11:51:03 -0400) are available in the git

[U-Boot] [PATCH v3 1/2] blackfin: convert blackfin board_f and board_r to use generic board init functions

2014-08-01 Thread Sonic Zhang
From: Sonic Zhang - move blackfin specific cpu init code from blackfin board.c to cpu.c - remove blackfin specific board init code and invoke generic board_f fron cpu init entry - rename section name bss_vma to bss_start in order to match the generic board init code - add a fake relocate_code

[U-Boot] [PATCH v3 2/2] support blackfin board initialization in generic board_f

2014-08-01 Thread Sonic Zhang
From: Sonic Zhang - init hardware watchdog if applicable - use CONFIG_SYS_MONITOR_LEN as the gd monitor len for Blackfin - reserve u-boot memory at the top field of the RAM for Blackfin - avoid refer to CONFIG_SYS_MONITOR_LEN, which is not defined by Blackfin Signed-off-by: Sonic Zhang

Re: [U-Boot] [PATCH] [blackfin] bf609: add register define required by core B on dual core BF609 processor

2014-07-30 Thread Sonic Zhang
Hi Aaron, Applied. Thanks, Sonic On Wed, Jul 30, 2014 at 3:15 PM, Aaron Wu wrote: > Add register define required by core B on dual core BF609 processor > > Signed-off-by: Aaron Wu > --- > arch/blackfin/include/asm/mach-bf609/BF609_def.h |2 ++ > 1 file changed, 2 insertions(+) > > diff -

[U-Boot] [PATCH v2 1/2] blackfin: convert blackfin board_f and board_r to use generic board init functions

2014-07-29 Thread Sonic Zhang
From: Sonic Zhang - move blackfin specific cpu init code from blackfin board.c to cpu.c - remove blackfin specific board init code and invoke generic board_f fron cpu init entry - rename section name bss_vma to bss_start in order to match the generic board init code - add a fake relocate_code

[U-Boot] [PATCH v2 2/2] support blackfin board initialization in generic board_f

2014-07-29 Thread Sonic Zhang
From: Sonic Zhang - init hardware watchdog if applicable - use CONFIG_SYS_MONITOR_LEN as the gd monitor len for Blackfin - reserve u-boot memory at the top field of the RAM for Blackfin - avoid refer to CONFIG_SYS_MONITOR_LEN, which is not defined by Blackfin Signed-off-by: Sonic Zhang

Re: [U-Boot] [PATCH 2/2] support blackfin board initialization in generic board_f

2014-07-29 Thread Sonic Zhang
Hi Tom, On Tue, Jul 29, 2014 at 8:33 PM, Tom Rini wrote: > On Thu, Jul 24, 2014 at 10:47:02AM +0800, Sonic Zhang wrote: >> From: Sonic Zhang >> >> - init hardware watchdog if applicable >> - use CONFIG_SYS_MONITOR_LEN as the gd monitor len for Blackfin >> -

Re: [U-Boot] [PATCH 2/2] support blackfin board initialization in generic board_f

2014-07-28 Thread Sonic Zhang
Hi, Any comment? Regards, Sonic On Thu, Jul 24, 2014 at 10:47 AM, Sonic Zhang wrote: > From: Sonic Zhang > > - init hardware watchdog if applicable > - use CONFIG_SYS_MONITOR_LEN as the gd monitor len for Blackfin > - reserve u-boot memory at the top field of the RAM for Bla

[U-Boot] [PATCH 1/2] blackfin: convert blackfin board_f and board_r to use generic board init functions

2014-07-23 Thread Sonic Zhang
From: Sonic Zhang - move blackfin specific cpu init code from blackfin board.c to cpu.c - remove blackfin specific board init code and invoke generic board_f fron cpu init entry - rename section name bss_vma to bss_start in order to match the generic board init code - add a fake relocate_code

[U-Boot] [PATCH 2/2] support blackfin board initialization in generic board_f

2014-07-23 Thread Sonic Zhang
From: Sonic Zhang - init hardware watchdog if applicable - use CONFIG_SYS_MONITOR_LEN as the gd monitor len for Blackfin - reserve u-boot memory at the top field of the RAM for Blackfin - avoid refer to CONFIG_SYS_MONITOR_LEN, which is not defined by Blackfin Signed-off-by: Sonic Zhang

[U-Boot] Pull request: u-boot-blackfin

2014-02-06 Thread Sonic Zhang
Hi Tom, Please pull the following patches for Blackfin from u-boot-blackfin into your tree. Thanks Sonic Zhang The following changes since commit dbf3de2dd26cae37d16b00b348828c883b658cc5: include/usb/s3c_udc.h: Add (2014-02-06 14:26:05 -0500) are available in the git repository at

[U-Boot] [PATCH 3/4] blackfin: rename bfin-twi_i2c driver to adi_i2c

2014-01-27 Thread Sonic Zhang
From: Sonic Zhang The ADI twi peripheral is not binding to Blackfin processor only. Change to a generic name. Signed-off-by: Sonic Zhang --- arch/blackfin/include/asm/twi.h | 15 +++ drivers/i2c/Makefile | 2 +- drivers/i2c/{bfin-twi_i2c.c

[U-Boot] [PATCH 2/4] blackfin: add spi and i2c specific get clock functions

2014-01-27 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- arch/blackfin/include/asm/blackfin_local.h | 7 --- arch/blackfin/include/asm/clock.h | 11 +++ drivers/i2c/bfin-twi_i2c.c | 3 ++- drivers/spi/bfin_spi.c | 7 --- drivers/spi

[U-Boot] [PATCH 4/4] blackfin: make i2c driver blackfin independant

2014-01-27 Thread Sonic Zhang
From: Scott Jiang The ADI twi peripheral is not binding to Blackfin processor only. Access i2c registers by standard io functions. Fix coding style. Signed-off-by: Scott Jiang Signed-off-by: Sonic Zhang --- drivers/i2c/adi_i2c.c | 151 ++ 1

[U-Boot] [PATCH 1/4] blackfin: the sclk MHz in i2c driver should be divided by 1000 other than 1024

2014-01-27 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- drivers/i2c/bfin-twi_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/bfin-twi_i2c.c b/drivers/i2c/bfin-twi_i2c.c index b3a04d3..5c37280 100644 --- a/drivers/i2c/bfin-twi_i2c.c +++ b/drivers/i2c/bfin

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

2014-01-22 Thread Sonic Zhang
Hi Alexey, I failed to apply your patch on the 2014.01 release head. Regards, Sonic Zhang Applying: net/designware - switch driver to phylib usage /home/sonic/projects/u-boot-blackfin.up/.git/rebase-apply/patch:66: space before tab in indent. u16 val) error: patch

[U-Boot] [PATCH] blackfin: update default config for bf609

2014-01-22 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- include/configs/bf609-ezkit.h | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/include/configs/bf609-ezkit.h b/include/configs/bf609-ezkit.h index 1a43e1b..d97f063 100644 --- a/include/configs/bf609

[U-Boot] [PATCH] blackfin: Initialize the EMAC VLAN with proper default value

2014-01-22 Thread Sonic Zhang
From: Aaron Wu EMAC_VLANx regs is not properly initiallized in u-boot, once it's overwrite in the kernel when DSA enabled, hot reset will lead to bringing up EMAC fail in u-boot. Signed-off-by: Aaron Wu Signed-off-by: Sonic Zhang --- arch/blackfin/include/asm/mach-common/bits/emac.h |

[U-Boot] [PATCH] blackfin: init bss early

2014-01-22 Thread Sonic Zhang
From: Bob Liu Signed-off-by: Bob Liu Signed-off-by: Sonic Zhang --- arch/blackfin/cpu/start.S |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/blackfin/cpu/start.S b/arch/blackfin/cpu/start.S index 90b4d1a..b7c1c3a 100644 --- a/arch/blackfin/cpu/start.S +++ b/arch

[U-Boot] [PATCH] blackfin: Change SMC dcplb entry flag to cover 16M address region

2014-01-22 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- arch/blackfin/lib/board.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c index 392d72d..facbc7a 100644 --- a/arch/blackfin/lib/board.c +++ b/arch/blackfin/lib

[U-Boot] [PATCH] blackfin: The logic of the BF609 macro is opposite.

2014-01-21 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- arch/blackfin/cpu/initcode.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/blackfin/cpu/initcode.h b/arch/blackfin/cpu/initcode.h index 1fec7f3..ab7fa45 100644 --- a/arch/blackfin/cpu/initcode.h +++ b/arch

[U-Boot] Pull request: u-boot-blackfin

2013-12-15 Thread Sonic Zhang
Hi Tom, Please pull the following bug fixing patches from u-boot-blackfin into your tree. Thanks Sonic Zhang The following changes since commit e03c76c30342797a25ef9350e51c8daa0b56f1df: powerpc/mpc85xx: Update CONFIG_SYS_FSL_TBCLK_DIV for T1040 (2013-12-11 11:12:54 -0800) are available in

[U-Boot] [PATCH 6/6] blackfin: remove build warning

2013-12-09 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- arch/blackfin/cpu/initcode.c | 18 ++ arch/blackfin/include/asm/blackfin_local.h |7 +-- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/arch/blackfin/cpu/initcode.c b/arch/blackfin/cpu

[U-Boot] [PATCH 2/6] blackfin: fix building error by adding macro CONFIG_SYS_I2C

2013-12-09 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- include/configs/bf561-ezkit.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/bf561-ezkit.h b/include/configs/bf561-ezkit.h index 404039a..fb6f948 100644 --- a/include/configs/bf561-ezkit.h +++ b/include/configs/bf561

[U-Boot] [PATCH 1/6] blackfin: fix build error by adding CONFIG_BFIN_SERIAL

2013-12-09 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- include/configs/blackvme.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/blackvme.h b/include/configs/blackvme.h index cd37f9a..6e5774c 100644 --- a/include/configs/blackvme.h +++ b/include/configs/blackvme.h @@ -177,6

[U-Boot] [PATCH 4/6] blackfin: fix building error by enlarging the memory size

2013-12-09 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- include/configs/bf561-acvilon.h |2 +- include/configs/cm-bf537e.h |4 ++-- include/configs/cm-bf537u.h |3 ++- include/configs/tcm-bf537.h |3 ++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a

[U-Boot] [PATCH 3/6] blackfin: Disable commands to reduce l1 ram requirement

2013-12-09 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- include/configs/bf506f-ezkit.h |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/configs/bf506f-ezkit.h b/include/configs/bf506f-ezkit.h index 5ad3ee7..eed2d5b 100644 --- a/include/configs/bf506f-ezkit.h

[U-Boot] [PATCH 5/6] blackfin: fixing warning by including proper headers

2013-12-09 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- arch/blackfin/lib/board.c |1 + arch/blackfin/lib/clocks.c |5 - board/bf609-ezkit/bf609-ezkit.c |1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib

[U-Boot] Pull request: u-boot-blackfin

2013-12-06 Thread Sonic Zhang
Hi Tom, Please pull the following patches from u-boot-blackfin into your tree. Thanks Sonic Zhang The following changes since commit f44483b57c49282299da0e5c10073b909cdad979: Merge branch 'serial' of git://git.denx.de/u-boot-microblaze (2013-12-02 08:48:02 -0500) are available

Re: [U-Boot] [PATCH 1/2] blackfin: Do not generate unused header bootrom-asm-offsets.h

2013-12-01 Thread Sonic Zhang
Hi Masahiro, It seems this header is never used any more. Applied, thanks. Sonic On Fri, Nov 29, 2013 at 2:34 PM, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > Hello, Sonic > > Could you check this patch? > > It looks like arch/blckfin/cpu/bootrom-asm-offsets.h > is always

Re: [U-Boot] [PATCH] alsa-lib: dlmisc: Add a fake dl lib head file when dl lib is not supported by the toolchain.

2013-12-01 Thread Sonic Zhang
PING On Mon, Nov 25, 2013 at 3:36 PM, Sonic Zhang wrote: > From: sonic > > The FLAT GNU toolchain doesn't include the dlfcn.h header file. > > Signed-off-by: Sonic Zhang > --- > include/dlmisc.h | 24 > modules/mixer/simple

Re: [U-Boot] [PATCH 2/2] blackfin: Do not generate unused binary init.elf

2013-11-29 Thread Sonic Zhang
NAK Sonic Zhang On Fri, Nov 29, 2013 at 2:34 PM, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > Hello Sonic > > This file too. > It looks like arch/blackfin/cpu/init.elf is not used. > > Please let me know if this file is necessary or not. > &g

[U-Boot] [PATCH] alsa-lib: dlmisc: Add a fake dl lib head file when dl lib is not supported by the toolchain.

2013-11-24 Thread Sonic Zhang
From: sonic The FLAT GNU toolchain doesn't include the dlfcn.h header file. Signed-off-by: Sonic Zhang --- include/dlmisc.h | 24 modules/mixer/simple/sbasedl.c |4 src/mixer/simple_abst.c|4 3 files changed, 32 inser

[U-Boot] [PATCH 1/4 v2] blackfin: Use ADI_GPIO2 driver other than the default ADI_GPIO1

2013-11-24 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- include/configs/cm-bf548.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/cm-bf548.h b/include/configs/cm-bf548.h index 3c9eeb5..7f27eda 100644 --- a/include/configs/cm-bf548.h +++ b/include/configs/cm-bf548.h @@ -118,6

[U-Boot] [PATCH 3/4 v2] blackfin: Add missing macro CONFIG_BFIN_SERIAL

2013-11-24 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- include/configs/bf506f-ezkit.h |1 + include/configs/bf525-ucr2.h |1 + include/configs/bf537-minotaur.h |1 + include/configs/bf537-srv1.h |1 + include/configs/blackstamp.h |1 + include/configs/dnp5370.h

[U-Boot] [PATCH 4/4 v2] blackfin: soft-i2c: No need to define blackfin specific soft i2c operations

2013-11-24 Thread Sonic Zhang
From: Sonic Zhang Use default GPIO operations. Signed-off-by: Sonic Zhang --- include/configs/bf533-stamp.h | 29 ++--- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/include/configs/bf533-stamp.h b/include/configs/bf533-stamp.h index a22c868..f5b9658

[U-Boot] [PATCH 2/4 v2] blackfin: If none ADI_GPIOX macro is defined, use ADI_GPIO1 as default

2013-11-24 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- arch/blackfin/cpu/gpio.c |2 +- arch/blackfin/include/asm/gpio.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/blackfin/cpu/gpio.c b/arch/blackfin/cpu/gpio.c index 5e9c68a..86da706 100644 --- a/arch

[U-Boot] [PATCH] blackfin: soft-i2c: No need to define blackfin specific soft i2c operations.

2013-11-18 Thread Sonic Zhang
From: Sonic Zhang Use default GPIO operations. Signed-off-by: Sonic Zhang --- include/configs/bf533-stamp.h | 29 ++--- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/include/configs/bf533-stamp.h b/include/configs/bf533-stamp.h index a22c868..f5b9658

Re: [U-Boot] [PATCH 1/4] blackfin: i2c: Missing the patch to define GPIO I2C pins.

2013-11-18 Thread Sonic Zhang
bHi Heiko, On Mon, Nov 18, 2013 at 3:49 PM, Heiko Schocher wrote: > Hello Sonic Zhang, > > Am 18.11.2013 08:12, schrieb Sonic Zhang: > >> From: Sonic Zhang >> >> Signed-off-by: Sonic Zhang >> --- >> include/configs/bf533-stamp.h | 48 >> +--

[U-Boot] [PATCH 3/4] blackfin: If none ADI_GPIOX macro is defined, use ADI_GPIO1 as default.

2013-11-17 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- arch/blackfin/cpu/gpio.c | 2 +- arch/blackfin/include/asm/gpio.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/blackfin/cpu/gpio.c b/arch/blackfin/cpu/gpio.c index 5e9c68a..86da706 100644 --- a/arch

[U-Boot] [PATCH 1/4] blackfin: i2c: Missing the patch to define GPIO I2C pins.

2013-11-17 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- include/configs/bf533-stamp.h | 48 +-- 1 file changed, 5 insertions(+), 43 deletions(-) diff --git a/include/configs/bf533-stamp.h b/include/configs/bf533-stamp.h index a22c868..26a140e 100644 --- a

[U-Boot] [PATCH 4/4] blackfin: Add missing macro CONFIG_BFIN_SERIAL

2013-11-17 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- include/configs/bf506f-ezkit.h | 1 + include/configs/bf525-ucr2.h | 1 + include/configs/bf537-minotaur.h | 1 + include/configs/bf537-srv1.h | 1 + include/configs/blackstamp.h | 1 + include/configs/dnp5370.h| 1 + 6

[U-Boot] [PATCH 2/4] blackfin: Use ADI_GPIO2 driver other than the default ADI_GPIO1.

2013-11-17 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- include/configs/cm-bf548.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/cm-bf548.h b/include/configs/cm-bf548.h index 3c9eeb5..7f27eda 100644 --- a/include/configs/cm-bf548.h +++ b/include/configs/cm-bf548.h @@ -118,6

Re: [U-Boot] Many Blackfin boards are broken

2013-11-17 Thread Sonic Zhang
Hi Masahiro, Thank you for report these failure. They are all fixed. See my 4 patches in the other emails. Regards, Sonic Zhang On Mon, Nov 18, 2013 at 12:22 PM, Masahiro Yamada wrote: > Hello Sonic and other Blackfin board maintainers. > > I cannot build many of Blackfin boards.

[U-Boot] Pull request: u-boot-blackfin

2013-11-04 Thread Sonic Zhang
Hi Tom, Please pull the following patches from u-boot-blackfin into your tree. Thanks Sonic Zhang The following changes since commit 509dca7a11aad394d781a9d31a7bfa6692562741: Merge branch 'master' of git://git.denx.de/u-boot-video (2013-10-30 08:36:48 -0400) are available

[U-Boot] [PATCH] blackfin: Move machine specific gpio_port_t structure back to blackfin arch folder.

2013-10-23 Thread Sonic Zhang
From: Steven Miao The gpio register mappings are different among blackfin processors. Signed-off-by: Steven Miao Signed-off-by: Sonic Zhang --- arch/blackfin/cpu/Makefile | 2 +- arch/blackfin/cpu/gpio.c | 17 + arch/blackfin/include/asm/gpio.h | 3

Re: [U-Boot] [PATCH 1/2] blackfin: fix a warning in arch/blackfin/cpu/initcode.c

2013-10-22 Thread Sonic Zhang
unused variable ‘uart_base’ > > Signed-off-by: Masahiro Yamada > Cc: Sonic Zhang > --- > arch/blackfin/cpu/initcode.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/arch/blackfin/cpu/initcode.c b/arch/blackfin/cpu/initcode.c > index ffaf101..956

Re: [U-Boot] [PATCH 13/18] blackfin: convert makefiles to Kbuild style

2013-10-22 Thread Sonic Zhang
directory `/home/sonic/projects/release/u-boot/arch/blackfin/cpu' make[1]: *** No rule to make target `_depend'. Stop. make[1]: Leaving directory `/home/sonic/projects/release/u-boot/arch/blackfin/cpu' make: *** [depend] Error 2 Regards, Sonic On Mon, Oct 21, 2013 at 10:53

Re: [U-Boot] [PATCH 2/2] blackfin: fix a warning in arch/blackfin/cpu/cpu.c

2013-10-22 Thread Sonic Zhang
Applied. Thanks. Sonic On Mon, Oct 21, 2013 at 9:14 AM, Masahiro Yamada wrote: > This commit fixes: > cpu.c:107: warning: ‘noreturn’ function does return > > Signed-off-by: Masahiro Yamada > Cc: Sonic Zhang > --- > arch/blackfin/cpu/cpu.c | 3 +++ > 1 fi

[U-Boot] Pull request: u-boot-blackfin

2013-07-31 Thread Sonic Zhang
Hi Tom, Please pull the following patches from u-boot-blackfin into your tree. Thanks The following changes since commit 6a19cc9df0ff76273cecd3cd72323a73ff44e8de: cfi_flash: Add prototypes of overridable functions (2013-07-30 09:11:54 +0200) are available in the git repository at: git:/

Re: [U-Boot] [PATCH 1/3] spi: bfin_spi: Use DIV_ROUND_UP instead of open-coded

2013-07-15 Thread Sonic Zhang
Acked-by: Sonic Zhang On Fri, Jul 12, 2013 at 5:39 PM, Axel Lin wrote: > Use DIV_ROUND_UP to simplify the code. > > Signed-off-by: Axel Lin > --- > drivers/spi/bfin_spi.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/spi/

Re: [U-Boot] [PATCH v2] blackfin: Fix using gd->baudrate before setting its value

2013-07-01 Thread Sonic Zhang
Acked-by: Sonic Zhang On Mon, Jul 1, 2013 at 1:16 PM, Axel Lin wrote: > Current code uses gd->baudrate before setting its value. > Besides, I got below build warning which is introduced by > commit ddb5c5be "blackfin: add baudrate to bdinfo". > > board.c:235:3: wa

Re: [U-Boot] [PATCH] blackfin: Fix using gd->baudrate before setting its value

2013-06-30 Thread Sonic Zhang
Hi Axel, On Mon, Jul 1, 2013 at 12:11 PM, Axel Lin wrote: > 2013/7/1 Sonic Zhang : >> Hi Axel, >> >> On Sat, Jun 29, 2013 at 8:34 AM, Axel Lin wrote: >>> Current code uses gd->baudrate before setting its value. >>> Besides, I got below build warning

Re: [U-Boot] [PATCH] blackfin: Fix using gd->baudrate before setting its value

2013-06-30 Thread Sonic Zhang
Hi Axel, On Sat, Jun 29, 2013 at 8:34 AM, Axel Lin wrote: > Current code uses gd->baudrate before setting its value. > Besides, I got below build warning which is introduced by > commit ddb5c5be "blackfin: add baudrate to bdinfo". > > board.c:235:3: warning: passing argument 1 of 'simple_strtoul'

Re: [U-Boot] [PATCH] blackfin: gpio: Use proper mask for comparing function

2013-06-30 Thread Sonic Zhang
Acked-by: Sonic Zhang On Fri, Jun 28, 2013 at 2:45 PM, Axel Lin wrote: > The function return from P_FUNCT2MUX(per) takes 2 bits, however > for BF537_FAMILY with offset != 1 the function is 1 bit. > > Also has small refactor for better readability. > In portmux_setup(), it l

Re: [U-Boot] [PATCH 1/2] blackfin: gpio: Unreserve gpio in special_gpio_free()

2013-06-25 Thread Sonic Zhang
Acked-by: Sonic Zhang On Wed, Jun 26, 2013 at 10:09 AM, Axel Lin wrote: > In special_gpio_free(), call unreserve() rather than reserve() to release > gpio. > > Signed-off-by: Axel Lin > --- > arch/blackfin/cpu/gpio.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deleti

Re: [U-Boot] [PATCH 2/2] gpio: adi_gpio2: Unreserve gpio in special_gpio_free()

2013-06-25 Thread Sonic Zhang
Acked-by: Sonic Zhang On Wed, Jun 26, 2013 at 10:10 AM, Axel Lin wrote: > In special_gpio_free(), call unreserve() rather than reserve() to release > gpio. > > Signed-off-by: Axel Lin > --- > drivers/gpio/adi_gpio2.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deleti

[U-Boot] Pull request v2: u-boot-blackfin

2013-05-13 Thread Sonic Zhang
in bf5xx. bfin: discard invalid data and clear RXS in bf5xx spi driver bf609: add SPI register base address Sonic Zhang (14): blackfin: Change the member's type in dma structures. blackfin: limit the max memory dma peripheral transfer size to 4 bytes. blackfin

[U-Boot] [PATCH v2 2/2] blackfin: bf609: add softswitch config command

2013-05-13 Thread Sonic Zhang
From: Bob Liu Add softswitch_output command for bf609-ezkit to enable softswitches. Signed-off-by: Bob Liu Signed-off-by: Sonic Zhang --- Changes in v2: - Add documentation for CONFIG_CMD_SOFTSWITCH to top-level README. README | 1 + arch/blackfin/include

[U-Boot] [PATCH v2 1/2] blackfin: bf609: implement soft switch

2013-05-13 Thread Sonic Zhang
Set up soft switch pins properly in board init code. Signed-off-by: Sonic Zhang Signed-off-by: Scott Jiang Signed-off-by: Bob Liu --- Changes in v2: None board/bf609-ezkit/soft_switch.c | 180 board/bf609-ezkit/soft_switch.h | 71 2

[U-Boot] [PATCH v2 2/2] blackfin: bf609: add softswitch config command

2013-05-13 Thread Sonic Zhang
From: Bob Liu Add softswitch_output command for bf609-ezkit to enable softswitches. Signed-off-by: Bob Liu Signed-off-by: Sonic Zhang Signed-off-by: Sonic Zhang --- Changes in v2: - Add documentation for CONFIG_CMD_SOFTSWITCH to top-level README. README

[U-Boot] [PATCH v2 1/2] blackfin: bf609: implement soft switch

2013-05-13 Thread Sonic Zhang
From: Sonic Zhang Set up soft switch pins properly in board init code. Signed-off-by: Sonic Zhang Signed-off-by: Scott Jiang Signed-off-by: Bob Liu Signed-off-by: Sonic Zhang --- Changes in v2: None board/bf609-ezkit/soft_switch.c | 180 board

Re: [U-Boot] [PATCH v1 1/3] blackfin: Enable early print via the generic serial API.

2013-05-12 Thread Sonic Zhang
Hi Mike, On Mon, May 13, 2013 at 12:42 PM, Mike Frysinger wrote: > On Monday 13 May 2013 00:20:15 Sonic Zhang wrote: >> Remove blackfin specific implementation of the generic serial API when >> early print macro is defined. >> >> In BFIN_BOOT_BYPASS mode, don't c

[U-Boot] [PATCH v1 1/3] blackfin: Enable early print via the generic serial API.

2013-05-12 Thread Sonic Zhang
From: Sonic Zhang Remove blackfin specific implementation of the generic serial API when early print macro is defined. In BFIN_BOOT_BYPASS mode, don't call generic serial_puts, because early print in bypass mode is running before code binary is relocated to the link address. Signed-o

[U-Boot] [PATCH v1 2/3] blackfin: Add memory virtual console to blackfin serial driver.

2013-05-12 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- arch/blackfin/cpu/serial.c | 60 +++- 1 files changed, 59 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/cpu/serial.c b/arch/blackfin/cpu/serial.c index 89290d6..c453a03 100644 --- a/arch

[U-Boot] [PATCH v1 3/3] blackfin: Uart divisor should be set after their values are generated.

2013-05-12 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- arch/blackfin/cpu/initcode.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/blackfin/cpu/initcode.c b/arch/blackfin/cpu/initcode.c index 4b10b6c..8ef0b92 100644 --- a/arch/blackfin/cpu/initcode.c +++ b/arch

Re: [U-Boot] Pull request: u-boot-blackfin

2013-05-12 Thread Sonic Zhang
Hi Tom, On Sun, May 12, 2013 at 12:20 AM, Tom Rini wrote: > On Sat, May 11, 2013 at 11:27:41PM +0800, Sonic Zhang wrote: >> Hi Tom, >> >> On Thu, May 9, 2013 at 8:09 PM, Tom Rini wrote: >> > >> > Some number of these changes haven't been posted to th

Re: [U-Boot] Pull request: u-boot-blackfin

2013-05-11 Thread Sonic Zhang
Hi Tom, On Thu, May 9, 2013 at 8:09 PM, Tom Rini wrote: > > Some number of these changes haven't been posted to the list for review > yet. I'm pretty sure. I don't recall seeing the CONFIG_CMD_SOFTSWITCH > stuff go past, and you didn't document that new flag in the top-level I just forward the

Re: [U-Boot] [PATCH v1 2/2] blackfin: bf609: add softswitch config command

2013-05-11 Thread Sonic Zhang
Hi Tom On Wed, Feb 27, 2013 at 4:37 PM, Sonic Zhang wrote: > From: Bob Liu > > Add softswitch_output command for bf609-ezkit to enable softswitches. > > Signed-off-by: Bob Liu > Signed-off-by: Sonic Zhang > --- > arch/blackfin/include/asm/soft_switch.h | 18

[U-Boot] Pull request: u-boot-blackfin

2013-05-08 Thread Sonic Zhang
): Blackfin: adjust asm constraints with NMI workaround Scott Jiang (3): bfin: Remove spi dma function in bf5xx. bfin: discard invalid data and clear RXS in bf5xx spi driver bf609: add SPI register base address Sonic Zhang (14): blackfin: Change the member's type in dma struc

Re: [U-Boot] [PATCH v1] bfin: Move gpio support for bf54x and bf60x into the generic driver folder.

2013-05-02 Thread Sonic Zhang
Hi Mike, On Fri, May 3, 2013 at 12:23 AM, Mike Frysinger wrote: > On Thursday 02 May 2013 01:55:25 Sonic Zhang wrote: >> The gpio spec for bf54x and bf60x differ a lot from the old gpio driver for >> bf5xx. A lot of machine macros are used to accomodate both code in one >&

[U-Boot] [PATCH v1] bfin: Move gpio support for bf54x and bf60x into the generic driver folder.

2013-05-01 Thread Sonic Zhang
From: Sonic Zhang The gpio spec for bf54x and bf60x differ a lot from the old gpio driver for bf5xx. A lot of machine macros are used to accomodate both code in one gpio driver. This patch split the old gpio driver and move new gpio2 support to the generic gpio driver folder. - To enable gpio2

Re: [U-Boot] [PATCH v1] mmc: bfin: Ensure MMR writing is done before next command.

2013-04-27 Thread Sonic Zhang
Hi Mike On Sat, Apr 27, 2013 at 7:14 PM, Mike Frysinger wrote: > On Saturday 27 April 2013 07:04:10 Sonic Zhang wrote: >> From: Sonic Zhang >> >> - Ensure MMR writing is done before next command. >> - Invalidate the buffer before starting to read. > > thi

[U-Boot] [PATCH v1] mmc: bfin: Ensure MMR writing is done before next command.

2013-04-27 Thread Sonic Zhang
From: Sonic Zhang - Ensure MMR writing is done before next command. - Invalidate the buffer before starting to read. Signed-off-by: Sonic Zhang --- drivers/mmc/bfin_sdh.c | 30 +++--- 1 files changed, 23 insertions(+), 7 deletions(-) diff --git a/drivers/mmc

[U-Boot] [PATCH v1] blackfin: Add comments for watchdog event initialization.

2013-04-11 Thread Sonic Zhang
From: Sonic Zhang - Add comments for watchdog event initialization. - Make sure the writting operation to MMRs are finished. Signed-off-by: Sonic Zhang --- arch/blackfin/cpu/initcode.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/blackfin/cpu

[U-Boot] [PATCH v3] blackfin: Move blackfin watchdog driver out of the blackfin arch folder.

2013-04-11 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- Changes in v3: - Make sure the write operations to watchdog timeout and enable MMRs are done before executing other instructions. Changes in v2: - Disable hardware watchdog before changing the timeout MMR. Changes in v1: - Enable

[U-Boot] [PATCH v2] blackfin: Move blackfin watchdog driver out of the blackfin arch folder.

2013-04-11 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- Changes in v2: - Disable hardware watchdog before changing the timeout MMR. Changes in v1: - Enable hw_watchdog_init() in watchdog.h if CONFIG_HW_WATCHDOG is defined. - Move blackfin hw watchdog driver to the generic driver folder. - Call

[U-Boot] [PATCH v1] blackfin: Move blackfin serial driver out of blackfin arch folder.

2013-04-07 Thread Sonic Zhang
From: Sonic Zhang - Move blackfin serial driver to the generic driver folder. - Move blackfin serial headers to blackfin arch head folder. - Update the include path to blackfin serial header in start up code. Signed-off-by: Sonic Zhang --- arch/blackfin/cpu/Makefile

[U-Boot] [PATCH v1] blackfin: Move blackfin watchdog driver out of the blackfin arch folder.

2013-04-07 Thread Sonic Zhang
From: Sonic Zhang - Enable hw_watchdog_init() in watchdog.h if CONFIG_HW_WATCHDOG is defined. - Move blackfin hw watchdog driver to the generic driver folder. - Call hw_watchdog_init() from blackfin board init code. - Reuse macro CONFIG_WATCHDOG_TIMEOUT_MSECS - Update README.watchdog accordingly

  1   2   >