Re: [U-Boot] [PATCH] rtc: pcf8563: Make century compatible with Linux

2012-08-10 Thread Benoît Thébaudeau
On Sat, Aug 4, 2012 at 01:06:16 AM, Benoît Thébaudeau wrote: On Fri, Jul 20, 2012 at 04:05:36 PM, Benoît Thébaudeau wrote: This driver uses the century bit of this RTC in the opposite way Linux does. From Linux's rtc-pcf8563.c: /* * The meaning of MO_C bit varies by the chip

Re: [U-Boot] [PATCH] md5: Export step-by-step API

2012-08-10 Thread Benoît Thébaudeau
On Sat, Aug 4, 2012 at 01:09:02 AM, Benoît Thébaudeau wrote: Dear Wolfgang Denk, On Fri, Jul 20, 2012 at 04:44:03 PM, Mike Frysinger wrote: Acked-by: Mike Frysinger vap...@gentoo.org -mike Can you apply it now that the merge window is open? Thanks in advance. Can someone answer,

Re: [U-Boot] [PATCH v2 1/9] FAT: cosmetic: Remove extra spaces

2012-08-10 Thread Benoît Thébaudeau
On Sat, Aug 4, 2012 at 01:11:16 AM, Benoît Thébaudeau wrote: Dear Wolfgang Denk, On Fri, Jul 27, 2012 at 04:29:41 PM, Wolfgang Denk wrote: Dear =?utf-8?Q?Beno=C3=AEt_Th=C3=A9baudeau?=, In message 845266616.705298.1343398892482.javamail.r...@advansee.com you wrote: On Sat, Jul

Re: [U-Boot] [PATCH 2/2] rmobile: Add README

2012-08-10 Thread Tom Rini
On 08/10/2012 12:19 AM, Nobuhiro Iwamatsu wrote: Hi, On Fri, Aug 10, 2012 at 2:03 AM, Tom Rini tr...@ti.com wrote: On Thu, Aug 09, 2012 at 11:30:24PM +0900, Nobuhiro Iwamatsu wrote: This add README of Renesas RMOBILE. Based doc/README.omap3. Signed-off-by: Nobuhiro Iwamatsu

Re: [U-Boot] [PATCH] sf: stmicro: Add support for N25Q128A

2012-08-10 Thread Mike Frysinger
On Friday 10 August 2012 08:21:46 Michal Simek wrote: Add support for Numonyx N25Q128A SPI flash. thanks, merged into my sf branch -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v3] arm: rmobile: Add support Renesas SH73A0

2012-08-10 Thread Mike Frysinger
On Friday 10 August 2012 03:41:17 Nobuhiro Iwamatsu wrote: --- a/arch/arm/cpu/armv7/rmobile/Makefile +++ b/arch/arm/cpu/armv7/rmobile/Makefile +clean: + rm -f $(SOBJS) $(OBJS) + dead code - delete -mike signature.asc Description: This is a digitally signed message part.

Re: [U-Boot] [PATCH] serial: CONSOLE macro is not used

2012-08-10 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Why no cache flushing in do_go_exec()

2012-08-10 Thread Mike Frysinger
On Thursday 09 August 2012 22:38:09 Charles Manning wrote: I'm helping to work through an issue where some code is loaded into RAM this is generally where cache is supposed to be flushed. you didn't describe how exactly the code is being loaded into RAM though. and go xxx is issued to then

Re: [U-Boot] [PATCH 2/2] powerpc/mpc85xx/p1_p2_rdb: add all LAWs during SPL

2012-08-10 Thread Scott Wood
On 08/10/2012 01:54 AM, Huang Changming-R66093 wrote: This maybe cause the overlap error: powerpc-linux-gnu-ld: section .resetvec loaded at [ff800ffc,ff800fff] overlaps section .data loaded at [ff800ec8,ff80102f] What tree and toolchain are you using? Did you

Re: [U-Boot] [PATCH V4 1/4] README: fix references to config_cmd_default.h

2012-08-10 Thread Tom Rini
On Sun, Aug 05, 2012 at 08:07:19PM -0600, Stephen Warren wrote: All usage of config_cmd_default.h uses for the include statement. Update the README to do the same, rather than using . Signed-off-by: Stephen Warren swar...@wwwdotorg.org I've applied the whole series to

Re: [U-Boot] [PATCH v2 1/1] USB: EHCI: Initialize multiple USB controllers at once

2012-08-10 Thread Stephen Warren
On 08/10/2012 03:36 AM, Jim Lin wrote: Add support for command line usb reset or usb start to initialize , usb stop to stop multiple USB controllers at once. Other command like usb tree also supports multiple controllers. I assume these were reposted because you rebased on the latest

Re: [U-Boot] [PATCH 07/11] u8500: Moving processor-specific functions to cpu area.

2012-08-10 Thread Tom Rini
On Tue, Jul 31, 2012 at 12:59:29PM -0600, mathieu.poir...@linaro.org wrote: From: Mathieu J. Poirier mathieu.poir...@linaro.org Functions such as providing power to the MMC device and reading the processor version register should be in the cpu area for access by multiple u8500-based boards.

Re: [U-Boot] [PATCH 08/11] u8500: Enabling power to MMC device on AB8500 V2

2012-08-10 Thread Tom Rini
On Tue, Jul 31, 2012 at 12:59:30PM -0600, mathieu.poir...@linaro.org wrote: From: Mathieu J. Poirier mathieu.poir...@linaro.org Register mapping has changed on power control chip between the first and second revision. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org

Re: [U-Boot] [PATCH 09/11] u8500: Separating mmc config parameters from driver

2012-08-10 Thread Tom Rini
On Tue, Jul 31, 2012 at 12:59:31PM -0600, mathieu.poir...@linaro.org wrote: From: John Rigby john.ri...@linaro.org Configuration in vexpress and u8500.v1 is different from what is needed in u8500.v2. As such, card configuration specifics need to reside in the board file rather than the

Re: [U-Boot] [PATCH 00/11] Support for ST-Ericsson snowball board

2012-08-10 Thread Tom Rini
On Tue, Jul 31, 2012 at 12:59:22PM -0600, mathieu.poir...@linaro.org wrote: From: Mathieu J. Poirier mathieu.poir...@linaro.org This set adds support for the ST-Ericsson u8500 based snowball board. Doing so it moves u8500-href code around to allow for code reuse between boards. It was

Re: [U-Boot] [PATCH 01/11 v2] snowball: Add support for ux500 based snowball board

2012-08-10 Thread Tom Rini
On Fri, Aug 03, 2012 at 03:05:12PM -0600, mathieu.poir...@linaro.org wrote: From: Mathieu J. Poirier mathieu.poir...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Signed-off-by: John Rigby john.ri...@linaro.org [snip] diff --git a/MAINTAINERS b/MAINTAINERS index

[U-Boot] Please pull u-boot-staging/tr...@ti.com

2012-08-10 Thread Tom Rini
Hello Albert and Wolfgang, To try and ease the backlog of ARM changes, I've taken the liberty of grabbing the Snowball and Raspberry Pi model B board support patches and putting them into the staging tree. Both of these series have been posted for some time and been reviewed. Wolfgang, if you

[U-Boot] [PATCH v4 0/7] ehci: Improve performance

2012-08-10 Thread Benoît Thébaudeau
Hi all, This series aims at improving EHCI performance. There is also some code cleanup BTW. Best regards, Benoît ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] microblaze: Call spi_init function

2012-08-10 Thread Stephan Linz
Am Freitag, den 10.08.2012, 09:09 +0200 schrieb Michal Simek: Initialization spi. Signed-off-by: Michal Simek mon...@monstr.eu Acked-by: Stephan Linz l...@li-pro.net --- arch/microblaze/lib/board.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH v4 1/7] ehci: cosmetic: Define used constants

2012-08-10 Thread Benoît Thébaudeau
Make some light cosmetic code cleanup by the way. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Marek Vasut ma...@denx.de Cc: Ilya Yanok ilya.ya...@cogentembedded.com Cc: Stefan Herbrechtsmeier ste...@herbrechtsmeier.net --- Changes for v2: N/A. Changes for v3: - New patch.

[U-Boot] [PATCH v4 2/7] ehci-hcd: Boost transfer speed

2012-08-10 Thread Benoît Thébaudeau
This patch takes advantage of the hardware EHCI qTD queuing mechanism to avoid software and transfer splitting overhead so as to make transfers as fast as possible. The only drawback is a call to memalign. However, this is fast compared to the transfer timings, and the heap size to allocate is

Re: [U-Boot] [PATCH v4 0/7] ehci: Improve performance

2012-08-10 Thread Benoît Thébaudeau
Benoît Thébaudeau Application Engineer benoit.thebaud...@advansee.com +33 2 40 50 21 73 ADVANSEE SARL 9, rue Alfred Kastler CS 30750 44307 Nantes CEDEX 3 France - Original Message - From: Benoît Thébaudeau benoit.thebaud...@advansee.com To: u-boot@lists.denx.de Cc: Marek Vasut

[U-Boot] [PATCH v4 4/7] usb_storage: Remove EHCI constraints

2012-08-10 Thread Benoît Thébaudeau
Now that the EHCI driver allocates its qTDs from the heap, the MSC driver is only limited by the SCSI commands it uses. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Marek Vasut ma...@denx.de Cc: Ilya Yanok ilya.ya...@cogentembedded.com Cc: Stefan Herbrechtsmeier

[U-Boot] [PATCH v4 5/7] usb_storage: Adjust time-outs

2012-08-10 Thread Benoît Thébaudeau
Adjust time-out value for the new EHCI mechanism. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Marek Vasut ma...@denx.de Cc: Ilya Yanok ilya.ya...@cogentembedded.com Cc: Stefan Herbrechtsmeier ste...@herbrechtsmeier.net --- Changes for v2: None. Changes for v3: None.

[U-Boot] [PATCH v4 3/7] usb_storage: Restore non-EHCI support

2012-08-10 Thread Benoît Thébaudeau
The commit 5dd95cf made the MSC driver EHCI-specific. This patch restores a basic support of non-EHCI HCDs, like before that commit. The fallback transfer size is certainly not optimal, but at least it should work like before. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc:

[U-Boot] [PATCH v4 6/7] usb_stor_BBB_transport: Do not delay when not required

2012-08-10 Thread Benoît Thébaudeau
There is a 5-ms delay in usb_stor_BBB_transport, which occurs every 10 kiB of data for fragmented fatload usb, i.e. roughly 500 ms of delay per MiB. This adds up to quite a bit of delay if you're loading a large ramdisk. The purpose of this delay should be to debounce the 5-V/100-mA USB power up.

[U-Boot] [PATCH v4 7/7] ehci: Optimize qTD allocations

2012-08-10 Thread Benoît Thébaudeau
Relax the qTD transfer alignment constraints in order to need less qTDs for buffers that are aligned to 512 bytes but not to pages. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Marek Vasut ma...@denx.de Cc: Ilya Yanok ilya.ya...@cogentembedded.com Cc: Stefan Herbrechtsmeier

Re: [U-Boot] [PATCH v2] net: Improve the speed of netconsole

2012-08-10 Thread Stefano Babic
On 03/08/2012 22:59, Joe Hershberger wrote: Previously u-boot would initialize the network interface for every network operation and then shut it down again. This makes sense for most operations where the network in not known to be needed soon after the operation is complete. In the case of

Re: [U-Boot] [PATCH 1/3] nds32: drop bi_enetaddr from global data

2012-08-10 Thread Macpaul Lin
Hi Mike, 2012/8/7 Mike Frysinger vap...@gentoo.org: Nothing is using this, so punt it from the gd. Seems to just be a copy paste wart from the initial port. Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/nds32/include/asm/u-boot.h |1 - 1 file changed, 1 deletion(-)

Re: [U-Boot] [PATCH 2/3] nds32: delete unused local variable

2012-08-10 Thread Macpaul Lin
Hi Mike, 2012/8/7 Mike Frysinger vap...@gentoo.org: Fixes the build-time warning: board.c: In function 'board_init_r': board.c:304: warning: unused variable 's' Signed-off-by: Mike Frysinger vap...@gentoo.org Applied to u-boot-nds32.git/master Thanks. -- Best regards,

Re: [U-Boot] [PATCH 3/3] nds32: fix unused pmu_init warning

2012-08-10 Thread Macpaul Lin
Hi Mike, 2012/8/7 Mike Frysinger vap...@gentoo.org: Fixes the build-time warning: board.c: At top level: board.c:106: warning: 'pmu_init' defined but not used This makes the ifdef logic at the call site match the logic at the function definition. Signed-off-by: Mike

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

2012-08-10 Thread Macpaul Lin
Dear Wolfgang, Please pull the following 3 patches from u-boot-nds32 into your tree. Thanks! Macpaul Lin. The following changes since commit 4d3c95f5ea7c737a21cd6b9c59435ee693b3f127: zfs: Add ZFS filesystem support (2012-08-09 23:42:20 +0200) are available in the git repository at:

[U-Boot] [PATCH 0/5] Cleanup and extend env vars

2012-08-10 Thread Benoît Thébaudeau
Hi all, This series does some cleanup regarding env vars, and it adds a new env var for the board revision. Best regards, Benoît ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/5] fw_env: Add env vars describing U-Boot target board

2012-08-10 Thread Benoît Thébaudeau
Commit 5e724ca did the same thing for env_common and env_embedded, but forgot fw_env. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de --- .../tools/env/fw_env.c | 11 +++ 1 file changed, 11 insertions(+) diff

[U-Boot] [PATCH 2/5] env_common: Add missing ethprime

2012-08-10 Thread Benoît Thébaudeau
The ethprime env var was missing from env_common. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de --- .../common/env_common.c|3 +++ 1 file changed, 3 insertions(+) diff --git u-boot-4d3c95f.orig/common/env_common.c

[U-Boot] [PATCH 3/5] env import/export: Remove from help if disabled

2012-08-10 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de --- .../common/cmd_nvedit.c|4 1 file changed, 4 insertions(+) diff --git u-boot-4d3c95f.orig/common/cmd_nvedit.c u-boot-4d3c95f/common/cmd_nvedit.c index

[U-Boot] [PATCH 4/5] README: The ver env var is not read-only

2012-08-10 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de --- {u-boot-4d3c95f.orig = u-boot-4d3c95f}/README |1 - 1 file changed, 1 deletion(-) diff --git u-boot-4d3c95f.orig/README u-boot-4d3c95f/README index fb9d904..369ea9c 100644 ---

[U-Boot] [PATCH 5/5] Add env var giving the board revision

2012-08-10 Thread Benoît Thébaudeau
The board revision can be a useful env var, like its serial number. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de --- {u-boot-4d3c95f.orig = u-boot-4d3c95f}/README | 21 ++-- .../common/cmd_nvedit.c

[U-Boot] [PATCH] eth_write_hwaddr: Return error for invalid MACs

2012-08-10 Thread Benoît Thébaudeau
If dev-enetaddr was supposed to be set with dev-write_hwaddr() but the MAC address was not valid, return an error. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Joe Hershberger joe.hershber...@gmail.com --- {u-boot-4d3c95f.orig = u-boot-4d3c95f}/net/eth.c |7 +-- 1

Re: [U-Boot] [RFC PATCH 0/5] Port of MUSB gadget driver from Linux

2012-08-10 Thread Ilya Yanok
Dear Marek, Wolfgang, On Thu, Aug 9, 2012 at 11:23 PM, Wolfgang Denk w...@denx.de wrote: I hate to say it ... but given that this will cause duplication of code, I'm somehow inclined to push you to do a complete replacement of the old musb code, remove it and add this. Agreed, we

Re: [U-Boot] [PATCH v4 1/5] net/bootp: add VCI support for BOOTP also

2012-08-10 Thread Ilya Yanok
Hi Joe, On Mon, Aug 6, 2012 at 1:21 AM, Ilya Yanok ilya.ya...@cogentembedded.comwrote: Vendor Class Identifier option is common to BOOTP and DHCP and can be useful without PXE. So send VCI in both BOOTP and DHCP requests if CONFIG_BOOTP_VCI_STRING is defined. Signed-off-by: Ilya Yanok

Re: [U-Boot] [PATCH v4 5/7] usb_storage: Adjust time-outs

2012-08-10 Thread Ilya Yanok
Hi Benoit, On Fri, Aug 10, 2012 at 8:23 PM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Adjust time-out value for the new EHCI mechanism. Could you please be a bit more specific? ;) How this timeout is related to the new mechanism? Is it really EHCI specific? If it is, that's

Re: [U-Boot] [PATCH v3 0/6] env: handle special variables and selective env default

2012-08-10 Thread Wolfgang Denk
Dear Holger, In message 5024cc15.8010...@keymile.com you wrote: due to the fact that Gerlando is in his vacations and has therefore only little time to do updates here I propose the following. I could prepare a branch as you suggested based on current denx master with this changeset. But

Re: [U-Boot] [PATCH v5 1/1] zfs: Add ZFS filesystem support

2012-08-10 Thread Wolfgang Denk
Dear Jorgen Lundman, In message 5024f981.2040...@lundman.net you wrote: That is the best news ever, thanks! Also thanks to Graeme for all the help. Thanks for your hard work, it's highly appreciated (even though it sometimes doesn't look like that - it really is). Best regards, Wolfgang Denk

Re: [U-Boot] [PATCH v4 5/7] usb_storage: Adjust time-outs

2012-08-10 Thread Benoît Thébaudeau
Hi Ilya, On Fri, Aug 10, 2012 at 8:03:12 PM, Ilya Yanok wrote: Hi Benoit, On Fri, Aug 10, 2012 at 8:23 PM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Adjust time-out value for the new EHCI mechanism. Could you please be a bit more specific? ;) How this timeout is

Re: [U-Boot] [PATCH v4 4/7] usb_storage: Remove EHCI constraints

2012-08-10 Thread Ilya Yanok
Hi Benoit, On Fri, Aug 10, 2012 at 8:23 PM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: diff --git u-boot-usb-4f8254e.orig/common/usb_storage.c u-boot-usb-4f8254e/common/usb_storage.c index 0cd6399..822bd64 100644 --- u-boot-usb-4f8254e.orig/common/usb_storage.c +++

Re: [U-Boot] [PATCH v4 4/7] usb_storage: Remove EHCI constraints

2012-08-10 Thread Benoît Thébaudeau
Hi Ilya, On Fri, Aug 10, 2012 at 8:34:14 PM, Ilya Yanok wrote: Hi Benoit, On Fri, Aug 10, 2012 at 8:23 PM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: diff --git u-boot-usb-4f8254e.orig/common/usb_storage.c u-boot-usb-4f8254e/common/usb_storage.c index 0cd6399..822bd64

[U-Boot] [PATCH] mxc_spi: Round up clock divider

2012-08-10 Thread Benoît Thébaudeau
Since the input frequency of the API is a maximum that should not be exceeded in order for the devices to operate properly, the SPI clock divider should be rounded up, not truncated. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic

[U-Boot] [PATCH] mmc_get_dev: Return error if mmc_init fails

2012-08-10 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Andy Fleming aflem...@gmail.com --- .../drivers/mmc/mmc.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git u-boot-4d3c95f.orig/drivers/mmc/mmc.c u-boot-4d3c95f/drivers/mmc/mmc.c

[U-Boot] Fail to compile a DEBUG version of u-boot.bin for Freescale MPC8536DS

2012-08-10 Thread Yuming Chen
Hi, I tried to build a u-boot.bin for Freescale MPC8526DS with original version 2010.12 source code, it succeeds if I do not define DEBUG in the MPC8536DS.h file. But after I added #define DEBUG in include/configs/MPC8536DS.h to turn on many printf, the build of the uboot fails as follows,

Re: [U-Boot] [RFC PATCH 0/5] Port of MUSB gadget driver from Linux

2012-08-10 Thread Ilya Yanok
Marek, Wolfgang, On Fri, Aug 10, 2012 at 9:56 PM, Ilya Yanok ilya.ya...@cogentembedded.comwrote: Dear Marek, Wolfgang, On Thu, Aug 9, 2012 at 11:23 PM, Wolfgang Denk w...@denx.de wrote: I hate to say it ... but given that this will cause duplication of code, I'm somehow inclined to

Re: [U-Boot] [RFC PATCH 0/5] Port of MUSB gadget driver from Linux

2012-08-10 Thread Ilya Yanok
Argh, sorry. could = could not. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] mmcinfo: Fix help message

2012-08-10 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Andy Fleming aflem...@gmail.com --- .../common/cmd_mmc.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git u-boot-4d3c95f.orig/common/cmd_mmc.c u-boot-4d3c95f/common/cmd_mmc.c

Re: [U-Boot] [PATCH v2] net: Improve the speed of netconsole

2012-08-10 Thread Joe Hershberger
Hi Mike, On Fri, Aug 3, 2012 at 3:59 PM, Joe Hershberger joe.hershber...@ni.com wrote: Previously u-boot would initialize the network interface for every network operation and then shut it down again. This makes sense for most operations where the network in not known to be needed soon after

[U-Boot] [PATCH] mtest: Disable dcache during test

2012-08-10 Thread Benoît Thébaudeau
mtest is supposed to test many types of memory accesses in many different conditions. If dcache is enabled, memory accesses are likely bursts, and some memory accesses are simply skipped. Hence, dcache should be disabled during mtest operation so that what mtest actually tests is not masked by

Re: [U-Boot] [PATCH v4 4/7] usb_storage: Remove EHCI constraints

2012-08-10 Thread Marek Vasut
Dear Benoît Thébaudeau, Hi Ilya, On Fri, Aug 10, 2012 at 8:34:14 PM, Ilya Yanok wrote: Hi Benoit, On Fri, Aug 10, 2012 at 8:23 PM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: diff --git u-boot-usb-4f8254e.orig/common/usb_storage.c

Re: [U-Boot] [PATCH] serial: CONSOLE macro is not used

2012-08-10 Thread Anatolij Gustschin
Hi, On Fri, 10 Aug 2012 09:04:28 +0200 Michal Simek mon...@monstr.eu wrote: Signed-off-by: Michal Simek mon...@monstr.eu --- drivers/serial/serial.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) Applied to my staging branch, thanks! Anatolij

[U-Boot] [PATCH] avr32: Remove redundant LDSCRIPT definition

2012-08-10 Thread Benoît Thébaudeau
AVR32's LD script uses a standard location that is now automatically detected by the main Makefile, so its definition in AVR32's config.mk is now obsolete and redundant. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Andreas Bießmann andreas.de...@googlemail.com ---

Re: [U-Boot] [PATCH v2] fdt: Include arch specific gpio.h instead of asm-generic/gpio.h

2012-08-10 Thread Anatolij Gustschin
Hi, On Wed, 11 Jul 2012 14:26:38 +0200 Michal Simek mon...@monstr.eu wrote: Include arch specific gpio.h instead of asm-generic/gpio.h because several architectures (Microblaze, Blackfin, Nios2, OpenRISC) define gpio functions in header file. asm-generic/gpio.h can be included in arch

Re: [U-Boot] Please pull u-boot-staging/tr...@ti.com

2012-08-10 Thread Wolfgang Denk
Dear Tom, In message 20120810161021.GG3306@bill-the-cat you wrote: To try and ease the backlog of ARM changes, I've taken the liberty of grabbing the Snowball and Raspberry Pi model B board support patches and putting them into the staging tree. Both of these series have been posted for

Re: [U-Boot] [PATCH v4 0/7] ehci: Improve performance

2012-08-10 Thread Marek Vasut
Dear Benoît Thébaudeau, Hi all, This series aims at improving EHCI performance. There is also some code cleanup BTW. Best regards, Benoît Applied all but 5/7 and pushed. Since we all have vacations etc etc, this will appear in the mainline around start of september. Thanks a lot for

Re: [U-Boot] [PATCH] tools: add kwboot binary to .gitignore file

2012-08-10 Thread Anatolij Gustschin
Hi, On Sun, 15 Jul 2012 18:29:38 +0200 Luka Perkov ub...@lukaperkov.net wrote: Signed-off-by: Luka Perkov ub...@lukaperkov.net --- tools/.gitignore |1 + 1 file changed, 1 insertion(+) applied to my staging branch, thanks! Anatolij ___

[U-Boot] arm: omap: Fix switching back to nandecc sw.

2012-08-10 Thread Jeroen Hofstee
Switching back to nandecc sw fails to write correctly. A fix for this is already mentioned in the thread below, lets fix it. mentioned in http://lists.denx.de/pipermail/u-boot/2012-February/119002.html Signed-off-by: Jeroen Hofstee jhofs...@victronenergy.com --- drivers/mtd/nand/omap_gpmc.c |

Re: [U-Boot] Pull request: u-boot-nds32

2012-08-10 Thread Wolfgang Denk
Dear Macpaul Lin, In message CACCg+XP0dPFjnCovFqo=hd3ddnb5cjke5uvawijgeyxj2ux...@mail.gmail.com you wrote: Dear Wolfgang, Please pull the following 3 patches from u-boot-nds32 into your tree. Thanks! Macpaul Lin. The following changes since commit

Re: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-10 Thread Anatolij Gustschin
Hi, On Wed, 8 Aug 2012 12:52:17 +0200 Marek Vasut ma...@denx.de wrote: This function converts static number to string in preprocessor. This is useful as it allows higher usage of puts() in favour of printf() Signed-off-by: Marek Vasut ma...@denx.de Cc: Wolfgang Denk w...@denx.de ---

Re: [U-Boot] [PATCH 2/3] COMMON: Use __stringify() instead of xstr()

2012-08-10 Thread Anatolij Gustschin
Hi, On Wed, 8 Aug 2012 12:52:18 +0200 Marek Vasut ma...@denx.de wrote: Kill multiple occurances and redeclaration of xstr in favor of __stringify(). Signed-off-by: Marek Vasut ma...@denx.de Cc: Wolfgang Denk w...@denx.de --- include/configs/MPC8308RDB.h|9 +++--

Re: [U-Boot] [PATCH 3/3] COMMON: Use __stringify() instead of MK_STR()

2012-08-10 Thread Anatolij Gustschin
Hi, On Wed, 8 Aug 2012 12:52:19 +0200 Marek Vasut ma...@denx.de wrote: Kill multiple occurances and redeclaration of MK_STR in favor of __stringify(). Signed-off-by: Marek Vasut ma...@denx.de Cc: Wolfgang Denk w...@denx.de --- arch/blackfin/include/asm/config-pre.h |2 -

Re: [U-Boot] [PATCH v3] Consolidate bootcount code into drivers/bootcount

2012-08-10 Thread Wolfgang Denk
Dear Stefan Roese, In message 1338878275-1918-1-git-send-email...@denx.de you wrote: This patch moves all bootcount implementations into a common directory: drivers/bootcount. The generic bootcount driver is now usable not only by powerpc platforms, but others as well. Signed-off-by: Stefan

Re: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-10 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 20120810222104.1e6c4afc@wker you wrote: Hi, On Wed, 8 Aug 2012 12:52:17 +0200 Marek Vasut ma...@denx.de wrote: This function converts static number to string in preprocessor. This is useful as it allows higher usage of puts() in favour of printf()

Re: [U-Boot] [PATCH] config: Always use GNU ld

2012-08-10 Thread Anatolij Gustschin
Hi, On Thu, 2 Aug 2012 13:19:34 -0300 Otavio Salvador ota...@ossystems.com.br wrote: From: Khem Raj raj.k...@gmail.com This patch makes sure that we always use the GNU ld. U-Boot uses certain construct e.g. OVERLAY which are not implemented in gold therefore it always needs GNU ld for

[U-Boot] [PATCH 1/3 V2] COMMON: Add __stringify() function

2012-08-10 Thread Marek Vasut
Copied from Linux kernel include/linux/stringify.h: commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4 Date: Wed Apr 8 16:58:57 2009 +0800 This function converts static number to string in preprocessor. This is useful as it allows higher usage of puts() in favour of printf() Signed-off-by: Marek

Re: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-10 Thread Marek Vasut
Dear Wolfgang Denk, Dear Anatolij Gustschin, In message 20120810222104.1e6c4afc@wker you wrote: Hi, On Wed, 8 Aug 2012 12:52:17 +0200 Marek Vasut ma...@denx.de wrote: This function converts static number to string in preprocessor. This is useful as it allows higher usage of

Re: [U-Boot] [PATCH v3 4/4] c6x: Add support c6745-som board

2012-08-10 Thread Wolfgang Denk
Dear Dmitry Bondar, In message 1340647361-23387-5-git-send-email-b...@inmys.ru you wrote: Add support board c6745-som (http://inmys.ru/?_=/products/som_c6745) with C6745 cpu. Signed-off-by: Dmitry Bondar b...@inmys.ru Cc: Tom Rini tr...@ti.com ... +#define LINUX_BOOT_PARAM_ADDR

[U-Boot] [PATCH] powerpc/mpc8xxx: Remove P1015 and P1016 from CPU list

2012-08-10 Thread York Sun
P1015 is the same as P1011 and P1016 is the same as P1012 from software point of view. They have different packages but share SVRs. Signed-off-by: York Sun york...@freescale.com --- arch/powerpc/cpu/mpc85xx/Makefile |4 arch/powerpc/cpu/mpc85xx/speed.c |3 +--

[U-Boot] [PATCH] fsl_esdhc: Add no-snoop config for default init

2012-08-10 Thread Benoît Thébaudeau
cfg-no_snoop was available only through custom fsl_esdhc_mmc init functions. Add a config options to make it available also through the default init. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Andy Fleming aflem...@gmail.com Cc: Stefano Babic sba...@denx.de Cc: Kim

Re: [U-Boot] [PATCH 1/3] Makefile: allow appending to LIB in sub-makefiles

2012-08-10 Thread Wolfgang Denk
Dear Daniel Schwierzeck, In message 1340901921-9868-2-git-send-email-daniel.schwierz...@gmail.com you wrote: The top Makefile and the SPL Makefile have lines like those: ifneq ($(CONFIG_AM33XX)$(CONFIG_OMAP34XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),) LIBS +=

Re: [U-Boot] [PATCH 2/3] Makefile: replace LIBS by LIBS-y

2012-08-10 Thread Wolfgang Denk
Dear Daniel Schwierzeck, In message 1340901921-9868-3-git-send-email-daniel.schwierz...@gmail.com you wrote: Synchronize with ALL-y handling and code in spl/Makefile. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- Makefile | 134

Re: [U-Boot] [PATCH 3/3] COMMON: Use __stringify() instead of MK_STR()

2012-08-10 Thread Anatolij Gustschin
Hi Marek, On Wed, 8 Aug 2012 12:52:19 +0200 Marek Vasut ma...@denx.de wrote: ... diff --git a/common/env_common.c b/common/env_common.c index d9e990d..39e1792 100644 --- a/common/env_common.c +++ b/common/env_common.c @@ -37,8 +37,6 @@ DECLARE_GLOBAL_DATA_PTR;

Re: [U-Boot] [PATCH v2 3/3] Makefile: cosmetic: optimize usage of LIBS-y

2012-08-10 Thread Wolfgang Denk
Dear daniel.schwierz...@gmail.com, In message 1342741198-9105-1-git-send-email-daniel.schwierz...@gmail.com you wrote: From: Daniel Schwierzeck daniel.schwierz...@gmail.com Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- Changes for v2: - optimized

Re: [U-Boot] [PATCH 3/3] COMMON: Use __stringify() instead of MK_STR()

2012-08-10 Thread Marek Vasut
Dear Anatolij Gustschin, Hi Marek, On Wed, 8 Aug 2012 12:52:19 +0200 Marek Vasut ma...@denx.de wrote: ... diff --git a/common/env_common.c b/common/env_common.c index d9e990d..39e1792 100644 --- a/common/env_common.c +++ b/common/env_common.c @@ -37,8 +37,6 @@

Re: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-10 Thread Anatolij Gustschin
Hello Wolfgang, On Fri, 10 Aug 2012 22:45:54 +0200 Wolfgang Denk w...@denx.de wrote: ... applied to my staging branch, thanks! Please undo. This patch does not meet formal requirements. It contains code copied from Linux without sufficient attribution. OK, dropped for now. This series

Re: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-10 Thread Marek Vasut
Dear Anatolij Gustschin, Hello Wolfgang, On Fri, 10 Aug 2012 22:45:54 +0200 Wolfgang Denk w...@denx.de wrote: ... applied to my staging branch, thanks! Please undo. This patch does not meet formal requirements. It contains code copied from Linux without sufficient attribution.

Re: [U-Boot] [PATCH] dts/Makefile: Check for empty $(LDSCRIPT)

2012-08-10 Thread Wolfgang Denk
Dear Horst Kronstorfer, In message 1342097912-8652-1-git-send-email-hkron...@frequentis.com you wrote: Make sure that $(LDSCRIPT) is not empty before calling process_lds with 'cat $(LDSCRIPT)' else cat will block waiting for input from stdin. Signed-off-by: Horst Kronstorfer

Re: [U-Boot] [PATCH] Add support for DS1388.

2012-08-10 Thread Wolfgang Denk
Dear Kenth Eriksson, In message 1342159184-16651-1-git-send-email-kenth.eriks...@transmode.com you wrote: Support for DS1388 is added by extending the DS1337 driver. DS1388 is similar to DS1337. The time registers are offset by 1 (due to support for hundreds of seconds), and there is no

Re: [U-Boot] [PATCH] dts/Makefile: Turn off system-/gcc-specific predefined macros

2012-08-10 Thread Wolfgang Denk
Dear Horst Kronstorfer, In message 1342184620-31448-1-git-send-email-hkron...@frequentis.com you wrote: Add '-undef' to DTS_CPPFLAGS to avoid unwanted expansion of dts content that matches system-specific or gcc-specific predefined macros. Example: A number of PowerPC related *.dts files in

[U-Boot] [PATCH] armv7: Move save_boot_params_default() to start.S

2012-08-10 Thread Benoît Thébaudeau
save_boot_params() is called by start.S, so move its default implementation to this file too. This is also useful for boards willing to use nand_spl since cpu.c is not built in this case. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Albert Aribaud albert.u.b...@aribaud.net

Re: [U-Boot] [PATCH, v2] dts/Makefile: Turn off some predefined macros

2012-08-10 Thread Wolfgang Denk
Dear Horst Kronstorfer, In message 1343337995-1291-1-git-send-email-hkron...@frequentis.com you wrote: Add '-ansi' to DTS_CPPFLAGS to avoid unwanted expansion of dts content that matches some predefined macros. Example: A number of PowerPC related *.dts files in the kernel define a property

[U-Boot] [PATCH] armv7 cpu_init_crit: Simplify code

2012-08-10 Thread Benoît Thébaudeau
We don't need to return to cpu_init_crit after calling lowlevel_init, so lowlevel_init can directly return to the caller of cpu_init_crit. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Albert Aribaud albert.u.b...@aribaud.net --- .../arch/arm/cpu/armv7/start.S

[U-Boot] [PATCH 2/6] fm-eth: add function fm_info_get_phy_address()

2012-08-10 Thread Timur Tabi
Function fm_info_get_phy_address() returns the PHY address for a given Fman port. This is handy when the MDIO code needs to fixup the Ethernet nodes in the device tree to point to PHY nodes for a specific PHY address. Signed-off-by: Timur Tabi ti...@freescale.com --- drivers/net/fm/init.c |

[U-Boot] [PATCH 1/6] powerpc/85xx: add support for FM2 DTSEC5

2012-08-10 Thread Timur Tabi
Unlike previous SOCs, the Freescale P5040 has a fifth DTSEC on the second Fman, so add the Fman and SerDes macros for that DTSEC. Signed-off-by: Timur Tabi ti...@freescale.com --- arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c |6 ++ arch/powerpc/include/asm/fsl_serdes.h |1 +

[U-Boot] [PATCH 6/6] powerpc/85xx: update P4080DS MDIO bus multiplexer support

2012-08-10 Thread Timur Tabi
The Freescale P4080DS has a complex multiplexed MDIO bus, where the muxing varies per SerDes protocol. This is because the protocol determines in which PCI slot the various SGMII and XGMII interface cards belong, as well as whether the RGMII ports are enabled. The Freescale SDK includes support

Re: [U-Boot] [PATCH v4] tx25: Use generic gpio_* calls

2012-08-10 Thread Anatolij Gustschin
Hi, On Sat, 16 Jun 2012 22:46:17 +0530 Vikram Narayanan vikram...@gmail.com wrote: Instead of manipulating gpio registers directly, use the calls from the gpio library. Signed-off-by: Vikram Narayanan vikram...@gmail.com Acked-by: Stefano Babic sba...@denx.de Cc: John Rigby

[U-Boot] [PATCH 4/6] fm-eth: use fdt_status_disabled() function in ft_fixup_port()

2012-08-10 Thread Timur Tabi
We have a dedicated function for setting the node status now, so use it. Also improve a comment and fix the type of the phandle variable. Signed-off-by: Timur Tabi ti...@freescale.com --- drivers/net/fm/init.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git

[U-Boot] [PATCH 5/6] powerpc/85xx: get rid of enum board_slots in P4080 MDIO driver

2012-08-10 Thread Timur Tabi
enum board_slots contained six values, where SLOT1 == 1, SLOT2 == 2, and so on. This is pointless, so remove it. Also move the lane_to_slot[] array to the top of the file so that it can be used by other functions. Signed-off-by: Timur Tabi ti...@freescale.com ---

[U-Boot] [PATCH 3/6] powerpc/85xx: introduce function serdes_device_from_fm_port()

2012-08-10 Thread Timur Tabi
In order to figure out which SerDes lane a given Fman port is connected to, we need a function that maps the fm_port namespace to the srds_prtcl namespace. Signed-off-by: Timur Tabi ti...@freescale.com --- board/freescale/common/fman.c | 40

Re: [U-Boot] [PATCH] u-boot: Update yaffs2 file system

2012-08-10 Thread Wolfgang Denk
Dear Charles, In message 20120809213931.755ad204...@gemini.denx.de I wrote: In message 1336618517-2947-1-git-send-email-cdhmann...@gmail.com you wrote: This patch updates the yaffs2 in u-boot to correspond to git://www.aleph1.co.uk/yaffs2 commit id

Re: [U-Boot] [PATCH] armv7: Move save_boot_params_default() to start.S

2012-08-10 Thread Tom Rini
On Fri, Aug 10, 2012 at 11:59:09PM +0200, Beno??t Th??baudeau wrote: save_boot_params() is called by start.S, so move its default implementation to this file too. This is also useful for boards willing to use nand_spl since cpu.c is not built in this case. Signed-off-by: Beno??t Th??baudeau

Re: [U-Boot] [PATCH] armv7: Move save_boot_params_default() to start.S

2012-08-10 Thread Benoît Thébaudeau
On Sat, Aug 11, 2012 at 12:44:34 AM +0200, Tom Rini wrote: On Fri, Aug 10, 2012 at 11:59:09PM +0200, Benoît Thébaudeau wrote: save_boot_params() is called by start.S, so move its default implementation to this file too. This is also useful for boards willing to use nand_spl since

Re: [U-Boot] Using u-boot to update the kernel and root-file system on NAND chip on imx28evk from USB memory stick

2012-08-10 Thread Scott Wood
On 08/08/2012 04:33 PM, Bill wrote: All, I'm needing the ability to upgrade the kernel and root-filesystem on the NAND chip on the imx28evk from new files that reside on a USB memory stick. That is I want to partition the NAND (mtd) into 3 sections that contain u-boot, kernel, rootfs.

Re: [U-Boot] [V3 08/15] S3C6400: Adopt SPL framwork to support spl for nand flash

2012-08-10 Thread Scott Wood
On 07/28/2012 04:35 AM, Zhong Hongbo wrote: From: Zhong Hongbo bocui...@gmail.com Adopt the new SPL framework to implement the SPL booting of the nand flash for S3C6400. Signed-off-by: Zhong Hongbo bocui...@gmail.com --- Change for V3: - None. Change for V2: - seprate some

  1   2   >