[U-Boot] drivers/net/enc28j60.c - generalisation, how?

2010-07-23 Thread Reinhard Meyer
Hello, I would like to generalize that driver and make it also CONFIG_NET_MULTI-able. Currently it contains hard coded functionality for the LPC2292 Cpu and is used by only two boards: lpc2292sodimm and SMN42. Since the driver could be clearly generic, using just SPI and two I/O Pins for /reset

Re: [U-Boot] [PATCH v2 3/8] ARMV7: Modify i2c driver for more reliable operation on OMAP4

2010-07-23 Thread Heiko Schocher
Hello Steve, Steve Sakoman wrote: > This patch modifies the init routine to follow the TRM > recommendations. It also modifies the i2c_read_byte function > to reflect subtle differences between the i2c controller in > OMAP3 and OMAP4. > > Signed-off-by: Steve Sakoman > Acked-by: Nishanth Menon

[U-Boot] Pull request: u-boot-i2c

2010-07-23 Thread Heiko Schocher
Hello Wolfgang, please pull from u-boot-i2c The following changes since commit 1f82ff4777f360e92aa37bbbed647f7b9d9d2044: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-video are available in the git repository at: git://git.denx.de/u-boot-i2c.git master Mike F

Re: [U-Boot] [PATCH 1/2 v2] i2c: soft_i2c: add simple GPIO implementation

2010-07-23 Thread Heiko Schocher
Hello Mike, Mike Frysinger wrote: > Since the vast majority of GPIO I2C implementations behave the same way, > support the common GPIO framework with default settings. > > This adds two new defines CONFIG_SOFT_I2C_GPIO_{SCL,SDA} so that boards > which want GPIO I2C support need only define these.

[U-Boot] [PATCH V6 4/4] edminiv2: add mvsata_ide and cmd_ide support

2010-07-23 Thread Albert Aribaud
Add mvsata_ide port 1 initialization in edminiv2 init code Add mvsata_ide and cmd_ide configuration in edminiv2 config Signed-off-by: Albert Aribaud --- board/LaCie/edminiv2/edminiv2.c |8 include/configs/edminiv2.h | 33 - 2 files changed, 40

[U-Boot] [PATCH V6 3/4] cmd_ide: add support for orion5x

2010-07-23 Thread Albert Aribaud
Add MVSATAHC definitions to orion5x. Add support for orion5x in cmd_ide. Signed-off-by: Albert Aribaud --- arch/arm/include/asm/arch-orion5x/orion5x.h |3 +++ common/cmd_ide.c|4 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/incl

[U-Boot] [PATCH V6 2/4] ide: add mvsata_ide driver

2010-07-23 Thread Albert Aribaud
This driver only provides initialization code; actual driving is done by cmd_ide.c using the ATA compatibility mode of the Marvell SATAHC controller. Signed-off-by: Albert Aribaud --- drivers/block/Makefile |7 +++-- drivers/block/mvsata_ide.c | 60 +

[U-Boot] [PATCH V6 1/4] ide: add configuration CONFIG_IDE_SWAP_IO

2010-07-23 Thread Albert Aribaud
This configuration option replaces a complex conditional in cmd_ide.c with an explicit define to be added to SoC or board configs. Signed-off-by: Albert Aribaud --- This patch set introduces CONFIG_IDE_SWAP_IO as suggested by Wolfgang Denk, adds orion5x support to cmd_ide.c and adds IDE support t

Re: [U-Boot] [PATCH v2 0/8] ARMV7: Enhance support for OMAP4

2010-07-23 Thread Steve Sakoman
On Fri, 2010-07-23 at 20:14 -0700, Steve Sakoman wrote: > This is version 2 of the patch set. It incorporates all feedback to date. > > This patch series adds support for: > - pad mux initialization > - OMAP4 TWL6030 companion chip initialization > - usb driver and gadget support These patche

[U-Boot] [PATCH v2 7/8] ARMV7: Enable musb driver and usbtty on OMAP4 Panda

2010-07-23 Thread Steve Sakoman
Signed-off-by: Steve Sakoman --- include/configs/omap4_panda.h | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h index 4bec00b..1d76467 100644 --- a/include/configs/omap4_panda.h +++ b/include/conf

[U-Boot] [PATCH v2 5/8] ARMV7: Restructure omap3 musb driver to allow code sharing between OMAP3 and OMAP4

2010-07-23 Thread Steve Sakoman
Signed-off-by: Steve Sakoman --- arch/arm/include/asm/arch-omap3/cpu.h |3 +++ arch/arm/include/asm/arch-omap4/cpu.h |3 +++ drivers/usb/musb/omap3.c | 16 drivers/usb/musb/omap3.h |3 ++- 4 files changed, 24 insertions(+), 1 deletions(-)

[U-Boot] [PATCH v2 8/8] ARMV7: Update default environment for OMAP4 boards

2010-07-23 Thread Steve Sakoman
Specify vram on command line, remove erroneous call to nandboot in the boot script, add CONFIG_BOOTDELAY Signed-off-by: Steve Sakoman Acked-by: Nishanth Menon --- include/configs/omap4_panda.h |5 - include/configs/omap4_sdp4430.h |5 - 2 files changed, 8 insertions(+), 2 dele

[U-Boot] [PATCH v2 6/8] ARMV7: Enable musb driver and usbtty on OMAP4430 SDP

2010-07-23 Thread Steve Sakoman
Signed-off-by: Steve Sakoman --- include/configs/omap4_sdp4430.h | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/include/configs/omap4_sdp4430.h b/include/configs/omap4_sdp4430.h index c18e71a..e9909f9 100644 --- a/include/configs/omap4_sdp4430.h +++ b/incl

[U-Boot] [PATCH v2 4/8] ARMV7: Add support for the TWL6030 I2C power chip used in OMAP4 systems

2010-07-23 Thread Steve Sakoman
This patch add the basic infrastructure for the TWL6030 driver and enables support in the two existing OMAP4 boards, Panda and OMAP4430 SDP Signed-off-by: Steve Sakoman --- drivers/power/Makefile |1 + drivers/power/twl6030.c | 77 + include

[U-Boot] [PATCH v2 3/8] ARMV7: Modify i2c driver for more reliable operation on OMAP4

2010-07-23 Thread Steve Sakoman
This patch modifies the init routine to follow the TRM recommendations. It also modifies the i2c_read_byte function to reflect subtle differences between the i2c controller in OMAP3 and OMAP4. Signed-off-by: Steve Sakoman Acked-by: Nishanth Menon --- arch/arm/include/asm/arch-omap3/i2c.h |

[U-Boot] [PATCH v2 2/8] ARMV7: Fix udelay for OMAP4

2010-07-23 Thread Steve Sakoman
The OMAP4 x-load code sets gptimer1 clock source to 32Khz. This isn't acceptable for udelay. This patch changes from gptimer1 to gptimer2, which uses sys_clk at 38.4 Mhz. Signed-off-by: Steve Sakoman --- arch/arm/cpu/armv7/omap-common/timer.c |9 - include/configs/omap4_panda.h

[U-Boot] [PATCH v2 1/8] ARMV7: Add pad mux support for OMAP4

2010-07-23 Thread Steve Sakoman
Add functional multiplexing support for OMAP4 pads. Configure all the pads for the OMAP4430 SDP and OMAP4 Panda boards Signed-off-by: Steve Sakoman Signed-off-by: Aneesh V --- arch/arm/cpu/armv7/omap4/board.c| 11 + arch/arm/include/asm/arch-omap4/mux_omap4.h | 344 ++

[U-Boot] [PATCH v2 0/8] ARMV7: Enhance support for OMAP4

2010-07-23 Thread Steve Sakoman
This is version 2 of the patch set. It incorporates all feedback to date. This patch series adds support for: - pad mux initialization - OMAP4 TWL6030 companion chip initialization - usb driver and gadget support It also fixes issues in the udelay implementation and the OMAP I2C driver as we

Re: [U-Boot] [PATCH] NAND: add Samsung K9LBG08UXD identifier

2010-07-23 Thread Scott Wood
On Wed, 21 Jul 2010 13:59:14 +0800 Jason Liu wrote: > 2010/7/21 Scott Wood : > > On Tue, 20 Jul 2010 08:43:55 +0800 > > Lei Wen wrote: > > > >> On Tue, Jul 20, 2010 at 4:22 AM, Scott Wood > >> wrote: > >> > On Mon, Jul 19, 2010 at 09:05:05PM +0800, Lei Wen wrote: > >> >> Rebased version for th

[U-Boot] [PATCH] ppc4xx: cleanup default environment for AMCC boards

2010-07-23 Thread Wolfgang Denk
None of the AMCC boards uses an embedded environment, so there is no need to run "saveenv" after updating U-Boot. Drop the redundant commands from the default environment. Signed-off-by: Wolfgang Denk --- include/configs/amcc-common.h |6 ++ 1 files changed, 2 insertions(+), 4 deletions

Re: [U-Boot] [PATCH 3/8] ARMV7: Modify i2c driver for more reliable operation on OMAP4

2010-07-23 Thread Nishanth Menon
On Fri, Jul 23, 2010 at 11:33 AM, Steve Sakoman wrote: > On Wed, Jul 21, 2010 at 4:53 PM, Nishanth Menon > wrote: > > diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c > index 3256133..a91fe55 100644 > --- a/drivers/i2c/omap24xx_i2c.c > +++ b/drivers/i2c/omap24x

Re: [U-Boot] [PATCH 3/8] ARMV7: Modify i2c driver for more reliable operation on OMAP4

2010-07-23 Thread Steve Sakoman
On Wed, Jul 21, 2010 at 4:53 PM, Nishanth Menon wrote: diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c index 3256133..a91fe55 100644 --- a/drivers/i2c/omap24xx_i2c.c +++ b/drivers/i2c/omap24xx_i2c.c @@ -41,6 +41,7 @@ void i2c_init (int speed, int slav

Re: [U-Boot] [PATCH V5 4/4] edminiv2: add mvsata_ide and cmd_ide support

2010-07-23 Thread Albert ARIBAUD
Hi Prafulla et al., Le 21/07/2010 12:26, Prafulla Wadaskar a écrit : >> +#define __io >> + > > Pls move this below inside #ifdef CONFIG_CMD_IDE Wilco. >> +#define CONFIG_CMD_IDE >> +#define CONFIG_DOS_PARTITION >> +#define CONFIG_CMD_EXT2 > > It's good if you use #ifdef here and pull all IDE sp

Re: [U-Boot] Supporting two boards which are almost similar

2010-07-23 Thread Sudhakar Rajashekhara
Hi Detlev, On Tue, Jun 29, 2010 at 16:19:41, Detlev Zundel wrote: > Hi Sudhakar, > > > On Fri, Jun 25, 2010 at 16:40:19, Sudhakar Rajashekhara wrote: > >> Hi, > >> > >> Spectrum digital has two versions of DM6467 EVM, DM6467 and DM6467T. > >> Though there are some video related differences betwe

Re: [U-Boot] spi utility command support

2010-07-23 Thread Mike Frysinger
On Friday, July 23, 2010 04:19:18 shashikiran.bevenka...@wipro.com wrote: > I'm using u-boot-2009.11, please help in enabling sspi utility command > for MPC8569MDS board. > > I included the macro "#define CONFIG_CMD_SPI" in the file > "include/configs/MPC8569MDS.h". > > following is the error

Re: [U-Boot] Non standard CFI detection tweaks

2010-07-23 Thread Albert ARIBAUD
Le 20/07/2010 13:01, Rogan Dawes a écrit : > On 2010/07/20 12:53 PM, Reinhard Meyer (-VC) wrote: >> Rogan Dawes schrieb: >>> You're not tempted to try to fix the CFI driver for your board anyway, I >>> suppose? :-) >> >> Tempted: YES ! >> >> Time available: (currently) NONE >> >> Being on the wish/

[U-Boot] [PATCH] print_buffer: optimize & shrink

2010-07-23 Thread Mike Frysinger
Applying a little creative format string allows us to shrink the initial data read & display loop by only calling printf once. Re-using the local data buffer to generate the string we want to display then allows us to output everything with just one printf call instead of multiple calls to the put

[U-Boot] [PATCH] dataflash mmc mux: use common cmd_usage function

2010-07-23 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- note: i have no target that uses it, so i havent compile tested this. but the change is straight forward enough ... common/cmd_dataflash_mmc_mux.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_dataflash_mmc_mux.c b/co

[U-Boot] [PATCH] mflash: use common cmd_usage function

2010-07-23 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- note: i have no target that uses it, so i havent compile tested this. but the change is straight forward enough ... common/cmd_mgdisk.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_mgdisk.c b/common/cmd_mgdisk.c inde

[U-Boot] [PATCH] cmd editing: optimize/shrink output blanking

2010-07-23 Thread Mike Frysinger
No need to output spaces 1 char at a time in a loop when the printf code can do the same thing with the right format string. This shrinks things and gives a nice speed up when killing off lines more than a byte or two as printf will send out the buffer in one big chunk. Signed-off-by: Mike Frysin

[U-Boot] spi utility command support

2010-07-23 Thread shashikiran.bevenkatti
Hi, I'm using u-boot-2009.11, please help in enabling sspi utility command for MPC8569MDS board. I included the macro "#define CONFIG_CMD_SPI" in the file "include/configs/MPC8569MDS.h". following is the error when i done make. common/libcommon.a(cmd_spi.o): In function `do_spi': /home/

[U-Boot] Please pull u-boot-ppc4xx/master

2010-07-23 Thread Stefan Roese
The following changes since commit 1f82ff4777f360e92aa37bbbed647f7b9d9d2044: Merge branch 'master' of git://git.denx.de/u-boot-video (2010-07-17 20:49:59 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master Rupjyoti Sarmah (1): ppc4xx/Canyonla

Re: [U-Boot] [PATCH] ppc4xx: Enable "ecctest" command on t3corp

2010-07-23 Thread Stefan Roese
On Thursday 22 July 2010 19:06:27 Stefan Roese wrote: > Signed-off-by: Stefan Roese Applied to u-boot-ppc4xx/master. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+4

Re: [U-Boot] [PATCH] ppc4xx: Enable "ecctest" command on katmai

2010-07-23 Thread Stefan Roese
On Thursday 22 July 2010 19:06:14 Stefan Roese wrote: > Signed-off-by: Stefan Roese Applied to u-boot-ppc4xx/master. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+4

Re: [U-Boot] [PATCH] ppc4xx: Add ECC status info to machine-check exception for IBM DDR2 core

2010-07-23 Thread Stefan Roese
On Wednesday 21 July 2010 19:06:26 Stefan Roese wrote: > Signed-off-by: Stefan Roese Applied to u-boot-ppc4xx/master. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+

Re: [U-Boot] [PATCH] ppc4xx: Add "ecctest" command to test/simulate ECC errors

2010-07-23 Thread Stefan Roese
On Wednesday 21 July 2010 19:06:10 Stefan Roese wrote: > This patch adds the "ecctest" command to test and simulate ECC errors > (single bit and/or double bit) while running from SDRAM. Currently only > the IBM DDR2 controller is supported (405EX, 440SP(e), 460EX/GT). > > This is done by copying a

Re: [U-Boot] [PATCH 2/2] ppc4xx: DDR/ECC: Use correct macros to clear error status

2010-07-23 Thread Stefan Roese
On Wednesday 21 July 2010 11:08:27 Stefan Roese wrote: > Use the correct macro instead of the hardcoded 0x4c to clear the ECC > status in the 440/460 DDR(2) error status register after ECC > initialization. > > Also the non-440 parts (405EX(r) right now) and the IBM DDR PPC variants > (440GX) use

Re: [U-Boot] [PATCH 1/2] ppc4xx: Only define DDR2 registers for the correct PowerPC variants

2010-07-23 Thread Stefan Roese
On Wednesday 21 July 2010 11:08:16 Stefan Roese wrote: > Make sure that some SDRAM/DDR2 registers are only defined for the PPC > variants really implementing those registers. Applied to u-boot-ppc4xx/master. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detle

Re: [U-Boot] [PATCH v2] ppc4xx: Add CONFIG_DDR_RFDC_FIXED to allow board specific RFDC values

2010-07-23 Thread Stefan Roese
On Tuesday 20 July 2010 07:06:03 Stefan Roese wrote: > Using this define, a board can define an opimized RFDC value and use > the auto calibration code to "tune" the remaining DDR2 controller > calibration register. Applied to u-boot-ppc4xx/master. Thanks. Cheers, Stefan -- DENX Software Enginee

Re: [U-Boot] [PATCH] ppc4xx: T3CORP fixes and updates

2010-07-23 Thread Stefan Roese
On Monday 19 July 2010 14:24:22 Stefan Roese wrote: > This patch fixes some problems for the T3CORP board. Here the list > of the changes: > > - Add 600-67 and 677 CPU frequency setting to chip_config > command > - Define CONFIG_DDR_RFDC_FIXED on t3corp: > While using the "normal" auto calibra

Re: [U-Boot] [PATCH v3]ppc4xx/Canyonlands added USB board callbacks

2010-07-23 Thread Stefan Roese
On Wednesday 07 July 2010 14:44:48 Rupjyoti Sarmah wrote: > Functions added to support board callbacks for USB init. This > isolates USB manipulations such that it is only touched if USB is > used by U-Boot. Applied to u-boot-ppc4xx/master. Thanks. Cheers, Stefan -- DENX Software Engineering Gm