Re: [U-Boot] [PATCH] OMAP[34]: fix broken timer

2011-06-28 Thread Igor Grinberg
Sandeep, Albert, Please, apply this patch. It fixes a real issue with timer on omap. Thanks On 12/28/10 02:33, John Rigby wrote: As implemented now the timer used to implement __udelay counts to 0x and then gets stuck there because the the programmed reload value is 0x.

Re: [U-Boot] SPL framework re-design

2011-06-28 Thread Aneesh V
On Tuesday 28 June 2011 02:52 AM, Wolfgang Denk wrote: Dear Scott Wood, In message20110627161803.16783...@schlenkerla.am.freescale.net you wrote: But if we do not create a new hierarchy of target directories we will have the normal and the spl objects in parallel (and I don't want to

[U-Boot] Loan Application.

2011-06-28 Thread Loan Team
We loan at 0.2%, Any interested person,irrespective of your country should contact us now Via email for more information. Contact Email: loansolutiontea...@eb2a.com Regards, E-Loan Solution Team. ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] Loan Application.

2011-06-28 Thread Loan Team
We loan at 0.2%, Any interested person,irrespective of your country should contact us now Via email for more information. Contact Email: loansolutiontea...@eb2a.com Regards, E-Loan Solution Team. ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH][x86]Minor cleanups

2011-06-28 Thread Graeme Russ
- Make offset into Global Data for Relocation Offset a generated value for use in assembler - Delete unused Global Data offset #defines - Delete unused sc520 MMCR offset #defines Signed-off-by: Graeme Russ graeme.r...@gmail.com --- arch/x86/cpu/start.S |3 ++-

Re: [U-Boot] Pull request: u-boot-arm/master

2011-06-28 Thread Igor Grinberg
Hi Albert, On 06/28/11 08:39, Albert ARIBAUD wrote: Hi Wolfgang, The following changes since commit 9623c158f6a5150a21c25026bfba79e7ff7912f5: Merge branch 'master' of git://git.denx.de/u-boot-arm (2011-06-23 15:37:33 +0200) are available in the git repository at:

Re: [U-Boot] Pull request: u-boot-arm/master

2011-06-28 Thread Igor Grinberg
On 06/28/11 12:52, Igor Grinberg wrote: Hi Albert, On 06/28/11 08:39, Albert ARIBAUD wrote: Hi Wolfgang, The following changes since commit 9623c158f6a5150a21c25026bfba79e7ff7912f5: Merge branch 'master' of git://git.denx.de/u-boot-arm (2011-06-23 15:37:33 +0200) are available

Re: [U-Boot] Pull request: u-boot-arm/master

2011-06-28 Thread Wolfgang Denk
Dear Igor Grinberg, In message 4e09a476.3010...@compulab.co.il you wrote: Can these two also be added for 2011.06: No, they cannot. v2011.06 was released yesterday, according to schedule. I just need to write the summary message... Best regards, Wolfgang Denk -- DENX Software

[U-Boot] [STATUS] v2011.06 release, Merge Window is OPEN

2011-06-28 Thread Wolfgang Denk
Hello all, U-Boot v2011.06 has been released and is available from the git repository and the FTP server. KNOWN ISSUES: - The cleanup after the reorganization of the ARM code has not been completed yet. At the moment, approapprox, 100+ ARM boards are *broken* and *do not compile*. Board

[U-Boot] [PATCH v1 (WIP) 04/16] [Timer]Allow reset_timer() only for Nios2

2011-06-28 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- drivers/block/mg_disk.c |2 ++ drivers/mtd/cfi_flash.c |4 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/block/mg_disk.c b/drivers/block/mg_disk.c index b74307a..2198017 100644 ---

[U-Boot] [PATCH v1 (WIP) 03/16] [Timer]Remove calls to set_timer in arch/

2011-06-28 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- arch/arm/cpu/arm1136/mx31/timer.c|5 - arch/arm/cpu/arm1136/mx35/timer.c|4 arch/arm/cpu/arm1136/omap24xx/timer.c|5 - arch/arm/cpu/arm1176/s3c64xx/timer.c |5 -

[U-Boot] [PATCH v1 (WIP) 05/16] [Timer]Remove reset_timer() for non-Nios2 arches

2011-06-28 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- arch/arm/cpu/arm1136/mx31/timer.c|5 - arch/arm/cpu/arm1136/mx35/timer.c|5 - arch/arm/cpu/arm1136/omap24xx/timer.c|5 - arch/arm/cpu/arm1176/s3c64xx/timer.c |5 -

[U-Boot] [PATCH v1 (WIP) 06/16] [Timer]Fix at91rm9200/spi.c timer usage

2011-06-28 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- arch/arm/cpu/arm920t/at91rm9200/spi.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/arm920t/at91rm9200/spi.c b/arch/arm/cpu/arm920t/at91rm9200/spi.c index f3cb5d8..c70efc6 100644 ---

[U-Boot] [PATCH v1 (WIP) 07/16] [Timer]Remove reset_timer_masked()

2011-06-28 Thread Graeme Russ
Fold implementation into timer_init() where needed Signed-off-by: Graeme Russ graeme.r...@gmail.com --- arch/arm/cpu/arm1136/mx31/timer.c|7 --- arch/arm/cpu/arm1136/omap24xx/timer.c| 14 +++--- arch/arm/cpu/arm1176/s3c64xx/timer.c |7 ---

[U-Boot] [PATCH v1 (WIP) 09/16] [Timer]Replace get_timer() usage in drivers/block/

2011-06-28 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- drivers/block/mg_disk.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/block/mg_disk.c b/drivers/block/mg_disk.c index 2198017..c8cc195 100644 --- a/drivers/block/mg_disk.c +++

[U-Boot] [PATCH v1 (WIP) 10/16] [Timer]Replace get_timer() usage in driver/mtd and driver/block

2011-06-28 Thread Graeme Russ
This prepares for final removal of reset_timer() from Nios2 Signed-off-by: Graeme Russ graeme.r...@gmail.com --- drivers/mtd/cfi_flash.c | 12 ++-- drivers/mtd/nand/nand_base.c| 17 + drivers/mtd/spi/eeprom_m95xxx.c |6 +++---

[U-Boot] [PATCH v1 (WIP) 11/16] [Timer]Remove reset_timer() completely

2011-06-28 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- arch/nios2/cpu/interrupts.c | 38 -- drivers/block/mg_disk.c |3 --- drivers/mtd/cfi_flash.c |6 -- 3 files changed, 0 insertions(+), 47 deletions(-) diff --git

[U-Boot] [PATCH v1 (WIP) 14/16] [Timer]Replace get_timer() usage in common/

2011-06-28 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- common/cmd_misc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/cmd_misc.c b/common/cmd_misc.c index 061b1bb..40f84d2 100644 --- a/common/cmd_misc.c +++ b/common/cmd_misc.c @@ -29,7 +29,7 @@ int do_sleep

[U-Boot] [PATCH v1 (WIP) 16/16] [Timer]Replace get_timer() usage in arch/

2011-06-28 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- arch/blackfin/cpu/jtag-console.c |4 ++-- arch/microblaze/lib/time.c |4 ++-- arch/nios2/cpu/epcs.c | 12 ++-- arch/powerpc/cpu/mpc824x/drivers/i2c/i2c.c |8

[U-Boot] [PATCH v1 (WIP) 13/16] [Timer]Replace get_timer() usage in net/

2011-06-28 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- net/bootp.c |6 +++--- net/net.c | 18 +++--- net/sntp.c |2 +- net/tftp.c |4 ++-- 4 files changed, 13 insertions(+), 17 deletions(-) diff --git a/net/bootp.c b/net/bootp.c index 4db63cb..8c9560d 100644 ---

[U-Boot] [PATCH v1 (WIP) 02/16] [Timer]Remove calls to set_timer outside arch/

2011-06-28 Thread Graeme Russ
There is no need to use set_timer(). Replace with appropriate use of get_timer() Signed-off-by: Graeme Russ graeme.r...@gmail.com --- board/BuS/EB+MCF-EV123/flash.c | 10 ++ board/cobra5272/flash.c| 10 ++ board/idmr/flash.c | 10 ++ 3 files

[U-Boot] [PATCH v1 (WIP) 08/16] [Timer]Create new userland timer API

2011-06-28 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- include/common.h | 36 lib/time.c | 26 ++ 2 files changed, 46 insertions(+), 16 deletions(-) diff --git a/include/common.h b/include/common.h index 340e585..9735d47

[U-Boot] [PATCH v1 (WIP) 12/16] [Timer]Replace get_timer() usage in drivers/

2011-06-28 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- drivers/fpga/ACEX1K.c |5 ++- drivers/fpga/cyclon2.c|5 ++- drivers/fpga/spartan2.c | 30 +++ drivers/fpga/spartan3.c | 32 + drivers/fpga/virtex2.c

Re: [U-Boot] [PATCH v1 (WIP) 01/16] [Timer]Fix misuse of ARM *timer_masked() functions outside arch/arm

2011-06-28 Thread Andreas Bießmann
Dear Graeme Russ, Am 28.06.2011 13:40, schrieb Graeme Russ: Signed-off-by: Graeme Russ graeme.r...@gmail.com --- .. board/atmel/at91rm9200dk/flash.c | 10 ++ don't mind at91rm9200dk, it uses deprecated arm920t/at91rm9200 api and will therefore removed in this merge window.

Re: [U-Boot] [PATCH v1 (WIP) 12/16] [Timer]Replace get_timer() usage in drivers/

2011-06-28 Thread Vitaly Kuzmichev
Hello Graeme, Graeme Russ wrote: [...] diff --git a/drivers/fpga/spartan3.c b/drivers/fpga/spartan3.c index 1dd6f26..8282a23 100644 --- a/drivers/fpga/spartan3.c +++ b/drivers/fpga/spartan3.c [...] @@ -233,7 +235,7 @@ static int Spartan3_sp_load (Xilinx_desc * desc, void *buf, size_t

Re: [U-Boot] [PATCH v1 (WIP) 06/16] [Timer]Fix at91rm9200/spi.c timer usage

2011-06-28 Thread Andreas Bießmann
Dear Graeme Russ, Am 28.06.2011 13:40, schrieb Graeme Russ: Signed-off-by: Graeme Russ graeme.r...@gmail.com --- arch/arm/cpu/arm920t/at91rm9200/spi.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) don't mind arm920t/at91rm9200, it will be removed in this merge window (see

[U-Boot] [PATCH] avr32: add grasshopper (ICnova AP7000) board

2011-06-28 Thread Andreas Bießmann
The grasshopper board is a neat avr32 evaluation kit produced by In-Circuit GmbH. See http://www.ic-board.de/product_info.php?info=p75_ICnova-AP7000-Base.html for detailed information about this device. Signed-off-by: Andreas Bießmann biessm...@corscience.de ---

[U-Boot] [PATCH] atstk100x: switch to common cfi driver

2011-06-28 Thread Andreas Bießmann
This patch removes the board implemenatation for flash driver which can now safely switched to the common cfi driver. Compile tested for all atstk100x boards, runtime tested on atstk1002. Signed-off-by: Andreas Bießmann biessm...@corscience.de --- board/atmel/atstk1000/Makefile |1 -

[U-Boot] [2/5]devkit8000 nand_spl: omap3 support nand_spl boot

2011-06-28 Thread simonschwarzcor
Deactivates caching in SPL. Add call to preloader_console_init for early console output. Signed-off-by: Simon Schwarz schw...@corscience.de -- diff --git a/arch/arm/cpu/armv7/omap3/board.c b/arch/arm/cpu/armv7/omap3/board.c index 6c2a132..bb38289 100644 --- a/arch/arm/cpu/armv7/omap3/board.c

[U-Boot] [5/5]devkit8000 nand_spl: add nand_spl support

2011-06-28 Thread simonschwarzcor
Adds the board config for devkit8000 nand_spl. Adds SPL specific defines to board configuration. Adds the nand_spl Makefile for devkit8000. Adds the main spl implementation to nand_spl including early console init. Adds nand_spl linker script. Signed-off-by: Simon Schwarz schw...@corscience.de

[U-Boot] [3/5]devkit8000 nand_spl: Add RAM configuration independent of x-loader or CH

2011-06-28 Thread simonschwarzcor
OMAP3 relied on the memory config done by X-loader or Configuration Header. This has to be reworked for the implementation of a SPL. This patch configures RAM bank 0 if CONFIG_PRELOADER is set. Settings for Micron-RAM used by devkit8000 are added to mem.h Signed-off-by: Simon Schwarz

[U-Boot] [4/5]devkit8000 nand_spl: Add SPL NAND support to omap_gpmc driver

2011-06-28 Thread simonschwarzcor
Add support for NAND_SPL to omap gpmc driver. This means adding nand_read_buf16 to read from GPMC 32bit buffer (16 here means 16bit bus!) and adding omap_dev_ready as indicator if the GPMC is ready. Signed-off-by: Simon Schwarz schw...@corscience.de -- diff --git

Re: [U-Boot] [5/5]devkit8000 nand_spl: add nand_spl support

2011-06-28 Thread Andreas Bießmann
Dear Simon Schwarz, Am 28.06.2011 16:14, schrieb simonschwarz...@googlemail.com: snip long line Signed-off-by: Simon Schwarz schw...@corscience.de -- diff --git a/boards.cfg b/boards.cfg index dfefc3f..bdc4136 100644 --- a/boards.cfg +++ b/boards.cfg @@ -74,15 +74,6 @@ omap1510inn

Re: [U-Boot] [STATUS] v2011.06 release, Merge Window is OPEN

2011-06-28 Thread Loïc Minier
On Tue, Jun 28, 2011, Wolfgang Denk wrote: - The cleanup after the reorganization of the ARM code has not been completed yet. At the moment, approapprox, 100+ ARM boards are *broken* and *do not compile*. Board maintainers or other interested parties are requested to adapt their

[U-Boot] [PATCH v4 0/6] Add Highbank platform

2011-06-28 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com This series enables non-PCI AHCI controllers and adds support for Calxeda Highbank platform which uses the AHCI changes. Changes from v3: - Added Highbank to MAINTAINERS - Added back patch to fix CONFIG_SKIP_LOWLEVEL_INIT (mistakenly dropped from v2)

[U-Boot] [PATCH 1/6] ARM: add missing CONFIG_SKIP_LOWLEVEL_INIT for armv7

2011-06-28 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com cpu_init_crit can be skipped, but the code is still enabled requiring a platform to supply lowlevel_init. Signed-off-by: Rob Herring rob.herr...@calxeda.com Cc: Albert ARIBAUD albert.arib...@free.fr --- arch/arm/cpu/armv7/start.S |2 ++ 1 files

[U-Boot] [PATCH 3/6] arm: add __ilog2 function

2011-06-28 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Add __ilog2 function for ARM. Needed for ahci.c Signed-off-by: Rob Herring rob.herr...@calxeda.com Cc: Albert ARIBAUD albert.arib...@free.fr --- arch/arm/include/asm/bitops.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH 4/6] scsi/ahci: ata id little endian fix

2011-06-28 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com The ata id string always needs swapping, not just on BE machines. Signed-off-by: Rob Herring rob.herr...@calxeda.com Cc: Wolfgang Denk w...@denx.de --- drivers/block/ahci.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 5/6] scsi/ahci: add support for non-PCI controllers

2011-06-28 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Add support for AHCI controllers that are not PCI based. Signed-off-by: Rob Herring rob.herr...@calxeda.com Cc: Wolfgang Denk w...@denx.de --- common/cmd_scsi.c|6 +++- drivers/block/ahci.c | 70

[U-Boot] [PATCH 6/6] ARM: highbank: Add AHCI support

2011-06-28 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com This enables the AHCI driver on highbank platforms. Signed-off-by: Rob Herring rob.herr...@calxeda.com Cc: Wolfgang Denk w...@denx.de Cc: Albert ARIBAUD albert.arib...@free.fr --- board/highbank/highbank.c |9 + include/configs/highbank.h |

[U-Boot] [PATCH 2/6] ARM: Add Calxeda Highbank platform

2011-06-28 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Add basic support for Calxeda Highbank platform. Only minimal support to boot is included. Signed-off-by: Jason Hobbs jason.ho...@calxeda.com Signed-off-by: Rob Herring rob.herr...@calxeda.com Cc: Albert ARIBAUD albert.arib...@free.fr --- MAINTAINERS

Re: [U-Boot] SPL framework re-design

2011-06-28 Thread Scott Wood
On Tue, 28 Jun 2011 12:24:11 +0530 Aneesh V ane...@ti.com wrote: 1. If there are SPL customized generic files like the nand_spl/nand_boot.c where do we keep them? I suggest that we keep them in spl/nand, spl/onenand etc. And for the object file hierarchy let's have something like spl/obj. How

[U-Boot] [PATCH 2/9] sf: macronix: add MX25L4005 and MX25L8005

2011-06-28 Thread Mike Frysinger
From: Macpaul Lin macp...@andestech.com Add support of MX25L4005 and MX25L8005 according to the datasheet http://www.mct.net/download/macronix/mx25l8005.pdf This patch has been tested with MX25L4005 and MX25L8005 Signed-off-by: Macpaul Lin macp...@andestech.com Signed-off-by: Mike Frysinger

[U-Boot] [PATCH 0/9] spi flash updates for v2011.09

2011-06-28 Thread Mike Frysinger
These have all been posted already. A few part updates, bug fixes, code unification, and that kind of fun stuff. Macpaul Lin (1): sf: macronix: add MX25L4005 and MX25L8005 Mike Frysinger (6): sf: unify write enable commands sf: unify write funcs sf: kill off now-unused local state sf:

[U-Boot] [PATCH 3/9] sf: unify write enable commands

2011-06-28 Thread Mike Frysinger
Every spi flash uses the same write enable command, so unify this in the common code. Signed-off-by: Mike Frysinger vap...@gentoo.org --- drivers/mtd/spi/eon.c|2 +- drivers/mtd/spi/macronix.c |2 +- drivers/mtd/spi/ramtron.c|2 +-

[U-Boot] [PATCH 1/9] sf: spansion: add support for S25FL129P_64K

2011-06-28 Thread Mike Frysinger
From: Shaohui Xie b21...@freescale.com Signed-off-by: Shaohui Xie b21...@freescale.com Signed-off-by: Mike Frysinger vap...@gentoo.org --- drivers/mtd/spi/spansion.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/spansion.c

[U-Boot] [PATCH 7/9] sf: unify write disable commands

2011-06-28 Thread Mike Frysinger
Every spi flash uses the same write disnable command, so unify this in the common code. Signed-off-by: Mike Frysinger vap...@gentoo.org --- drivers/mtd/spi/spi_flash_internal.h |9 + drivers/mtd/spi/sst.c|2 +- 2 files changed, 10 insertions(+), 1 deletions(-)

[U-Boot] [PATCH 4/9] sf: unify write funcs

2011-06-28 Thread Mike Frysinger
Once we add a new page_size field for write lengths, we can unify the write methods for most of the spi flash drivers. Signed-off-by: Mike Frysinger vap...@gentoo.org --- drivers/mtd/spi/eon.c| 66 +-- drivers/mtd/spi/macronix.c | 66

[U-Boot] [PATCH 9/9] sf: macronix: disable write protection when initializing

2011-06-28 Thread Mike Frysinger
From: Simon Guinot sgui...@lacie.com Signed-off-by: Simon Guinot sgui...@lacie.com Signed-off-by: Mike Frysinger vap...@gentoo.org --- drivers/mtd/spi/macronix.c | 42 ++ 1 files changed, 42 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH 6/9] sf: eon/stmicro: inline useless ID defines

2011-06-28 Thread Mike Frysinger
These defines are used in only one place, so just inline them. Signed-off-by: Mike Frysinger vap...@gentoo.org --- drivers/mtd/spi/eon.c |4 +--- drivers/mtd/spi/stmicro.c | 25 - 2 files changed, 9 insertions(+), 20 deletions(-) diff --git

[U-Boot] [PATCH 8/9] sf: sst: support newer standardized flashes

2011-06-28 Thread Mike Frysinger
Newer SST flashes have dropped the Auto Address Increment (AAI) word programming (WP) modes in favor of the standard page programming mode that most flashes now support. So add a flags field to the different flashes to support both modes with new and old styles. Signed-off-by: Mike Frysinger

[U-Boot] [PATCH 5/9] sf: kill off now-unused local state

2011-06-28 Thread Mike Frysinger
Now that the common spi_flash structure tracks all the info that these drivers need, kill off their local state indirection and use just what the common code provides. Signed-off-by: Mike Frysinger vap...@gentoo.org --- drivers/mtd/spi/eon.c | 36

[U-Boot] Pull request u-boot-blackfin.git (sf branch)

2011-06-28 Thread Mike Frysinger
The following changes since commit b1af6f532e0d348b153d5c148369229d24af361a: Prepare v2011.06 (2011-06-27 22:22:42 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-blackfin.git sf Macpaul Lin (1): sf: macronix: add MX25L4005 and MX25L8005 Mike Frysinger

Re: [U-Boot] strawman Fastboot in U-Boot Design Doc

2011-06-28 Thread John Rigby
Zach, I did go one more round with WD on the fastboot with a strawman proposal. I never followed up because I was not sure that the resources were commited to do it in Linaro. Forwarded conversation Subject: [U-Boot] strawman Fastboot in U-Boot Design Doc From: *John

Re: [U-Boot] [STATUS] v2011.06 release, Merge Window is OPEN

2011-06-28 Thread Wolfgang Denk
Dear Loïc, In message 20110628152416.gc31...@bee.dooz.org you wrote: ... Board maintainers or other interested parties are requested to adapt their boards within the current merge window. All boards that have not been fixed within the first week of the merge window are considered

Re: [U-Boot] strawman Fastboot in U-Boot Design Doc

2011-06-28 Thread Wolfgang Denk
Dear John, In message banlktikyx2c9t0aebuqljmgh9fqmmvv...@mail.gmail.com you wrote: From: *Wolfgang Denk* w...@denx.de Date: Fri, Apr 29, 2011 at 4:48 AM To: John Rigby john.ri...@linaro.org Cc: u-boot@lists.denx.de Dear John Rigby, Thanks. Does it make sense to restrict this to USB?

Re: [U-Boot] [PATCH 0/2] ext2: Cleanup and simplify sector access code

2011-06-28 Thread Anton Staaf
I just wanted to check that this patch set hadn't fallen completely off the radar. :) What can I do to help it along? Thanks, Anton On Mon, Jun 13, 2011 at 2:40 PM, Anton Staaf robot...@chromium.org wrote: This patch set first cleans up all of the chack patch warnings and errors in

[U-Boot] Pull request u-boot-blackfin.git (post branch)

2011-06-28 Thread Mike Frysinger
All of thse patches have been posted previously, and no one has given feedback, so here they are in a handy branch for you to pull. The following changes since commit b1af6f532e0d348b153d5c148369229d24af361a: Prepare v2011.06 (2011-06-27 22:22:42 +0200) are available in the git repository at:

[U-Boot] [PATCH 2/5] post: add gpio hotkey support

2011-06-28 Thread Mike Frysinger
Now that we have the generic GPIO layer, we can easily provide a common implementation for the post_hotkeys_pressed() function based on it. Signed-off-by: Mike Frysinger vap...@gentoo.org --- post/post.c | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH 1/5] post: fix up I/O helper usage

2011-06-28 Thread Mike Frysinger
The I/O API from Linux defaults to little endian accesses. In order to do big endian accesses, there are a be variants. The le32 variants are arch-specific and not terribly common, so change it to the normal Linux API funcs. Signed-off-by: Mike Frysinger vap...@gentoo.org --- include/post.h |

[U-Boot] [PATCH 3/5] post: use ARRAY_SIZE

2011-06-28 Thread Mike Frysinger
We've got a handy dandy macro already for calculating the number of elements in an array, so use it. Signed-off-by: Mike Frysinger vap...@gentoo.org --- post/board/lwmon/sysmon.c |2 +- post/cpu/mpc8xx/ether.c |4 +--- post/cpu/mpc8xx/spr.c

[U-Boot] [PATCH 4/5] post: new nor flash test

2011-06-28 Thread Mike Frysinger
This adds a simple flash test to automatically verify erasing, writing, and reading of sectors. The code is based on existing Blackfin tests but generalized for everyone to use. Signed-off-by: Mike Frysinger vap...@gentoo.org --- include/post.h|1 + post/drivers/Makefile |2 +-

[U-Boot] [PATCH 5/5] serial: implement common uart post test

2011-06-28 Thread Mike Frysinger
The current arch/driver specific UART posts basically boil down to setting the UART to loop back mode, then reading and writing data. If we ignore the loop back part, the rest can be built upon the existing common serial API. So let's do just that. First add a call back for serial drivers to

[U-Boot] Pull request u-boot-blackfin.git (serial branch)

2011-06-28 Thread Mike Frysinger
All of thse patches have been posted previously, and no one has given feedback, so here they are in a handy branch for you to pull. The following changes since commit b1af6f532e0d348b153d5c148369229d24af361a: Prepare v2011.06 (2011-06-27 22:22:42 +0200) are available in the git repository at:

[U-Boot] [PATCH 2/3] serial: drop serial_register return value

2011-06-28 Thread Mike Frysinger
The serial_register function never fails (always return 0), so change it to a void function to avoid wasting overhead on it. Signed-off-by: Mike Frysinger vap...@gentoo.org --- common/serial.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/common/serial.c

[U-Boot] [PATCH 1/3] serial: push default_serial_console to drivers

2011-06-28 Thread Mike Frysinger
Rather than sticking arch/board/driver specific logic in the common serial code, push it all out to the respective drivers. The serial drivers declare these funcs weak so that boards can still override things with their own definition. Signed-off-by: Mike Frysinger vap...@gentoo.org CC: Heiko

[U-Boot] [PATCH 3/3] serial: drop useless ctlr field

2011-06-28 Thread Mike Frysinger
The multi serial support has a ctlr field which almost no one uses, but everyone is forced to set to useless strings. So punt it. Funny enough, the only code that actually reads this field (the mpc8xx driver) has a typo where it meant to look for the SCC driver. Fix it while converting the

Re: [U-Boot] [PATCH] cfi_flash: reverse geometry for newer STM parts

2011-06-28 Thread Mike Frysinger
On Monday, May 09, 2011 18:33:36 Mike Frysinger wrote: For newer STM parts where CFI = 1.1, there is a byte in the extended structure that declares the flash layout type (just like the AMD parts), so key off of that to find out when we need to reverse the geometry. ping ... -mike

[U-Boot] [PATCH 04/18] Blackfin: dont reset SWRST on newer bf526 parts

2011-06-28 Thread Mike Frysinger
The bug in the BF526 rom when doing a software reset exists only in older silicon versions, so don't clear SWRST on newer parts. Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/blackfin/cpu/reset.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 00/18] Blackfin updates for v2011.09

2011-06-28 Thread Mike Frysinger
Many of these have been posted already, but some have not. We've pulled some updates from the Linux port, added support for multiple serial devs at the same time, and random tweaks/improvements all over. Harald Krapfenbauer (2): Blackfin: cm-bf537e/cm-bf537u/tcm-bf537: update network settings

[U-Boot] [PATCH 01/18] Blackfin: uart: move debug buffers into local bss

2011-06-28 Thread Mike Frysinger
There's no need for these saved buffers to be global symbols, or in the data section. So mark them static to move them into the bss. Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/blackfin/cpu/serial.c | 11 +++ 1 files changed, 3 insertions(+), 8 deletions(-) diff --git

[U-Boot] [PATCH 02/18] Blackfin: uart: add multiple serial support

2011-06-28 Thread Mike Frysinger
This brings CONFIG_SERIAL_MULTI support to the Blackfin on-chip UARTs. Ends up adding only ~512bytes per additional UART. Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/blackfin/cpu/initcode.c | 12 ++- arch/blackfin/cpu/serial.c | 205 +-

[U-Boot] [PATCH 03/18] Blackfin: adi boards: enable multi serial support by default

2011-06-28 Thread Mike Frysinger
Since this only adds less than 3KiB, enable for all ADI boards. Signed-off-by: Mike Frysinger vap...@gentoo.org --- include/configs/bfin_adi_common.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h

[U-Boot] [PATCH 05/18] Blackfin: add init.elf helper code

2011-06-28 Thread Mike Frysinger
This creates a standalone ELF that executes just the Blackfin initcode. This is useful for people who want to program the low level aspects of the CPU (memory/clocks/etc...) and can easily be used with JTAG for quick booting while developing. Signed-off-by: Mike Frysinger vap...@gentoo.org ---

[U-Boot] [PATCH 07/18] Blackfin: post: setup default CONFIG_SYS_POST_WORD_ADDR

2011-06-28 Thread Mike Frysinger
Set the default post word location to an L1 data location for all Blackfin parts so things just work for most people. Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/blackfin/include/asm/config.h |3 +++ include/configs/bf537-stamp.h |1 - 2 files changed, 3 insertions(+),

[U-Boot] [PATCH 08/18] Blackfin: gpio: optimize free path a little

2011-06-28 Thread Mike Frysinger
When we aren't doing resource tracking, the gpio_free() function is a stub that simply returns, so pull this logic up a level and make it an inline stub in the header. Now we don't have to waste time at any of the call sites. Signed-off-by: Mike Frysinger vap...@gentoo.org ---

[U-Boot] [PATCH 06/18] Blackfin: uart: fix printf warning

2011-06-28 Thread Mike Frysinger
The code uses %i to printf a size_t when it should use %zu, otherwise we get a warning from gcc about it. Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/blackfin/cpu/serial.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/cpu/serial.c

[U-Boot] [PATCH 09/18] Blackfin: sync MMR read/write helpers with Linux

2011-06-28 Thread Mike Frysinger
Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/blackfin/include/asm/blackfin_local.h | 88 +-- 1 files changed, 42 insertions(+), 46 deletions(-) diff --git a/arch/blackfin/include/asm/blackfin_local.h b/arch/blackfin/include/asm/blackfin_local.h index

[U-Boot] [PATCH 10/18] Blackfin: cm-bf537e/cm-bf537u/tcm-bf537: update network settings

2011-06-28 Thread Mike Frysinger
From: Harald Krapfenbauer harald.krapfenba...@bluetechnix.com These boards can have an addon card plugged onto them, so enable support for it. Signed-off-by: Harald Krapfenbauer harald.krapfenba...@bluetechnix.com Signed-off-by: Mike Frysinger vap...@gentoo.org --- board/cm-bf537e/cm-bf537e.c |

[U-Boot] [PATCH 11/18] Blackfin: cm-bf537e/cm-bf537u/tcm-bf537: enable mmc_spi support

2011-06-28 Thread Mike Frysinger
From: Harald Krapfenbauer harald.krapfenba...@bluetechnix.com These boards have an mmc/sd slot on them connected over SPI, so enable the driver. Signed-off-by: Harald Krapfenbauer harald.krapfenba...@bluetechnix.com Signed-off-by: Mike Frysinger vap...@gentoo.org --- include/configs/cm-bf537e.h

[U-Boot] [PATCH 13/18] Blackfin: drop unused dma.h header from start code

2011-06-28 Thread Mike Frysinger
Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/blackfin/cpu/start.S |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/cpu/start.S b/arch/blackfin/cpu/start.S index 15ecb1e..90b4d1a 100644 --- a/arch/blackfin/cpu/start.S +++

[U-Boot] [PATCH 12/18] Blackfin: portmux: allow header to be included in assembly files

2011-06-28 Thread Mike Frysinger
Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/blackfin/include/asm/portmux.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/blackfin/include/asm/portmux.h b/arch/blackfin/include/asm/portmux.h index b17207f..300ef44 100644 ---

[U-Boot] [PATCH 14/18] Blackfin: adi boards: enable pretty flash progress output

2011-06-28 Thread Mike Frysinger
For only ~150 bytes increase in size, we can get a nice flash progress indicator rather than just the boring dots (which don't tell too much about overall progress). So enable it for all ADI boards. Signed-off-by: Mike Frysinger vap...@gentoo.org --- include/configs/bfin_adi_common.h |5

[U-Boot] [PATCH 15/18] Blackfin: split out async setup

2011-06-28 Thread Mike Frysinger
We really only need to tweak the async banks in the initcode if the processor is booting out of it, otherwise we can wait until later on in the CPU booting setup. This also makes testing in the sim and early bring up over JTAG work much smoother when the initcode gets bypassed. Signed-off-by:

[U-Boot] [PATCH 16/18] Blackfin: serial: convert to bfin_{read, write} helpers

2011-06-28 Thread Mike Frysinger
Since the serial struct declares the sizes for us, no need to hardcode them in the accessor functions. Let the bfin_{read,write} helpers do it for us. Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/blackfin/cpu/initcode.c |2 ++ arch/blackfin/cpu/serial.c | 16

[U-Boot] [PATCH 18/18] Blackfin: adi boards: also set stderr to nc with helper

2011-06-28 Thread Mike Frysinger
Signed-off-by: Mike Frysinger vap...@gentoo.org --- include/configs/bfin_adi_common.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h index 80f8a14..57d9b97 100644 ---

[U-Boot] [PATCH 17/18] Blackfin: update anomaly lists to latest public info

2011-06-28 Thread Mike Frysinger
Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/blackfin/include/asm/mach-bf506/anomaly.h | 25 +++- arch/blackfin/include/asm/mach-bf518/anomaly.h | 28 ++- arch/blackfin/include/asm/mach-bf527/anomaly.h | 38 +++-- arch/blackfin/include/asm/mach-bf533/anomaly.h | 23 ++-

Re: [U-Boot] Pull request: u-boot-arm/master

2011-06-28 Thread Albert ARIBAUD
Hi Igor, Le 28/06/2011 12:20, Igor Grinberg a écrit : On 06/28/11 12:52, Igor Grinberg wrote: Hi Albert, On 06/28/11 08:39, Albert ARIBAUD wrote: Hi Wolfgang, The following changes since commit 9623c158f6a5150a21c25026bfba79e7ff7912f5: Merge branch 'master' of

Re: [U-Boot] [PATCH v1 (WIP) 12/16] [Timer]Replace get_timer() usage in drivers/

2011-06-28 Thread Graeme Russ
Hi Vitaly, On Tue, Jun 28, 2011 at 10:36 PM, Vitaly Kuzmichev vkuzmic...@mvista.com wrote: Hello Graeme, Graeme Russ wrote: [...] diff --git a/drivers/fpga/spartan3.c b/drivers/fpga/spartan3.c index 1dd6f26..8282a23 100644 --- a/drivers/fpga/spartan3.c +++ b/drivers/fpga/spartan3.c [...]

[U-Boot] Pull request u-boot-blackfin.git

2011-06-28 Thread Mike Frysinger
The following changes since commit b1af6f532e0d348b153d5c148369229d24af361a: Prepare v2011.06 (2011-06-27 22:22:42 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-blackfin.git master Harald Krapfenbauer (2): Blackfin: cm-bf537e/cm-bf537u/tcm-bf537: update

Re: [U-Boot] [PATCH 1/2] MMC: add sdhci generic framework

2011-06-28 Thread Lei Wen
Hi All, Any comment to this patch set, could it be merged in this open window? Thanks, Lei On Thu, Jun 16, 2011 at 11:17 PM, Lei Wen lei...@marvell.com wrote: Nowdays, there are plenty of mmc driver in uboot adopt the sd standard host design, aka as sdhci. It is better to centralize the

Re: [U-Boot] [PATCH v1 (WIP) 08/16] [Timer]Create new userland timer API

2011-06-28 Thread Simon Glass
Hi Graeme, What a mammoth effort and what a fantastic clean up. I'm a bit unsure of this patch which seems to have two prototypes for the since functions: On Tue, Jun 28, 2011 at 4:41 AM, Graeme Russ graeme.r...@gmail.com wrote: Signed-off-by: Graeme Russ graeme.r...@gmail.com ---  

Re: [U-Boot] [PATCH v1 (WIP) 08/16] [Timer]Create new userland timer API

2011-06-28 Thread Graeme Russ
Hi Simon, On Wed, Jun 29, 2011 at 2:31 PM, Simon Glass s...@chromium.org wrote: Hi Graeme, What a mammoth effort and what a fantastic clean up. I'm a bit unsure of this patch which seems to have two prototypes for the since functions: [snip] +u32 time_now_ms(void); +u32

Re: [U-Boot] [PATCH v1 (WIP) 09/16] [Timer]Replace get_timer() usage in drivers/block/

2011-06-28 Thread Simon Glass
Hi Graeme, On Tue, Jun 28, 2011 at 4:41 AM, Graeme Russ graeme.r...@gmail.com wrote: Signed-off-by: Graeme Russ graeme.r...@gmail.com ---  drivers/block/mg_disk.c |    9 -  1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/block/mg_disk.c

Re: [U-Boot] [PATCH v1 (WIP) 16/16] [Timer]Replace get_timer() usage in arch/

2011-06-28 Thread Simon Glass
Hi Graeme, On Tue, Jun 28, 2011 at 4:41 AM, Graeme Russ graeme.r...@gmail.com wrote: Signed-off-by: Graeme Russ graeme.r...@gmail.com ---  arch/blackfin/cpu/jtag-console.c           |    4 ++--  arch/microblaze/lib/time.c                 |    4 ++--  arch/nios2/cpu/epcs.c                    

Re: [U-Boot] [PATCH v1 (WIP) 08/16] [Timer]Create new userland timer API

2011-06-28 Thread Simon Glass
Hi Graeme, On Tue, Jun 28, 2011 at 9:36 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, Can you please explain what I am missing? The fact I haven't tried to build it yet ;) Oh, OK. That explains the mystery :-) I haven't built it yet either but it certainly looks good. Regards,

Re: [U-Boot] [PATCH v1 (WIP) 16/16] [Timer]Replace get_timer() usage in arch/

2011-06-28 Thread Graeme Russ
Hi Simon, On Wed, Jun 29, 2011 at 2:45 PM, Simon Glass s...@chromium.org wrote: Hi Graeme, On Tue, Jun 28, 2011 at 4:41 AM, Graeme Russ graeme.r...@gmail.com wrote: Signed-off-by: Graeme Russ graeme.r...@gmail.com ---  arch/blackfin/cpu/jtag-console.c           |    4 ++--  

Re: [U-Boot] [PATCH v1 (WIP) 00/16] [Timer]API Rewrite

2011-06-28 Thread Graeme Russ
Hi All, [snip] Graeme Russ (16):  [Timer]Fix misuse of ARM *timer_masked() functions outside arch/arm  [Timer]Remove calls to set_timer outside arch/  [Timer]Remove calls to set_timer in arch/  [Timer]Allow reset_timer() only for Nios2  [Timer]Remove reset_timer() for non-Nios2 arches  

Re: [U-Boot] [PATCH v1 (WIP) 09/16] [Timer]Replace get_timer() usage in drivers/block/

2011-06-28 Thread Reinhard Meyer
Dear All, Well I know i have asked this before, but I feel I should ask again because I didn't like the answer much. Imagine we change this code to: ts = time_now_ms() + msec do { ... } while (time_since_ms(ts) 0); That should be legal, right? But I don't think this can work since the

Re: [U-Boot] [PATCH v1 (WIP) 00/16] [Timer]API Rewrite

2011-06-28 Thread Mike Frysinger
for future reference, could we use the foo: style in subjects instead of [foo]. git likes to eat [...] automatically and i find it hard to quickly parse. it's an abomination on my eyes. -[PATCH v1 (WIP) 00/16] [Timer]API Rewrite +[PATCH/WIP 00/16] timer: API Rewrite -mike signature.asc

  1   2   >