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

2008-11-09 Thread Ben Warren
Hi Gary, Gary Jennejohn wrote: > This change is needed for mgcoge because it uses two ethernet drivers. > > I like the idea of moving drivers to use CONFIG_NET_MULTI, particularly so that we can get rid of it as an option... There are a few more things you need to think about, though. > Add

[U-Boot] Pull request - net

2008-11-09 Thread Ben Warren
Wolfgang, The following changes since commit 1378174a1351c0285736863a665ab758fe8d5f71: Wolfgang Denk (1): Merge branch 'master' of /home/wd/git/u-boot/custodians are available in the git repository at: git://git.denx.de/u-boot-net.git master Ben Warren (9): Moved initializatio

Re: [U-Boot] mini-pci wireless driver

2008-11-09 Thread Lance Zhang
Hi Jean, Do you know any common methods to port a Linux driver to a u boot driver? Will you rewrite all the driver codes? Or just make a function mapping? I think it is terrible to write a wireless network card driver for uboot. In uboot I need to implement MLME which contains "Authenticate ,De

[U-Boot] [PATCH v2 3/3] Moved initialization of PPC4xx EMAC to cpu_eth_init()

2008-11-09 Thread Ben Warren
Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <[EMAIL PROTECTED]> Acked-by: Stefan Roese <[EMAIL PROTECTED]> --- cpu/ppc4xx/cpu.c | 14 ++ include/netdev.h |1 + net/eth.c|4 3 files changed, 15 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH v2 2/3] Moved PPC4xx EMAC driver to drivers/net

2008-11-09 Thread Ben Warren
Also changed path in all linker scripts that reference this driver Signed-off-by: Ben Warren <[EMAIL PROTECTED]> Acked-by: Stefan Roese <[EMAIL PROTECTED]> --- board/cray/L1/u-boot.lds |2 +- board/csb272/u-boot.lds |2 +- board/csb472/u-boot.lds

[U-Boot] [PATCH v2 1/3] Changed PPC4xx EMAC driver to require CONFIG_PPC4xx_EMAC

2008-11-09 Thread Ben Warren
All in-tree IBM/AMCC PPC4xx boards using the EMAC get this new CONFIG Signed-off-by: Ben Warren <[EMAIL PROTECTED]> Acked-by: Stefan Roese <[EMAIL PROTECTED]> --- cpu/ppc4xx/4xx_enet.c|9 - cpu/ppc4xx/Makefile |1 + include/configs/AR405.h |1

[U-Boot] [PATCH] [ONENAND] Reduce OneNAND IPL code size v2

2008-11-09 Thread Kyungmin Park
OneNAND IPL has common codes for RAM init, load data, and jump to 2nd bootloader, but it's common code used about 300~400 bytes. So board specific codes, such as lowlevel_init, can't has enough code. It make a difficult to implement OneNAND IPL. This patch make this common code as small as possibl

Re: [U-Boot] [PATCH] at91: add support for PM9263 board

2008-11-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:30 Thu 06 Nov , Ilko Iliev wrote: > This patch adds support for the PM9263 board of Ronetix GmbH (www.ronetix.at) > It will be nice it you could generate patch to see duplicate code to simplify the review. This is >70% the same as the at91sam9263 As I announe I've send the common for R

Re: [U-Boot] [PATCH V2] Initial support for Nomadik 8815 development board

2008-11-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:29 Tue 04 Nov , Alessandro Rubini wrote: > Subject: Initial support for Nomadik 8815 development board > From: Alessandro Rubini <[EMAIL PROTECTED]> > > The NMDK8815 board is distributed by ST Microelectornics. > This is the initial port, with basic infrastructure and > a working serial

Re: [U-Boot] ARM Pull request

2008-11-09 Thread Alessandro Rubini
Any feedback about the nomadik 8815 patch? It's not in the pull request thanks /alessandro ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] OMAP3 broken NAND hardware ECC generation

2008-11-09 Thread Dirk Behme
Dear Scott and Nishanth, we have broken OMAP3 NAND hardware ECC generation while our clean up of OMAP3 NAND code. I did some debugging. Do you like to have a look to http://git.denx.de/?p=u-boot/u-boot-arm.git;a=blob;f=drivers/mtd/nand/omap_gpmc.c;h=01b79593949fe828e4b1d3da2cf4b399c1b580ab;hb=r

[U-Boot] [PATCH-OMAP3] OMAP3: Remove BITx magic

2008-11-09 Thread dirk . behme
Subject: [PATCH-OMAP3] OMAP3: Remove BITx magic From: Dirk Behme <[EMAIL PROTECTED]> Remove bits.h and it's macros usage. Requested by Wolfgang Denk. Signed-off-by: Dirk Behme <[EMAIL PROTECTED]> --- cpu/arm_cortexa8/omap3/board.c |3 -- cpu/arm_cortexa8/omap3/clock.c | 25

[U-Boot] [PATCH-OMAP3] OMAP3: Fix typo and cp_delay

2008-11-09 Thread dirk . behme
Subject: [PATCH-OMAP3] OMAP3: Fix typo and cp_delay From: Dirk Behme <[EMAIL PROTECTED]> Fix typo and cp_delay. Requested by Wolfgang Denk. Signed-off-by: Dirk Behme <[EMAIL PROTECTED]> --- Regarding cp_delay there was the comment: -- cut -- >+static void cp_delay(void) >+{ >+ volatile i

[U-Boot] [PATCH-OMAP3] OMAP3: Add missing GPL headers

2008-11-09 Thread dirk . behme
Subject: [PATCH-OMAP3] OMAP3: Add missing GPL headers From: Dirk Behme <[EMAIL PROTECTED]> Add missing GPL headers. Requested by Wolfgang Denk. Signed-off-by: Dirk Behme <[EMAIL PROTECTED]> --- board/omap3/beagle/config.mk | 20 +++- board/omap3/evm/config.mk| 20 ++

[U-Boot] [PATCH-OMAP3] OMAP3: Fix multiline comment style

2008-11-09 Thread dirk . behme
Subject: [PATCH-OMAP3] OMAP3: Fix multiline comment style From: Dirk Behme <[EMAIL PROTECTED]> Fix multiline comment style. Requested by Wolfgang Denk. Signed-off-by: Dirk Behme <[EMAIL PROTECTED]> --- board/omap3/evm/evm.c | 32 ++-- cpu/arm_cortexa8/cp

[U-Boot] [PATCH-OMAP3] OMAP3: Fix gpmc_cs_base pointer math in NAND

2008-11-09 Thread dirk . behme
Subject: [PATCH-OMAP3] OMAP3: Fix gpmc_cs_base pointer math in NAND From: Dirk Behme <[EMAIL PROTECTED]> gpmc_cs_base is an uint32_t pointer, correct pointer math. Missed after readl/writel conversion. Signed-off-by: Dirk Behme <[EMAIL PROTECTED]> --- Jean-Christophe: Would be nice if you cou

[U-Boot] [PATCH-OMAP3] OMAP3: Fix error in gpmc_init

2008-11-09 Thread dirk . behme
Subject: [PATCH-OMAP3] OMAP3: Fix error in gpmc_init From: Dirk Behme <[EMAIL PROTECTED]> Fix error in gpmc_init() introduced with readl/writel conversion. Use base addresses + offset, not offset only. Minor clean up by removing unused code. Signed-off-by: Dirk Behme <[EMAIL PROTECTED]> --- J

[U-Boot] [PATCH] usbtty/omap: update to current API

2008-11-09 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]> diff --git a/drivers/serial/usbtty.c b/drivers/serial/usbtty.c index e738c56..448defa 100644 --- a/drivers/serial/usbtty.c +++ b/drivers/serial/usbtty.c @@ -22,14 +22,13 @@ */ #include - +#include /* If defined,

Re: [U-Boot] [PATCH 13/13 v5] ARM: OMAP3: Add Beagle, EVM and Overo configuration and README

2008-11-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:40 Sun 02 Nov , [EMAIL PROTECTED] wrote: > From: Dirk Behme <[EMAIL PROTECTED]> > > Add Beagle, EVM and Overo configuration and README > > Signed-off-by: Dirk Behme <[EMAIL PROTECTED]> > > --- > doc/README.omap3 | 94 +++ > include/configs/omap3_beagle.h | 289

Re: [U-Boot] [PATCH 11/13 v5] ARM: OMAP3: Add EVM board

2008-11-09 Thread Jean-Christophe PLAGNIOL-VILLARD
> + i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); > +#endif > + > +#if defined(CONFIG_CMD_NET) > + setup_net_chip(); > +#endif > + > + return 0; > +} > + > +/** > + * Routine: set_muxconf_regs > + * Desc

Re: [U-Boot] [PATCH 12/13 v5] ARM: OMAP3: Add Overo board

2008-11-09 Thread Jean-Christophe PLAGNIOL-VILLARD
+ > +/** > + * Routine: misc_init_r > + * Description: Init ethernet (done here so udelay works) > + > */ > +int misc_init_r(void) > +{ > + > +

Re: [U-Boot] [PATCH 10/13 v5] ARM: OMAP3: Add BeagleBoard

2008-11-09 Thread Jean-Christophe PLAGNIOL-VILLARD
> + * Description: Early hardware init. > + > */ > +int board_init(void) > +{ > + DECLARE_GLOBAL_DATA_PTR; > + > + gpmc_init(); /* in SRAM or SDRAM, finish GPMC */ > + /* board id for Linux */ > + gd->bd->b

[U-Boot] [PATCH] lib_arm: do_bootm_linux() - correct a small mistake

2008-11-09 Thread Ilko Iliev
This patch corrects a small bug in the "if" condition: the parameter "flag" is 0 and the "if" condition is always true. The result is - the boom command doesn't start the kernel. Affected targets: all arm based. Signed-off-by: Ilko Iliev <[EMAIL PROTECTED]> --- lib_arm/bootm.c |2 +- 1 file

Re: [U-Boot] [PATCH 08/13 v5] ARM: OMAP3: Add MMC support

2008-11-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:38 Sun 02 Nov , [EMAIL PROTECTED] wrote: > Subject: [PATCH 08/13 v5] ARM: OMAP3: Add MMC support > > From: Dirk Behme <[EMAIL PROTECTED]> > + > +/* > + * OMAP HSMMC register definitions > + */ > +#define OMAP_HSMMC_SYSCONFIG (*(unsigned int *) 0x4809C010) > +#define OMAP_HSMMC_

Re: [U-Boot] [PATCH 05/13 v5] ARM: OMAP3: Add board, clock and interrupts common files

2008-11-09 Thread Dirk Behme
Jean-Christophe PLAGNIOL-VILLARD wrote: > On 19:36 Sun 02 Nov , [EMAIL PROTECTED] wrote: > >>Subject: [PATCH 05/13 v5] ARM: OMAP3: Add board, clock and interrupts common >>files >> >>From: Dirk Behme <[EMAIL PROTECTED]> >> >>Add board, clock, cpu and interrupts common files >> >>Signed-off-by

Re: [U-Boot] [PATCH 06/13 v5] ARM: OMAP3: Add memory and syslib common files

2008-11-09 Thread Jean-Christophe PLAGNIOL-VILLARD
> --- u-boot-main.orig/examples/Makefile > +++ u-boot-main/examples/Makefile > @@ -30,10 +30,12 @@ LOAD_ADDR = 0x4 > endif > > ifeq ($(ARCH),arm) > +LOAD_ADDR = 0xc10 > ifeq ($(BOARD),omap2420h4) > LOAD_ADDR = 0x8030 > -else > -LOAD_ADDR = 0xc10 > +endif > +ifeq ($(CPU),omap3)

Re: [U-Boot] [PATCH 05/13 v5] ARM: OMAP3: Add board, clock and interrupts common files

2008-11-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:36 Sun 02 Nov , [EMAIL PROTECTED] wrote: > Subject: [PATCH 05/13 v5] ARM: OMAP3: Add board, clock and interrupts common > files > > From: Dirk Behme <[EMAIL PROTECTED]> > > Add board, clock, cpu and interrupts common files > > Signed-off-by: Dirk Behme <[EMAIL PROTECTED]> > > --- >

[U-Boot] [PATCH] ARM: OMAP: I2C coding style clean up

2008-11-09 Thread dirk . behme
Subject: [PATCH] ARM: OMAP: I2C coding style clean up From: Dirk Behme <[EMAIL PROTECTED]> Clean up coding style and read/write macro usage as requested by Wolfgang Denk and Jean-Christophe PLAGNIOL-VILLARD. Signed-off-by: Dirk Behme <[EMAIL PROTECTED]> --- Note: Patch is against U-Boot maste

Re: [U-Boot] [PATCH 04/13 v5] ARM: OMAP3: Add lowlevel init and sys_info common files

2008-11-09 Thread Jean-Christophe PLAGNIOL-VILLARD
> +/ > + * get_cpu_type() - low level get cpu type > + * - no C globals yet. > + / > +u32 get_cpu_type(void) > +{ > + /* fixme, need to get register defines for OMAP3 */ > + return CPU_34

Re: [U-Boot] [PATCH-OMAP3] OMAP3: Use I2C file coding style

2008-11-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:38 Sun 09 Nov , Dirk Behme wrote: > Jean-Christophe PLAGNIOL-VILLARD wrote: >> On 17:32 Tue 04 Nov , [EMAIL PROTECTED] wrote: >> >>> Subject: [PATCH-OMAP3] OMAP3: Use I2C file coding style >>> >>> From: Dirk Behme <[EMAIL PROTECTED]> >>> >>> Use file coding style for inx/outx instead

[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] mgcoge add the board-specific part of the HDLC driver

2008-11-09 Thread Gary Jennejohn
Signed-off-by: Gary Jennejohn <[EMAIL PROTECTED]> --- board/keymile/mgcoge/Makefile |3 +- board/keymile/mgcoge/mgcoge_hdlc_enet.c | 276 +++ 2 files changed, 278 insertions(+), 1 deletions(-) create mode 100644 board/keymile/mgcoge/mgcoge_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
This change is needed for mgcoge because it uses two ethernet drivers. Add a check for the presence of the PIGGY board on mgcoge. Without this board networking cannot work and the initialization must be aborted. Only allocate rtx once to prevent DPRAM exhaustion. Initialize ether_scc.c and the

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

2008-11-09 Thread Gary Jennejohn
On Wed, 29 Oct 2008 13:14:52 +0100 Wolfgang Denk <[EMAIL PROTECTED]> wrote: [big snip details of analysis] > My suggestion is to make the multiplexing more intelligent instead of > making the serial driver more complex. The nice thing with this is > that you probably still get the same resul