[U-Boot] Unser Auslands Kredit hilft!

2009-01-23 Thread Kredit Probleme?
Guten Tag, sind Sie auch Opfer der Finanzkrise? Sie wollen einen Kredit - und Ihre Hausbank sagt "Nein" ... dann holen Sie sich doch Ihren Kredit im Ausland! Nutzen Sie die Chance, die Ihnen der osteuropäische Finanzmarkt jetzt bietet. Bei uns bekommen Sie

Re: [U-Boot] [GIT PULL] avr32 fix for v2009.01

2009-01-23 Thread Wolfgang Denk
Dear Haavard Skinnemoen, In message <20090122111801.73025...@hskinnemoen-d830> you wrote: > Hi Wolfgang, > > Please pull > > git://git.denx.de/u-boot-avr32.git master > > to receive the following build fix for avr32 (all boards are affected). > > Haavard Skinnemoen (2): > avr32: Remove

Re: [U-Boot] Custom MPC8548 boot using FDT problem (more info)

2009-01-23 Thread Pieter
Jerry Van Baren wrote: > Pieter wrote: >> Hi all >> >> I have been working on booting our custom MPC8548 board using a FDT. >> The board boots up to the point where "controll is passed to Linux" >> and then nothing happens. I have plased the final part of the console >> output at the bottom of this

[U-Boot] Microblaze pull request

2009-01-23 Thread Michal Simek
Dear Wolfgang, Please pull u-boot-microblaze master branch. Best regards, Michal The following changes since commit 72d15e705bc3983884105cb7755c7ba80e74a0a5: Wolfgang Denk (1): Prepare v2009.01 are available in the git repository at: git://www.denx.de/git/u-boot-microblaze.git mas

Re: [U-Boot] Watchdog and u-boot command prompt

2009-01-23 Thread Sachin Rane
Hi, I have studied the u-boot code for 'watchdog' timer feature. As per my understanding 'Decrementer' interrupt has been used to reset the Watchdog timer. The 'timer_interrupt()' of 'lib_ppc/interrupts.c' gets called whenever the 'Decrement' inetterupt occurs. The 'Decrement Timer' has been init

[U-Boot] [PATCH v2 7/9] AVR32: Must add NOPs after disabling interrupts for AT32UC3A0512ES

2009-01-23 Thread Gunnar Rangoy
From: Olav Morken The AT32UC3A0512ES chip has a bug when disabling interrupts. As a workaround, two NOPs can be inserted. Signed-off-by: Gunnar Rangoy Signed-off-by: Paul Driveklepp Signed-off-by: Olav Morken --- lib_avr32/interrupts.c |7 +++ 1 files changed, 7 insertions(+), 0 dele

[U-Boot] [PATCH v2 6/9] AVR32: macb - Search for PHY id

2009-01-23 Thread Gunnar Rangoy
This patch adds support for searching through available PHY-addresses in the macb-driver. This is needed for the ATEVK1100 evaluation board, where the PHY-address will be initialized to either 1 or 7. This patch adds a config option, CONFIG_MACB_SEARCH_PHY, which when enabled tells the driver to s

[U-Boot] [PATCH v2 3/9] AVR32: Move addrspace.h to arch-directory, and move some functions from io.h to addrspace.h

2009-01-23 Thread Gunnar Rangoy
From: Olav Morken The AVR32A architecture (which AT32UC3A-series is based on) has a different memory layout than the AVR32B-architecture. This patch moves addrspace.h to an arch-dependent directory in preparation for AT32UC3A-support. It also moves some address-space manipulation functions from i

[U-Boot] [PATCH v2 9/9] AVR32: Board support for ATEVK1100

2009-01-23 Thread Gunnar Rangoy
This patch adds support for the ATEVK1100 evaluation kit, which contains an AT32UC3A0512ES chip. Signed-off-by: Gunnar Rangoy Signed-off-by: Paul Driveklepp Signed-off-by: Olav Morken --- MAINTAINERS |1 + MAKEALL |1 + Makefile

[U-Boot] [PATCH v2 1/9] Fix IP alignement problem

2009-01-23 Thread Gunnar Rangoy
From: Olav Morken This patch removes volatile from: volatile IP_t *ip = (IP_t *)xip; Due to a bug, avr32-gcc will assume that ip is aligned on a word boundary when using volatile, which causes an exception since xip isn't aligned on a word boundary. Signed-off-by: Gunnar Rangoy Signed-off-by:

[U-Boot] [PATCH v2 5/9] AVR32: macb - Disable 100mbps if clock is slow

2009-01-23 Thread Gunnar Rangoy
From: Olav Morken For 100mbps operation, the ethernet controller requires a 25 MHz clock in MII mode, and a 50 MHz clock in RMII mode. If the clock is slower, disable 100 Mbps mode. Signed-off-by: Gunnar Rangoy Signed-off-by: Paul Driveklepp Signed-off-by: Olav Morken --- drivers/net/macb.c

[U-Boot] [PATCH v2 0/9] Support for ATEVK1100 evaluation board

2009-01-23 Thread Gunnar Rangoy
This is a patch series which adds support for the ATEVK1100 evaluation board[1], and the AT32UC3A0xxx[2] microcontrollers used on that board. The patch series is based on avr32/next. Some of these patches has already been submitted and most of the received feedback has been addressed. We would li

[U-Boot] [PATCH v2 2/9] AVR32: Make cacheflush cpu-dependent

2009-01-23 Thread Gunnar Rangoy
From: Olav Morken The AT32UC3A series of processors doesn't contain any cache, and issuing cache control instructions on those will cause an exception. This commit makes cacheflush.h arch-dependent in preparation for the AT32UC3A-support. Signed-off-by: Gunnar Rangoy Signed-off-by: Paul Drivekl

[U-Boot] [PATCH v2 4/9] AVR32: Make GPIO implmentation cpu dependent

2009-01-23 Thread Gunnar Rangoy
There are some differences in the implementation of GPIO in the at32uc chip compared to the ap700x series. Signed-off-by: Gunnar Rangoy Signed-off-by: Paul Driveklepp Signed-off-by: Olav Morken --- include/asm-avr32/arch-at32ap700x/gpio-impl.h | 86 + include/asm-avr3

[U-Boot] [PATCH 3/4] API: Only output test data when reading was successful.

2009-01-23 Thread Rafal Jaworowski
Signed-off-by: Rafal Czubak --- api_examples/demo.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/api_examples/demo.c b/api_examples/demo.c index 69ac318..2510ed8 100644 --- a/api_examples/demo.c +++ b/api_examples/demo.c @@ -135,9 +135,10 @@ int main(int argc, c

[U-Boot] [PATCH 2/4] API: Provide syscall entry point for the ARM architecture.

2009-01-23 Thread Rafal Jaworowski
Signed-off-by: Rafal Czubak Acked-by: Rafal Jaworowski --- api_examples/Makefile |7 +++ api_examples/crt0.S | 17 - lib_arm/board.c |5 + 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/api_examples/Makefile b/api_examples/Makefile index

[U-Boot] [PATCH 1/4] API: Use stack pointer as API signature search hint in the glue layer.

2009-01-23 Thread Rafal Jaworowski
De-hardcode range in RAM we search for the API signature. Instead use the stack pointer as a hint to narrow down the range in which the signature could reside (it is malloc'ed on the U-Boot heap, and is hoped to remain in some proximity from stack area). Adjust PowerPC code in API demo to the new s

[U-Boot] [PATCH 4/4] API: Improve glue mid-layer of the API demo application.

2009-01-23 Thread Rafal Jaworowski
- Extend ub_dev_read() and ub_dev_recv() so they return the length actually read, which allows for better control and error handling (this introduces additional error code API_ESYSC returned by the glue mid-layer). - Clean up definitions naming and usage. - Other minor cosmetics. Note these chan

Re: [U-Boot] Custom MPC8548 boot using FDT problem (more info)

2009-01-23 Thread Jerry Van Baren
Pieter wrote: > Jerry Van Baren wrote: >> Pieter wrote: >>> Hi all >>> >>> I have been working on booting our custom MPC8548 board using a FDT. >>> The board boots up to the point where "controll is passed to Linux" >>> and then nothing happens. I have plased the final part of the console >>> outpu

[U-Boot] U-Boot 2009.01 Release

2009-01-23 Thread Wolfgang Denk
Hi everybody, U-Boot v2009.01 has been released and is available from the git repository and the FTP server. The Merge Window for the next release is open until Fri Feb 06, 2009, i. e. 14 days remaining. The next release is scheduled for March 21, 2009/ See http://www.denx.de/wiki/U-Boot/Relea

Re: [U-Boot] [PATCH] part_efi: Fix partition size calculation due to inclusive ending LBA.

2009-01-23 Thread Richard Retanubun
Ping. checking for feedback on this patch, thanks. > This patch fixed an off-by-one bug found for GPT. Because the ending LBA is > inclusive, > the partition size should be ((ending_lba + 1) - starting-LBA). > > This is confirmed against the results from the parted tool. > (e.g. use parted /dev/s

Re: [U-Boot] Custom MPC8548 boot using FDT problem (more info)

2009-01-23 Thread Pieter
Jerry Van Baren wrote: > Pieter wrote: >> Jerry Van Baren wrote: >>> Pieter wrote: Hi all I have been working on booting our custom MPC8548 board using a FDT. The board boots up to the point where "controll is passed to Linux" and then nothing happens. I have plased the final pa

[U-Boot] Common u-boot image for e300 and e500v2

2009-01-23 Thread Johns Daniel
Is it possible -- and prudent -- to use a single u-boot binary image for two similar boards, one based on an e300 core and the other on an e500v2 core? My guess is that it is not possible, but I was surprised to see that the e500v2-targeted toolchain did build the kernel for the e300 board just fi

Re: [U-Boot] Common u-boot image for e300 and e500v2

2009-01-23 Thread Wolfgang Denk
Dear Johns Daniel, In message you wrote: > Is it possible -- and prudent -- to use a single u-boot binary image > for two similar boards, one based on an e300 core and the other on an > e500v2 core? No, this is not possible (at least not with reasonable efofort and resonable code). > My guess

Re: [U-Boot] [PATCH v2 9/9] AVR32: Board support for ATEVK1100

2009-01-23 Thread Wolfgang Denk
Dear Gunnar Rangoy, In message <7d98d3ebed68dfca910943a360d0b8aaa28d9c17.1232710611.git.gun...@rangoy.com> you wrote: > This patch adds support for the ATEVK1100 evaluation kit, which contains > an AT32UC3A0512ES chip. ... ... > --- /dev/null > +++ b/board/atmel/atevk1100/atevk1100.c ... > +

Re: [U-Boot] [PATCH v2 5/9] AVR32: macb - Disable 100mbps if clock is slow

2009-01-23 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:56 Fri 23 Jan , Gunnar Rangoy wrote: > From: Olav Morken > > For 100mbps operation, the ethernet controller requires a 25 MHz clock > in MII mode, and a 50 MHz clock in RMII mode. If the clock is slower, > disable 100 Mbps mode. > > Signed-off-by: Gunnar Rangoy > Signed-off-by: Paul D

Re: [U-Boot] [PATCH v2 8/9] AVR32: CPU support for AT32UC3A0xxx CPUs

2009-01-23 Thread Wolfgang Denk
Dear Gunnar Rangoy, In message you wrote: > This patch adds support for the AT32UC3A0xxx chips. ... > +++ b/cpu/at32uc/at32uc3a0xxx/portmux.c > @@ -0,0 +1,154 @@ ... > + portmux_select_peripheral(PORTMUX_PORT(0), > + 0x0003C000 | > +

Re: [U-Boot] AVR32 and AT91 common drivers Maintaining

2009-01-23 Thread Haavard Skinnemoen
Jean-Christophe PLAGNIOL-VILLARD wrote: > On 22:36 Sat 17 Jan , Jean-Christophe PLAGNIOL-VILLARD wrote: > > Hi all, > > > > AVR32 & AT91 share a lot of IP as networking for example (macb) > > > > so it will the same in the u-boot drivers > > > > In consequence these common driver

[U-Boot] Antw: U-Boot 2009.01 Release

2009-01-23 Thread Niklaus Giger
Hi Wolfgang <...> > > [1] See http://www.denx.de/wiki/UBoot/UbootStat_2009_01 for full > statistics, and http://www.denx.de/wiki/UBoot/ReleaseCycle > for links to statistics for earlier releases. > >>> Wolfgang Denk schrieb am 23.01.09 um 13:42 in Nachricht <20090123124232.cca72832e...

Re: [U-Boot] Antw: U-Boot 2009.01 Release

2009-01-23 Thread Wolfgang Denk
Dear Niklaus, In message <4979f8bb.268b.006...@netstal.com> you wrote: > > > [1] See http://www.denx.de/wiki/UBoot/UbootStat_2009_01 for full > > statistics, and http://www.denx.de/wiki/UBoot/ReleaseCycle > > for links to statistics for earlier releases. Checking: http://www.denx.de/wi

Re: [U-Boot] Antw: U-Boot 2009.01 Release

2009-01-23 Thread Mark Jackson
Wolfgang Denk wrote: > Dear Niklaus, > > In message <4979f8bb.268b.006...@netstal.com> you wrote: >>> [1] See http://www.denx.de/wiki/UBoot/UbootStat_2009_01 for full >>> statistics, and http://www.denx.de/wiki/UBoot/ReleaseCycle >>> for links to statistics for earlier releases. > > Chec

[U-Boot] u-boot for ARM

2009-01-23 Thread Amandeep Bhullar
Hello All, I have an Atmel AT91SAM9263 evaluation board with an arm926ejs based processor. I want to configure U-boot for this and want to have a USB device boot option available too. Though the U-boot will be in NAND Flash but i want the board to boot from a USB device like a USB Flash drive

[U-Boot] Pull request: nand flash

2009-01-23 Thread Scott Wood
The following changes since commit 4d0b54685c5c656023b826089ef8cc0ea1c5cd9e: Haavard Skinnemoen (1): Merge branch 'fixes' are available in the git repository at: git://git.denx.de/u-boot-nand-flash.git master Dave Liu (2): mpc83xx: enable eLBC NAND support for MPC8315ERDB board

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

2009-01-23 Thread Mike Frysinger
The following changes since commit 4d0b54685c5c656023b826089ef8cc0ea1c5cd9e: Haavard Skinnemoen (1): Merge branch 'fixes' are available in the git repository at: git://www.denx.de/git/u-boot-blackfin.git master Brad Bozarth (1): spi flash: fix crash due to spi flash miscommunic

Re: [U-Boot] Common u-boot image for e300 and e500v2

2009-01-23 Thread Johns Daniel
Thank you... answers my question perfectly. -- Johns On Fri, Jan 23, 2009 at 9:22 AM, Wolfgang Denk wrote: > Dear Johns Daniel, > > In message > you wrote: > > Is it possible -- and prudent -- to use a single u-boot binary image > > for two similar boards, one based on an e300 core and the oth

[U-Boot] [PATCH 03/40] Blackfin: convert CMD_LINE_ADDR to CONFIG_LINUX_CMDLINE_{ADDR, SIZE}

2009-01-23 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- include/asm-blackfin/blackfin-config-post.h |7 +-- lib_blackfin/bootm.c|6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/include/asm-blackfin/blackfin-config-post.h b/include/asm-blackfin/blackfin-conf

[U-Boot] [PATCH 00/40] Blackfin updates for 2009.03

2009-01-23 Thread Mike Frysinger
Nothing terribly interesting here. Normal smatterings of bug fixes and minor updates as we fold the external Blackfin fork back into mainline. Everything can be found in the "next" branch of the Blackfin git tree: git://www.denx.de/git/u-boot-blackfin.git next Mike Frysinger (40): Blackfin: a

[U-Boot] [PATCH 02/40] Blackfin: add bit defines for DDR parts

2009-01-23 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- include/asm-blackfin/mach-common/bits/ebiu.h | 21 - 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/include/asm-blackfin/mach-common/bits/ebiu.h b/include/asm-blackfin/mach-common/bits/ebiu.h index ab530ad..af456fb 100644 -

[U-Boot] [PATCH 01/40] Blackfin: add defines to describe active bootrom behavior

2009-01-23 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- include/asm-blackfin/mach-common/bits/bootrom.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/asm-blackfin/mach-common/bits/bootrom.h b/include/asm-blackfin/mach-common/bits/bootrom.h index 6cdaa4f..bf661f0 100644 --

[U-Boot] [PATCH 06/40] Blackfin: abort dma_memcpy() for L1 scratchpad

2009-01-23 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- lib_blackfin/string.c | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/lib_blackfin/string.c b/lib_blackfin/string.c index 6887c93..ab71285 100644 --- a/lib_blackfin/string.c +++ b/lib_blackfin/string.c @@ -1,7 +1,7 @@ /* *

[U-Boot] [PATCH 04/40] Blackfin: set more sane default board config values

2009-01-23 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- include/asm-blackfin/blackfin-config-post.h | 77 -- 1 files changed, 71 insertions(+), 6 deletions(-) diff --git a/include/asm-blackfin/blackfin-config-post.h b/include/asm-blackfin/blackfin-config-post.h index 936001a..21abd72 100644

[U-Boot] [PATCH 05/40] Blackfin: rename bootm.c to boot.c

2009-01-23 Thread Mike Frysinger
The boot file contains functions for more than just "bootm", so rename it accordingly. Signed-off-by: Mike Frysinger --- lib_blackfin/Makefile |2 +- lib_blackfin/boot.c | 56 + lib_blackfin/bootm.c | 56 -

[U-Boot] [PATCH 07/40] Blackfin: split cache handling out of dma_memcpy()

2009-01-23 Thread Mike Frysinger
Creating a new dma_memcpy() function that skips all cache checks allows us to use the function in very early init where the cache is not yet setup. Signed-off-by: Mike Frysinger --- lib_blackfin/string.c | 25 + 1 files changed, 17 insertions(+), 8 deletions(-) diff --

[U-Boot] [PATCH 09/40] Blackfin: pass --bmode/--initcode when creating ldr

2009-01-23 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- blackfin_config.mk |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/blackfin_config.mk b/blackfin_config.mk index c8be75e..7bde449 100644 --- a/blackfin_config.mk +++ b/blackfin_config.mk @@ -33,7 +33,11 @@ endif SYM_PREFIX = _ +LD

[U-Boot] [PATCH 08/40] Blackfin: minimize time cache is turned off when replacing cplb entries

2009-01-23 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- cpu/blackfin/traps.c | 31 +-- 1 files changed, 9 insertions(+), 22 deletions(-) diff --git a/cpu/blackfin/traps.c b/cpu/blackfin/traps.c index d17c0a1..e72b347 100644 --- a/cpu/blackfin/traps.c +++ b/cpu/blackfin/traps.c @@ -117,17

[U-Boot] [PATCH 10/40] Blackfin: dont generate ldrs with --force

2009-01-23 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index d533564..50e51a5 100644 --- a/Makefile +++ b/Makefile @@ -317,7 +317,7 @@ $(obj)u-boot.bin: $(obj)u-boot $(OBJCOPY) ${OBJCFLAGS} -O bina

[U-Boot] [PATCH 11/40] Blackfin: fix dcache handling when doing dma memcpy's

2009-01-23 Thread Mike Frysinger
Our dcache invalidate function doesn't just invalidate, it also flushes. So rename the function accordingly and fix the dma_memcpy() function so it doesn't inadvertently corrupt the data destination. Signed-off-by: Mike Frysinger --- cpu/blackfin/cache.S |4 ++-- include/asm

[U-Boot] [PATCH 13/40] Blackfin: do not init i2c in Blackfin board init

2009-01-23 Thread Mike Frysinger
The common code takes care of calling i2c_init() when needed, so no point in us doing it as well. Signed-off-by: Mike Frysinger --- lib_blackfin/board.c | 15 --- 1 files changed, 0 insertions(+), 15 deletions(-) diff --git a/lib_blackfin/board.c b/lib_blackfin/board.c index 05e66

[U-Boot] [PATCH 12/40] Blackfin: bfin_mac: update port muxing

2009-01-23 Thread Mike Frysinger
Adds support more Blackfin parts and fixes broken muxing for older ones. Signed-off-by: Mike Frysinger --- drivers/net/bfin_mac.c | 47 +++ 1 files changed, 35 insertions(+), 12 deletions(-) diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac

[U-Boot] [PATCH 14/40] Blackfin: implement general support for CONFIG_STATUS_LED

2009-01-23 Thread Mike Frysinger
Here are the Blackfin-specific and board-independent pieces for status leds. Signed-off-by: Mike Frysinger --- include/status_led.h |3 +++ lib_blackfin/board.c | 10 ++ 2 files changed, 13 insertions(+), 0 deletions(-) diff --git a/include/status_led.h b/include/status_led.h inde

[U-Boot] [PATCH 15/40] Blackfin: respect/check CONFIG_SYS_GBL_DATA_SIZE

2009-01-23 Thread Mike Frysinger
When setting up the global data, rather than relying on sizeof(), use the common CONFIG_SYS_GBL_DATA_SIZE define. Signed-off-by: Mike Frysinger --- lib_blackfin/board.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/lib_blackfin/board.c b/lib_blackfin/board.c index

[U-Boot] [PATCH 16/40] Blackfin: respect CONFIG_SYS_MONITOR_LEN for default flash protection

2009-01-23 Thread Mike Frysinger
Respect the CONFIG_SYS_MONITOR_LEN define rather than assuming a size of 128kB when setting up the default flash protection region for U-Boot itself. Signed-off-by: Mike Frysinger --- lib_blackfin/board.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib_blackfin/

[U-Boot] [PATCH 17/40] Blackfin: overhaul i2c driver

2009-01-23 Thread Mike Frysinger
The current Blackfin i2c driver does not work properly with certain devices due to it breaking up transfers incorrectly. This is a rewrite of the driver and relocates it to the newer place in the source tree. Also remove duplicated I2C speed defines in Blackfin board configs and disable I2C slave

[U-Boot] [PATCH 18/40] Blackfin: bf533-ezkit: shuffle flash defines a little

2009-01-23 Thread Mike Frysinger
Some of the flash defines weren't in the correct location and caused build problems in some configurations, so let's move types and defines to better local locations. Signed-off-by: Mike Frysinger --- board/bf533-ezkit/bf533-ezkit.c |9 +++-- board/bf533-ezkit/flash-defines.h |4 +-

[U-Boot] [PATCH 19/40] Blackfin: drop dead/wrong debug code in initdram()

2009-01-23 Thread Mike Frysinger
The DEBUG code in initdram() is quite old and was never really useful, so just drop it altogether. Common Blackfin debug code does a better job. Signed-off-by: Mike Frysinger --- board/bf533-ezkit/bf533-ezkit.c | 14 +- board/bf533-stamp/bf533-stamp.c | 11 +-- board/bf5

[U-Boot] [PATCH 20/40] Blackfin: bf537-stamp nand: fix more style errors in previous commit

2009-01-23 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- board/bf537-stamp/nand.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/bf537-stamp/nand.c b/board/bf537-stamp/nand.c index 20a7d0e..2866834 100644 --- a/board/bf537-stamp/nand.c +++ b/board/bf537-stamp/nand.c @@ -1,5 +1,5 @@

[U-Boot] [PATCH 21/40] Blackfin: tighten up post memory coding style

2009-01-23 Thread Mike Frysinger
No functional changes here; just cleanup code style a bit. Signed-off-by: Mike Frysinger --- board/bf537-stamp/post-memory.c | 23 +++ 1 files changed, 11 insertions(+), 12 deletions(-) diff --git a/board/bf537-stamp/post-memory.c b/board/bf537-stamp/post-memory.c index 88

[U-Boot] [PATCH 23/40] Blackfin: punt unused BF533-STAMP definitions

2009-01-23 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- board/bf533-stamp/bf533-stamp.h |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/board/bf533-stamp/bf533-stamp.h b/board/bf533-stamp/bf533-stamp.h index 3b0d620..ebd39c7 100644 --- a/board/bf533-stamp/bf533-stamp.h +++ b/board/bf533-stam

[U-Boot] [PATCH 24/40] Blackfin: set default boot SPI CS for BF538/BF539

2009-01-23 Thread Mike Frysinger
The BF538/BF539 use CS2 for booting off of rather than CS1 like newer Blackfin parts. Signed-off-by: Mike Frysinger --- board/bf537-stamp/spi_flash.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/bf537-stamp/spi_flash.c b/board/bf537-stamp/spi_flash.c index 11

[U-Boot] [PATCH 22/40] Blackfin: resurrect BF533-STAMP video splash driver

2009-01-23 Thread Mike Frysinger
This video driver used to live in the Blackfin cpu directory, but it was lost during the unification process. This brings it back. Signed-off-by: Mike Frysinger --- board/bf533-stamp/Makefile |9 ++- board/bf533-stamp/video.c | 167 board/bf533

[U-Boot] [PATCH 26/40] Blackfin: respect CONFIG_CLKIN_HALF

2009-01-23 Thread Mike Frysinger
As pointed out by Ivan Koryakovskiy, the initialization code was not actually respecting the CONFIG_CLKIN_HALF option when configuring the PLL_CTL register. Signed-off-by: Mike Frysinger --- cpu/blackfin/initcode.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpu/bla

[U-Boot] [PATCH 27/40] Blackfin: add portmuxing for UARTs on the BF51x

2009-01-23 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- cpu/blackfin/serial.h | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/cpu/blackfin/serial.h b/cpu/blackfin/serial.h index ec40c26..90fceec 100644 --- a/cpu/blackfin/serial.h +++ b/cpu/blackfin/serial.h @@ -95,7 +95,16 @@ __att

[U-Boot] [PATCH 25/40] Blackfin: use common memcpy routine during init

2009-01-23 Thread Mike Frysinger
Rather than using a local custom memcpy function, just call the existing optimized Blackfin version. Signed-off-by: Mike Frysinger --- cpu/blackfin/start.S | 32 +++- 1 files changed, 11 insertions(+), 21 deletions(-) diff --git a/cpu/blackfin/start.S b/cpu/blackfi

[U-Boot] [PATCH 29/40] Blackfin: clarify relocation comment during init

2009-01-23 Thread Mike Frysinger
People often ask questions about the init process and when things go from flash to relocated base, so clarify the comments a bit. Signed-off-by: Mike Frysinger --- cpu/blackfin/start.S | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cpu/blackfin/start.S b/cpu/bl

[U-Boot] [PATCH 30/40] Blackfin: pass RETX to Linux

2009-01-23 Thread Mike Frysinger
Make sure we save the value of RETX at power on and then pass it on to the kernel so that it can nicely debug a "double-fault-caused-a-reset" crash. Signed-off-by: Mike Frysinger --- cpu/blackfin/cpu.c |6 ++ lib_blackfin/boot.c |9 - 2 files changed, 14 insertions(+), 1 del

[U-Boot] [PATCH 28/40] Blackfin: just set SP register directly during init

2009-01-23 Thread Mike Frysinger
No need to set the SP register indirectly to the configured value when it can be set directly. Signed-off-by: Mike Frysinger --- cpu/blackfin/start.S |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cpu/blackfin/start.S b/cpu/blackfin/start.S index 6c5fef7..8617c98 10

[U-Boot] [PATCH 32/40] Blackfin: support console-over-JTAG

2009-01-23 Thread Mike Frysinger
The Blackfin JTAG has the ability to pass data via a back-channel without halting the processor. Utilize that channel to emulate a console. Signed-off-by: Mike Frysinger --- common/devices.c|3 + cpu/blackfin/Makefile |9 ++-- cpu/blackfin/jtag-console.c | 125 +++

[U-Boot] [PATCH 33/40] Blackfin: allow serial console to be disabled

2009-01-23 Thread Mike Frysinger
Some devices have no UART device pulled out, so allow people to disable the driver completely in favor of other methods (like JTAG-console). Signed-off-by: Mike Frysinger --- cpu/blackfin/serial.c |4 cpu/blackfin/serial.h |4 2 files changed, 8 insertions(+), 0 deletions(-) d

[U-Boot] [PATCH 34/40] Blackfin: update on-chip ROM API

2009-01-23 Thread Mike Frysinger
This brings the API for the on-chip ROM in line with the toolchain and hardware documentation. Signed-off-by: Mike Frysinger --- include/asm-blackfin/mach-common/bits/bootrom.h | 63 -- include/asm-blackfin/mach-common/bits/otp.h | 21 2 files changed, 44 ins

[U-Boot] [PATCH 35/40] Blackfin: implement real write support for OTP

2009-01-23 Thread Mike Frysinger
Now that real documentation has been released for the OTP interface and the on-chip ROM wrt writing/timings, implement support for reading/writing as well as dumping/locking. Signed-off-by: Mike Frysinger --- common/cmd_otp.c | 157 +++-- 1 files

[U-Boot] [PATCH 31/40] Blackfin: handle new anomalies with reset

2009-01-23 Thread Mike Frysinger
Workaround fun new anomalies related to software reset of the processor. Signed-off-by: Mike Frysinger --- cpu/blackfin/reset.c | 20 +++- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/cpu/blackfin/reset.c b/cpu/blackfin/reset.c index d1e34b3..284cea5 100644 -

[U-Boot] [PATCH 36/40] Blackfin: bootldr: implement BF53x/BF56x LDR loader

2009-01-23 Thread Mike Frysinger
The BF53x/BF56x parts do not have an on-chip ROM to boot LDRs out of arbitrary memory locations, so implement a basic one in software. Signed-off-by: Mike Frysinger --- common/cmd_bootldr.c | 137 +- 1 files changed, 124 insertions(+), 13 deletion

[U-Boot] [PATCH 37/40] smc91111_eeprom: move board-specific init into SMC91111_EEPROM_INIT()

2009-01-23 Thread Mike Frysinger
Rather than sticking Blackfin-specific stuff into the eeprom example, use an indirect macro so that any board can override it with their own magic sauce in their board config file. Also fix some spurious semi-colons in defines while I'm at it ... Signed-off-by: Mike Frysinger --- examples/smc91

[U-Boot] [PATCH 38/40] Blackfin: bf533-stamp: rewrite resource swap logic

2009-01-23 Thread Mike Frysinger
The old swap function tended to clobber unrelated pins and screw up masks. Rewrite the thing from scratch so it only uses the resources it needs. Signed-off-by: Mike Frysinger --- board/bf533-stamp/bf533-stamp.c | 39 +++ 1 files changed, 15 insertions(+), 2

[U-Boot] [PATCH 39/40] Blackfin: convert old boards to use COBJS-y Makefile style

2009-01-23 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- board/bf533-ezkit/Makefile |8 board/bf533-stamp/Makefile |7 --- board/bf537-stamp/Makefile | 10 ++ board/bf537-stamp/nand.c |3 --- board/bf561-ezkit/Makefile |8 5 files changed, 18 insertions(+), 18 deletions

[U-Boot] [PATCH 40/40] Blackfin: fixup misc warnings such as printf's and missing casts

2009-01-23 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- board/bf533-ezkit/flash.c |6 +++--- board/bf537-stamp/spi_flash.c |4 ++-- common/cmd_bootldr.c |4 +--- common/cmd_cplbinfo.c |4 ++-- common/cmd_otp.c |6 +++--- cpu/blackfin/traps.c | 21 +++

[U-Boot] [PATCH] disable imls command if no flash is defined

2009-01-23 Thread Valeriy Glushkov
Default CONFIG_CMD_IMLS must be disabled when CONFIG_SYS_NO_FLASH is defined Signed-off-by: Valeriy Glushkov --- include/config_cmd_default.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/config_cmd_default.h b/include/config_cmd_default.h index b556706..4ad8f

[U-Boot] [PATCH 1/3] 85xx: Use BR_ADDR macro for NAND chipselects

2009-01-23 Thread Kumar Gala
Use the new BR_ADDR macro to properly setup the address field of the localbus chipselects used by NAND. This allows us to deal with 36-bit phys on these boards in the future. Signed-off-by: Kumar Gala --- include/configs/MPC8536DS.h |8 include/configs/MPC8572DS.h |8

[U-Boot] [PATCH 2/3] 85xx: Handle eLBC difference w/36-bit physical

2009-01-23 Thread Kumar Gala
The eLBC only handles 32-bit physical address in systems with 36-bit physical. The previos generation of LBC handled 34-bit physical address in 36-bit systems. Added a new CONFIG option to convey the difference between the LBC and eLBC. Also added defines for XAM bits used in LBC for the extende

[U-Boot] [PATCH 3/3] 85xx: Add a 36-bit physical configuration for MPC8572DS

2009-01-23 Thread Kumar Gala
We move all IO addressed (CCSR, localbus, PCI) above the 4G boundary to allow for larger memory sizes. Signed-off-by: Kumar Gala --- MAKEALL |1 + Makefile|8 ++- include/configs/MPC8572DS.h | 47 ++- 3

Re: [U-Boot] [PATCH v5] mpc83xx: New board support for SIMPC8313

2009-01-23 Thread Kim Phillips
On Thu, 22 Jan 2009 15:05:24 -0800 Ron Madrid wrote: > +ENTRY(_start) > +ASSERT(_end <= 0xfff01000, "NAND bootstrap too big"); Ron, the above gets asserted when building for large page nand with a gcc 4.1.2 based toolchain: [...@beaut u-boot (next)]$ ./MAKEALL SIMPC8313_SP ...Small Page NAND...

Re: [U-Boot] [PATCH 3/3] 85xx: Add a 36-bit physical configuration for MPC8572DS

2009-01-23 Thread Kumar Gala
On Jan 23, 2009, at 2:22 PM, Kumar Gala wrote: > We move all IO addressed (CCSR, localbus, PCI) above the 4G boundary > to allow for larger memory sizes. > > Signed-off-by: Kumar Gala > --- > MAKEALL |1 + > Makefile|8 ++- > include/configs/MPC8

Re: [U-Boot] Antw: U-Boot 2009.01 Release

2009-01-23 Thread Wolfgang Denk
I wrote: > > > [1] See http://www.denx.de/wiki/UBoot/UbootStat_2009_01 for full > > > statistics, and http://www.denx.de/wiki/UBoot/ReleaseCycle > > > for links to statistics for earlier releases. > > Checking: > > http://www.denx.de/wiki/U-Boot/UbootStat_2009_01 > > works. > >

Re: [U-Boot] Antw: U-Boot 2009.01 Release

2009-01-23 Thread Wolfgang Denk
Dear Mark, In message <4979f037.4070...@mimc.co.uk> you wrote: > > > > What makes you think so? > > Because the link in [1] above is missing the "-" character in the first UBoot > http://www.denx.de/wiki/UBoot/UbootStat_2009_01 > versus > http://www.denx.de/wiki/U-Boot/UbootStat_2009_01 Yes, of

[U-Boot] [PATCH] pci: Rename PCI_REGION_MEMORY to PCI_REGION_SYS_MEMORY for clarity

2009-01-23 Thread Kumar Gala
The PCI_REGION_MEMORY and PCI_REGION_MEM are a bit to similar and can be confusing when reading the code. Rename PCI_REGION_MEMORY to PCI_REGION_SYS_MEMORY to clarify its used for system memory mapping purposes. Signed-off-by: Kumar Gala --- board/MAI/AmigaOneG3SE/articiaS_pci.c |2 +- boar

Re: [U-Boot] [PATCH v5] mpc83xx: New board support for SIMPC8313

2009-01-23 Thread Ron Madrid
--- On Fri, 1/23/09, Kim Phillips wrote: > From: Kim Phillips > Subject: Re: [U-Boot] [PATCH v5] mpc83xx: New board support for SIMPC8313 > To: "Ron Madrid" > Cc: u-boot@lists.denx.de > Date: Friday, January 23, 2009, 12:36 PM > On Thu, 22 Jan 2009 15:05:24 -0800 > Ron Madrid wrote: > > > +EN

Re: [U-Boot] Microblaze pull request

2009-01-23 Thread Wolfgang Denk
Dear Michal Simek, In message <497997b7.9030...@monstr.eu> you wrote: > > Please pull u-boot-microblaze master branch. > > The following changes since commit 72d15e705bc3983884105cb7755c7ba80e74a0a5: > Wolfgang Denk (1): > Prepare v2009.01 > > are available in the git repository at: >

Re: [U-Boot] [PATCH v5] mpc83xx: New board support for SIMPC8313

2009-01-23 Thread Kim Phillips
On Fri, 23 Jan 2009 13:29:03 -0800 (PST) Ron Madrid wrote: > --- On Fri, 1/23/09, Kim Phillips wrote: > > > From: Kim Phillips > > Subject: Re: [U-Boot] [PATCH v5] mpc83xx: New board support for SIMPC8313 > > To: "Ron Madrid" > > Cc: u-boot@lists.denx.de > > Date: Friday, January 23, 2009, 12

Re: [U-Boot] Pull request: nand flash

2009-01-23 Thread Wolfgang Denk
Dear Scott Wood, In message <20090123170833.ga12...@ld0162-tx32.am.freescale.net> you wrote: > The following changes since commit 4d0b54685c5c656023b826089ef8cc0ea1c5cd9e: > Haavard Skinnemoen (1): > Merge branch 'fixes' > > are available in the git repository at: > > git://git.denx.

[U-Boot] [PATCH 01/07] Coldfire: Fix half-baud UART by adding M5271 to Coldfire v2 core list.

2009-01-23 Thread Richard Retanubun
Added the CONFIG_M5271 to the list of Coldfire V2 processor. This was causing the bus clock (not CPU clock) to be declared twice as fast as it actually is. This causes UARTS to operate at half the specified baudrate. Signed-off-by: Richard Retanubun --- cpu/mcf52x2/speed.c |3 ++- 1 files

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

2009-01-23 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1232732395-27229-1-git-send-email-vap...@gentoo.org> you wrote: > The following changes since commit 4d0b54685c5c656023b826089ef8cc0ea1c5cd9e: > Haavard Skinnemoen (1): > Merge branch 'fixes' > > are available in the git repository at: > > git://www.d

[U-Boot] [PATCH 02/07] Coldfire: cmd_bdinfo cleanup

2009-01-23 Thread Richard Retanubun
CONFIG_M68K bdinfo cleanup: Fixed compiler warning about baudrate printing. format '%d' expects type 'int', but argument 2 has type 'long unsigned int'. Added printing of "cpufreq" Signed-off-by: Richard Retanubun --- common/cmd_bdinfo.c |3 ++- 1 files changed, 2 insertions(+), 1 deleti

[U-Boot] [PATCH 03/07] Coldfire: M5271EVB: Remove usage of CONFIG_SYS_FECI2C

2009-01-23 Thread Richard Retanubun
Discontinue the use of CONFIG_SYS_FECI2C (only used by M5271EVB). Use read-modify-write to activate the FEC pins without disabling I2C. Signed-off-by: Richard Retanubun --- cpu/mcf52x2/cpu_init.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/cpu/mcf52x2/cpu_init.c

[U-Boot] [PATCH 04/07] Coldfire: M5271: Allow board header file to specify clock multiplier

2009-01-23 Thread Richard Retanubun
M5271 dynamic clock multiplier. It is currently fixed at 100MHz. Allow the board header file to set their own multiplier and divider. Added the #define for the multiplier and divider to the cpu header file. Signed-off-by: Richard Retanubun --- cpu/mcf52x2/cpu_init.c |7 +- include/a

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

2009-01-23 Thread Mike Frysinger
On Friday 23 January 2009 17:01:13 Wolfgang Denk wrote: > Dear Mike Frysinger, > > In message <1232732395-27229-1-git-send-email-vap...@gentoo.org> you wrote: > > The following changes since commit > > 4d0b54685c5c656023b826089ef8cc0ea1c5cd9e: Haavard Skinnemoen (1): > > Merge branch 'fixes

[U-Boot] [PATCH 05/07] Coldfire: M5271EVB: Board header update (has dependencies)

2009-01-23 Thread Richard Retanubun
Cleanup for M5271EVB: Added clarification on the use of CONFIG_SYS_CLOCK. Modified to use u-boot's HUSH parser. Cleanup on environment settings. Dependencies: Added the use of CONFIG_SYS_MCF_SYNCR for clock multiplier. This depends on a patch to include/asm-m68k/m5271.h that defines the multiplier

[U-Boot] [PATCH 06/07] Coldfire: Applied baudrate formula of serial_init to serial_setbrg

2009-01-23 Thread Richard Retanubun
Applied the patch for baudrate divider value truncation for serial_init to serial_setbrg as well. Signed-off-by: Richard Retanubun --- drivers/serial/mcfuart.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/serial/mcfuart.c b/drivers/serial/mcfuart.c inde

[U-Boot] [PATCH 07/07] Coldfire: mcfmii: Allow non-autonegotiating PHYs to use mii command.

2009-01-23 Thread Richard Retanubun
Modified mii_init to support boards with PHYs that are not set to autonegotiate, but still want to use u-boot's mii commands to probe the smi bus. Such PHYs will not set the Autonegotiate-done bit. --- drivers/net/mcfmii.c | 27 +++ 1 files changed, 19 insertions(+), 8

[U-Boot] Coldfire: Compiler warnings when building M5271EVB

2009-01-23 Thread Richard Retanubun
Tsi-Chung: Sorry for the delay. I've posted the M5271 patches to the mailing list just now. Also, I have a question about the compiler warning I see when building the M5271EVB: cpu_init.c:57:2: warning: #warning "Chip Select 0 are not initialized/used" cpu_init.c: In function 'init_fbcs': cpu_in

Re: [U-Boot] [PATCH v5] mpc83xx: New board support for SIMPC8313

2009-01-23 Thread Ron Madrid
--- On Fri, 1/23/09, Kim Phillips wrote: > > > > > > > +ENTRY(_start) > > > > +ASSERT(_end <= 0xfff01000, "NAND > bootstrap > > > too big"); > > > > > > Ron, the above gets asserted when building for > large page > > > nand with a > > > gcc 4.1.2 based toolchain: > > > > Please forgive my igno

  1   2   >