Re: [U-Boot-Users] [PATCH] net: sh: Renesas SH7763 Ethernet device support

2008-06-09 Thread Ben Warren
Hi Nobuhiro, Nobuhiro Iwamatsu wrote: > Renesas SH7763 has 2 channel Ethernet device. > This is 10/100/1000 Base support. > But this patch check 10/100 Base only. > > Signed-off-by: Nobuhiro Iwamatsu <[EMAIL PROTECTED]> > --- > drivers/net/Makefile |1 + > drivers/net/sh_eth.c | 599 > +

Re: [U-Boot-Users] [PATCH 1/8] New board SIMPC8313 support: MAINTAINERS, MAKEALL, Makefile

2008-06-09 Thread Kim Phillips
On Fri, 30 May 2008 11:07:38 -0700 (PDT) Ron Madrid <[EMAIL PROTECTED]> wrote: > New board SIMPC8313 support: MAINTAINERS, MAKEALL, > Makefile > > Signed-off-by: Ron Madrid > --- > MAINTAINERS |5 + > MAKEALL |2 ++ > Makefile| 18 ++ > 3 files changed, 25 i

Re: [U-Boot-Users] [PATCH] 85xx: extended cpu identification

2008-06-09 Thread Kim Phillips
On Thu, 29 May 2008 03:20:08 -0500 (CDT) Kumar Gala <[EMAIL PROTECTED]> wrote: > +struct cpu_type cpu_type_list [] = { > + CPU_TYPE_ENTRY(8533, 8533, 0), > + CPU_TYPE_ENTRY(8533, 8533_E, CPU_FTRS_HAS_CRYPTO), > + CPU_TYPE_ENTRY(8540, 8540, 0), > + CPU_TYPE_ENTRY(8541, 8541, 0), > +

[U-Boot-Users] [PATCH v2] 85xx/86xx: Move to dynamic mgmt of LAWs

2008-06-09 Thread Kumar Gala
With the new LAW interface (set_next_law) we can move to letting the system allocate which LAWs are used for what purpose. This makes life a bit easier going forward with the new DDR code. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- For some reason we always disabled law0 on 86xx. Removed

[U-Boot-Users] [PATCH] 85xx/86xx: Move to dynamic mgmt of LAWs

2008-06-09 Thread Kumar Gala
With the new LAW interface (set_next_law) we can move to letting the system allocate which LAWs are used for what purpose. This makes life a bit easier going forward with the new DDR code. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- Andy, I know this touches a few 86xx boards, but I'm 99.9

[U-Boot-Users] [PATCH v2] FSL LAW: Keep track of LAW allocations and provide a LAW allocator

2008-06-09 Thread Kumar Gala
Make it so we keep track of which LAWs have allocated and provide a function (set_next_law) which can allocate a LAW for us if one is free. In the future we will move to doing more "dynamic" LAW allocation since the majority of users dont really care about what LAW number they are at. Signed-off-

[U-Boot-Users] [PATCH] 85xx: remove dummy board_early_init_f

2008-06-09 Thread Kumar Gala
A number of board ports have empty version of board_early_init_f for no reason since we control its via CONFIG_BOARD_EARLY_INIT_F. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- board/freescale/mpc8540ads/mpc8540ads.c |6 -- board/freescale/mpc8541cds/mpc8541cds.c |5 - board/f

[U-Boot-Users] [PATCH] SPI Flash: Support the ST Microelectronics M25P80 and M25P40 SPI Flash

2008-06-09 Thread Jason McMullan
This commit adds MTD support for the M25P80 (1Mx8) and the M25P40 (512kx8) SPI Flash components from ST Microelectronics. Tested with the M25P40, but should work for the M25P80 according to the spec sheet. Signed-off-by: Jason McMullan <[EMAIL PROTECTED]> --- drivers/mtd/spi/Makefile

[U-Boot-Users] [PATCH 1/4] Change initdram() return type to phys_size_t

2008-06-09 Thread Becky Bruce
This patch changes the return type of initdram() from long int to phys_size_t. This is required for a couple of reasons: long int limits the amount of dram to 2GB, and u-boot in general is moving over to phys_size_t to represent the size of physical memory. phys_size_t is defined as an unsigned lo

[U-Boot-Users] [PATCH 3/4] Change print_size to take phys_size_t

2008-06-09 Thread Becky Bruce
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]> --- include/common.h |2 +- lib_generic/display_options.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/common.h b/include/common.h index 9193624..fd5adb3 100644 --- a/include/common.h +++ b/include

[U-Boot-Users] [PATCH 4/4] Change lmb to use phys_size_t/phys_addr_t

2008-06-09 Thread Becky Bruce
This updates the lmb code to use phys_size_t and phys_addr_t instead of unsigned long. Other code which interacts with this code, like getenv_bootm_size() is also updated. Booted on MPC8641HPCN, build-tested ppc, arm, mips. Signed-off-by: Becky Bruce <[EMAIL PROTECTED]> --- common/cmd_bootm.c |

[U-Boot-Users] [PATCH 2/4] Change bd/gd memsize/ram_size to be phys_size_t.

2008-06-09 Thread Becky Bruce
Currently, both are defined as an unsigned long, but should be phys_size_t. This should result in no real change, since phys_size_t is currently an unsigned long for all the default configs. Also add print_lnum to cmd_bdinfo to deal with the potentially wider memsize. Signed-off-by: Becky Bruce <

[U-Boot-Users] [PATCH] Use strncmp() for the fdt command

2008-06-09 Thread Jerry Van Baren
Cleaner than doing multiple conditionals on characters. Signed-off-by: Gerald Van Baren <[EMAIL PROTECTED]> --- Per Scott Wood's suggestion. gvb common/cmd_fdt.c | 16 +++- 1 files changed, 7 insertions(+), 9 deletions(-) diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c index 85

[U-Boot-Users] [PATCH] fdt_support: add crypto node handling for MPC8{3, 5}xxE processors

2008-06-09 Thread Kim Phillips
crypto node if not on an E-processor. If on 8360 or 834x family, check rev and up-rev crypto node (to SEC rev. 2.4) property values if on an 'EA' processor, e.g. MPC8349EA. Signed-off-by: Kim Phillips <[EMAIL PROTECTED]> --- common/fdt_support.c| 87

[U-Boot-Users] [PATCH] MPC8544DS: Update config.h

2008-06-09 Thread Kumar Gala
* Enable flash progress * remove CLEAR_LAW0 since we dont really use it Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- include/configs/MPC8544DS.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h index d5006b5..

[U-Boot-Users] [PATCH] FSL LAW: Keep track of LAW allocations and provide a LAW allocator

2008-06-09 Thread Kumar Gala
Make it so we keep track of which LAWs have allocated and provide a function (set_next_law) which can allocate a LAW for us if one is free. In the future we will move to doing more "dynamic" LAW allocation since the majority of users dont really care about what LAW number they are at. Signed-off-

Re: [U-Boot-Users] [RFC][FSL DDR 1/8] Add proper SPD definitions for DDR1/2/3

2008-06-09 Thread Jon Loeliger
On Mon, 2008-06-09 at 17:03 -0400, Jerry Van Baren wrote: > Is your SPD dump going to supersede it? In spades. jdl - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just ab

Re: [U-Boot-Users] [RFC][FSL DDR 1/8] Add proper SPD definitions for DDR1/2/3

2008-06-09 Thread Jerry Van Baren
Kumar Gala wrote: > Also added a few helper functions for DDR1 & DDR2 to print SPD info and > verify the checksum. > > Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> > --- > common/Makefile |1 + > common/ddr_spd.c | 504 > + > include/d

[U-Boot-Users] i.MX31: Cleanup comments in lowlevel_init.S.

2008-06-09 Thread Magnus Lilja
Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- board/imx31_litekit/lowlevel_init.S |4 ++-- board/imx31_phycore/lowlevel_init.S |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/imx31_litekit/lowlevel_init.S b/board/imx31_litekit/lowlevel_init.S index 9d

[U-Boot-Users] Pull request: nand-flash

2008-06-09 Thread Scott Wood
The following changes since commit 8155efbd7ae9c65564ca98affe94631d612ae088: Wolfgang Denk (1): Merge branch 'master' of ssh://mercury/home/wd/git/u-boot/master are available in the git repository at: git://www.denx.de/git/u-boot-nand-flash.git master Stuart Wood (1): env_nand.

Re: [U-Boot-Users] [PATCH] net: sh: Renesas SH7763 Ethernet device support

2008-06-09 Thread Ben Warren
Hi Nobuhiro, Nobuhiro Iwamatsu wrote: > Hello, Ben. > > On Fri, 06 Jun 2008 16:17:48 +0900 > Nobuhiro Iwamatsu <[EMAIL PROTECTED]> wrote: > > >> Renesas SH7763 has 2 channel Ethernet device. >> This is 10/100/1000 Base support. >> But this patch check 10/100 Base only. >> >> Signed-off-by: Nobu

[U-Boot-Users] Pull request: u-boot-sh

2008-06-09 Thread Nobuhiro Iwamatsu
The following changes since commit 8155efbd7ae9c65564ca98affe94631d612ae088: Wolfgang Denk (1): Merge branch 'master' of ssh://mercury/home/wd/git/u-boot/master are available in the git repository at: git://git.denx.de/u-boot-sh.git master Nobuhiro Iwamatsu (3): sh: SH7763 SCIF

Re: [U-Boot-Users] [PATCH] net: sh: Renesas SH7763 Ethernet device support

2008-06-09 Thread Nobuhiro Iwamatsu
Hello, Ben. On Fri, 06 Jun 2008 16:17:48 +0900 Nobuhiro Iwamatsu <[EMAIL PROTECTED]> wrote: > Renesas SH7763 has 2 channel Ethernet device. > This is 10/100/1000 Base support. > But this patch check 10/100 Base only. > > Signed-off-by: Nobuhiro Iwamatsu <[EMAIL PROTECTED]> > --- > drivers/net/M

Re: [U-Boot-Users] Question on SH7763

2008-06-09 Thread Nobuhiro Iwamatsu
Hi, Paul. On Mon, 9 Jun 2008 14:24:11 +0900 Paul Mundt <[EMAIL PROTECTED]> wrote: > > >If your Flash supports CFI it should work with the CFI driver in u-boot. > > >Look in the u-boot readme how to start/modify the u-boot code. > > > > And I wrote a document a little. > > Please check doc/README

Re: [U-Boot-Users] Booting U-boot from NAND on MX31

2008-06-09 Thread Robert Schwebel
On Fri, Jun 06, 2008 at 12:06:18PM -0700, Fabio Estevam wrote: > We can succesfully boot U-boot from NOR on a MX31ADS. Has anyone > managed to boot U-boot from NAND in any MX31 board? We have recently started working on NAND support for several chips (including the MX31) in u-boot-v2. However, it'

Re: [U-Boot-Users] MX31ADS: I2C1 bus

2008-06-09 Thread Robert Schwebel
On Fri, Jun 06, 2008 at 10:46:16AM +0200, llandre wrote: > I downloaded current u-boot repo to perform a simple test on MX31ADS: I > just have to verify that an I2C component connected to JP13 is detected > by U-Boot (iprobe). > So I enabled the I2C support in MX31ADS config file: > > /* I2C */ > #

[U-Boot-Users] [RFC][FSL DDR 7/8] Modify MPC8610HPCD to use the new DDR setup code.

2008-06-09 Thread Kumar Gala
From: Jon Loeliger <[EMAIL PROTECTED]> Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]> Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- board/freescale/mpc8610hpcd/Makefile | 10 +- board/freescale/mpc8610hpcd/ddr.c | 279 + board/freescale/mpc8610hpcd

[U-Boot-Users] [RFC][FSL DDR 3/8] FSL DDR: Add interactive DDR config support

2008-06-09 Thread Kumar Gala
From: James Yang <[EMAIL PROTECTED]> Provide a mechanism to allow interactive configuration of DDR params. This is useful when trying to test various DDR settings to determine optimal configuration values for a given board. --- cpu/mpc8xxx/Makefile |1 + cpu/mpc8xxx/fsl_ddr_int

[U-Boot-Users] [RFC][FSL DDR 6/8] Modify mpc8641HPCN to use the new DDR setup code.

2008-06-09 Thread Kumar Gala
From: Jon Loeliger <[EMAIL PROTECTED]> Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]> Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- Makefile |3 + board/freescale/mpc8641hpcn/Makefile |8 +- board/freescale/mpc8641hpcn/ddr.c | 288 ++

[U-Boot-Users] [RFC][FSL DDR 5/8] FSL DDR: Add e500 TLB helper for DDR code

2008-06-09 Thread Kumar Gala
Provide a helper function that board code can call to map TLBs when setting up DDR. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- cpu/mpc85xx/tlb.c | 63 + include/asm-ppc/mmu.h |1 + 2 files changed, 64 insertions(+), 0 deletions(-)

[U-Boot-Users] [RFC][FSL DDR 8/8] Modify MPC8544 DS to use the new DDR setup code.

2008-06-09 Thread Kumar Gala
Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- Makefile |1 + board/freescale/mpc8544ds/Makefile|9 +- board/freescale/mpc8544ds/ddr.c | 268 + board/freescale/mpc8544ds/mpc8544ds.c | 21 ++- cpu/mpc85xx/Makefile

[U-Boot-Users] [RFC][FSL DDR 4/8] FSL DDR: Provide a generic fsl_ddr_sdram_set_lawbar()

2008-06-09 Thread Kumar Gala
Make fsl_ddr_sdram_set_lawbar() a weak function to allow board code to override if desired. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- drivers/misc/fsl_law.c | 63 1 files changed, 63 insertions(+), 0 deletions(-) diff --git a/drivers/mis

[U-Boot-Users] [RFC][FSL DDR 1/8] Add proper SPD definitions for DDR1/2/3

2008-06-09 Thread Kumar Gala
Also added a few helper functions for DDR1 & DDR2 to print SPD info and verify the checksum. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- common/Makefile |1 + common/ddr_spd.c | 504 + include/ddr_spd.h | 249 +

[U-Boot-Users] [RFC][FSL DDR 0/8] Freescale DDR rewrite

2008-06-09 Thread Kumar Gala
is at: http://gate.crashing.org/~galak/fsl_ddr.20080609/0002-Rewrite-the-FSL-mpc8xxx-DDR-controller-setup-code.patch - k - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for

Re: [U-Boot-Users] [PATCH] The fdt boardsetup command criteria was not unique

2008-06-09 Thread Jerry Van Baren
Scott Wood wrote: > On Sat, Jun 07, 2008 at 12:29:26PM -0400, Jerry Van Baren wrote: >> diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c >> index ede65ae..8592128 100644 >> --- a/common/cmd_fdt.c >> +++ b/common/cmd_fdt.c >> @@ -403,7 +403,8 @@ int do_fdt (cmd_tbl_t * cmdtp, int flag, int argc, cha

Re: [U-Boot-Users] Pull Request for mpc86xx repository

2008-06-09 Thread Jon Loeliger
On Fri, 2008-06-06 at 11:04 -0500, Jon Loeliger wrote: > On Mon, 2008-06-02 at 11:38 -0500, Jon Loeliger wrote: > > On Mon, 2008-05-19 at 11:06 -0500, Jon Loeliger wrote: > > > The following changes since commit > > > 180a90abdae72587c0f679edf8991455e559440d: > > > Wolfgang Denk (1): > > >

[U-Boot-Users] [PATCH] 85xx: Remove unused and unconfigured memory test code.

2008-06-09 Thread Kumar Gala
Remove unused and unconfigured DDR test code from FSL 85xx boards. Besides, other common code exists. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- board/freescale/mpc8540ads/mpc8540ads.c | 36 board/freescale/mpc8541cds/mpc8541cds.c | 39 -

[U-Boot-Users] Signed-off-by in mtd-2.6.22.1 branch

2008-06-09 Thread Scott Wood
There are several patches from William Juul in the mtd-2.6.22.1 branch of u-boot-nand-flash that are missing Signed-off-by lines. William or Stefan, can you provide sign-offs for these? -Scott - Check out the new SourceForge

Re: [U-Boot-Users] [PATCH] The fdt boardsetup command criteria was not unique

2008-06-09 Thread Scott Wood
On Sat, Jun 07, 2008 at 12:29:26PM -0400, Jerry Van Baren wrote: > diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c > index ede65ae..8592128 100644 > --- a/common/cmd_fdt.c > +++ b/common/cmd_fdt.c > @@ -403,7 +403,8 @@ int do_fdt (cmd_tbl_t * cmdtp, int flag, int argc, char > *argv[]) > } >

Re: [U-Boot-Users] [PATCH] [FIT] Delay FIT format check on sector based devices

2008-06-09 Thread Scott Wood
On Fri, Jun 06, 2008 at 11:07:40PM +0200, Marian Balakowicz wrote: > Global FIT image operations like format check cannot be performed on > a first sector data, defer them to the point when whole FIT image was > uploaded to a system RAM. > > Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> > -

[U-Boot-Users] [PATCH v2] net: Conditional COBJS inclusion of network drivers

2008-06-09 Thread Shinya Kuribayashi
Replace COBJS-y with appropriate driver config names. Signed-off-by: Shinya Kuribayashi <[EMAIL PROTECTED]> --- Changes v2: * Kill more CONFIG_CMD_NET and CONFIG_NET_MULTI defines from - fsl_mcdmafec.c - mcffec.c - netarm_eth.c * Revised DM9000 part against the net repo. drivers/ne

Re: [U-Boot-Users] [PATCH 1/2] 83xx/85xx/86xx: factor out Freescale Localbus defines out of mpc83xx.h

2008-06-09 Thread Andy Fleming
On Wed, May 28, 2008 at 9:20 AM, Anton Vorontsov <[EMAIL PROTECTED]> wrote: > This patch moves Freescale Localbus defines out of mpc83xx.h, so we could > use it on MPC85xx and MPC86xx processors. > > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> Acked-by: Andy Fleming <[EMAIL PROTECTED]> ---

Re: [U-Boot-Users] [PATCH 10/10] net: Conditional COBJS inclusino of remainings

2008-06-09 Thread Shinya Kuribayashi
Ben Warren wrote: >> diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c >> index 68901cd..cb21925 100644 >> --- a/drivers/net/dm9000x.c >> +++ b/drivers/net/dm9000x.c >> @@ -47,8 +47,6 @@ TODO: Homerun NIC and longrun NIC are not functional, only >> internal at the >> #include >> #include

Re: [U-Boot-Users] [PATCH v2] Move conditional compilation of MPC8XXX SPI driver to Makefile

2008-06-09 Thread Haavard Skinnemoen
Ben Warren <[EMAIL PROTECTED]> wrote: > +/* Controller-specific definitions: */ > + > +/* CONFIG_HARD_SPI triggers SPI bus initialization in PowerPC */ > +#ifdef CONFIG_MPC8XXX_SPI > +# ifndef CONFIG_HARD_SPI > +# define CONFIG_HARD_SPI > +# endif > +#endif Grumble. I'm really looking forward to

Re: [U-Boot-Users] [PATCH 10/10] net: Conditional COBJS inclusino of remainings

2008-06-09 Thread Ben Warren
Hi Shinya, On Sat, Jun 7, 2008 at 9:16 AM, Shinya Kuribayashi <[EMAIL PROTECTED]> wrote: > net: Conditional COBJS inclusino of remainings > s/inclusino/inclusion/ "remainings" isn't a word. Please use something like "remaining Ethernet controllers" > From: Shinya Kuribayashi <[EMAIL PROTECTED]>

[U-Boot-Users] [PATCH RESEND #2] Conditionally add -fno-stack-protector to CFLAGS

2008-06-09 Thread Haavard Skinnemoen
From: Haavard Skinnemoen <[EMAIL PROTECTED]> When compile-testing on powerpc, I get errors like this: /home/hskinnemoen/work/git/u-boot/net/nfs.c:422: undefined reference to `__stack_chk_fail_local' This seems to be because -fstack-protector is on by default, so let's explicitly disable it on a

[U-Boot-Users] [PATCH v2 RESEND] MMC: Consolidate MMC/SD command definitions

2008-06-09 Thread Haavard Skinnemoen
This moves the MMC and SD Card command definitions from include/asm/arch/mmc.h into include/mmc.h. These definitions are given by the MMC and SD Card standards, not by any particular architecture. There's a lot more room for consolidation in the MMC drivers which I'm hoping to get done eventually,

Re: [U-Boot-Users] Pull request: u-boot-fdt (fixed repo)

2008-06-09 Thread Jerry Van Baren
The following changes since commit 8155efbd7ae9c65564ca98affe94631d612ae088: Wolfgang Denk (1): Merge branch 'master' of ssh://mercury/home/wd/git/u-boot/master are available in the git repository at: git://git.denx.de/u-boot-fdt.git master David Gibson (1): libfdt: Several cle

Re: [U-Boot-Users] Pull request: u-boot-fdt

2008-06-09 Thread Jerry Van Baren
Jerry Van Baren wrote: > The following changes since commit 8155efbd7ae9c65564ca98affe94631d612ae088: > Wolfgang Denk (1): > Merge branch 'master' of ssh://mercury/home/wd/git/u-boot/master > > are available in the git repository at: > > git://git.denx.de/u-boot-fdt.git master > > Da

[U-Boot-Users] Pull request: u-boot-fdt

2008-06-09 Thread Jerry Van Baren
The following changes since commit 8155efbd7ae9c65564ca98affe94631d612ae088: Wolfgang Denk (1): Merge branch 'master' of ssh://mercury/home/wd/git/u-boot/master are available in the git repository at: git://git.denx.de/u-boot-fdt.git master David Gibson (1): libfdt: Several cle

Re: [U-Boot-Users] How to debug u-boot?

2008-06-09 Thread Detlev Zundel
Hi Brian, > Hi every one. > I need help with debugging u-boot. If I comple u-Boot without -Os > optimization, I get bunch of errors about missing functions. They are > inline functions (in_be32, out_be32, out_8, etc) and I'm not sure how > to make sure they are included when building the code w

[U-Boot-Users] [ppc4xx] Please pull git://www.denx.de/git/u-boot-ppc4xx.git

2008-06-09 Thread Stefan Roese
The following changes since commit 10a3367955bc2033b288915f8f10d0e507fe2fa1: Stefan Roese (1): Merge branch 'master' of /home/stefan/git/u-boot/u-boot are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master Grant Erickson (3): PPC4xx: Simplified p