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

2015-11-12 Thread Tom Rini
On Wed, Nov 11, 2015 at 02:34:26PM +0800, Sonic Zhang wrote:

> 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 repository at:
> 
>   git://git.denx.de/u-boot-blackfin.git next
> 
> for you to fetch changes up to e6779f8d5ac5ae77b4e8fd135a930403bbcb43c1:
> 
>   blackfin: Disable CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED in some cases
> (2015-11-04 16:43:01 +0800)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2015-02-02 Thread Tom Rini
On Mon, Feb 02, 2015 at 03:19:00PM +0800, Sonic Zhang wrote:

 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 available in the git repository at:
 
 
   git://git.denx.de/u-boot-blackfin.git master
 
 for you to fetch changes up to 0d3fd562c4977af4e992f3f73a441081ff8c60d0:
 
   bfin: make env offset sector aligned for bct-brettl2 and ibf-dsp561
 boards (2015-01-16 13:31:35 +0800)
 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2014-11-10 Thread Tom Rini
On Mon, Nov 10, 2014 at 12:42:46PM +0800, Sonic Zhang wrote:

 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 available in the git repository at:
 
 
   git://git.denx.de/u-boot-blackfin.git master
 
 for you to fetch changes up to 6721bb5ad8744cae647cad9e917df649524ac54d:
 
   bfin: the max bfin sdh block count is 127 (2014-11-10 12:11:00 +0800)
 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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 tr...@ti.com 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

 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 repository at:

   git://git.denx.de/u-boot-blackfin.git master

 for you to fetch changes up to 97cd2735b279068037013426977c44f45a8d5151:

   support blackfin board initialization in generic board_f (2014-08-01
 18:21:45 +0800)

 
 Aaron Wu (1):
   bfin: add register define required by core B on dual core BF609 
 processor

 Scott Jiang (1):
   blackfin: spi clock is in sysclk1 domain instead of sysclk0

 Sonic Zhang (2):
   blackfin: convert blackfin board_f and board_r to use generic
 board init functions
   support blackfin board initialization in generic board_f

  arch/blackfin/config.mk  |   3 +
  arch/blackfin/cpu/cpu.c  | 333 +++--
  arch/blackfin/cpu/start.S|  14 +-
  arch/blackfin/cpu/u-boot.lds |   4 +-
  arch/blackfin/include/asm/clock.h|   2 +-
  arch/blackfin/include/asm/mach-bf609/BF609_def.h |   2 +
  arch/blackfin/include/asm/u-boot.h   |   3 +
  arch/blackfin/lib/Makefile   |   7 +-
  arch/blackfin/lib/board.c| 443 
 ---
  arch/blackfin/lib/sections.c |  11 +
  common/board_f.c |  35 +-
  include/configs/bfin_adi_common.h|   4 +
  include/watchdog.h   |   2 +-
  13 files changed, 366 insertions(+), 497 deletions(-)
  delete mode 100644 arch/blackfin/lib/board.c
  create mode 100644 arch/blackfin/lib/sections.c

 With this applied, MAKEALL -a blackfin fails for a number of boards.  In
 addition, this also breaks m68k as they haven't switched over to generic
 board yet and need:

The u-boot image sizes for some blackfin boards exceed the limit after
converting to the generic board. I will fix the config files.


 diff --git a/include/watchdog.h b/include/watchdog.h
 index 174c894..9273fa1 100644
 --- a/include/watchdog.h
 +++ b/include/watchdog.h
 @@ -21,7 +21,8 @@
  int init_func_watchdog_reset(void);
  #endif

 -#if defined(CONFIG_WATCHDOG) || defined(CONFIG_HW_WATCHDOG)
 +#if defined(CONFIG_SYS_GENERIC_BOARD)  \
 +   (defined(CONFIG_WATCHDOG) || defined(CONFIG_HW_WATCHDOG))
  #define INIT_FUNC_WATCHDOG_INITinit_func_watchdog_init,
  #define INIT_FUNC_WATCHDOG_RESET   init_func_watchdog_reset,
  #else


OK. I will add your suggestion to the v4 patch.

Thank you for your review.

Sonic Zhang
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2014-08-06 Thread Tom Rini
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
 
 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 repository at:
 
   git://git.denx.de/u-boot-blackfin.git master
 
 for you to fetch changes up to 97cd2735b279068037013426977c44f45a8d5151:
 
   support blackfin board initialization in generic board_f (2014-08-01
 18:21:45 +0800)
 
 
 Aaron Wu (1):
   bfin: add register define required by core B on dual core BF609 
 processor
 
 Scott Jiang (1):
   blackfin: spi clock is in sysclk1 domain instead of sysclk0
 
 Sonic Zhang (2):
   blackfin: convert blackfin board_f and board_r to use generic
 board init functions
   support blackfin board initialization in generic board_f
 
  arch/blackfin/config.mk  |   3 +
  arch/blackfin/cpu/cpu.c  | 333 +++--
  arch/blackfin/cpu/start.S|  14 +-
  arch/blackfin/cpu/u-boot.lds |   4 +-
  arch/blackfin/include/asm/clock.h|   2 +-
  arch/blackfin/include/asm/mach-bf609/BF609_def.h |   2 +
  arch/blackfin/include/asm/u-boot.h   |   3 +
  arch/blackfin/lib/Makefile   |   7 +-
  arch/blackfin/lib/board.c| 443 
 ---
  arch/blackfin/lib/sections.c |  11 +
  common/board_f.c |  35 +-
  include/configs/bfin_adi_common.h|   4 +
  include/watchdog.h   |   2 +-
  13 files changed, 366 insertions(+), 497 deletions(-)
  delete mode 100644 arch/blackfin/lib/board.c
  create mode 100644 arch/blackfin/lib/sections.c

With this applied, MAKEALL -a blackfin fails for a number of boards.  In
addition, this also breaks m68k as they haven't switched over to generic
board yet and need:

diff --git a/include/watchdog.h b/include/watchdog.h
index 174c894..9273fa1 100644
--- a/include/watchdog.h
+++ b/include/watchdog.h
@@ -21,7 +21,8 @@
 int init_func_watchdog_reset(void);
 #endif
 
-#if defined(CONFIG_WATCHDOG) || defined(CONFIG_HW_WATCHDOG)
+#if defined(CONFIG_SYS_GENERIC_BOARD)  \
+   (defined(CONFIG_WATCHDOG) || defined(CONFIG_HW_WATCHDOG))
 #define INIT_FUNC_WATCHDOG_INITinit_func_watchdog_init,
 #define INIT_FUNC_WATCHDOG_RESET   init_func_watchdog_reset,
 #else

So, NAK.

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2014-02-07 Thread Tom Rini
On Fri, Feb 07, 2014 at 11:33:57AM +0800, Sonic Zhang wrote:

 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 asm/sizes.h (2014-02-06 14:26:05 -0500)
 
 are available in the git repository at:
 
   git://git.denx.de/u-boot-blackfin.git master
 
 for you to fetch changes up to 819ca38fa70da85a14b4328d1511146e6c59eb32:
 
   blackfin: Initialize the EMAC VLAN with proper default value
 (2014-02-07 11:18:06 +0800)
 
 
 Aaron Wu (1):
   blackfin: Initialize the EMAC VLAN with proper default value
 
 Bob Liu (1):
   blackfin: init bss early
 
 Sonic Zhang (2):
   blackfin: The logic of the BF609 macro is opposite.
   blackfin: Change SMC dcplb entry flag to cover 16M address region
 
  arch/blackfin/cpu/initcode.h  | 6 +++---
  arch/blackfin/cpu/start.S | 2 +-
  arch/blackfin/include/asm/mach-common/bits/emac.h | 3 +++
  arch/blackfin/lib/board.c | 3 ++-
  drivers/net/bfin_mac.c| 2 ++
  5 files changed, 11 insertions(+), 5 deletions(-)

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2013-12-16 Thread Tom Rini
On Mon, Dec 16, 2013 at 11:49:37AM +0800, Sonic Zhang wrote:

 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 the git repository at:
 
   git://git.denx.de/u-boot-blackfin.git master
 
 for you to fetch changes up to ecf9ce2149bdb884ac294e9b39c673046bb9b572:
 
   blackfin: remove build warning (2013-12-16 11:38:33 +0800)
 
 
 Sonic Zhang (6):
   blackfin: fix build error by adding CONFIG_BFIN_SERIAL
   blackfin: fix building error by adding macro CONFIG_SYS_I2C
   blackfin: Disable commands to reduce l1 ram requirement
   blackfin: fix building error by enlarging the memory size
   blackfin: fixing warning by including proper headers
   blackfin: remove build warning
 
  arch/blackfin/cpu/initcode.c   |   18 ++
  arch/blackfin/include/asm/blackfin_local.h |7 +--
  arch/blackfin/lib/board.c  |1 +
  arch/blackfin/lib/clocks.c |5 -
  board/bf609-ezkit/bf609-ezkit.c|1 +
  include/configs/bf506f-ezkit.h |8 ++--
  include/configs/bf561-acvilon.h|2 +-
  include/configs/bf561-ezkit.h  |1 +
  include/configs/blackvme.h |1 +
  include/configs/cm-bf537e.h|4 ++--
  include/configs/cm-bf537u.h|3 ++-
  include/configs/tcm-bf537.h|3 ++-
  12 files changed, 36 insertions(+), 18 deletions(-)

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2013-12-06 Thread Tom Rini
On Fri, Dec 06, 2013 at 04:14:42PM +0800, Sonic Zhang wrote:

 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 in the git repository at:
 
 
   git://git.denx.de/u-boot-blackfin.git master
 
 for you to fetch changes up to 985e18d14e0cb3933311945d30de6357cf8be9df:
 
   blackfin: Do not generate unused header bootrom-asm-offsets.h
 (2013-12-06 16:06:51 +0800)
 
 
 Axel Lin (2):
   spi: bfin_spi: Remove unnecessary test for bus and pins[bus]
   spi: bfin_spi6xx: Remove unnecessary test for bus and pins[bus]
 
 Masahiro Yamada (1):
   blackfin: Do not generate unused header bootrom-asm-offsets.h
 
 Sonic Zhang (4):
   blackfin: Use ADI_GPIO2 driver other than the default ADI_GPIO1
   blackfin: If none ADI_GPIOX macro is defined, use ADI_GPIO1 as default
   blackfin: Add missing macro CONFIG_BFIN_SERIAL
   blackfin: soft-i2c: No need to define blackfin specific soft i2c
 operations
 
  Makefile   |  1 -
  arch/blackfin/cpu/.gitignore   |  2 --
  arch/blackfin/cpu/Makefile | 10 
  arch/blackfin/cpu/bootrom-asm-offsets.awk  | 41 
 --
  arch/blackfin/cpu/bootrom-asm-offsets.c.in | 12 -
  arch/blackfin/cpu/gpio.c   |  2 +-
  arch/blackfin/include/asm/gpio.h   |  2 +-
  drivers/spi/bfin_spi.c | 17 +++--
  drivers/spi/bfin_spi6xx.c  |  5 +---
  include/configs/bf506f-ezkit.h |  1 +
  include/configs/bf525-ucr2.h   |  1 +
  include/configs/bf533-stamp.h  | 29 ++---
  include/configs/bf537-minotaur.h   |  1 +
  include/configs/bf537-srv1.h   |  1 +
  include/configs/blackstamp.h   |  1 +
  include/configs/cm-bf548.h |  2 ++
  include/configs/dnp5370.h  |  1 +
  17 files changed, 22 insertions(+), 107 deletions(-)
  delete mode 100644 arch/blackfin/cpu/bootrom-asm-offsets.awk
  delete mode 100644 arch/blackfin/cpu/bootrom-asm-offsets.c.in

Applied to u-boot/master, thanks!

But please note that with gcc 4.5 from
http://sourceforge.net/projects/adi-toolchain/files/2013R1/2013R1_45-RC1/x86_64/
I see:
- SUMMARY 
Boards compiled: 30
Boards with errors: 7 ( cm-bf537u cm-bf537e bf561-acvilon blackvme
bf506f-ezkit tcm-bf537 bf561-ezkit )
Boards with warnings but no errors: 28 ( bf609-ezkit bf533-ezkit
bf525-ucr2 dnp5370 ip04 blackstamp cm-bf561 bf537-srv1 ibf-dsp561
bf527-sdp bf537-stamp bct-brettl2 bf537-minotaur bf538f-ezkit
bf526-ezbrd cm-bf527 bf527-ezkit br4 cm-bf548 cm-bf533 bf533-stamp
bf518f-ezbrd bf527-ad7160-eval bf548-ezkit pr1 bf527-ezkit-v2 tcm-bf518
bf537-pnav )
--

Can we address these warnings / errors?  Thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2013-11-04 Thread Tom Rini
On Mon, Nov 04, 2013 at 05:09:03PM +0800, Sonic Zhang wrote:

 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 in the git repository at:
 
 
   git://git.denx.de/u-boot-blackfin.git master
 
 for you to fetch changes up to cae4d0403c0863176f228d410d6a29b3f4b9d595:
 
   blackfin: Move machine specific gpio_port_t structure back to
 blackfin arch folder. (2013-11-04 16:50:46 +0800)
 
 
 Masahiro Yamada (1):
   blackfin: fix a warning in arch/blackfin/cpu/cpu.c
 
 Steven Miao (1):
   blackfin: Move machine specific gpio_port_t structure back to
 blackfin arch folder.
 
  arch/blackfin/cpu/Makefile   |  2 +-
  arch/blackfin/cpu/cpu.c  |  3 +++
  arch/blackfin/cpu/gpio.c | 17 +
  arch/blackfin/include/asm/gpio.h |  3 +++
  drivers/gpio/adi_gpio2.c | 17 -
  5 files changed, 24 insertions(+), 18 deletions(-)

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2013-08-01 Thread Tom Rini
On Wed, Jul 31, 2013 at 05:14:59PM +0800, Sonic Zhang wrote:

 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://git.denx.de/u-boot-blackfin.git master
 
 for you to fetch changes up to 327b5c9f7cde4e621c2f49fbd2e9890d32f2bef8:
 
   spi: bfin_spi: Use DIV_ROUND_UP instead of open-coded (2013-07-31
 16:56:04 +0800)
 
 
 Axel Lin (5):
   blackfin: gpio: Unreserve gpio in special_gpio_free()
   gpio: adi_gpio2: Unreserve gpio in special_gpio_free()
   blackfin: gpio: Use proper mask for comparing function
   blackfin: Fix using gd-baudrate before setting its value
   spi: bfin_spi: Use DIV_ROUND_UP instead of open-coded
 
  arch/blackfin/cpu/gpio.c  | 15 ---
  arch/blackfin/lib/board.c |  3 +--
  drivers/gpio/adi_gpio2.c  |  4 ++--
  drivers/spi/bfin_spi.c|  4 +---
  4 files changed, 12 insertions(+), 14 deletions(-)

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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 tr...@ti.com 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 tr...@ti.com 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 former softswtich command patch to you which
 include the definition of CONFIG_CMD_SOFTSWITCH. What else do you
 think are missing?

 Well, please go over everything else and make sure it's showing up in
 patchwork.  I spotted one trivially so I don't know how many others
 might have been missed.

Yes, you are right. I forgot to send out 3 patches in the middle.

  blackfin: Enable early print via the generic serial API.
  blackfin: Add memory virtual console to blackfin serial driver.
  blackfin: Uart divisor should be set after their values are generated.

I will send out soon.


Thanks,

Sonic
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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 tr...@ti.com 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 former softswtich command patch to you which
include the definition of CONFIG_CMD_SOFTSWITCH. What else do you
think are missing?

 README.  Also, you did a merge of your patman branch which means there's
 extra stuff in your commit messages.

Because this command is only implemented for blackfin by now. Should I
explan this limitation in the README as well?


 Please submit the new patches to the mailing list, and re-submit the
 pull request with everything else you do have ready.  Thanks!


Yes, I just figured out my patman subfolder isn't equal to the
upstream master, but I didn't add any stuff except for doing rebase.
It looks some upstream patches may be lost during rebase. I will try
to redo rebase and re-submit the pull request.

The difference are as following:

diff -urN u-boot-blackfin/tools/patman/patman u-boot.up/tools/patman/patman
--- u-boot-blackfin/tools/patman/patman 2013-05-11 23:11:43.158054437 +0800
+++ u-boot.up/tools/patman/patman 2013-05-11 23:00:34.050736519 +0800
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Copyright (c) 2011 The Chromium OS Authors.
 #
diff -urN u-boot-blackfin/tools/patman/patman.py
u-boot.up/tools/patman/patman.py
--- u-boot-blackfin/tools/patman/patman.py 2013-05-11 23:11:43.158054437 +0800
+++ u-boot.up/tools/patman/patman.py 2013-05-11 23:00:34.050736519 +0800
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Copyright (c) 2011 The Chromium OS Authors.
 #
diff -urN u-boot-blackfin/tools/patman/series.py
u-boot.up/tools/patman/series.py
--- u-boot-blackfin/tools/patman/series.py 2013-05-11 23:11:43.158054437 +0800
+++ u-boot.up/tools/patman/series.py 2013-05-11 23:00:34.050736519 +0800
@@ -40,6 +40,7 @@
 notes: List of lines in the notes
 changes: (dict) List of changes for each version, The key is
 the integer version number
+allow_overwrite: Allow tags to overwrite an existing tag
 
 def __init__(self):
 self.cc = []
@@ -49,6 +50,7 @@
 self.cover = None
 self.notes = []
 self.changes = {}
+self.allow_overwrite = False

 # Written in MakeCcFile()
 #  key: name of patch file
@@ -72,7 +74,7 @@
 
 # If we already have it, then add to our list
 name = name.replace('-', '_')
-if name in self:
+if name in self and not self.allow_overwrite:
 values = value.split(',')
 values = [str.strip() for str in values]
 if type(self[name]) != type([]):


Regards,

Sonic
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2013-05-11 Thread Tom Rini
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 tr...@ti.com 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 former softswtich command patch to you which
 include the definition of CONFIG_CMD_SOFTSWITCH. What else do you
 think are missing?

Well, please go over everything else and make sure it's showing up in
patchwork.  I spotted one trivially so I don't know how many others
might have been missed.

  README.  Also, you did a merge of your patman branch which means there's
  extra stuff in your commit messages.
 
 Because this command is only implemented for blackfin by now. Should I
 explan this limitation in the README as well?

Yes.

  Please submit the new patches to the mailing list, and re-submit the
  pull request with everything else you do have ready.  Thanks!
 
 
 Yes, I just figured out my patman subfolder isn't equal to the
 upstream master, but I didn't add any stuff except for doing rebase.
 It looks some upstream patches may be lost during rebase. I will try
 to redo rebase and re-submit the pull request.

Thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2013-05-09 Thread Tom Rini
On Thu, May 09, 2013 at 11:13:52AM +0800, Sonic Zhang wrote:

 Hi Tom,
 
 Please pull the following patches from u-boot-blackfin into your tree.
 
 Thanks
 
 Sonic
 
 The following changes since commit fe8e4dbad1d31c452af3fbabba21e72b210381b3:
 
   nds32: Use sections header to obtain link symbols (2013-05-08 12:38:10 
 +0800)
 
 are available in the git repository at:
 
   git://git.denx.de/u-boot-blackfin.git master
 
 for you to fetch changes up to 2ac75146988bdcf8c30aee9c286af7f2f93b474e:
 
   bfin: Move gpio support for bf54x and bf60x into the generic driver
 folder. (2013-05-09 10:53:47 +0800)
 
 
 Bob Liu (3):
   blackfin: reduce size of u-boot.ldr in bf548-ezkit default config.
   blackfin: add baudrate to bdinfo
   blackfin: bf609: add softswitch config command
 
 Marek Vasut (1):
   blackfin: The buf variable in bfin_mac.c is not used and produces 
 warning,
 
 Mike Frysinger (1):
   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 structures.
   blackfin: limit the max memory dma peripheral transfer size to 4 bytes.
   blackfin: run core1 from L1 code sram start address in uboot
 init code on core 0
   blackfin: Set correct early debug serial baudrate.
   blackfin: Correct early serial mess output in BYPASS boot mode.
   blackfin: bf609: implement soft switch
   blackfin: Fit u-boot image size into limited nor flash on blackfin.
   blackfin: Enable early print via the generic serial API.
   blackfin: Add memory virtual console to blackfin serial driver.
   blackfin: Uart divisor should be set after their values are generated.
   blackfin: Move blackfin watchdog driver out of the blackfin arch folder.
   blackfin: Move blackfin serial driver out of blackfin arch folder.
   blackfin: Add comments for watchdog event initialization.
   bfin: Move gpio support for bf54x and bf60x into the generic
 driver folder.

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
README.  Also, you did a merge of your patman branch which means there's
extra stuff in your commit messages.

Please submit the new patches to the mailing list, and re-submit the
pull request with everything else you do have ready.  Thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2013-03-04 Thread Tom Rini
On Mon, Mar 04, 2013 at 02:08:13PM +0800, Sonic Zhang wrote:

 The following changes since commit 47104c37de076e2be35ae1b3d144614f4d24a766:
 
   MAKEALL: add support for per architecture toolchains (2013-02-20
 09:40:34 -0500)
 
 are available in the git repository at:
 
   git://git.denx.de/u-boot-blackfin.git master
 
 for you to fetch changes up to 9faf4f08e752ca95d0986a200d48b67b59cde5ef:
 
   blackfin: bf60x: add resume from hibernate (2013-03-04 13:42:08 +0800)
 
 
 Bob Liu (5):
   blackfin: bf60x: new processor header files
   blackfin: bf60x: add dma support
   blackfin: bf60x: support big cplb page
   blackfin: bf60x: add gpio support
   blackfin: bf60x: add hw watchdog support
 
 Scott Jiang (1):
   blackfin: add bf6xx spi driver
 
 Sonic Zhang (4):
   blackfin: bf60x: Port blackfin core architecture code to boot on bf60x.
   blackfin: bf60x: add serial support
   blackfin: bf60x: add board and headers files to support bf609
   blackfin: bf60x: add rsi/sdh support
 
 Steven Miao (1):
   blackfin: bf60x: add resume from hibernate
 
  MAINTAINERS|3 +-
  arch/blackfin/cpu/cpu.c|4 +-
  arch/blackfin/cpu/gpio.c   |   36 +-
  arch/blackfin/cpu/initcode.c   |  384 
 +++-
  arch/blackfin/cpu/initcode.h   |   52 +++
  arch/blackfin/cpu/reset.c  |6 +
  arch/blackfin/cpu/serial.c |   81 +++--
  arch/blackfin/cpu/serial.h |  222 +--
  arch/blackfin/cpu/serial1.h|  348 ++
  arch/blackfin/cpu/serial4.h|  161 
  arch/blackfin/cpu/start.S  |2 +
  arch/blackfin/include/asm/blackfin_cdef.h  |3 +
  arch/blackfin/include/asm/blackfin_def.h   |5 +
  arch/blackfin/include/asm/blackfin_local.h |3 +
  arch/blackfin/include/asm/config-pre.h |4 +
  arch/blackfin/include/asm/cplb.h   |   31 +-
  arch/blackfin/include/asm/dma.h|   81 +++--
  arch/blackfin/include/asm/gpio.h   |2 +-
  arch/blackfin/include/asm/mach-bf533/BF531_def.h   |1 +
  arch/blackfin/include/asm/mach-bf561/BF561_def.h   |1 +
  arch/blackfin/include/asm/mach-bf609/BF609_cdef.h  |  192 ++
  arch/blackfin/include/asm/mach-bf609/BF609_def.h   |  247 +
  arch/blackfin/include/asm/mach-bf609/anomaly.h |   97 +
  arch/blackfin/include/asm/mach-bf609/def_local.h   |5 +
  arch/blackfin/include/asm/mach-bf609/gpio.h|  151 
  arch/blackfin/include/asm/mach-bf609/portmux.h |  257 +
  arch/blackfin/include/asm/mach-bf609/ports.h   |  103 ++
  arch/blackfin/include/asm/mach-common/bits/cgu.h   |   80 
  arch/blackfin/include/asm/mach-common/bits/dde.h   |   88 +
  arch/blackfin/include/asm/mach-common/bits/dma.h   |   54 ++-
  arch/blackfin/include/asm/mach-common/bits/mpu.h   |6 +-
  arch/blackfin/include/asm/mach-common/bits/pll.h   |5 +
  arch/blackfin/include/asm/mach-common/bits/sdh.h   |   38 +-
  .../blackfin/include/asm/mach-common/bits/spi6xx.h |  240 
  arch/blackfin/include/asm/mach-common/bits/uart4.h |   66 
  arch/blackfin/lib/board.c  |   25 +-
  arch/blackfin/lib/clocks.c |  112 --
  arch/blackfin/lib/string.c |   97 ++---
  board/bf609-ezkit/Makefile |   55 +++
  board/bf609-ezkit/bf609-ezkit.c|   67 
  boards.cfg |1 +
  common/cmd_reginfo.c   |   19 +-
  drivers/mmc/bfin_sdh.c |   68 +++-
  drivers/spi/Makefile   |1 +
  drivers/spi/bfin_spi6xx.c  |  308 
  include/configs/bf609-ezkit.h  |  162 +
  include/configs/bfin_adi_common.h  |8 +-
  47 files changed, 3589 insertions(+), 393 deletions(-)
  create mode 100644 arch/blackfin/cpu/serial1.h
  create mode 100644 arch/blackfin/cpu/serial4.h
  create mode 100644 arch/blackfin/include/asm/mach-bf609/BF609_cdef.h
  create mode 100644 arch/blackfin/include/asm/mach-bf609/BF609_def.h
  create mode 100644 arch/blackfin/include/asm/mach-bf609/anomaly.h
  create mode 100644 arch/blackfin/include/asm/mach-bf609/def_local.h
  create mode 100644 arch/blackfin/include/asm/mach-bf609/gpio.h
  create mode 100644 arch/blackfin/include/asm/mach-bf609/portmux.h
  create mode 100644 arch/blackfin/include/asm/mach-bf609/ports.h
  create mode 100644 arch/blackfin/include/asm/mach-common/bits/cgu.h
  create mode 100644