Re: [U-Boot] [RFC] PPC: post_word_{load/store} - eliminate redundant code

2010-04-21 Thread Michael Zaidman
On Wed, Apr 21, 2010 at 12:39 AM, Wolfgang Denk wrote: > Dear Michael Zaidman, > > In message > you wrote: >> >> In order to eliminate redundant code for powerPC architecture when >> defining post_word_{load/store} routines I suggest  moving them into >> the arch/ppc/lib/commproc.c file rather t

Re: [U-Boot] Failure in ubifsmount

2010-04-21 Thread Stefan Roese
Hi Stefano, On Tuesday 20 April 2010 16:52:13 Stefano Babic wrote: > it seems I have found an unitialized variable when I run ubifsmount on > an ARM board. > > The problem arises during the sget() function when the "type" of > filesystem is added to the superblock list, at the following line: >

Re: [U-Boot] [PATCH] PPC: define post_word_{load/store} for all PPC boards.

2010-04-21 Thread Michael Zaidman
Link to the related thread: http://lists.denx.de/pipermail/u-boot/2010-April/070263.html ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] ppc4xx: Add support for Mosiaxtech ICON board (PPC440SPe)

2010-04-21 Thread Stefan Roese
This patch adds support for the Mosaixtech ICON board, based on the AppliedMicro (AMCC) PPC440SPe. It's equipped with an SODIMM (512MB standard) and 64MByte of NOR FLASH. Support for the onboard SM502 will be added later. Signed-off-by: Stefan Roese --- MAINTAINERS |

Re: [U-Boot] [PATCH] spi_flash: support old STMicro parts with RES

2010-04-21 Thread Mike Frysinger
On Wednesday 21 April 2010 02:14:07 Thomas Chou wrote: > --- a/drivers/mtd/spi/spi_flash.c > +++ b/drivers/mtd/spi/spi_flash.c > @@ -120,6 +120,18 @@ struct spi_flash *spi_flash_probe(unsigned int bus, > unsigned int cs, ret = spi_flash_cmd(spi, CMD_READ_ID, &idcode, > sizeof(idcode)); > if (

[U-Boot] [PATCH] mtdparts add not working

2010-04-21 Thread Stefano Babic
Adding a new partition using the mtdparts command causes a null pointer access because the device_parse function does not accept a null pointer as parameter. Signed-off-by: Stefano Babic --- common/cmd_mtdparts.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/common/

[U-Boot] [PATCH] ubifsmount fails due to not initialized list

2010-04-21 Thread Stefano Babic
ubifsmount is not working and causes an access with a pointer set to zero because the ubifs_fs_type is not initialized correctly. Signed-off-by: Stefano Babic --- fs/ubifs/super.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 3

Re: [U-Boot] [PATCH] spi_flash: support old STMicro parts with RES

2010-04-21 Thread Thomas Chou
On 04/21/2010 03:42 PM, Mike Frysinger wrote: > please move this logic to stmicro's probe function to keep the common code > clear of such cruft. > -mike > Hi Mike, Thanks. I can move them to stmicro.c. But I still need to sort 0xff to stmicro. Is this OK? Best regards, Thomas diff --git a/

[U-Boot] [PATCH 02/17] change_bit routine defined

2010-04-21 Thread Vipin KUMAR
change_bit routine is left implementation dependent until now. This routine is now defined for arm platforms in asm-arm/bitops.h Signed-off-by: Vipin Kumar --- arch/arm/include/asm/bitops.h | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/bi

[U-Boot] [PATCH 08/17] SPEAr : Network support configured for spear SoCs

2010-04-21 Thread Vipin KUMAR
Signed-off-by: Vipin Kumar --- arch/arm/include/asm/arch-spear/hardware.h |1 + board/spear/spear300/spear300.c|6 ++ board/spear/spear310/spear310.c|6 ++ board/spear/spear320/spear320.c|6 ++ board/spear/spear600/spear600.c

[U-Boot] [PATCH 04/17] SPEAr : Placing ethaddr write and read within CONFIG_CMD_NET

2010-04-21 Thread Vipin KUMAR
ethaddr can be optionally read from i2c memory. So, chip_config command supports reading/writing hw mac id into i2c memory. Placing this code within CONFIG_CMD_NET as this would only be needed when network interface is configured Signed-off-by: Vipin Kumar --- board/spear/common/spr_misc.c | 2

[U-Boot] [PATCH 09/17] SPEAr : macb driver support added for spear310 and spear320

2010-04-21 Thread Vipin KUMAR
Signed-off-by: Vipin Kumar --- arch/arm/include/asm/arch-spear/hardware.h |7 +++ board/spear/spear310/spear310.c|9 - board/spear/spear320/spear320.c|6 +- include/asm-arm/arch-spear/clk.h | 27 +++ include/c

[U-Boot] [PATCH 03/17] SPEAr : SMI erase and write timeouts increased

2010-04-21 Thread Vipin KUMAR
SMI driver fails because of low timeout values. Increasing the erase and write timeouts to 3 seconds Signed-off-by: Vipin Kumar --- arch/arm/include/asm/arch-spear/spr_smi.h |6 +++--- drivers/mtd/spr_smi.c |8 2 files changed, 7 insertions(+), 7 deletions(-)

[U-Boot] [PATCH 00/17] Network support for spear platform and spear1300 support

2010-04-21 Thread Vipin KUMAR
The following set of patches contain 1. Network driver support for designware IP 2. FSMC(Flexible static memory controller) support for ST IP. 3. I2C driver support for designware IP 4. SMI driver support for ST IP 5. spear1300 SoC and board support 6. misc changes in spear platform and board relat

[U-Boot] [PATCH 17/17] SPEAr : Supporting various configurations for spear3xx and spear6xx boards

2010-04-21 Thread Vipin KUMAR
spear3xx and 6xx boards can be compiled in following configurations 1. Environment placed in NAND 2. console on usb device 3. console on usb device with environment placed in NAND Signed-off-by: Vipin Kumar --- Makefile | 16 ++-- board/spear/spear300/config.m

[U-Boot] [PATCH 01/17] u-boot.img file not created when srctree and objtree are different

2010-04-21 Thread Vipin KUMAR
Adding ($obj) before tools/mkimage for u-boot.img file creation Signed-off-by: Vipin Kumar --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 0381c81..1b431a5 100644 --- a/Makefile +++ b/Makefile @@ -317,7 +317,7 @@ $(obj)u-boot.ldr.s

[U-Boot] [PATCH 05/17] SPEAr : Reducing the max RAM size to 128MB

2010-04-21 Thread Vipin KUMAR
Signed-off-by: Vipin Kumar --- include/configs/spear-common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h index cc52e39..b526558 100644 --- a/include/configs/spear-common.h +++ b/include/configs/spear-co

[U-Boot] [PATCH 06/17] SPEAr : Basic arch related support added for SPEAr SoCs

2010-04-21 Thread Vipin KUMAR
Adding CONFIG_DISPLAY_CPUINFO and CONFIG_ARCH_CPU_INIT support for SPEAr3xx and SPEAr6xx SoCs Signed-off-by: Vipin Kumar --- arch/arm/cpu/arm926ejs/spear/Makefile |3 +- arch/arm/include/asm/arch-spear/spr_misc.h |5 ++ cpu/arm926ejs/spear/cpu_info.c | 76 +

[U-Boot] [PATCH 15/17] SPEAr : Basic spear1300 architecture support added

2010-04-21 Thread Vipin KUMAR
Signed-off-by: Vipin Kumar --- cpu/arm_cortexa8/spear13xx/Makefile| 52 + cpu/arm_cortexa8/spear13xx/cache.S | 112 ++ cpu/arm_cortexa8/spear13xx/cpu_info.c | 105 + cpu/arm_cortexa8/spear13xx/reset.c | 47 cpu/arm_cortexa8/spear13xx/tim

[U-Boot] [PATCH 07/17] SPEAr : Network driver support added

2010-04-21 Thread Vipin KUMAR
Designware network driver support added. This is a Synopsys ethernet controller Signed-off-by: Vipin Kumar --- drivers/net/Makefile |1 + drivers/net/dw_eth.c | 504 ++ drivers/net/dw_eth.h | 281 include/netdev.h

[U-Boot] [PATCH 13/17] SPEAr : smi driver moved completely into drivers/mtd

2010-04-21 Thread Vipin KUMAR
The smi IP used by spear platform is a ST serial memory interface controller The earlier driver adds the driver of this controller as if it is specific to spear platform. The driver files are now moved into drivers/mtd folder for reusability by other platforms Signed-off-by: Vipin Kumar --- arch

[U-Boot] [PATCH 12/17] SPEAr : i2c driver moved completely into drivers/i2c

2010-04-21 Thread Vipin KUMAR
The i2c IP used by spear platform is a synopsys i2c controller The earlier driver adds the driver of this controller as if it is specific to spear platform. The driver files are now moved into drivers/i2c folder for reusability by other platforms Signed-off-by: Vipin Kumar --- arch/arm/include/a

[U-Boot] [PATCH 11/17] SPEAr : Configuring FSMC driver for NAND interface

2010-04-21 Thread Vipin KUMAR
Since FSMC is a standard IP and it supports different memory interfaces the FSMC is supported independent of spear platform and spear is configured to use that driver for interfacing with the NAND device Signed-off-by: Vipin Kumar --- arch/arm/include/asm/arch-spear/hardware.h |8 +- arch/ar

[U-Boot] [PATCH 10/17] SPEAr : FSMC driver support added

2010-04-21 Thread Vipin KUMAR
Flexible static memory controller is an IP which controls the access to NAND chips along with many other memory device chips eg NOR, SRAM. This is an ST peripheral. This patch adds the driver support for FSMC controller interfacing with NAND memory. Signed-off-by: Vipin Kumar --- drivers/mtd/nan

[U-Boot] [PATCH 16/17] SPEAr : spear1300 SoC support added

2010-04-21 Thread Vipin KUMAR
SPEAr1300 SoC support contains basic spear1300 support along with the usage of following drivers - serial driver(UART) - i2c driver - smi driver - nand driver(FSMC) - usbd driver Signed-off-by: Vipin Kumar --- Makefile |6 + board/spear/common/Makefile

[U-Boot] [PATCH] MX31: Added LCD support for QONG module

2010-04-21 Thread Stefano Babic
Added support for LCD and splash image to the QONG module. The supported display is VBEST-VGG322403. Signed-off-by: Stefano Babic --- drivers/video/mx3fb.c | 17 + include/configs/qong.h | 11 +++ 2 files changed, 28 insertions(+), 0 deletions(-) diff --git a/driver

[U-Boot] [PATCH] smc911x driver frame alignment patch

2010-04-21 Thread Valentin Yakovenkov
Wrong alignment in smc911x driver when reading a frame from fifo. Neither smc911x chip nor U-Boot doesn't use IP-alignment, so we don't need to add anything here. Signed-off-by: Valentin Yakovenkov diff -r 7dc8ff189175 a/drivers/net/smc911x.c --- a/drivers/net/smc911x.c Mon Mar 29 11:08:55 2

[U-Boot] [PATCH v2] spi_flash: support old STMicro parts with RES

2010-04-21 Thread Thomas Chou
Some old STMicro parts do not support JEDEC ID (0x9f). This patch uses RES (0xab) to get Electronic ID and translates it to JEDEC ID. Signed-off-by: Thomas Chou --- move the logic to stmicro's probe function. drivers/mtd/spi/spi_flash.c |1 + drivers/mtd/spi/stmicro.c | 21 +

[U-Boot] [PATCH 0/2] Fix networking on DM365EVM

2010-04-21 Thread andreas . gaer
From: Andreas Gaeer Network did not work on my DM365EVM because of a wrong PHY mask and wrong initialization of the MAC address when ethaddr was not already present in the environment. The first patch fixes the mask definition, the second moves MAC address init to a proper place in the board se

[U-Boot] [PATCH 1/2] Davinci: Fixed wrong EMAC_MDIO_PHY_MASK

2010-04-21 Thread andreas . gaer
From: Andreas Gaeer Signed-off-by: Andreas Gaeer --- arch/arm/include/asm/arch-davinci/emac_defs.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/include/asm/arch-davinci/emac_defs.h b/arch/arm/include/asm/arch-davinci/emac_defs.h index b0ec8f5..baee6aa 1006

[U-Boot] [PATCH 2/2] Davinci: Move config of MAC address to board setup

2010-04-21 Thread andreas . gaer
From: Andreas Gaeer Without this change the MAC address only gets properly set when the ethaddr is already set in u-boot environment. Now the board setup should do the following: 1. Put a valid ethaddr into environment (eg. by I2C EEPROM) 2. Call dv_set_mac_address() to set the address in TI EMA

[U-Boot] [PATCH] nios2: remove EP1C20, EP1S10, EP1S40 boards

2010-04-21 Thread Thomas Chou
The example configuration files of nios2-generic board can generated binary to run on the EP1C20, EP1S10, and EP1S40 boards. So the three boards can be removed. With nios2-generic approach, the fpga parameter header file can be generated from hardware designs using tools. Porting u-boot for nios2

Re: [U-Boot] [PATCH] spi_flash: support old STMicro parts with RES

2010-04-21 Thread Mike Frysinger
On Wednesday 21 April 2010 03:51:33 Thomas Chou wrote: > On 04/21/2010 03:42 PM, Mike Frysinger wrote: > > please move this logic to stmicro's probe function to keep the common > > code clear of such cruft. > > Thanks. I can move them to stmicro.c. But I still need to sort 0xff to > stmicro. the

[U-Boot] [PATCH v4] Move arch/ppc to arch/powerpc

2010-04-21 Thread Stefan Roese
Because of the size of this patch (approx. 350k), here the link to it: http://www.denx.de/wiki/pub/U-Boot/TooBigPatches/0001-Move-arch-ppc-to-arch-powerpc-v4.patch And here the patch description and statistics: [PATCH v4] Move arch/ppc to arch/powerpc As discussed on the list, move "arch/ppc" t

Re: [U-Boot] [PATCH 06/17] SPEAr : Basic arch related support added for SPEAr SoCs

2010-04-21 Thread Peter Tyser
Hi Vipin, On Wed, 2010-04-21 at 13:24 +0530, Vipin KUMAR wrote: > Adding CONFIG_DISPLAY_CPUINFO and CONFIG_ARCH_CPU_INIT support for SPEAr3xx > and > SPEAr6xx SoCs > > Signed-off-by: Vipin Kumar > --- > arch/arm/cpu/arm926ejs/spear/Makefile |3 +- > arch/arm/include/asm/arch-spear/spr

[U-Boot] [PATCH] tx25: fix crash while booting Linux

2010-04-21 Thread Anatolij Gustschin
Currently booting Linux on TX25 board doesn't work since there is no correct mach-id and boot parameters setup for tx25 board. Fix it now. Signed-off-by: Anatolij Gustschin Cc: John Rigby Cc: Stefano Babic --- board/karo/tx25/tx25.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)

Re: [U-Boot] [PATCH 00/17] Network support for spear platform and spear1300 support

2010-04-21 Thread Peter Tyser
Hi Vipin, > cpu/arm926ejs/spear/cpu_info.c | 76 ++ > cpu/arm_cortexa8/spear13xx/Makefile| 52 ++ > cpu/arm_cortexa8/spear13xx/cache.S | 112 +++ > cpu/arm_cortexa8/spear13xx/cpu_info.c | 105 +++ > cpu/arm_cortexa8/spear13xx/reset.c | 47 ++ > cpu

Re: [U-Boot] [PATCH 07/17] SPEAr : Network driver support added

2010-04-21 Thread Peter Tyser
Hi Vipin, > drivers/net/dw_eth.c | 504 > ++ > drivers/net/dw_eth.h | 281 I'd vote to name the driver "designware.c", or something else more descriptive than the somewhat ambiguous "dw". The _eth portion of the name

Re: [U-Boot] [PATCH 00/17] Network support for spear platform and spear1300 support

2010-04-21 Thread Vipin KUMAR
On 4/21/2010 5:24 PM, Peter Tyser wrote: > Hi Vipin, > >> cpu/arm926ejs/spear/cpu_info.c | 76 ++ >> cpu/arm_cortexa8/spear13xx/Makefile| 52 ++ >> cpu/arm_cortexa8/spear13xx/cache.S | 112 +++ >> cpu/arm_cortexa8/spear13xx/cpu_info.c | 105 +++ >> cpu/arm_c

Re: [U-Boot] [PATCH 12/17] SPEAr : i2c driver moved completely into drivers/i2c

2010-04-21 Thread Peter Tyser
Hi Vipin, On Wed, 2010-04-21 at 13:24 +0530, Vipin KUMAR wrote: > The i2c IP used by spear platform is a synopsys i2c controller > The earlier driver adds the driver of this controller as if it is > specific to > spear platform. > The driver files are now moved into drivers/i2c folder for reusabil

[U-Boot] [PATCH] da830: Move common code out of da830evm.c file

2010-04-21 Thread Sudhakar Rajashekhara
TI's DA850/OMAP-L138 platform is similar to DA830/OMAP-L137 in many aspects. So instead of repeating the same code in multiple files, move the common code to a different file and call those functions from the respective da830/da850 files. Signed-off-by: Sudhakar Rajashekhara --- board/davinci/co

[U-Boot] [PATCH] mpc85xx: Add the ability to set LCRR[CLKDIV] to improve R/W speed of flash

2010-04-21 Thread Kumar Gala
From: Lan Chunhe Signed-off-by: Lan Chunhe Signed-off-by: Roy Zang Signed-off-by: Kumar Gala --- arch/ppc/cpu/mpc85xx/cpu_init.c | 15 +++ arch/ppc/include/asm/fsl_lbc.h |6 +- 2 files changed, 20 insertions(+), 1 deletions(-) diff --git a/arch/ppc/cpu/mpc85xx/cpu_init

Re: [U-Boot] [RFC] PPC: post_word_{load/store} - eliminate redundant code

2010-04-21 Thread Michael Zaidman
On Wed, Apr 21, 2010 at 12:39 AM, Wolfgang Denk wrote: > Dear Michael Zaidman, > > In message > you wrote: >> >> In order to eliminate redundant code for powerPC architecture when >> defining post_word_{load/store} routines I suggest  moving them into >> the arch/ppc/lib/commproc.c file rather t

Re: [U-Boot] [PATCH] tx25: fix crash while booting Linux

2010-04-21 Thread Wolfgang Denk
Dear Stefano, In message <1271850758-25478-1-git-send-email-ag...@denx.de> Anatolij Gustschin wrote: > Currently booting Linux on TX25 board doesn't work > since there is no correct mach-id and boot parameters > setup for tx25 board. Fix it now. > > Signed-off-by: Anatolij Gustschin > Cc: John R

Re: [U-Boot] [PATCH] tx25: fix crash while booting Linux

2010-04-21 Thread Stefano Babic
Anatolij Gustschin wrote: > Currently booting Linux on TX25 board doesn't work > since there is no correct mach-id and boot parameters > setup for tx25 board. Fix it now. > > Signed-off-by: Anatolij Gustschin > Cc: John Rigby > Cc: Stefano Babic > --- > board/karo/tx25/tx25.c |3 +++ > 1 f

Re: [U-Boot] [RFC] PPC: post_word_{load/store} - eliminate redundant code

2010-04-21 Thread Stefan Roese
Hi Michael, On Wednesday 21 April 2010 15:24:15 Michael Zaidman wrote: > >> In order to eliminate redundant code for powerPC architecture when > >> defining post_word_{load/store} routines I suggest moving them into > >> the arch/ppc/lib/commproc.c file rather than adding them to every > >> arch/

Re: [U-Boot] [RFC] PPC: post_word_{load/store} - eliminate redundant code

2010-04-21 Thread Wolfgang Denk
Dear Michael Zaidman, In message you wrote: > > Meanwhile the post_word_{load/store} are located in the commproc.c > files for the following architectures: > mpc8260, > mpc85xx, > mpc8xx, > ppc4xx. > > Looking for the way to add POST functionality for the mpc83xx family I > realized that the p

Re: [U-Boot] [RFC] PPC: post_word_{load/store} - eliminate redundant code

2010-04-21 Thread Michael Zaidman
On Wed, Apr 21, 2010 at 4:51 PM, Stefan Roese wrote: > Hi Michael, > > On Wednesday 21 April 2010 15:24:15 Michael Zaidman wrote: >> >> In order to eliminate redundant code for powerPC architecture when >> >> defining post_word_{load/store} routines I suggest  moving them into >> >> the arch/ppc/l

Re: [U-Boot] [RFC] PPC: post_word_{load/store} - eliminate redundant code

2010-04-21 Thread Michael Zaidman
On Wed, Apr 21, 2010 at 4:59 PM, Wolfgang Denk wrote: > > Actually there are two parts to it: > > bootcount_store() and bootcount_load() are needed for the boot > counter, a generic feature; I tend to move these into > arch/powerpc/lib/bootcount.c; the code also needs to be rewritten to > use I/O

[U-Boot] [GIT PULL] Please pull u-boot-pxa/next

2010-04-21 Thread Marek Vasut
Hey Tom, sorry for the delay. I addressed the issues you pointed out about the last two patches. Also, I made the first two stack-alignment patches one as the second one was just a bugfix for the first one. No change to the PXAMMC patches. Cheers! The following changes since commit 2a72e9ed18d2

Re: [U-Boot] [PATCH 1/4] ppc: Split MPC83xx SERDES code from MPC85xx/MPC86xx/QorIQ

2010-04-21 Thread Kim Phillips
On Tue, 20 Apr 2010 10:39:26 -0500 Kumar Gala wrote: > The MPC83xx SERDES control is different from the other FSL PPC chips. > For now lets split it out so we can standardize on interfaces for > determining of a device on SERDES is configured. > > Signed-off-by: Kumar Gala > --- > arch/ppc/cpu

Re: [U-Boot] [PATCH 10/17] SPEAr : FSMC driver support added

2010-04-21 Thread Scott Wood
On Wed, Apr 21, 2010 at 01:24:36PM +0530, Vipin KUMAR wrote: > +#if defined(CONFIG_BOARD_NAND_LP) CONFIG_SYS_FSMC_NAND_LP, CONFIG_SYS_FSMC_NAND_16BIT, etc. > + /* > + * length is intentionally kept a higher multiple of 2 > + * to read

Re: [U-Boot] [PATCH 11/17] SPEAr : Configuring FSMC driver for NAND interface

2010-04-21 Thread Scott Wood
On Wed, Apr 21, 2010 at 01:24:37PM +0530, Vipin KUMAR wrote: > diff --git a/board/spear/spear310/spear310.c b/board/spear/spear310/spear310.c > index 1207709..3ac62d1 100644 > --- a/board/spear/spear310/spear310.c > +++ b/board/spear/spear310/spear310.c > @@ -29,7 +29,8 @@ > #include > #include

Re: [U-Boot] [PATCH] smc911x driver frame alignment patch

2010-04-21 Thread Ben Warren
Mike, I know you use this driver a lot. Please comment on this patch. On 4/21/2010 12:56 AM, Valentin Yakovenkov wrote: > Wrong alignment in smc911x driver when reading a frame from fifo. > Neither smc911x chip nor U-Boot doesn't use IP-alignment, so we don't > need to add anything here. > > Sig

Re: [U-Boot] [PATCH 07/17] SPEAr : Network driver support added

2010-04-21 Thread Ben Warren
Hi Vipin, On 4/21/2010 12:54 AM, Vipin KUMAR wrote: > Designware network driver support added. > This is a Synopsys ethernet controller > > Signed-off-by: Vipin Kumar > --- > drivers/net/Makefile |1 + > drivers/net/dw_eth.c | 504 > ++ > d

Re: [U-Boot] [PATCH 2/2] Davinci: Move config of MAC address to board setup

2010-04-21 Thread Ben Warren
Andreas, On 4/21/2010 1:27 AM, andreas.g...@baslerweb.com wrote: > From: Andreas Gaeer > > Without this change the MAC address only gets properly set when the > ethaddr is already set in u-boot environment. > > Now the board setup should do the following: > 1. Put a valid ethaddr into environm

Re: [U-Boot] [PATCH] smc911x driver frame alignment patch

2010-04-21 Thread Mike Frysinger
On Wednesday 21 April 2010 13:52:27 Ben Warren wrote: > On 4/21/2010 12:56 AM, Valentin Yakovenkov wrote: > > Wrong alignment in smc911x driver when reading a frame from fifo. > > Neither smc911x chip nor U-Boot doesn't use IP-alignment, so we don't > > need to add anything here. > > I know you use

Re: [U-Boot] [RFC] PPC: post_word_{load/store} - eliminate redundant code

2010-04-21 Thread Wolfgang Denk
Dear Michael Zaidman, In message you wrote: > > > > Actually there are two parts to it: > > > > bootcount_store() and bootcount_load() are needed for the boot > > counter, a generic feature; I tend to move these into > > arch/powerpc/lib/bootcount.c; the code also needs to be rewritten to > > us

Re: [U-Boot] [PATCH v4] Move arch/ppc to arch/powerpc

2010-04-21 Thread Wolfgang Denk
Dear Stefan Roese, In message <201004211301.38730...@denx.de> you wrote: > Because of the size of this patch (approx. 350k), here the link > to it: > > http://www.denx.de/wiki/pub/U-Boot/TooBigPatches/0001-Move-arch-ppc-to-arch-powerpc-v4.patch > > And here the patch description and statistics:

Re: [U-Boot] Pull request u-boot-marvell.git

2010-04-21 Thread Tom Rix
Prafulla Wadaskar wrote: > Hi Tom > > Pls pull the following > > The following changes since commit 07739bcef5da07cc4a4edef8b91014ccc332eda3: > Stefano Babic (1): > Moved board specific values in config file > > are available in the git repository at: > > http://git.denx.de/u-boot/u

Re: [U-Boot] [RFC] PPC: post_word_{load/store} - eliminate redundant code

2010-04-21 Thread Mike Frysinger
On Wednesday 21 April 2010 17:40:05 Wolfgang Denk wrote: > Michael Zaidman wrote: > > > Actually there are two parts to it: > > > > > > bootcount_store() and bootcount_load() are needed for the boot > > > counter, a generic feature; I tend to move these into > > > arch/powerpc/lib/bootcount.c; the

Re: [U-Boot] [PATCH 12/17] SPEAr : i2c driver moved completely into drivers/i2c

2010-04-21 Thread Vipin KUMAR
On 4/21/2010 5:41 PM, Peter Tyser wrote: > Hi Vipin, > > On Wed, 2010-04-21 at 13:24 +0530, Vipin KUMAR wrote: >> The i2c IP used by spear platform is a synopsys i2c controller >> The earlier driver adds the driver of this controller as if it is >> specific to >> spear platform. >> The driver file

Re: [U-Boot] [PATCH 2/4] 85xx: Add is_serdes_configured() support toMPC8536 SERDES

2010-04-21 Thread Li Yang-R58472
>Subject: [U-Boot] [PATCH 2/4] 85xx: Add is_serdes_configured() >support toMPC8536 SERDES > >Add the ability to determine if a given IP block connected on SERDES is >configured. This is useful for things like PCIe and SRIO >since they are >only ever connected on SERDES. > >Signed-off-by: Kumar

[U-Boot] [PATCH v6] spi: add altera spi controller support

2010-04-21 Thread Thomas Chou
This patch adds the driver of altera spi controller, which is also used as epcs/spi flash controller. This driver support more than one spi bus, with base list declared #define CONFIG_SYS_ALTERA_SPI_LIST { BASE_0,BASE_1,... } With the spi_flash driver, they can replace the epcs driver at cpu/nios

Re: [U-Boot] [PATCH 11/17] SPEAr : Configuring FSMC driver for NAND interface

2010-04-21 Thread Vipin KUMAR
On 4/21/2010 10:32 PM, Scott Wood wrote: > On Wed, Apr 21, 2010 at 01:24:37PM +0530, Vipin KUMAR wrote: >> diff --git a/board/spear/spear310/spear310.c >> b/board/spear/spear310/spear310.c >> index 1207709..3ac62d1 100644 >> --- a/board/spear/spear310/spear310.c >> +++ b/board/spear/spear310/spear

Re: [U-Boot] [PATCH 10/17] SPEAr : FSMC driver support added

2010-04-21 Thread Vipin KUMAR
On 4/21/2010 10:32 PM, Scott Wood wrote: > On Wed, Apr 21, 2010 at 01:24:36PM +0530, Vipin KUMAR wrote: >> +#if defined(CONFIG_BOARD_NAND_LP) > > CONFIG_SYS_FSMC_NAND_LP, CONFIG_SYS_FSMC_NAND_16BIT, etc. Incomplete comment :) Are these deprecated >> +/* >> +

Re: [U-Boot] [PATCH 07/17] SPEAr : Network driver support added

2010-04-21 Thread Vipin KUMAR
On 4/21/2010 5:30 PM, Peter Tyser wrote: > Hi Vipin, > >> drivers/net/dw_eth.c | 504 >> ++ >> drivers/net/dw_eth.h | 281 > > I'd vote to name the driver "designware.c", or something else more > descriptive than the

[U-Boot] [PATCH v7] spi: add altera spi controller support

2010-04-21 Thread Thomas Chou
This patch adds the driver of altera spi controller, which is also used as epcs/spi flash controller. This driver support more than one spi bus, with base list declared #define CONFIG_SYS_ALTERA_SPI_LIST { BASE_0,BASE_1,... } With the spi_flash driver, they can replace the epcs driver at cpu/nios

Re: [U-Boot] [PATCH 07/17] SPEAr : Network driver support added

2010-04-21 Thread Vipin KUMAR
On 4/21/2010 11:18 PM, Ben Warren wrote: > Hi Vipin, > > On 4/21/2010 12:54 AM, Vipin KUMAR wrote: >> Designware network driver support added. >> This is a Synopsys ethernet controller >> >> Signed-off-by: Vipin Kumar >> --- >> drivers/net/Makefile |1 + >> drivers/net/dw_eth.c | 504 >> ++

Re: [U-Boot] [PATCH 06/17] SPEAr : Basic arch related support added for SPEAr SoCs

2010-04-21 Thread Vipin KUMAR
On 4/21/2010 5:21 PM, Peter Tyser wrote: > Hi Vipin, > > On Wed, 2010-04-21 at 13:24 +0530, Vipin KUMAR wrote: >> Adding CONFIG_DISPLAY_CPUINFO and CONFIG_ARCH_CPU_INIT support for SPEAr3xx >> and >> SPEAr6xx SoCs >> >> Signed-off-by: Vipin Kumar >> --- >> arch/arm/cpu/arm926ejs/spear/Makefile

[U-Boot] [PATCH] spi_mmc: set default spi bus

2010-04-21 Thread Thomas Chou
This patch supports non-zero spi bus. Signed-off-by: Thomas Chou --- Tested spi_mmc on two nios2 boards. Great job. Thanks. drivers/mmc/spi_mmc.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/spi_mmc.c b/drivers/mmc/spi_mmc.c index 90e583d..5791c13 10

Re: [U-Boot] [RFC] PPC: post_word_{load/store} - eliminate redundant code

2010-04-21 Thread Michael Zaidman
On Thu, Apr 22, 2010 at 12:40 AM, Wolfgang Denk wrote: > Looking at the code I wonder why we need post_word_store() and > post_word_load() functions at all. All implementations I have found > translate into a single ioread32() resp. iowrite32() call. > Probably, due to big and little endians that