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

2010-04-22 Thread Michael Zaidman
On Thu, Apr 22, 2010 at 12:40 AM, Wolfgang Denk w...@denx.de 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

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

2010-04-22 Thread Wolfgang Denk
Dear Michael Zaidman, In message i2o660c0f821004212341w74ed641aw94cd8738f1b9c...@mail.gmail.com you 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.

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

2010-04-22 Thread Gaer, A.
Hi Ben, Please read the documentation. This is not how it's done. Ok, thanks for the info. After reading doc/README.enetaddr I think I understand how it's done right. I already have reworked my patch that way. I'll wait with re-submitting until things have settled. Regards, Andreas.

[U-Boot] [PATCH 5/5 v3] nios2: fix no flash, add nand and mmc init in board.c

2010-04-22 Thread Thomas Chou
This patch fixes error when CONFIG_SYS_NO_FLASH. And adds nand flash and mmc initialization, which should go before env initialization. Signed-off-by: Thomas Chou tho...@wytron.com.tw --- v3 include mmc.h and nand.h. v2 arch dir reorganized. arch/nios2/lib/board.c | 18 ++ 1

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

2010-04-22 Thread Michael Zaidman
On Thu, Apr 22, 2010 at 12:03 PM, Wolfgang Denk w...@denx.de 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

[U-Boot] [PATCH 0/3] Add support for MB86R0x SoCs

2010-04-22 Thread Matthias Weisser
This patchset adds support for MB86R0x SoC familiy from Fujitsu, its built in lcd controller and a first board using the MB86R01. Matthias Weisser (3): arm: Add support for MB86R0x SoCs video: add support for display controller in MB86R0x SoCs arm: Add support for jadecpu board based on

[U-Boot] [PATCH 1/3] arm: Add support for MB86R0x SoCs

2010-04-22 Thread Matthias Weisser
This patch adds support for MB86R0x SoCs from Fujitsu Signed-off-by: Matthias Weisser weiss...@arcor.de --- arch/arm/cpu/arm926ejs/mb86r0x/Makefile | 47 +++ arch/arm/cpu/arm926ejs/mb86r0x/reset.c | 37 ++ arch/arm/cpu/arm926ejs/mb86r0x/timer.c | 129

[U-Boot] [PATCH 2/3] video: add support for display controller in MB86R0x SoCs

2010-04-22 Thread Matthias Weisser
This patch adds support for the display controller in the MB86R0x SoCs. Signed-off-by: Matthias Weisser weiss...@arcor.de --- drivers/video/Makefile |1 + drivers/video/cfb_console.c |8 ++ drivers/video/mb86r0xgdc.c | 194 +++ 3 files

[U-Boot] [PATCH 3/3] arm: Add support for jadecpu board based on MB86R01 SoC

2010-04-22 Thread Matthias Weisser
This patch adds support for the jadecpu board using the MB86R01 'Jade' SoC from Fujitsu. Signed-off-by: Matthias Weisser weiss...@arcor.de --- MAINTAINERS |4 + MAKEALL |1 + Makefile |3 +

[U-Boot] compiling u-boot failed for TI Davinci DM355 EVM (davinci_dm355evm_config)

2010-04-22 Thread Mohamed Thalib H
Hi all, I tried to compile the u-boot-2009.11 and u-boot-2010.03 for TI Davinci DM355 EVM (davinci_dm355evm_config) board but it ended up with the following error. could some one please help me in finding where exaclty the problem is. the log is as below for u-boot-2009.11 -- Best Regards,

Re: [U-Boot] [PATCH 1/4] keymile: rework headerfiles for keymile boards

2010-04-22 Thread Wolfgang Denk
Dear Heiko Schocher, sorry for the late review. In message 4bc2ccba.9090...@denx.de you wrote: - This patch reworks all headerfiles for keymile boards (coge, supx4, eter1, suen3). Furthermore, a refactoring on the whole environment variables has been acomplished. - introduces the

Re: [U-Boot] [PATCH 2/4] mpc832x: add support for the mpc8321 based suvd3 board

2010-04-22 Thread Wolfgang Denk
Dear Heiko Schocher, In message 4bc2ccbe.6060...@denx.de you wrote: - serial console on UART1 - Ethernet RMII over UCC4 - PHY SMSC LAN8700 - 64MB Flash - 128 MB DDR2 RAM - I2C - bootcount This board is similiar to the kmeter1 (8360) board, so common config options are extracted into

Re: [U-Boot] [PATCH 1/4] keymile: rework headerfiles for keymile boards

2010-04-22 Thread Wolfgang Denk
Dear Kim, In message 20100415172711.a7cd388a.kim.phill...@freescale.com you wrote: since 3 of these 4 patches are in the mpc83xx domain, I went ahead and applied 1-4/4 and pushed to u-boot-mpc83xx.git. Sorry for being slow with the review. I'm afraid I have to ask you to undo this. Best

Re: [U-Boot] compiling u-boot failed for TI Davinci DM355 EVM (davinci_dm355evm_config)

2010-04-22 Thread Wolfgang Denk
Dear Mohamed Thalib H, In message 4bd028a9.2020...@e-consystems.com you wrote: I tried to compile the u-boot-2009.11 and u-boot-2010.03 for TI Davinci DM355 EVM (davinci_dm355evm_config) board but it ended up with the following error. could some one please help me in finding where exaclty

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

2010-04-22 Thread Scott McNutt
Hi Thomas, Thomas Chou wrote: 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

Re: [U-Boot] [PATCH 2/3] video: add support for display controller in MB86R0x SoCs

2010-04-22 Thread Wolfgang Denk
Dear Matthias Weisser, In message 1271932257-14618-3-git-send-email-weiss...@arcor.de you wrote: This patch adds support for the display controller in the MB86R0x SoCs. Signed-off-by: Matthias Weisser weiss...@arcor.de ... + pGD-memSize = VIDEO_MEM_SIZE; + pGD-frameAdrs =

Re: [U-Boot] [PATCH 3/3] arm: Add support for jadecpu board based on MB86R01 SoC

2010-04-22 Thread Wolfgang Denk
Dear Matthias Weisser, In message 1271932257-14618-4-git-send-email-weiss...@arcor.de you wrote: This patch adds support for the jadecpu board using the MB86R01 'Jade' SoC from Fujitsu. Signed-off-by: Matthias Weisser weiss...@arcor.de --- MAINTAINERS |4 +

Re: [U-Boot] [PATCH 2/3] video: add support for display controller in MB86R0x SoCs

2010-04-22 Thread Matthias Weißer
Am 22.04.2010 14:41, schrieb Wolfgang Denk: Dear Matthias Weisser, In message1271932257-14618-3-git-send-email-weiss...@arcor.de you wrote: This patch adds support for the display controller in the MB86R0x SoCs. Signed-off-by: Matthias Weisserweiss...@arcor.de ... +pGD-memSize =

Re: [U-Boot] [PATCH 3/3] arm: Add support for jadecpu board based on MB86R01 SoC

2010-04-22 Thread Matthias Weißer
Am 22.04.2010 14:51, schrieb Wolfgang Denk: +if ((in_word 0xC0) == 0xC0) { +setenv(stdin, serial); +setenv(stdout, serial); +setenv(stderr, serial); +setenv(bootdelay, 10); +} else if ((in_word 0xC0) != 0) { +

Re: [U-Boot] [PATCH 3/3] arm: Add support for jadecpu board based on MB86R01 SoC

2010-04-22 Thread Wolfgang Denk
Dear =?ISO-8859-1?Q?Matthias_Wei=DFer?=, In message 4bd04c64.20...@arcor.de you wrote: Am 22.04.2010 14:51, schrieb Wolfgang Denk: + if ((in_word 0xC0) == 0xC0) { + setenv(stdin, serial); + setenv(stdout, serial); + setenv(stderr, serial); +

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

2010-04-22 Thread Scott Wood
Vipin KUMAR wrote: 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 +++

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

2010-04-22 Thread Scott Wood
Vipin KUMAR wrote: 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 CONFIG symbols that are hardware

Re: [U-Boot] [PATCH 1/4] keymile: rework headerfiles for keymile boards

2010-04-22 Thread Kim Phillips
On Thu, 22 Apr 2010 13:21:18 +0200 Wolfgang Denk w...@denx.de wrote: Dear Kim, In message 20100415172711.a7cd388a.kim.phill...@freescale.com you wrote: since 3 of these 4 patches are in the mpc83xx domain, I went ahead and applied 1-4/4 and pushed to u-boot-mpc83xx.git. Sorry for

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

2010-04-22 Thread Valentin Yakovenkov
21.04.2010 23:52, Mike Frysinger 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 this driver a lot. Please comment on this patch. i really havent a clue

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

2010-04-22 Thread Mike Frysinger
On Thursday 22 April 2010 15:12:19 Valentin Yakovenkov wrote: 21.04.2010 23:52, Mike Frysinger 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 this

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

2010-04-22 Thread Valentin Yakovenkov
22.04.2010 23:43, Mike Frysinger wrote: i would send the patch again with this info in the changelog. however, at least on my board, i see no speed difference with this patch. i get about 2.8MiB/s on my bf548-ezkit with and without your change. so, it doesnt break anything that i can see,

Re: [U-Boot] [PATCH V2 2/6] MX: RTC13783 uses general function to access PMIC

2010-04-22 Thread Magnus Lilja
Hi On 04/19/2010 11:04 PM, Stefano Babic wrote: The RTC is part of the Freescale's PMIC controller. Use general function to access to PMIC internal registers. Signed-off-by: Stefano Babic sba...@denx.de --- Changes since last version: configuration of the RTC must be updated for the

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

2010-04-22 Thread Ben Warren
Valentin, On Thu, Apr 22, 2010 at 12:53 PM, Valentin Yakovenkov yakoven...@niistt.ruwrote: 22.04.2010 23:43, Mike Frysinger wrote: i would send the patch again with this info in the changelog. however, at least on my board, i see no speed difference with this patch. i get about 2.8MiB/s

Re: [U-Boot] [PATCH 1/3] mpc83xx: use A nomenclature only on mpc834x and mpc836x families

2010-04-22 Thread Kim Phillips
On Thu, 15 Apr 2010 17:36:02 -0500 Kim Phillips kim.phill...@freescale.com wrote: marketing didn't extend their postpend-with-an-A naming strategy on rev.2's and higher beyond the first two 83xx families. This patch stops us from misreporting we're running e.g., on an MPC8313EA, when such a

Re: [U-Boot] [PATCH] nios2: allow link script overriding from boards

2010-04-22 Thread Scott McNutt
Applied. Thanks. --Scott Thomas Chou wrote: This patch allow boards to override the default link script. Signed-off-by: Thomas Chou tho...@wytron.com.tw --- arch/nios2/config.mk |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/nios2/config.mk

Re: [U-Boot] [PATCH v5] nios2: add altera cf reset

2010-04-22 Thread Scott McNutt
Applied. Thanks. --Scott Thomas Chou wrote: This patch toggles power to reset the cf card. Signed-off-by: Thomas Chou tho...@wytron.com.tw --- more checkpatch.pl fixes board/altera/common/cfide.c | 33 + 1 files changed, 33 insertions(+), 0

Re: [U-Boot] [PATCH v3] nios2: add dma_alloc_coherent

2010-04-22 Thread Scott McNutt
Applied. Thanks. --Scott Thomas Chou wrote: This function return cache-line aligned allocation which is mapped to uncached io region. Signed-off-by: Thomas Chou tho...@wytron.com.tw --- arch dir reorganized. arch/nios2/include/asm/dma-mapping.h | 23 +++ 1 files

Re: [U-Boot] [Nios] Pull Request

2010-04-22 Thread Scott McNutt
Wolfgang Denk wrote: Um... Scott, I have a few other NIOS2 related patches in my queue that seem to be pending, could you please have a look at these? 03/25 Thomas Chou [PATCH v2] nios2: add dma_alloc_coherent with asm-nios2/dma-mapping.h Applied resubmission: 04/16 Thomas Chou [PATCH

Re: [U-Boot] at91sam9g45ekes SDHC/MMC

2010-04-22 Thread Rob Emanuele
Hi Henry U-Boot Community, I've been experiencing the same errors and frustration you have. So I've been looking at this code and these patch sets for a day or two now. I've done that in conjunction with reading the SD card spec: http://www.sdcard.org/developers/tech/sdcard/pls/ I've come to

[U-Boot] Atmel SD/MMC Support (including SDHC)

2010-04-22 Thread Robert Emanuele
Greetings, I was wondering if there is anyone working on porting the mmc.c library to the Atmel AT91 (or AVR32) platforms? As it stands now the atmel_mci.c has its own initialization and structures. It is largely legacy code and there is no support for the SD Physical Layer Specification

Re: [U-Boot] [PATCH v2] altera_jtag_uart: bypass when no jtag connection

2010-04-22 Thread Scott McNutt
Applied. Thanks. --Scott Thomas Chou wrote: This patch adds an option to bypass output waiting when there is no jtag connection. This allows the jtag uart work similar to a serial uart, ie, boot even without connection. This option is enabled with, Signed-off-by: Thomas Chou

[U-Boot] support for spansion s29gl-p flash?

2010-04-22 Thread Aditya Ojha (adojha)
Hello folks, Does the latest u-boot include support for these flash families: - Spansion S29GL-P MirrorBit flash family or - Numonyx Axcell M29EW Appreciate your help. thanks, aditya ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] nios2: consolidate reset initialization

2010-04-22 Thread Scott McNutt
Applied. Thanks. --Scott Thomas Chou wrote: Global interrupt should be disabled from the beginning. Signed-off-by: Thomas Chou tho...@wytron.com.tw --- arch/nios2/cpu/start.S |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/nios2/cpu/start.S

Re: [U-Boot] [PATCH 5/5 v3] nios2: fix no flash, add nand and mmc init in board.c

2010-04-22 Thread Scott McNutt
Applied. Thanks. --Scott Thomas Chou wrote: This patch fixes error when CONFIG_SYS_NO_FLASH. And adds nand flash and mmc initialization, which should go before env initialization. Signed-off-by: Thomas Chou tho...@wytron.com.tw --- v3 include mmc.h and nand.h. v2 arch dir reorganized.

[U-Boot] [PATCH] mmc: add generic mmc spi driver

2010-04-22 Thread Thomas Chou
This patch supports mmc/sd card with spi interface. I have tested with sd and mmc cards. But there is still ocr issue with SDHC. Signed-off-by: Thomas Chou tho...@wytron.com.tw --- drivers/mmc/Makefile |1 + drivers/mmc/mmc_spi.c | 252 + 2

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

2010-04-22 Thread Mike Frysinger
On Thursday 22 April 2010 01:16:34 Thomas Chou wrote: - slave = spi_setup_slave(0, CONFIG_SPI_MMC_DEFAULT_CS, + slave = spi_setup_slave( + CONFIG_SPI_MMC_DEFAULT_BUS, CONFIG_SPI_MMC_DEFAULT_CS, CONFIG_SPI_MMC_DEFAULT_SPEED, CONFIG_SPI_MMC_DEFAULT_MODE); seems

[U-Boot] [PATCH] mmc: new legacy MMC/SPI driver

2010-04-22 Thread Mike Frysinger
From: Hans Eklund h...@rubico.se Needs converting to generic MMC framework. Signed-off-by: Hans Eklund h...@rubico.se Signed-off-by: Cliff Cai cliff@analog.com Signed-off-by: Mike Frysinger vap...@gentoo.org --- drivers/mmc/Makefile |3 + drivers/mmc/spi_mmc.c | 1119

Re: [U-Boot] [PATCH] mmc: add generic mmc spi driver

2010-04-22 Thread Mike Frysinger
On Thursday 22 April 2010 22:53:34 Thomas Chou wrote: This patch supports mmc/sd card with spi interface. I have tested with sd and mmc cards. But there is still ocr issue with SDHC. now the semi-obvious question ... how does this differ from the old spi_mmc.c driver ? i see this doesnt rely

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

2010-04-22 Thread Thomas Chou
Hi Scott, On 04/22/2010 08:36 PM, Scott McNutt wrote: With nios2-generic approach, the fpga parameter header file can be generated from hardware designs using tools. Porting u-boot for What tools are you referring to? There are two tools. 1. sopc-create-header-files It is included in

[U-Boot] Adding new architecture (nds32) support to u-boot

2010-04-22 Thread macpaul
Hi Wolfgang, I’m working for Andestech, which is a RISC IP (NDS32) company in Taiwan. This company has been started for 5 years. In recent , we are planning to release source code such as Linux Kernel and GNU toolchain back to communities. We also plan to commit code to u-boot. I’ve

Re: [U-Boot] [PATCH] mmc: add generic mmc spi driver

2010-04-22 Thread Thomas Chou
On 04/23/2010 11:35 AM, Mike Frysinger wrote: On Thursday 22 April 2010 22:53:34 Thomas Chou wrote: This patch supports mmc/sd card with spi interface. I have tested with sd and mmc cards. But there is still ocr issue with SDHC. now the semi-obvious question ... how does this

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

2010-04-22 Thread Scott McNutt
Hi Thomas, Thomas Chou wrote: With nios2-generic approach, the fpga parameter header file can be generated from hardware designs using tools. Porting u-boot for What tools are you referring to? 2. sopc-create-config-files The script is available at

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

2010-04-22 Thread Thomas Chou
On 04/23/2010 12:21 PM, Scott McNutt wrote: I tested on the 1c20 this evening as well ... works fine. I will test on the 2c35 board tomorrow. I'd like to get a positive confirmation WRT the 1S10 and 1S40 before applying this patch. Great! Please also check epcs/spi flash on EP1C20. 1. apply

Re: [U-Boot] support for spansion s29gl-p flash?

2010-04-22 Thread Stefan Roese
Hi Aditya, On Friday 23 April 2010 03:35:59 Aditya Ojha (adojha) wrote: Does the latest u-boot include support for these flash families: - Spansion S29GL-P MirrorBit flash family or - Numonyx Axcell M29EW The common CFI driver (drivers/mtd/cfi_flash.c) should be able to support all CFI

[U-Boot] U-boot Porting for MIPS32 (Au1350)

2010-04-22 Thread  Gurumurthy G M
Hi All, we are porting U-boot 1.2.0 to MIPS32 Au1350 Processor. i am using ELDK 4.1 for MIPS32. Thanks wolfgang now am able to compile toolchain for mips after using ELDK for MIPS. Now while porting U-boot to Au1350 MIPS32 we are facing following problems mentioned below. We have

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

2010-04-22 Thread Valentin Yakovenkov
SMSC911x chips have alignment function to allow frame payload data (which comes after 14-bytes ethernet header) to be aligned at some boundary when reading it from fifo (usually - 4 bytes boundary). This is done by inserting fake zeros bytes BEFORE actual frame data when reading from SMSC's fifo.

Re: [U-Boot] [PATCH] mmc: add generic mmc spi driver

2010-04-22 Thread Thomas Chou
On 04/23/2010 12:04 PM, Thomas Chou wrote: it's too bad the new framework doesnt allow for dynamic probing like the spi layer. makes it a pain to work with a SPI/MMC card that can have the CS changed on the fly. -mike Second thought. With generic mmc framework, we can instance