[U-Boot] Subject: [U-BOOT] [PATCH] In stmicro_erase() correctly calculate the high byte of the sector address.

2009-11-11 Thread Gary Jennejohn
In stmicro_erase() correctly calculate the high byte of the sector address. Signed-off-by: Gary Jennejohn ga...@denx.de --- drivers/mtd/spi/stmicro.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/stmicro.c index

Re: [U-Boot] [PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards

2009-09-07 Thread Gary Jennejohn
fix would be to remove all the idef's and simply set tbclk = CONFIG_SYS_HZ for all boards in get_tbclk(). --- Gary Jennejohn * DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr

Re: [U-Boot] [PATCH v2] mgcoge make ether_scc.c work with CONFIG_NET_MULTI

2008-12-09 Thread Gary Jennejohn
On Mon, 08 Dec 2008 14:05:22 -0800 Ben Warren [EMAIL PROTECTED] wrote: Wolfgang Denk wrote: Dear Ben, In message [EMAIL PROTECTED] Gary Jennejohn wrote: This change is needed for mgcoge because it uses two ethernet drivers. Add a check for the presence of the PIGGY board

Re: [U-Boot] [PATCH 3/4 v3] powerpc: keymile: Add a check for the PIGGY debug board

2008-11-20 Thread Gary Jennejohn
+ if (ethernet_present ()) { + return -1; + } + return 0; +} If it looked like this it would be perfect! --- Gary Jennejohn * DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB

[U-Boot] [PATCH v3] mgcoge make ether_scc.c work with CONFIG_NET_MULTI

2008-11-20 Thread Gary Jennejohn
and the keymile-specific HDLC driver (to be added soon) in eth.c. Signed-off-by: Gary Jennejohn [EMAIL PROTECTED] --- v3 - Rebased to HEAD ac524c0a0b130fd942e1c632719bd7d631cdb057 Remove call to ethernet_present() in sec_init() because it is now handled in board_eth_init() cpu/mpc8260/Makefile

Re: [U-Boot] [PATCH 4/5] powerpc: keymile: Add a check for the PIGGY debug board

2008-11-19 Thread Gary Jennejohn
of days ago Gary Jennejohn submitted a patch for changing the 82xx SCC driver over to CONFIG_NET_MULTI style. Correct, and it must explicitly call ethernet_present() - see above. --- Gary Jennejohn * DENX Software Engineering

[U-Boot] [PATCH v2] mgcoge make ether_scc.c work with CONFIG_NET_MULTI

2008-11-11 Thread Gary Jennejohn
and the keymile-specific HDLC driver (to be added soon) in eth.c. Signed-off-by: Gary Jennejohn [EMAIL PROTECTED] --- I ran MAKEALL ppc and no errors were caused by this patch. v2 - handle comments from Ben Warren 1) set local routines in ether_scc.c static; renamed sec_initialize

Re: [U-Boot] [PATCH] mgcoge make ether_scc.c work with CONFIG_NET_MULTI

2008-11-10 Thread Gary Jennejohn
Hi Ben, Ben Warren [EMAIL PROTECTED] wrote: Gary Jennejohn wrote: [snip] #if defined(CONFIG_ETHER_ON_SCC) defined(CONFIG_CMD_NET) While you're mucking around with this file, please settle on a single CONFIG that can allow conditional compilation from the Makefile, then get rid

Re: [U-Boot] RFC - How to speed up multiplexed input between serial and network?

2008-11-09 Thread Gary Jennejohn
seems like the most intelligent solution. --- Gary Jennejohn * DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax

[U-Boot] [PATCH] mgsuvd add the board-specific part of the HDLC driver

2008-11-09 Thread Gary Jennejohn
Signed-off-by: Gary Jennejohn [EMAIL PROTECTED] --- board/keymile/mgsuvd/Makefile |3 +- board/keymile/mgsuvd/mgsuvd_hdlc_enet.c | 278 +++ 2 files changed, 280 insertions(+), 1 deletions(-) create mode 100644 board/keymile/mgsuvd/mgsuvd_hdlc_enet.c

[U-Boot] [PATCH] keymile add the common parts of the HDLC driver

2008-11-09 Thread Gary Jennejohn
This implements the ICN protocol used across the backplane and is needed by all the keymile boards. Signed-off-by: Gary Jennejohn [EMAIL PROTECTED] --- checkpatch.pl reports an ERROR which is false. board/keymile/common/keymile_hdlc_enet.c | 620 ++ board/keymile

[U-Boot] [PATCH] mgcoge make ether_scc.c work with CONFIG_NET_MULTI

2008-11-09 Thread Gary Jennejohn
and the keymile-specific HDLC driver (to be added soon) in eth.c. Signed-off-by: Gary Jennejohn [EMAIL PROTECTED] --- I ran MAKEALL ppc and no errors were caused by this patch. cpu/mpc8260/ether_scc.c | 56 +-- net/eth.c |8 ++ 2 files

Re: [U-Boot] [PATCH 1/2 V3] IOMUX: Add console multiplexing support.

2008-11-06 Thread Gary Jennejohn
includes iomux.h and common/Makefile generates iomux.o when CONFIG_SYS_CONSOLE_MUX is set. Signed-off-by: Gary Jennejohn [EMAIL PROTECTED] --- V3 - handle comments from the ML - iomux_doenv() now removes repeated device entries common/Makefile |1 + common/cmd_nvedit.c |6

Re: [U-Boot] [PATCH 1/2 V3] IOMUX: Add console multiplexing support.

2008-11-06 Thread Gary Jennejohn
On Thu, 6 Nov 2008 15:30:38 +0100 Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] wrote: On 15:04 Thu 06 Nov , Gary Jennejohn wrote: Modifications to support console multiplexing. This is controlled using CONFIG_SYS_CONSOLE_MUX in the board configuration file. This allows

Re: [U-Boot] [PATCH 1/2 V2] IOMUX: Add console multiplexing support.

2008-10-30 Thread Gary Jennejohn
includes iomux.h and common/Makefile generates iomux.o when CONFIG_SYS_CONSOLE_MUX is set. Signed-off-by: Gary Jennejohn [EMAIL PROTECTED] --- common/Makefile |1 + common/cmd_nvedit.c |6 ++ common/console.c| 162 common/iomux.c

[U-Boot] Missing definition of DIV_ROUND

2008-10-28 Thread Gary Jennejohn
': No such file Configuring for cpci5200 board... strmhz.c: In function 'strmhz': strmhz.c:30: warning: implicit declaration of function 'DIV_ROUND' Script done on Tue 28 Oct 2008 12:16:36 PM CET --- Gary Jennejohn * DENX Software

Re: [U-Boot] Missing definition of DIV_ROUND

2008-10-28 Thread Gary Jennejohn
also did MAKEALL ppc. I don't see how that could wrong. I'll just delete u-boot and grab a fresh copy. --- Gary Jennejohn * DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr

Re: [U-Boot] Missing definition of DIV_ROUND

2008-10-28 Thread Gary Jennejohn
On Tue, 28 Oct 2008 18:15:41 +0100 Gary Jennejohn [EMAIL PROTECTED] wrote: You must be doing something wrong, it seems. Well, I also did MAKEALL ppc. I don't see how that could wrong. I'll just delete u-boot and grab a fresh copy. Ah, now I see. I somehow managed to overwrite

Re: [U-Boot] [PATCH 1/2] IOMUX: Add console multiplexing support.

2008-10-24 Thread Gary Jennejohn
. --- Gary Jennejohn * DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: [EMAIL PROTECTED

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-21 Thread Gary Jennejohn
On Mon, 20 Oct 2008 13:13:32 -0700 Ben Warren [EMAIL PROTECTED] wrote: Wolfgang Denk wrote: Dear Gary Jennejohn, In message [EMAIL PROTECTED] you wrote: I looked at this some more. eth_initialize() is called in every architecture-specific library which means changing 8 files

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-21 Thread Gary Jennejohn
clarification because it wasn't clear to me from the very abbreviated descriptions on the Custodian page just exactly what is within the purview of a custodian. --- Gary Jennejohn * DENX Software Engineering GmbH, MD: Wolfgang Denk

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-20 Thread Gary Jennejohn
point, when netconsole is enabled? Not a bad idea. I think it would be most logical to do it in the netconsole code, rather than moving up the network initialization. I'll take a look at that. --- Gary Jennejohn * DENX Software

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-20 Thread Gary Jennejohn
On Mon, 20 Oct 2008 15:57:32 +0200 Gary Jennejohn [EMAIL PROTECTED] wrote: On Mon, 20 Oct 2008 15:24:53 +0200 Wolfgang Denk [EMAIL PROTECTED] wrote: I have to admit that I don't like the idea of splitting the GD_FLG_DEVINIT into several, unrelated parts of the code. I don't like

Re: [U-Boot] [PATCH V2] 8xx: prevent a machine check in scc_init().

2008-09-18 Thread Gary Jennejohn
Without this change DPRAM can be exhausted when CFG_ALLOC_DPRAM is defined, which eventually leads to a machine check. This change assures that DPRAM is allocated only once in that case. Signed-off-by: Gary Jennejohn [EMAIL PROTECTED] --- cpu/mpc8xx/scc.c |4 +++- 1 files changed, 3

[U-Boot] [PATCH] 8xx: prevent a machine check in scc_init().

2008-09-14 Thread Gary Jennejohn
Signed-off-by: Gary Jennejohn [EMAIL PROTECTED] --- cpu/mpc8xx/scc.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/cpu/mpc8xx/scc.c b/cpu/mpc8xx/scc.c index 09a3db1..9ffeb11 100644 --- a/cpu/mpc8xx/scc.c +++ b/cpu/mpc8xx/scc.c @@ -70,6 +70,9 @@ static

[U-Boot] [PATCH 1/2] IOMUX: Add console multiplexing support.

2008-09-14 Thread Gary Jennejohn
See doc/README.iomux for a general description of what this does. This is the first of two commits. The second commit touches net/eth.c and has to go through the custodian, so I split it out for simplicity. Tested with MAKEALL 8xx. Signed-off-by: Gary Jennejohn [EMAIL PROTECTED] --- common

[U-Boot] [PATCH 2/2] IOMUX: Add console multiplexing support.

2008-09-14 Thread Gary Jennejohn
devices have been initialized, otherwise u-boot might try to send output to a device before it is ready, which leads to various errors. Signed-off-by: Gary Jennejohn [EMAIL PROTECTED] --- net/eth.c | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/net

Re: [U-Boot] [PATCH 2/2] IOMUX: Add console multiplexing support.

2008-09-14 Thread Gary Jennejohn
of developing it. This patch would still be valid without CONFIG_IO_MUX. Signed-off-by: Gary Jennejohn [EMAIL PROTECTED] --- net/eth.c | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/net/eth.c b/net/eth.c index 432dd60..94b6e3a 100644