[U-Boot] [PATCH 0/3] fsl_esdhc fixes

2010-12-15 Thread Kumar Gala
These are some various fsl_esdhc fixes that we've had around for some time to get SDHC/MMC working on various boards. - k ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/3] fsl_esdhc: Use mmc_set_clock to set initial speed

2010-12-15 Thread Kumar Gala
From: Jerry Huang After booting the u-boot, and first using some SD card (such as Sandisk 2G SD card), because the field 'clock' of struct mmc is zero, this will cause the read transfer is always active and SDHC DATA line is always active, therefore, driver can't handle the next command. Therefo

[U-Boot] [PATCH 2/3] fsl_esdhc: Fix max clock frequency

2010-12-15 Thread Kumar Gala
From: Jerry Huang The max clock of MMC is 52MHz Signed-off-by: Jerry Huang --- drivers/mmc/fsl_esdhc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index 73d5cd3..7bab2f6 100644 --- a/drivers/mmc/fsl_esdhc.c +++ b/d

[U-Boot] [PATCH 3/3] fsl_esdhc: Fix the voltage validation process

2010-12-15 Thread Kumar Gala
From: Li Yang The current code use all the voltage range support by the host controller to do the validation. This will cause problem when the host supports Low Voltage Range. Change the validation voltage to be based on board setup. Signed-off-by: Li Yang --- drivers/mmc/fsl_esdhc.c | 20

Re: [U-Boot] NEC OHCI chip bug

2010-12-15 Thread gavinguo
> Seems you have to implement this workaround for U-Boot. Patches > welcome. Ok, I will try my best to figure out how to implement this one. > And *PLEASE* restrict your line length to some 70 or so characters. Thank you for the reminder. I have modified the setting to 70 characters a line. Re

[U-Boot] NEC OHCI chip bug

2010-12-15 Thread Martin Mueller
Hi Gavin , > We need NEC pci-to-usb host controller work on U-boot. Because > using Faraday technology PCI controller, I need to complete the PCI > driver first. Now the PCI driver is completed. At this time, the > NEC host controller can work. When plugging a keyboard, 2 devices > can be found sh

Re: [U-Boot] [PATCH] config.mk: add drivers as default include PATH

2010-12-15 Thread Wolfgang Denk
Dear Macpaul Lin, In message <1292398049-3606-1-git-send-email-macp...@andestech.com> you wrote: > Some device drivers and their header files will > invoke some definitions for assembly code. If a > device is required to be initilized in board.S > or in lowlevel_init.S, such memory controller, > f

[U-Boot] [PATCH] config.mk: unify duplicated flag setting

2010-12-15 Thread Mike Frysinger
Multiple rules are using the expanded AFLAGS/CFLAGS settings and some are getting so long that the rules need to be line wrapped. So unify them in one variable, use that variable in the rule, and then unwrap things. This makes the actual `make` output nicer as it doesn't have line continuations i

Re: [U-Boot] [PATCH] powerpc: fix register usage in some inline assembly code

2010-12-15 Thread Tabi Timur-B04825
Wolfgang Denk wrote: > In message<1292368731-3819-1-git-send-email-ti...@freescale.com> you wrote: >> > In some usages of inline assembly, hard-coded registers were specified >> > when a >> > scratch register should have been used instead. > Is this just a cosmetic improvement, or are you fixi

Re: [U-Boot] [PATCH] ppc4xx: Fix missing linker scripts for partial linking

2010-12-15 Thread Stefan Roese
On Tuesday 14 December 2010 17:52:17 Stefan Roese wrote: > This patch fixes the acadia_nand and kilauea_nand linker scripts > which have been missing in commit ee8028b7 [ppc4xx: Cleanup for > partial linking and --gc-sections] Applied to u-boot-ppc4xx. Thanks. Cheers, Stefan -- DENX Software Eng

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

2010-12-15 Thread Stefan Roese
Hi Wolfgang, The following changes since commit f8689b9eb3a7f6925cd50404a12479889188c510: Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx (2010-12-14 00:18:19 +0100) are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master Stefan Roese (1): pp

Re: [U-Boot] [PATCH 0/3] fsl_esdhc fixes

2010-12-15 Thread Kumar Gala
On Dec 15, 2010, at 2:20 AM, Kumar Gala wrote: > These are some various fsl_esdhc fixes that we've had around for some > time to get SDHC/MMC working on various boards. Stefano, Can you take a look at what if any impact these have on the imx side. thanks - k __

Re: [U-Boot] [PATCH] powerpc: fix register usage in some inline assembly code

2010-12-15 Thread Kumar Gala
On Dec 15, 2010, at 6:32 AM, Tabi Timur-B04825 wrote: > Wolfgang Denk wrote: >> In message<1292368731-3819-1-git-send-email-ti...@freescale.com> you wrote: In some usages of inline assembly, hard-coded registers were specified when a scratch register should have been used instead

Re: [U-Boot] [PATCH] powerpc: fix register usage in some inline assembly code

2010-12-15 Thread Timur Tabi
Kumar Gala wrote: > I doubt we disagree that the change is a good one, just trying to understand > if it was because of an actual issue you where seeing or just because of some > code review that you made it. Just a code review. > > ie, is this needed in v2010.12 or goes into 'next' Definitely

[U-Boot] [PATCH 1/1] armv7: start.S: Fix relocation address caculation

2010-12-15 Thread Jason Liu
There will have issue if the _start not equal TEXT_BASE when enable relocation. The reason is as the followings, The _dynsym_start_ofs and _rel_dyn_start_ofs is the offset from _start, so, need use _start address instead of _TEXT_BASE to caculate the rel dyn start and sym table address. This patch

Re: [U-Boot] [PATCH 1/2][v2] PBL: add support for boot from SPI flash.

2010-12-15 Thread Kumar Gala
On Nov 16, 2010, at 2:48 AM, Shaohui Xie wrote: > PBL: SPI flash used as RCW and PBI source, CPC used as 1M SRAM > where PBL will copy whole U-BOOT image to, U-boot can boot from CPC > after PBL completes RCW and PBI phases. > > Signed-off-by: Chunhe Lan > Signed-off-by: Mingkai Hu > Signed-of

[U-Boot] [PATCH] arm: Add armv6 and armv7 optimized swab functions

2010-12-15 Thread Rob Herring
From: Rob Herring swab functions are heavily used by FDT code, so enable optimized assembly code for ARMv6 and later. Signed-off-by: Rob Herring --- arch/arm/include/asm/byteorder.h | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/by

Re: [U-Boot] [PATCH 1/1] armv7: start.S: Fix relocation address caculation

2010-12-15 Thread Albert ARIBAUD
Hi Jason, Le 15/12/2010 14:57, Jason Liu a écrit : > There will have issue if the _start not equal TEXT_BASE > when enable relocation. In what case does this happen? Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.den

Re: [U-Boot] 85xx board maintainership / anyone care?

2010-12-15 Thread Paul Gortmaker
On Tue, Dec 14, 2010 at 11:59 AM, Paul Gortmaker wrote: > On Tue, Dec 14, 2010 at 10:12 AM, Kumar Gala > wrote: >> >> On Dec 14, 2010, at 1:34 AM, Paul Gortmaker wrote: >> >>> On Mon, Dec 13, 2010 at 11:10 PM, Kumar Gala >>> wrote: On Dec 10, 2010, at 12:21 PM, Kumar Gala wrote:

Re: [U-Boot] 85xx board maintainership / anyone care?

2010-12-15 Thread Kumar Gala
On Dec 14, 2010, at 11:10 AM, Becky Bruce wrote: > > So are we keeping 8540EVAL? Let me know and I'll look at fixing the problem > Paul pointed out with RAMBOOT. > > -b We are dropping 8540EVAL - k ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH V2 09/12] mpc85xx boards: initdram() cleanup/bugfix

2010-12-15 Thread Becky Bruce
On Dec 15, 2010, at 5:25 PM, Paul Gortmaker wrote: > On Mon, Dec 13, 2010 at 9:12 PM, Paul Gortmaker > wrote: >> >> I'm not anywhere near the office at the moment, but later in the week >> I'll see if I can find a board (or two?) to test on. >> >> Paul. > > Seems OK for POST test on an old MP

Re: [U-Boot] [PATCH V2 09/12] mpc85xx boards: initdram() cleanup/bugfix

2010-12-15 Thread Paul Gortmaker
On Mon, Dec 13, 2010 at 9:12 PM, Paul Gortmaker wrote: > > I'm not anywhere near the office at the moment, but later in the week > I'll see if I can find a board (or two?) to test on. > > Paul. Seems OK for POST test on an old MPC8540ADS. The info printed for SDRAM kind of interjects itself into

[U-Boot] [PATCH] tools: fw_printenv supports mmc device

2010-12-15 Thread y
From: Donghwa Lee I modified fw_printenv tools to use /dev/mmcblk0 node. Original fw_printenv tool can be access MTD devices, but, in some cases, environment variables can be stored other memory devices, for example, mmc devices. So, I modified a few code to use /dev/mmcblk0. Signed-off-by: Don

[U-Boot] [PATCH] tools: fw_printenv supports mmc device

2010-12-15 Thread Donghwa Lee
I modified fw_printenv tools to use /dev/mmcblk0 node. Original fw_printenv tool can be access MTD devices, but, in some cases, environment variables can be stored other memory devices, for example, mmc devices. So, I modified a few code to use /dev/mmcblk0. Signed-off-by: Donghwa Lee Signed-off

Re: [U-Boot] [PATCH v2] BLOCK: Add freescale IMX51 PATA driver

2010-12-15 Thread Marek Vasut
On Wednesday 01 December 2010 09:48:45 Stefano Babic wrote: > On 12/01/2010 06:34 AM, Wolfgang Denk wrote: > > Dear Marek Vasut, > > > > In message <201012010346.21897.marek.va...@gmail.com> you wrote: > >> On efikamx, I'll soon submit it mainline (when I clean it up enough). > >> Here's the relev

Re: [U-Boot] NEC OHCI chip bug

2010-12-15 Thread gavinguo
Hi Martin, > are you sure it is that NEC bug? We had a similar error message when the > PCI bridge was not properly setup and the OHCI could not access RAM > through PCI (DMA), hence the "unrecoverable error". The bus/dev/func/ number of OHCI host controller are 0/8/0 and 0/8/1, bus number is

Re: [U-Boot] [PATCH 1/1] armv7: start.S: Fix relocation address caculation

2010-12-15 Thread Jason Liu
Hi, Albert, 2010/12/16 Albert ARIBAUD : > Hi Jason, > > Le 15/12/2010 14:57, Jason Liu a écrit : >> There will have issue if the _start not equal TEXT_BASE >> when enable relocation. > > In what case does this happen? Some ARM SOC ROM need run the plug-in code first in IRAM and the plugin-in code

[U-Boot] u-boot for P2020-RDB

2010-12-15 Thread Zvi Vered
Hello, I built u-boot-2010.09 for Freescale's P2020-RDB. It works great !!! The setup I used for SW4 is according to the startup guide. SW4[7] is on. When SW4[7] is off u-boot hangs. It means: "boot sequencer enabled and configuration information loaded from I2C ROM. A valid ROM must be presen

[U-Boot] pcie switch enumeration

2010-12-15 Thread Ratheeshc
Hi All, I am using MPC8640 based custom board in which we have IDT pcie switch( 32-Lane 8 Port PCIe Switch “89HPES32H8G2”).Upstream port of the switch is connected to the mpc8640 and all the downstream ports are connected to respective endpoints. MPC8640 is configured as root complex. During th

Re: [U-Boot] [PATCH] tools: fw_printenv supports mmc device

2010-12-15 Thread Stefano Babic
On 12/16/2010 02:22 AM, Donghwa Lee wrote: > diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c > index 8ff7052..5a707f6 100644 > --- a/tools/env/fw_env.c > +++ b/tools/env/fw_env.c > @@ -855,6 +855,7 @@ static int flash_write_buf (int dev, int fd, void *buf, > size_t count, > } >