Re: [U-Boot] [PATCH] MPC5121: Add USB EHCI support

2010-10-16 Thread Remy Bohmer
Hi Wolfgang, 2010/10/14 Wolfgang Denk : > Dear Remy, > > In message <1287062826-12481-1-git-send-email...@denx.de> I wrote: >> From: Damien Dusha >> >> Signed-off-by: Francesco Rendine >> Signed-off-by: Damien Dusha >> Signed-off-by: Anatolij Gustschin >> >> Coding style cleanup; slight file r

Re: [U-Boot] [PATCH v2] ehci-pci: print hccr, hcor and hc_lenght

2010-10-16 Thread Remy Bohmer
Hi, 2010/10/15 Florian Fainelli : > It is useful to know the EHCI-PCI hccr, hcor and hc_lenght to make sure it was > successfully registered, and at the correct location. > > Signed-off-by: Florian Fainelli > --- > Changes since v1: > - replaced printf by debug > > diff --git a/drivers/usb/host/e

Re: [U-Boot] [PATCH] Add sys_proto.h for arch-armv7

2010-10-16 Thread Wolfgang Denk
Dear Alexey Zaytsev, In message <20101015233455.4049.16990.st...@zaytsev.su> you wrote: > Signed-off-by: Alexey Zaytsev > --- > > Hi. > > U-boot won't build for Versatile Express (ca9x4_ct_vxp) > without this patch. I'm not sure why the syslib is made > armv7-specific, as it looks quite generic

[U-Boot] [PATCH] MPC832XEMDS: fix pci.c build warning

2010-10-16 Thread Wolfgang Denk
Doubled use of DECLARE_GLOBAL_DATA_PTR caused compile warning: pci.c:71: warning: register used for two global register variables Signed-off-by: Wolfgang Denk Cc: Kim Phillips --- board/freescale/mpc832xemds/pci.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/boar

[U-Boot] [PATCH] MPC837XEMDS: fix pci.c build error

2010-10-16 Thread Wolfgang Denk
Commit 6aa3d3b "83xx: Remove warmboot parameter from PCI init functions" dropped the last argument to mpc83xx_pcie_init(), but failed to fix board/freescale/mpc837xemds/pci.c which resulted in the error: pci.c: In function 'pci_init_board': pci.c:141: error: too many arguments to function 'mpc83xx

[U-Boot] [PATCH] Makefile: clean MatrixVision builds

2010-10-16 Thread Wolfgang Denk
"make clean" after builds of MatrixVision boards would leave stale files around: board/matrix_vision/mvblm7/bootscript.img board/matrix_vision/mvsmr/bootscript.img Fix this. Signed-off-by: Wolfgang Denk --- Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) di

[U-Boot] [PATCH] i.MX31: Fix Litekit board to use new ARM relocation support.

2010-10-16 Thread Magnus Lilja
Tested on hardware. Boots Linux nicely. Signed-off-by: Magnus Lilja --- board/logicpd/imx31_litekit/config.mk |2 +- board/logicpd/imx31_litekit/imx31_litekit.c | 10 -- include/configs/imx31_litekit.h |7 +++ 3 files changed, 16 insertions(+), 3 deletions

Re: [U-Boot] uboot imx31 nand boot

2010-10-16 Thread Magnus Lilja
Hi On 2010-10-14 12:17, Nico van Wyk wrote: > Good Day > > I am planning on using uboot to boot linux on the imx31. > > The system will be booting from nandflash( making use of micron nand flash > using the quasi standard protocol) > > I would like to know if i need to create a 1st stage bootl

[U-Boot] [PATCH 01/21] PXA: pxafb: Fix indent problems

2010-10-16 Thread Marek Vasut
Also change the initializer style Signed-off-by: Marek Vasut --- arch/arm/cpu/pxa/pxafb.c | 200 +++--- 1 files changed, 100 insertions(+), 100 deletions(-) diff --git a/arch/arm/cpu/pxa/pxafb.c b/arch/arm/cpu/pxa/pxafb.c index 0ee6a75..50e9cc0 100644 --

[U-Boot] PXA patches

2010-10-16 Thread Marek Vasut
Hi, these are the patches I have prepared for u-boot-testing.git/Makefile-cleanup. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 03/21] PXA: pxafb: Add ACX517AKN support

2010-10-16 Thread Marek Vasut
ACX517AKN LCD panel is found in Palm Tungsten|C Signed-off-by: Marek Vasut --- arch/arm/cpu/pxa/pxafb.c | 34 ++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/pxa/pxafb.c b/arch/arm/cpu/pxa/pxafb.c index cb004b2..d698395 100644 ---

[U-Boot] [PATCH 04/21] PXA: pxafb: Add support for Sharp LQ038J7DH53

2010-10-16 Thread Marek Vasut
This LCD panel is found in Palm LifeDrive handheld Signed-off-by: Marek Vasut --- arch/arm/cpu/pxa/pxafb.c | 34 ++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/pxa/pxafb.c b/arch/arm/cpu/pxa/pxafb.c index d698395..2f0f707 100644

[U-Boot] [PATCH 05/21] PXA: pxafb: Marvell Littleton LCD definition

2010-10-16 Thread Marek Vasut
Signed-off-by: Marek Vasut --- arch/arm/cpu/pxa/pxafb.c | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/pxa/pxafb.c b/arch/arm/cpu/pxa/pxafb.c index 2f0f707..987fa06 100644 --- a/arch/arm/cpu/pxa/pxafb.c +++ b/arch/arm/cpu/pxa

[U-Boot] [PATCH 07/21] PXA: Palm Tungsten|C Support

2010-10-16 Thread Marek Vasut
This patch adds support for the Palm Tungsten|C PXA255 board. The support includes: - LCD - MMC - UART - NOR Signed-off-by: Marek Vasut --- MAINTAINERS |4 + board/palmtc/Makefile| 49 + board/palmtc/config.mk |1 + board/palmtc/lowlevel_init.S |

[U-Boot] [PATCH 08/21] PXA: Add initial Palm LifeDrive support

2010-10-16 Thread Marek Vasut
Signed-off-by: Marek Vasut --- MAINTAINERS |1 + board/palmld/Makefile| 49 board/palmld/config.mk |1 + board/palmld/lowlevel_init.S | 45 +++ board/palmld/palmld.c| 69 +++ board/palmld/u-boot.lds | 56 + b

[U-Boot] [PATCH 09/21] PXA: Voipac270 improvements

2010-10-16 Thread Marek Vasut
128MB NOR module support. Define __io to get harddrive working. Fix saving of environment into OneNAND. Boot from harddrive when possible. Add missing MAINTAINERS entry. Signed-off-by: Marek Vasut --- MAINTAINERS |1 + MAKEALL |3 +- Makefile

[U-Boot] [PATCH 11/21] PXA: Add missing MAINTAINERS entries

2010-10-16 Thread Marek Vasut
Signed-off-by: Marek Vasut --- MAINTAINERS |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 7aa4e4b..a003dda 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -798,9 +798,11 @@ Greg Ungerer Marek Vasut balloon3xscale +

[U-Boot] [PATCH 10/21] PXA: Balloon3 board support

2010-10-16 Thread Marek Vasut
The following hardware is currently supported: - UART - USB Host - FPGA Signed-off-by: Marek Vasut --- MAINTAINERS|1 + board/balloon3/Makefile| 49 +++ board/balloon3/balloon3.c | 228 ++ board/balloon3/config.mk

[U-Boot] [PATCH 06/21] common: Enable serial for PXA250

2010-10-16 Thread Marek Vasut
Signed-off-by: Marek Vasut --- common/serial.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/serial.c b/common/serial.c index 7bebc12..c3323ea 100644 --- a/common/serial.c +++ b/common/serial.c @@ -30,7 +30,7 @@ DECLARE_GLOBAL_DATA_PTR; static struct serial_dev

[U-Boot] [PATCH 13/21] PXA: cleanup vpac270 config and set CONFIG_SYS_HZ to 1000

2010-10-16 Thread Marek Vasut
From: Mikhail Kshevetskiy * CONFIG_SYS_CLKS_IN_HZ is not used anywhere, so removing it * CONFIG_SYS_HZ is set to 1000 on most architectures, so it seems to be the safe default Signed-off-by: Mikhail Kshevetskiy --- include/configs/vpac270.h |3 +-- 1 files changed, 1 insertions(+), 2 del

[U-Boot] [PATCH 12/21] PXA: remove unused u-boot.lds from board/vpac270

2010-10-16 Thread Marek Vasut
From: Mikhail Kshevetskiy This file is not used, automatically generated u-boot.lds is used instead Signed-off-by: Mikhail Kshevetskiy --- board/vpac270/u-boot.lds | 55 -- 1 files changed, 0 insertions(+), 55 deletions(-) delete mode 100644 board

[U-Boot] [PATCH 15/21] PXA: fix MDREFR[APD] bit setting

2010-10-16 Thread Marek Vasut
From: Mikhail Kshevetskiy pxa_mem_setup macro use r6 to store CONFIG_SYS_MDREFR_VAL during memory initialization. This reg is modified during execution of pxa_wait_ticks. Later we use r6 to setup MDREFR[APD] bit. As result MDREFR[APD] is always zero. Signed-off-by: Mikhail Kshevetskiy --- arch

[U-Boot] [PATCH 14/21] PXA: fix environment sector size, kernel and environment location for vpac270

2010-10-16 Thread Marek Vasut
From: Mikhail Kshevetskiy Define ENV_ADDR as MONITOR_BASE + MONITOR_LEN. Fix environment sector size (NOR: 32Kb for first four sectors and 128Kb for other; OneNAND: 128Kb). Last but not least: we have MONITOR_LEN = 0x4 and one sector for environment (size = 0x2), so the kernel may start

[U-Boot] [PATCH 16/21] PXA: Add necessary information for RELOC

2010-10-16 Thread Marek Vasut
Signed-off-by: Marek Vasut --- board/vpac270/vpac270.c | 11 ++- include/configs/balloon3.h |3 +++ include/configs/cerf250.h|3 +++ include/configs/colibri_pxa270.h |3 +++ include/configs/cradle.h |3 +++ include/configs/csb226.h

[U-Boot] [PATCH 17/21] PXA: Fix reloc, Push lowlevel init into C code

2010-10-16 Thread Marek Vasut
Firstly, this fixes relocation issues. I had to use part of Dcache as RAM for a while. I also moved around the lowlevel init code. It turned out so most of the lowlevel init code ended in cpu.c (and eventually was rewritten into C). This will also allow easier operation with FDT, multi-CPU-model s

[U-Boot] [PATCH 18/21] PXA: Fix vpac270 for Reloc

2010-10-16 Thread Marek Vasut
Signed-off-by: Marek Vasut --- board/vpac270/Makefile| 10 -- board/vpac270/config.mk |1 - board/vpac270/lowlevel_init.S | 39 --- board/vpac270/vpac270.c | 10 ++ include/configs/vpac270.h |6 +++--- 5 fil

[U-Boot] [PATCH 19/21] PXA: Fix ZipitZ2 for Reloc

2010-10-16 Thread Marek Vasut
Signed-off-by: Marek Vasut --- board/zipitz2/Makefile| 10 -- board/zipitz2/config.mk |1 - board/zipitz2/lowlevel_init.S | 40 board/zipitz2/zipitz2.c | 24 include/configs/zipitz2.h |

[U-Boot] [PATCH 20/21] PXA: Fix Balloon3 for Reloc

2010-10-16 Thread Marek Vasut
Signed-off-by: Marek Vasut --- board/balloon3/Makefile| 10 +++ board/balloon3/balloon3.c | 14 - board/balloon3/config.mk |1 - board/balloon3/lowlevel_init.S | 36 -- board/balloon3/u-boot.lds | 55 -

[U-Boot] [PATCH 21/21] PXA: Fix vpac270 OneNAND booter

2010-10-16 Thread Marek Vasut
NOTE: The modification in Makefile will be superseded by a pending patch! Signed-off-by: Marek Vasut --- Makefile |2 ++ include/configs/vpac270.h |3 ++- onenand_ipl/board/vpac270/Makefile |5 +++-- 3 files changed, 7 insertions(+), 3 deletions(-)

Re: [U-Boot] [PATCH] imx25: Fix reset

2010-10-16 Thread Sergei Shtylyov
Hello. On 12-10-2010 15:49, Matthias Weisser wrote: > This patch fixes the reset command on imx25 > Signed-off-by: Matthias Weisser [...] > diff --git a/arch/arm/cpu/arm926ejs/mx25/reset.c > b/arch/arm/cpu/arm926ejs/mx25/reset.c > index 1e33150..a5fd170 100644 > --- a/arch/arm/cpu/arm926ejs/mx2

[U-Boot] does u-boot support usb client and how does usbtty works on it?

2010-10-16 Thread wind hunter
?Hi, I am working on a PXA270 based custom board which has a serial port and a USB port as its interfaces. And, I would like to use u-boot as my boot loader. Due to PCB space limitation, we only wired the USB client support only on it. Thus, I do not have a way to use the USB host functions

[U-Boot] [PATCH v2 1/5] Build: Add "board options" column to boards.cfg

2010-10-16 Thread Wolfgang Denk
From: Marek Vasut There are some boards where it's currently not possible to detect all board information at runtime, therefore a new column was added to boards.cfg . This column can contain multiple options: a board configuration name, optionally followed by a colon (':') and a list of options,

[U-Boot] [PATCH v2 0/5] Makefile cleanup

2010-10-16 Thread Wolfgang Denk
The following series of patches prepares the ground to move the remaining board configuration entries out of the Makefile into the boards.cfg file, replacing multi-line scripts to fiddle with config.h and config.mk files into simple, single-line entries. This has a number of advantages: - The Make

[U-Boot] [PATCH v2 4/5] autoconfig.mk: avoid apostophes around hex values

2010-10-16 Thread Wolfgang Denk
When generating include/autoconfig.mk, hex numbers would be quoted. This appears to be not a real problem, but caused some false positives during automatic testing of the builds. Don't use apostophes for decimal and hex numbers (nor or octal numbers). Signed-off-by: Wolfgang Denk --- tools/scrip

[U-Boot] [PATCH v2 5/5] Makefile: move all Power Architecture boards into boards.cfg

2010-10-16 Thread Wolfgang Denk
Clean up Makefile, and drop a lot of the config.mk files on the way. We now also automatically pick all boards that are listed in boards.cfg (and with all configurations), so we can drop the redundant entries from MAKEALL to avoid building these twice. Signed-off-by: Wolfgang Denk --- MAKEALL

[U-Boot] [PATCH v2 2/5] mkconfig: change CONFIG_MK_ prefix into plain CONFIG_

2010-10-16 Thread Wolfgang Denk
When planning for more generalization and Makefile cleanup it became obvious that the introduction of a separate CONFIG_MK_ name space for config options that were set through scripting in the Makefile was not a good idea. Originally the idea was to provide a script-free approach to supply configu

[U-Boot] [PATCH v2 3/5] Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE

2010-10-16 Thread Wolfgang Denk
The change is currently needed to be able to remove the board configuration scripting from the top level Makefile and replace it by a simple, table driven script. Moving this configuration setting into the "CONFIG_*" name space is also desirable because it is needed if we ever should move forward

Re: [U-Boot] [PATCH v2 1/5] Build: Add "board options" column to boards.cfg

2010-10-16 Thread Marek Vasut
Dne Ne 17. října 2010 01:57:38 Wolfgang Denk napsal(a): > From: Marek Vasut > > There are some boards where it's currently not possible to detect all > board information at runtime, therefore a new column was added to > boards.cfg . > > This column can contain multiple options: a board configura

Re: [U-Boot] [PATCH v2 1/5] Build: Add "board options" column to boards.cfg

2010-10-16 Thread Reinhard Meyer
Dear Wolfgang Denk, > In case of simple options like '256M_U_BOOT', these expand to > "#define CONFIG_MK_256M_U_BOOT 1" in config.h . In case of > assignments like 'RAM=8192', these expand to "#define CONFIG_MK_RAM > 8192" in config.h . Umm, what about: > Out of principle: please omit the "

Re: [U-Boot] [PATCH v3 0/7] Add ARM flat device tree support

2010-10-16 Thread Gerald Van Baren
Dear John, Wolfgang, The patch 4/7 looks good to me and runs on my MPC8360EMDS board (acked below). Wolfgang, if you would pull this directly, I would appreciate it. On 10/13/2010 04:41 PM, Wolfgang Denk wrote: > Dear John Rigby, > > In message<1286999857-13790-1-git-send-email-john.ri...@linar

Re: [U-Boot] [PATCH v2 4/5] autoconfig.mk: avoid apostophes around hex values

2010-10-16 Thread Mike Frysinger
On Saturday, October 16, 2010 19:57:41 Wolfgang Denk wrote: > When generating include/autoconfig.mk, hex numbers would be quoted. > This appears to be not a real problem, but caused some false positives > during automatic testing of the builds. Don't use apostophes for > decimal and hex numbers (no

Re: [U-Boot] [PATCH v2 2/5] mkconfig: change CONFIG_MK_ prefix into plain CONFIG_

2010-10-16 Thread Mike Frysinger
On Saturday, October 16, 2010 19:57:39 Wolfgang Denk wrote: > board/bf527-ezkit/video.c | 10 +- > include/configs/bf527-ezkit.h |2 +- Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. __