Re: [U-Boot] [RFC] Sort-of-poll about encoding for non-ASCII files

2011-06-28 Thread Andreas Bießmann
Dear Albert Aribaud, Am 29.06.2011 um 08:28 schrieb Albert ARIBAUD: > All, > This could go either way of course : converting ISO files to UTF or vice > versa. The goal of this RFC is to gather the pros and cons on UTF-8 vs > ISO-8859; then I'll issue a patch to normalize encodings according to

Re: [U-Boot] [PATCH] arm: omap2: apollon: fix broken build

2011-06-28 Thread Albert ARIBAUD
Hi Igor, Le 24/06/2011 21:34, Igor Grinberg a écrit : > Define CONFIG_SYS_SDRAM_BASE to physical SDRAM address > and CONFIG_SYS_INIT_SP_ADDR to physical SRAM address > > Signed-off-by: Igor Grinberg > Cc: Kyungmin Park > --- > include/configs/apollon.h |4 > 1 files changed, 4 insertio

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

2011-06-28 Thread Albert ARIBAUD
Hi John, Le 28/12/2010 01:33, John Rigby a écrit : > 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. This value is not only wrong but > illegal according to the reference manual. > >

Re: [U-Boot] [RFC] Sort-of-poll about encoding for non-ASCII files

2011-06-28 Thread Mike Frysinger
On Wed, Jun 29, 2011 at 02:28, Albert ARIBAUD wrote: > There would be an interest in normalizing around either UTF or ISO, > because for instance mixed encodings in a commit may prevent the display > of patches in patchwork. ASCII and UTF are the only encodings that make sense to me. anything els

[U-Boot] [RFC] Sort-of-poll about encoding for non-ASCII files

2011-06-28 Thread Albert ARIBAUD
All, The current code base for U-Boot uses mixed encodings for non-ASCII files. Specifically, the distribution of encodings is, accoding to the 'file' utility of Ubuntu 11.04, out of the 6533 files, 61 are UTF-8 and 101 are ISO-8859. There would be an interest in normalizing around either UTF

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

2011-06-28 Thread Stefan Roese
Hi Mike, On Tuesday 28 June 2011 21:30:28 Mike Frysinger wrote: > 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

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

2011-06-28 Thread Albert ARIBAUD
Hi Wolfgang, Le 28/06/2011 07:39, Albert ARIBAUD a écrit : > 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] [PATCH 1/2] MMC: add sdhci generic framework

2011-06-28 Thread Lei Wen
Hi Gérald, On Wed, Jun 29, 2011 at 1:53 PM, Gérald Kerma wrote: > Hello, > > Is this driver adaptable for sheevaplug ? Sheevaplug use kirkwood series, which is different from the platform current develop on. But since this is a generic framework, any controller follow sdhci host spec certainly c

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

2011-06-28 Thread Gérald Kerma
Hello, Is this driver adaptable for sheevaplug ? Le 29/06/2011 05:46, Lei Wen a écrit : > 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 wrote: >> Nowdays, there are plenty of mmc driver in ubo

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

2011-06-28 Thread Graeme Russ
Hi Simon, >> >>        u32 end = time_future_ms(timeout); >> >>        do { >>                ...blah... >>        } while(time_now_ms() < end); > ... > > Actually: > > } while (time_passed_ms(end)) Sorry, but I think you've lost me here... > > but anyway I agree it is a matter of taste and I'm

Re: [U-Boot] [PATCH v2 0/5] Add basic clock and pinmux functions to the Tegra2

2011-06-28 Thread Simon Glass
Hi, On Mon, Jun 13, 2011 at 4:38 PM, Simon Glass wrote: > This patch series adds basic clock and pinmux functions to the Tegra2, and > modifies the ap20 and board code to use them. It includes a few very simple > required bitfield helper macros for ARM Tegra2 only. > > Changes for v2: > - Removed

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 10:19 PM, Graeme Russ wrote: > Hi Reinhard, > > On Wed, Jun 29, 2011 at 3:06 PM, Reinhard Meyer > wrote: >> 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 chang

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

2011-06-28 Thread Graeme Russ
Hi Mike, On Wed, Jun 29, 2011 at 3:26 PM, Mike Frysinger wrote: > On Wednesday, June 29, 2011 01:15:53 Mike Frysinger wrote: >> i wrote this long before i really understood the timer api.  after all, >> even now, there is 0 documentation on the API in the u-boot tree. > > unless i missed somethin

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

2011-06-28 Thread Mike Frysinger
On Wednesday, June 29, 2011 01:15:53 Mike Frysinger wrote: > i wrote this long before i really understood the timer api. after all, > even now, there is 0 documentation on the API in the u-boot tree. unless i missed something, even this patchset doesnt include a new doc/README.timer (or similar)

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

2011-06-28 Thread Graeme Russ
Hi Mike, On Wed, Jun 29, 2011 at 3:08 PM, Mike Frysinger wrote: > 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] [Tim

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

2011-06-28 Thread Graeme Russ
Hi Reinhard, On Wed, Jun 29, 2011 at 3:06 PM, Reinhard Meyer wrote: > 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

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

2011-06-28 Thread Mike Frysinger
On Wednesday, June 29, 2011 00:51:50 Graeme Russ wrote: > On Wed, Jun 29, 2011 at 2:45 PM, Simon Glass wrote: > > On Tue, Jun 28, 2011 at 4:41 AM, Graeme Russ wrote: > >> --- a/arch/blackfin/cpu/jtag-console.c > >> +++ b/arch/blackfin/cpu/jtag-console.c > >> > >> - ulong timeout = get_timer(0

[U-Boot] kgdb support over ethernet(udp)

2011-06-28 Thread Mike Frysinger
has anyone thought about working on this ? ive talked to a couple of people now who would want to see this happen for cases where the serial is the console, or there is no serial port at all. -mike signature.asc Description: This is a digitally signed message part.

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.as

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

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 arch

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 wrote: > Hi Graeme, > > On Tue, Jun 28, 2011 at 4:41 AM, Graeme Russ wrote: >> >> Signed-off-by: Graeme Russ >> --- >>  arch/blackfin/cpu/jtag-console.c           |    4 ++-- >>  arch/microblaze/lib/time.c                 |    4 ++-- >>  ar

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 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, Simon > > I'll add t

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 wrote: > > Signed-off-by: Graeme Russ > --- >  arch/blackfin/cpu/jtag-console.c           |    4 ++-- >  arch/microblaze/lib/time.c                 |    4 ++-- >  arch/nios2/cpu/epcs.c                      |   12 ++-- >  arch/powerp

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 wrote: > > Signed-off-by: Graeme Russ > --- >  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 >

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 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 time_since_ms(u32 from

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 wrote: > > Signed-off-by: Graeme Russ > --- >  include/common.h |   36 ---

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 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 common logic > togethe

[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 ne

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 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 > [...] >> @@ -2

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 'ma

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

2011-06-28 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- 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 ++- arch/blackfin/include/as

[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 --- 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 --- a/include/configs/bfin_adi_common.h +++ b/include

[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 --- arch/blackfin/cpu/initcode.c |2 ++ arch/blackfin/cpu/serial.c | 16 arch/blackfin/cp

[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: Mik

[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 --- include/configs/bfin_adi_common.h |5 + 1 files change

[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 --- 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 --- a/arch/blackfin/include/asm/portmux.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 --- 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 +++ b/arch/blackfin/cpu/start.S @@ -33,7 +33,6 @

[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 These boards have an mmc/sd slot on them connected over SPI, so enable the driver. Signed-off-by: Harald Krapfenbauer Signed-off-by: Mike Frysinger --- include/configs/cm-bf537e.h | 17 - include/configs/cm-bf537u.h | 16 +++- include/

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

2011-06-28 Thread Mike Frysinger
From: Harald Krapfenbauer These boards can have an addon card plugged onto them, so enable support for it. Signed-off-by: Harald Krapfenbauer Signed-off-by: Mike Frysinger --- board/cm-bf537e/cm-bf537e.c | 34 ++ board/cm-bf537u/cm-bf537u.c | 39 +++

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

2011-06-28 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- 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 48f793a..27034d3 100644

[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 --- arch/blackfin/cpu/serial.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/cpu/serial.c b/arch/blackfin/cpu/serial.c

[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 --- arch/blackfin/cpu/gpio.c |

[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 --- arch/blackfin/include/asm/config.h |3 +++ include/configs/bf537-stamp.h |1 - 2 files changed, 3 insertions(+), 1 deletions(-)

[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 --- Makefile

[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 --- 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 index 3312681..5d

[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 --- arch/blackfin/cpu/initcode.c | 12 ++- arch/blackfin/cpu/serial.c | 205 +- arch/blackfin/cpu/s

[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 --- arch/blackfin/cpu/serial.c | 11 +++ 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/arch/blackfin/cpu/

[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 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 --- arch/blackfin/cpu/reset.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/cpu/reset.c b/arc

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 signatur

[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 che

[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 CC: Heiko Schocher CC: Anatol

[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 --- common/serial.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/common/serial.c b/common/serial.c index 505c2

[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 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 imp

[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 --- include/post.h|1 + post/drivers/Makefile |2 +- post/drivers/flash

[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 --- post/board/lwmon/sysmon.c |2 +- post/cpu/mpc8xx/ether.c |4 +--- post/cpu/mpc8xx/spr.c

[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 --- include/post.h |4 ++-- 1 f

[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 --- post/post.c | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/post/post.c b/po

[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:

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 wrote: > This patch set first cleans up all of the chack patch warnings > and errors in fs/ext2/dev.c and then c

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

2011-06-28 Thread Wolfgang Denk
Dear John, In message you wrote: > > From: *Wolfgang Denk* > Date: Fri, Apr 29, 2011 at 4:48 AM > To: John Rigby > Cc: u-boot@lists.denx.de > > > Dear John Rigby, > Thanks. > Does it make sense to restrict this to USB? Or should we decouple the > protocol part from the actual transport path?

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 > > co

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 Rig

[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 (6):

[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 --- drivers/mtd/spi/eon.c | 36 drivers/mtd/spi/macron

[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 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 --- drivers/mtd/spi/eon.c |4 +--- drivers/mtd/spi/stmicro.c | 25 - 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/drivers/mtd/spi/eon.c b/drivers/mtd/

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

2011-06-28 Thread Mike Frysinger
From: Simon Guinot Signed-off-by: Simon Guinot Signed-off-by: Mike Frysinger --- drivers/mtd/spi/macronix.c | 42 ++ 1 files changed, 42 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/macronix.c b/drivers/mtd/spi/macronix.c index 96fd5f0..

[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 --- drivers/mtd/spi/eon.c| 66 +-- drivers/mtd/spi/macronix.c | 66 +-

[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 --- drivers/mtd/spi/spi_flash_internal.h |9 + drivers/mtd/spi/sst.c|2 +- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/drivers

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

2011-06-28 Thread Mike Frysinger
From: Shaohui Xie Signed-off-by: Shaohui Xie Signed-off-by: Mike Frysinger --- drivers/mtd/spi/spansion.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/spansion.c b/drivers/mtd/spi/spansion.c index a3401b3..8835e96 100644 --- a/drivers/mtd/spi

[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 --- drivers/mtd/spi/eon.c|2 +- drivers/mtd/spi/macronix.c |2 +- drivers/mtd/spi/ramtron.c|2 +- drivers/mtd/spi/spansion.c

[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 2/9] sf: macronix: add MX25L4005 and MX25L8005

2011-06-28 Thread Mike Frysinger
From: Macpaul Lin 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 Signed-off-by: Mike Frysinger --- drivers/mtd/spi/macronix.c | 16 ++

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

2011-06-28 Thread Scott Wood
On Tue, 28 Jun 2011 12:24:11 +0530 Aneesh V 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 about tha

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

2011-06-28 Thread Rob Herring
From: Rob Herring Add basic support for Calxeda Highbank platform. Only minimal support to boot is included. Signed-off-by: Jason Hobbs Signed-off-by: Rob Herring Cc: Albert ARIBAUD --- MAINTAINERS |4 + arch/arm/cpu/armv7/highbank/Makefile | 46

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

2011-06-28 Thread Rob Herring
From: Rob Herring This enables the AHCI driver on highbank platforms. Signed-off-by: Rob Herring Cc: Wolfgang Denk Cc: Albert ARIBAUD --- board/highbank/highbank.c |9 + include/configs/highbank.h | 11 +++ 2 files changed, 20 insertions(+), 0 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 Add support for AHCI controllers that are not PCI based. Signed-off-by: Rob Herring Cc: Wolfgang Denk --- common/cmd_scsi.c|6 +++- drivers/block/ahci.c | 70 +++-- include/ahci.h |4 +++ include/scsi.h |

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

2011-06-28 Thread Rob Herring
From: Rob Herring The ata id string always needs swapping, not just on BE machines. Signed-off-by: Rob Herring Cc: Wolfgang Denk --- drivers/block/ahci.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c index a3ca2dc..d431c5

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

2011-06-28 Thread Rob Herring
From: Rob Herring Add __ilog2 function for ARM. Needed for ahci.c Signed-off-by: Rob Herring Cc: Albert ARIBAUD --- arch/arm/include/asm/bitops.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/bitops.h b/arch/arm/include/asm/bitops.h inde

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

2011-06-28 Thread Rob Herring
From: Rob Herring cpu_init_crit can be skipped, but the code is still enabled requiring a platform to supply lowlevel_init. Signed-off-by: Rob Herring Cc: Albert ARIBAUD --- arch/arm/cpu/armv7/start.S |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7

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

2011-06-28 Thread Rob Herring
From: Rob Herring 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) Wolfgang, Albert, Can yo

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 thei

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: > Signed-off-by: Simon Schwarz > -- > > diff --git a/boards.cfg b/boards.cfg > index dfefc3f..bdc4136 100644 > --- a/boards.cfg > +++ b/boards.cfg > @@ -74,15 +74,6 @@ omap1510inn arm arm

[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 -- diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/

[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 -- diff

[U-Boot] [1/5]devkit8000 nand_spl: armv7 support nand_spl boot

2011-06-28 Thread simonschwarzcor
This adds changes to armv7 files to support NAND_SPL. The execution of lowlevel init is prevented in normal u-boot. No Exeception code in SPL. board_init_f/r are replaced by board_init_spl. Much code is deactivated by defines for the SPL case. Signed-off-by: Simon Schwarz -- diff --git a/arch

[U-Boot] [0/5]devkit8000 nand_spl support

2011-06-28 Thread simonschwarzcor
This RFC-patch adds nand_spl support to devkit8000(OMAP3). This is a quick adaption to the nand_spl structure - it is not very consistent because it was initaly written for the spl-structure defined by Aneesh in his OMAP4 SPL patches. I will switch to the new SPL structure as soon as there is a

[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 -- diff --git a/boar

[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 -- 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 +++ b/arch/arm/cpu/armv7

[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 --- board/atmel/atstk1000/Makefile |1 - board/atmel/atstk1000/flash.c

[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 --- board/in-circuit/grasshopper/Makefile | 45 +++

[U-Boot] hello: O A M

2011-06-28 Thread moshe lahat
Hi f z W Thank you very much for your reading our email.I found a good electronical wholesaler recently.That is a new place for shopping at Internet.The products are very good.They are doing the Promotions now, and I have brought a iphone 3GS which work very well,the price is very ch

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 > --- > 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 end of doc/READM

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) 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 > --- .. > board/atmel/at91rm9200dk/flash.c | 10 ++ don't mind at91rm9200dk, it uses deprecated arm920t/at91rm9200 api and will therefore removed in this merge window. regards Andreas Bießman

[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 --- drivers/fpga/ACEX1K.c |5 ++- drivers/fpga/cyclon2.c|5 ++- drivers/fpga/spartan2.c | 30 +++ drivers/fpga/spartan3.c | 32 + drivers/fpga/virtex2.c| 20 ++

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

2011-06-28 Thread Graeme Russ
Signed-off-by: Graeme Russ --- 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 100644 --- a/include/common

  1   2   >