[U-Boot] Please pull u-boot-staging/s...@denx.de - UPDATE

2012-01-11 Thread Stefan Roese
Hi Wolfgang, please pull Simon's "Unified command execution in one place" patch series plus one patch from Eric Miao: The following changes since commit 9a4209869bd2c37affd931d627b3c3e72952: ARM: highbank: enable networking and pxe (2012-01-05 20:10:38 +0100) are available in the git repo

Re: [U-Boot] [PATCH] net/eth.c: fix eth_write_hwaddr() to use dev->enetaddr as fall back

2012-01-11 Thread Stefan Roese
On Wednesday 17 August 2011 07:33:44 Eric Miao wrote: > Ignore the return value of eth_getenv_enetaddr_by_index(), and if it > fails, fall back to use dev->enetaddr, which could be filled up by > the ethernet device driver. > > Actually, this is the original behavior, and was later changed by > co

Re: [U-Boot] [PATCH] net/eth.c: fix eth_write_hwaddr() to use dev->enetaddr as fall back

2012-01-11 Thread Stefan Roese
On Thursday 12 January 2012 06:12:19 Simon Glass wrote: > On Wed, Jan 11, 2012 at 4:23 AM, Dirk Behme wrote: > > On 17.08.2011 08:22, Simon Glass wrote: > >> On Tue, Aug 16, 2011 at 10:33 PM, Eric Miao wrote: > >>> Ignore the return value of eth_getenv_enetaddr_by_index(), and if it > >>> fails,

[U-Boot] Please pull u-boot-staging/s...@denx.de

2012-01-11 Thread Stefan Roese
Hi Wolfgang, please pull Simon's "Unified command execution in one place" patch series: The following changes since commit 9a4209869bd2c37affd931d627b3c3e72952: ARM: highbank: enable networking and pxe (2012-01-05 20:10:38 +0100) are available in the git repository at: git://www.denx.de

Re: [U-Boot] [PATCH v2 0/9] Unified command execution in one place

2012-01-11 Thread Stefan Roese
On Saturday 10 December 2011 19:43:52 Simon Glass wrote: > At present two parsers have similar code to execute commands. Also > cmd_usage() is called all over the place. This series adds a single > function which processes commands called cmd_process(). > > This new function understands return cod

Re: [U-Boot] [PATCH 1/3 v7] arm926ejs: add NXP LPC32x0 cpu series support

2012-01-11 Thread Vladimir Zapolskiy
On 12.01.2012 01:51, Marek Vasut wrote: This change adds initial support for NXP LPC32x0 SoC series. Signed-off-by: Vladimir Zapolskiy Cc: Albert ARIBAUD Cc: Wolfgang Denk --- Changes from v6 to v7: * get use of setbits_le32() and friends * add arch_cpu_init() routine Changes from v5 to v6: * r

Re: [U-Boot] [PATCH 3/3 v4] devkit3250: add Timll DevKit3250 board initial support

2012-01-11 Thread Vladimir Zapolskiy
On 12.01.2012 01:53, Marek Vasut wrote: This change adds a basic support for Embest/Timll DevKit3250 board, NOR and UART are the only supported peripherals for a moment. The board doesn't require low-level init, because the initial SDRAM and GPIO configuration is performed during kickstart bootlo

Re: [U-Boot] [PATCH 2/2 V4] Changes to move hawkboard to the new spl infrastructure

2012-01-11 Thread Sughosh Ganu
hi Heiko, On Thu Jan 12, 2012 at 08:24:03AM +0100, Heiko Schocher wrote: > Hello Sughosh, > > Sughosh Ganu wrote: > > This patch moves hawkboard to the new spl infrastructure from the > > older nand_spl one. > > > > Removed the hawkboard_nand_config build option -- The spl code now > > gets comp

Re: [U-Boot] [PATCH 2/2 V4] Changes to move hawkboard to the new spl infrastructure

2012-01-11 Thread Christian Riesch
Hello Heiko, On Thu, Jan 12, 2012 at 8:24 AM, Heiko Schocher wrote: > Hello Sughosh, > > Sughosh Ganu wrote: >> This patch moves hawkboard to the new spl infrastructure from the >> older nand_spl one. >> >> Removed the hawkboard_nand_config build option -- The spl code now >> gets compiled with h

Re: [U-Boot] [PATCH 2/2 V4] Changes to move hawkboard to the new spl infrastructure

2012-01-11 Thread Heiko Schocher
Hello Sughosh, Sughosh Ganu wrote: > This patch moves hawkboard to the new spl infrastructure from the > older nand_spl one. > > Removed the hawkboard_nand_config build option -- The spl code now > gets compiled with hawkboard_config, after building the main u-boot > image, using the CONFIG_SPL_T

Re: [U-Boot] [PATCH 2/3 v2] serial: add LPC32X0 high-speed UART devices support

2012-01-11 Thread Vladimir Zapolskiy
On 12.01.2012 01:52, Marek Vasut wrote: This change adds an implementation of high-speed UART found on NXP LPC32X0 SoCs. Such UARTs are enumerated as UART1, UART2 and UART7. Signed-off-by: Vladimir Zapolskiy Cc: Albert ARIBAUD Cc: Wolfgang Denk --- Changes from v1 to v2: * simplified lpc32xx_hsu

Re: [U-Boot] [PATCH v2 0/9] Unified command execution in one place

2012-01-11 Thread Stefan Roese
Hi Simon, On Thursday 12 January 2012 05:37:00 Simon Glass wrote: > Hi, > > On Sat, Dec 10, 2011 at 10:43 AM, Simon Glass wrote: > > At present two parsers have similar code to execute commands. Also > > cmd_usage() is called all over the place. This series adds a single > > function which proce

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-11 Thread Sughosh Ganu
On Wed Jan 11, 2012 at 07:50:50PM +0100, Marek Vasut wrote: > > On Wed Jan 11, 2012 at 04:01:31PM +0100, Marek Vasut wrote: > > > > More so, given the fact that we don't have any control over > > > > rbl -- so if rbl changes it's layout for any subsequent board, we'd > > > > have to add that

Re: [U-Boot] [PATCH] nand_spl: store ecc data on the stack

2012-01-11 Thread Stefan Roese
On Wednesday 11 January 2012 23:34:35 Scott Wood wrote: > Adapt the following patch from spl to nand_spl: > > Author: Stefano Babic > Date: Thu Dec 15 10:55:37 2011 +0100 > > nand_spl_simple: store ecc data on the stack > > Currently nand_spl_simple puts it's temp data at 0x10

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-11 Thread Sughosh Ganu
On Thu Jan 12, 2012 at 06:56:01AM +0100, Christian Riesch wrote: > On Wednesday, January 11, 2012, Marek Vasut wrote: > >> RBL executes an AIS script. Sughosh, could you please explain what your > AIS > >> does or how you create it? > > > > So basically, this SPL business can be avoided and thi

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-11 Thread Christian Riesch
On Wednesday, January 11, 2012, Marek Vasut wrote: >> Hi, >> >> On Wednesday, January 11, 2012, Marek Vasut wrote: >> >> On Wed Jan 11, 2012 at 04:01:31PM +0100, Marek Vasut wrote: >> >> > > More so, given the fact that we don't have any control over >> >> > > rbl -- so if rbl changes it's la

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-01-11 Thread Govindraj
Hi Igor, On Wed, Jan 11, 2012 at 8:33 PM, Igor Grinberg wrote: > Hi Guys, > > On 01/11/12 16:34, Marek Vasut wrote: >>> On Wed, Jan 11, 2012 at 6:58 PM, Marek Vasut wrote: > On Wed, Jan 11, 2012 at 6:16 PM, Marek Vasut > wrote: >>> On Wed, Jan 11, 2012 at 4:22 PM, Marek Vasut >> w

Re: [U-Boot] [RFC PATCH v2 13/15] bootstage: Add microsecond boot time measurement

2012-01-11 Thread Simon Glass
Hi Mike, On Mon, Jan 9, 2012 at 9:33 AM, Mike Frysinger wrote: > On Sunday 08 January 2012 12:42:02 Simon Glass wrote: >> On Sun, Jan 8, 2012 at 12:35 AM, Mike Frysinger wrote: >> > On Saturday 10 December 2011 16:08:05 Simon Glass wrote: >> >> --- a/include/bootstage.h >> >> +++ b/include/bootst

Re: [U-Boot] [RFC PATCH v2 15/15] bootstage: arm: Add bootstage calls in board and bootm

2012-01-11 Thread Simon Glass
Hi Mike, On Mon, Jan 9, 2012 at 9:31 AM, Mike Frysinger wrote: > On Sunday 08 January 2012 18:48:18 Simon Glass wrote: >> On Sun, Jan 8, 2012 at 11:58 AM, Mike Frysinger wrote: >> > On Sunday 08 January 2012 12:43:09 Simon Glass wrote: >> >> On Sun, Jan 8, 2012 at 12:36 AM, Mike Frysinger wrote:

Re: [U-Boot] bootm not taking dtb

2012-01-11 Thread Wolfgang Denk
Dear JR Rivers, In message you wrote: > > The uboot version is... U-Boot 2009.06 (Apr 19 2011 - 12:54:10). It came > with the system and we're loading a new kernel/rootfs on to it. 2.5 years old ==> update Which board is this? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH

Re: [U-Boot] bootm not taking dtb

2012-01-11 Thread Wolfgang Denk
Dear JR Rivers, In message you wrote: > > I am working with a powerpc embedded system where u-boot seems to be passing > in a constructed fdt (or one embedded in u-boot) as opposed to one that is > either passed directly to bootm or as the third image of a multi-file image. And which exact ve

Re: [U-Boot] [PATCH] net/eth.c: fix eth_write_hwaddr() to use dev->enetaddr as fall back

2012-01-11 Thread Simon Glass
On Wed, Jan 11, 2012 at 4:23 AM, Dirk Behme wrote: > On 17.08.2011 08:22, Simon Glass wrote: >> >> On Tue, Aug 16, 2011 at 10:33 PM, Eric Miao wrote: >>> >>> Ignore the return value of eth_getenv_enetaddr_by_index(), and if it >>> fails, fall back to use dev->enetaddr, which could be filled up by

Re: [U-Boot] [PATCH v2 17/17] x86: Convert board_init_f_r to a processing loop

2012-01-11 Thread Simon Glass
On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > Create an init function array for board_init_f_r - This finalises the > migration to a purely array based initialisation mechanism > > Also tweak a few comments while we are at it so everything is 'correct' > > Signed-off-by: Graeme Russ Acke

Re: [U-Boot] [PATCH v2 16/17] x86: Split init functions out of board.c

2012-01-11 Thread Simon Glass
On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > This patch moves towards reducing board.c to simply a set of init cores for > the three initialisation phases (Flash, Flash/RAM, and RAM), a set of three > init function arrays and a init function array processing function > > Signed-off-by: Gr

Re: [U-Boot] [PATCH v2 15/17] x86: Move relocation code out of board.c

2012-01-11 Thread Simon Glass
On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > Signed-off-by: Graeme Russ Acked-by: Simon Glass > --- > Changes for v2: >  - None > >  arch/x86/lib/Makefile   |    1 + >  arch/x86/lib/board.c    |   69 +--- >  arch/x86/lib/relocate.c |  115 > +++

Re: [U-Boot] [PATCH v2 14/17] x86: Move setup_pcat_compatibility() out of board.c

2012-01-11 Thread Simon Glass
On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > This function simply does not belong in board.c > > Signed-off-by: Graeme Russ Acked-by: Simon Glass > --- > Changes for v2: >  - Added commit message > >  arch/x86/lib/board.c  |    7 --- >  arch/x86/lib/zimage.c |    7 +++ >  2 fi

Re: [U-Boot] [PATCH v2 13/17] x86: Move do_go_exec() out of board.c

2012-01-11 Thread Simon Glass
On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > Signed-off-by: Graeme Russ Acked-by: Simon Glass > --- > Changes for v2: >  - None > >  arch/x86/lib/Makefile   |    1 + >  arch/x86/lib/board.c    |   27 --- >  arch/x86/lib/cmd_boot.c |   64 >

Re: [U-Boot] [PATCH v2 12/17] CHECKPATCH: arch/x86/lib/*

2012-01-11 Thread Simon Glass
On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > Signed-off-by: Graeme Russ Acked-by: Simon Glass > --- > Changes for v2: >  - None > >  arch/x86/lib/bios.S            |  134 +-- >  arch/x86/lib/realmode_switch.S |   61 +++ >  2 files ch

Re: [U-Boot] [PATCH v2 11/17] x86: Tweak IDT and GDT for alignment and readability

2012-01-11 Thread Simon Glass
On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > Signed-off-by: Graeme Russ Acked-by: Simon Glass > --- > Changes for v2: >  - Renamed to better reflect nature of changes > >  arch/x86/cpu/interrupts.c |    2 +- >  arch/x86/cpu/start16.S    |   57 +++--

Re: [U-Boot] [PATCH v2 10/17] x86: Allow cache before copy to RAM

2012-01-11 Thread Simon Glass
On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > Signed-off-by: Graeme Russ Acked-by: Simon Glass > --- > Changes for v2: >  - None > >  arch/x86/lib/board.c |   15 ++- >  1 files changed, 10 insertions(+), 5 deletions(-) > > diff --git a/arch/x86/lib/board.c b/arch/x86/lib/bo

Re: [U-Boot] [PATCH v2 09/17] x86: Create weak init_cache() and default enable_caches() functions

2012-01-11 Thread Simon Glass
Hi Graeme, On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > Signed-off-by: Graeme Russ > --- > Changes for v2: >  - Tweaked commit title > >  arch/x86/cpu/cpu.c                |   18 +++--- >  arch/x86/include/asm/u-boot-x86.h |    1 + >  arch/x86/lib/board.c              |    1

Re: [U-Boot] [PATCH v2 08/17] x86: Set GD_FLG_RELOC after entering in-RAM copy of U-Boot

2012-01-11 Thread Simon Glass
On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > Signed-off-by: Graeme Russ Acked-by: Simon Glass > --- > Changes for v2: >  - None > >  arch/x86/lib/board.c |    4 ++-- >  1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c > inde

Re: [U-Boot] [PATCH v2 07/17] x86: Use fs for global data

2012-01-11 Thread Simon Glass
On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > Use the base address of the 'F' segment as a pointer to the global data > structure. By adding the linear address (i.e. the 'D' segment address) as > the first word of the global data structure, the address of the global data > relative to the

Re: [U-Boot] [PATCH v2 06/17] x86: Rework relocation calculations

2012-01-11 Thread Simon Glass
On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > This commit introduces no functional changes - It simply re-arranges the > calculations so that adding to them in future commits will be cleaner > > Signed-off-by: Graeme Russ Acked-by: Simon Glass > --- > Changes for v2: >  - Fixed typo in

Re: [U-Boot] [PATCH v2 05/17] x86: Simplify Flash-to-RAM code execution transition

2012-01-11 Thread Simon Glass
Hi Graeme, On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > Move the relocation offset calculation out of assembler and into C. This > also paves the way for the upcoming init sequence simplification by adding > the board_init_f_r flash to RAM transitional function > > Signed-off-by: Graeme

Re: [U-Boot] [PATCH v2 04/17] x86: Rework Global Descriptor Table loading

2012-01-11 Thread Simon Glass
On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > The inline assembler is ugly and uses hard coded magic numbers. Make it more > elegant to allow cleaner implementation of future GDT related patches. The > compiler seems smart enough to generate the same code anyway > > Signed-off-by: Graeme R

Re: [U-Boot] [PATCH v2 03/17] x86: Remove GDR related magic numbers

2012-01-11 Thread Simon Glass
On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > Signed-off-by: Graeme Russ Acked-by: Simon Glass > --- > Changes for v2: >  - Use an enum >  - Add defined for GDT size (previously added in patch 7) >  - Use X86_ namespace (as per Linux headers) > >  arch/x86/cpu/cpu.c               |    

Re: [U-Boot] [PATCH v2 02/17] x86: Speed up copy-to-RAM and clear BSS operations

2012-01-11 Thread Simon Glass
On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > The implementations of memcpy and memset are now the optimised versions > from glibc, so use them instead of simple copy loops > > Signed-off-by: Graeme Russ Acked-by: Simon Glass > --- > Changes for v2: >  - Removed unneeded brackets > >  

Re: [U-Boot] [PATCH v2 01/17] x86: Import glibc memcpy implementation

2012-01-11 Thread Simon Glass
Hi, On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: > Taken from glibc version 2.14.90 > > Signed-off-by: Graeme Russ > --- > Changes for v2: >  - None It feels a bit odd acking x86 patches but I have been through these and much of the series is generally useful for other archs... Acked-by

Re: [U-Boot] [RFC PATCH 1/2] fdt: Add fdtdec_find_aliases() to deal with alias nodes

2012-01-11 Thread Simon Glass
Hi Stephen, On Tue, Jan 10, 2012 at 1:41 PM, Stephen Warren wrote: > On 01/10/2012 02:22 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Tue, Jan 10, 2012 at 12:27 PM, Stephen Warren wrote: >>> On 12/26/2011 03:31 PM, Simon Glass wrote: Stephen Warren pointed out that we should use nodes whe

Re: [U-Boot] [PATCH v2 0/9] Unified command execution in one place

2012-01-11 Thread Simon Glass
Hi, On Sat, Dec 10, 2011 at 10:43 AM, Simon Glass wrote: > At present two parsers have similar code to execute commands. Also > cmd_usage() is called all over the place. This series adds a single > function which processes commands called cmd_process(). > > This new function understands return co

[U-Boot] [PATCH v4 09/20] fdt: Add tegra-usb bindings file from linux

2012-01-11 Thread Simon Glass
This file is taken from the Linux mailing list. Signed-off-by: Simon Glass --- doc/device-tree-bindings/usb/tegra-usb.txt | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 doc/device-tree-bindings/usb/tegra-usb.txt diff --git a/doc/device-tree-bindings

[U-Boot] [PATCH v4 12/20] tegra: usb: fdt: Add additional device tree definitions for USB ports

2012-01-11 Thread Simon Glass
This adds clock references to the USB part of the device tree for U-Boot. The USB timing information may vary between boards sometimes, but for now we hard-code it in C. This is because all current T2x boards use the same values, we will deal with T3x later and we first need to agree on the format

[U-Boot] [PATCH v4 13/20] tegra: usb: fdt: Add USB definitions for Tegra2 Seaboard

2012-01-11 Thread Simon Glass
We set up two USB ports, one of which can be host or device. For some reason the kernel version does enable both ports. Signed-off-by: Simon Glass --- Changes in v2: - Use "okay" instead of "ok" for fdt node status - Remove 0x from fdt aliases Changes in v3: - Remove "okay" from nodes since this

[U-Boot] [PATCH v4 16/20] tegra: usb: Add support for Tegra USB peripheral

2012-01-11 Thread Simon Glass
This adds basic support for the Tegra2 USB controller. Board files should call board_usb_init() to set things up. Configuration is performed through the FDT, with aliases used to set the order of the ports, like this fragment: aliases { /* This defines the order of our USB

[U-Boot] [PATCH v4 14/20] usb: Add support for txfifo threshold

2012-01-11 Thread Simon Glass
CONFIG_USB_EHCI_TXFIFO_THRESH enables setting of the txfilltuning field in the EHCI controller on reset. Signed-off-by: Simon Glass --- README |3 +++ drivers/usb/host/ehci-hcd.c |7 +++ drivers/usb/host/ehci.h |6 +- 3 files changed, 15 insertions(+

[U-Boot] [PATCH v4 15/20] fdt: Add function to return peripheral/clock ID

2012-01-11 Thread Simon Glass
A common requirement is to find the clock ID for a peripheral. This is the second cell of the 'clocks' property (the first being the phandle itself). Signed-off-by: Simon Glass --- Changes in v4: - Add fdtdec function to return peripheral ID include/fdtdec.h | 13 + lib/fdtdec.c

[U-Boot] [PATCH v4 17/20] tegra: usb: Add USB support to nvidia boards

2012-01-11 Thread Simon Glass
This adds basic USB support for port 0. The other port is not supported yet. Tegra2 (SeaBoard) # usb start (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 5 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Tegra2 (

[U-Boot] [PATCH v4 11/20] tegra: fdt: Add clock bindings

2012-01-11 Thread Simon Glass
This adds a basic binding for the oscillator and peripheral clocks. The second cell is the clock number, defined as the bit number within the clock enable register if the peripheral clock. This uses the RFC clock bindings from Grant Likely so may change later: https://lkml.org/lkml/2011/12/12/498

[U-Boot] [PATCH v4 18/20] tegra: usb: Add common USB defines for tegra2 boards

2012-01-11 Thread Simon Glass
All Tegra2 boards should include tegra2-common. This adds the required USB config to that file. Signed-off-by: Simon Glass --- include/configs/tegra2-common.h | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/include/configs/tegra2-common.h b/include/configs

[U-Boot] [PATCH v4 19/20] tegra: usb: Enable USB on Seaboard

2012-01-11 Thread Simon Glass
Seaboard has a top port which is USB host or device, and a side port which is host only. Signed-off-by: Simon Glass --- Changes in v2: - Remove unneeded CONFIG_TEGRA_USBx defines include/configs/seaboard.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/co

[U-Boot] [PATCH v4 20/20] tegra: fdt: Enable FDT support for Seaboard

2012-01-11 Thread Simon Glass
This switches Seaboard over to use FDT for run-time config instead of CONFIG options. USB is the only user at present. Signed-off-by: Simon Glass --- Changes in v3: - Drop Tegra USB alignment patch as we will deal with this another way include/configs/seaboard.h |5 + 1 files changed, 5

[U-Boot] [PATCH v4 06/20] tegra: fdt: Add Tegra2x device tree file from kernel

2012-01-11 Thread Simon Glass
This was taken from commit b48c54e2 at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git config.mk is updated to provide this file to boards through the built-in mechanism: /include/ ARCH_CPU_DTS Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/tegra2/config.mk |2 + arch/arm

[U-Boot] [PATCH v4 03/20] fdt: Add basic support for decoding GPIO definitions

2012-01-11 Thread Simon Glass
This adds some support into fdtdec for reading GPIO definitions from the fdt. We permit up to FDT_GPIO_MAX GPIOs in the system. Each GPIO is of the form: gpio-function-name = ; where: phandle is a pointer to the GPIO node gpio_num is the number of the GPIO (0 to 223) flags is a flag, as follows:

[U-Boot] [PATCH v4 08/20] fdt: Add staging area for device tree binding documentation

2012-01-11 Thread Simon Glass
Add a directory to hold device tree binding files, to permit easy review of this material in U-Boot patches. Signed-off-by: Simon Glass --- Changes in v4: - Add staging area for device tree bindings used in U-Boot doc/device-tree-bindings/README | 19 +++ 1 files changed, 19 i

[U-Boot] [PATCH v4 01/20] fdt: Tidy up a few fdtdec problems

2012-01-11 Thread Simon Glass
This fixes five trivial issues in fdtdec.c: 1. fdtdec_get_is_enabled() doesn't really need a default value 2. The fdt must be word-aligned, since otherwise it will fail on ARM 3. The compat_names[] array is missing its first element. This is needed only because the first fdt_compat_id is defined to

[U-Boot] [PATCH v4 07/20] tegra: fdt: Add device tree file for Tegra2 Seaboard from kernel

2012-01-11 Thread Simon Glass
This was taken from commit b48c54e2 at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git Signed-off-by: Simon Glass --- board/nvidia/dts/tegra2-seaboard.dts | 36 ++ 1 files changed, 36 insertions(+), 0 deletions(-) create mode 100644 board/nvidia/

[U-Boot] [PATCH v4 04/20] arm: fdt: Ensure that an embedded fdt is word-aligned

2012-01-11 Thread Simon Glass
By putting the fdt blob into a distinctive area we can ensure that it appears at the start of the data section and is word-aligned. Note: It does not seem to be possible to get objcopy to honour its --section-alignment flag, which would otherwise provide an easier fix for this problem. Signed-off

[U-Boot] [PATCH v4 10/20] tegra: fdt: Add additional USB binding

2012-01-11 Thread Simon Glass
This adds a property to indicate a port which can switch between host and device mode. Signed-off-by: Simon Glass --- doc/device-tree-bindings/usb/tegra-usb.txt |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/doc/device-tree-bindings/usb/tegra-usb.txt b/doc/device-t

[U-Boot] [PATCH v4 02/20] fdt: Add functions to access phandles, arrays and bools

2012-01-11 Thread Simon Glass
Add a function to look up a property which is a phandle in a node, and another to read a fixed-length integer array from an fdt property. Also add a function to read boolean properties, although there is no actual boolean type in U-Boot. Signed-off-by: Simon Glass --- include/fdtdec.h | 39 ++

[U-Boot] [PATCH v4 05/20] arm: fdt: Add skeleton device tree file from kernel

2012-01-11 Thread Simon Glass
This was taken from commit b48c54e2 at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git Signed-off-by: Simon Glass --- arch/arm/dts/skeleton.dtsi | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 arch/arm/dts/skeleton.dtsi diff --git a/arc

[U-Boot] [PATCH v4 0/20] tegra: Add fdt definitions and USB driver

2012-01-11 Thread Simon Glass
This series brings in the Linux kernel fdt file and provides a working USB driver for Tegra2 Seaboard. (I have done this in one series since otherwise most of the fdt additions will just look like dead code.) The driver requires CONFIG_OF_CONTROL and a device tree to operate. Some enhancements t

Re: [U-Boot] [PATCH 4/7] tegra: Add I2C driver

2012-01-11 Thread Simon Glass
Hi Stephem, On Mon, Jan 9, 2012 at 2:07 PM, Stephen Warren wrote: > On 12/26/2011 11:11 AM, Simon Glass wrote: >> From: Yen Lin >> >> Add basic i2c driver for Tegra2 with 8- and 16-bit address support. >> The driver supports building both with and without CONFIG_OF_CONTROL. >> >> Without CONFIG_

Re: [U-Boot] bootm not taking dtb

2012-01-11 Thread JR Rivers
On Jan 11, 2012, at 6:45 PM, Aggrwal Poonam-B10812 wrote: > > >> -Original Message- >> From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] >> On Behalf Of JR Rivers >> Sent: Thursday, January 12, 2012 6:49 AM >> To: u-boot@lists.denx.de >> Subject: Re: [U-Boot] boot

Re: [U-Boot] bootm not taking dtb

2012-01-11 Thread Aggrwal Poonam-B10812
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] > On Behalf Of JR Rivers > Sent: Thursday, January 12, 2012 6:49 AM > To: u-boot@lists.denx.de > Subject: Re: [U-Boot] bootm not taking dtb > > > Ping > > On Jan 11, 2012, at 1:47 PM, JR Riv

Re: [U-Boot] bootm not taking dtb

2012-01-11 Thread JR Rivers
Ping On Jan 11, 2012, at 1:47 PM, JR Rivers wrote: > > I am working with a powerpc embedded system where u-boot seems to be passing > in a constructed fdt (or one embedded in u-boot) as opposed to one that is > either passed directly to bootm or as the third image of a multi-file image. > >

Re: [U-Boot] [PATCH 3/3 v4] devkit3250: add Timll DevKit3250 board initial support

2012-01-11 Thread Marek Vasut
> This change adds a basic support for Embest/Timll DevKit3250 board, > NOR and UART are the only supported peripherals for a moment. The board > doesn't require low-level init, because the initial SDRAM and GPIO > configuration is performed during kickstart bootloader execution. > > Signed-off-by

Re: [U-Boot] [PATCH 2/3 v2] serial: add LPC32X0 high-speed UART devices support

2012-01-11 Thread Marek Vasut
> This change adds an implementation of high-speed UART found on NXP > LPC32X0 SoCs. Such UARTs are enumerated as UART1, UART2 and UART7. > > Signed-off-by: Vladimir Zapolskiy > Cc: Albert ARIBAUD > Cc: Wolfgang Denk > --- > Changes from v1 to v2: > * simplified lpc32xx_hsuart_init() a little >

Re: [U-Boot] [PATCH 1/3 v7] arm926ejs: add NXP LPC32x0 cpu series support

2012-01-11 Thread Marek Vasut
> This change adds initial support for NXP LPC32x0 SoC series. > > Signed-off-by: Vladimir Zapolskiy > Cc: Albert ARIBAUD > Cc: Wolfgang Denk > --- > Changes from v6 to v7: > * get use of setbits_le32() and friends > * add arch_cpu_init() routine > > Changes from v5 to v6: > * replaced some sp

Re: [U-Boot] [PATCH v2 0/7] tegra: Enhance funcmux to support I2C and MMC

2012-01-11 Thread Stephen Warren
On 01/11/2012 03:42 PM, Simon Glass wrote: > This series expands funcmux_select() to support configs other than 0, and > to name each config option. > > This permits introduction of I2C and MMC support in the funcmux. The series, Acked-by: Stephen Warren -- nvpublic __

[U-Boot] [PATCH 3/3 v4] devkit3250: add Timll DevKit3250 board initial support

2012-01-11 Thread Vladimir Zapolskiy
This change adds a basic support for Embest/Timll DevKit3250 board, NOR and UART are the only supported peripherals for a moment. The board doesn't require low-level init, because the initial SDRAM and GPIO configuration is performed during kickstart bootloader execution. Signed-off-by: Vladimir Z

[U-Boot] [PATCH 2/3 v2] serial: add LPC32X0 high-speed UART devices support

2012-01-11 Thread Vladimir Zapolskiy
This change adds an implementation of high-speed UART found on NXP LPC32X0 SoCs. Such UARTs are enumerated as UART1, UART2 and UART7. Signed-off-by: Vladimir Zapolskiy Cc: Albert ARIBAUD Cc: Wolfgang Denk --- Changes from v1 to v2: * simplified lpc32xx_hsuart_init() a little * put SoC specific

[U-Boot] [PATCH 1/3 v7] arm926ejs: add NXP LPC32x0 cpu series support

2012-01-11 Thread Vladimir Zapolskiy
This change adds initial support for NXP LPC32x0 SoC series. Signed-off-by: Vladimir Zapolskiy Cc: Albert ARIBAUD Cc: Wolfgang Denk --- Changes from v6 to v7: * get use of setbits_le32() and friends * add arch_cpu_init() routine Changes from v5 to v6: * replaced some spaces with tabs in macro

[U-Boot] [PATCH 0/3 v2] devkit3250: add Timll DevKit3250 board initial support

2012-01-11 Thread Vladimir Zapolskiy
This patchset adds generic NXP LPC32XX SoC support and basic support for Embest/Timll DevKit3250 board, which powered by this SoC. The patchset is done on top of u-boot/master branch. The general difference of this resent series from the previous ones is that high speed UART driver was added into

[U-Boot] [PATCH v2] skat91: add support for SK-AT91SAM9/SIM508 board

2012-01-11 Thread Vladimir Zapolskiy
This change adds complete support for Starterkit SK-AT91SAM9/SIM508 board. Signed-off-by: Vladimir Zapolskiy Cc: Albert ARIBAUD Cc: Wolfgang Denk --- Changes from v1 to v2: * make use of setbits_le32() and similar helpers * phy address is defined explicitly * removed CONFIG_EXTRA_ENV_SETTINGS

[U-Boot] [PATCH v2 2/2] fdt: Add tests for fdtdec

2012-01-11 Thread Simon Glass
The fdtdec_find_aliases_for_id() function is complicated enough that it really should have some tests. This does not necessarily need to be committed to U-Boot, but it might be useful. Signed-off-by: Simon Glass --- Changes in v2: - Add test_fdtdec command to test fdtdec_find_aliases_for_id() l

[U-Boot] [PATCH v2 1/2] fdt: Add fdtdec_find_aliases() to deal with alias nodes

2012-01-11 Thread Simon Glass
Stephen Warren pointed out that we should use nodes whether or not they have an alias in the /aliases section. The aliases section specifies the order so far as it can, but is not essential. Operating without alisses is useful when the enumerated order of nodes does not matter (admittedly rare in U

[U-Boot] [PATCH v2 0/2] fdt: Deal correctly with alias nodes

2012-01-11 Thread Simon Glass
This series proposes a new way to deal with alias nodes and introduces a function to take care of it. Drivers can now request an ordered list of compatible nodes in a single step. This simplifies node discovery for drivers (and keeps this nasty code in a common place). If DEBUG is defined the ali

[U-Boot] [PATCH v2 7/7] tegra: Use funcmux for MMC on seaboard

2012-01-11 Thread Simon Glass
Use the new funcmux_select() feature to set up the MMC pin mux. Signed-off-by: Simon Glass --- Changes in v2: - Remove funcmux_select() option parameter - Use config enum to select funcmux board/nvidia/seaboard/seaboard.c | 21 - 1 files changed, 4 insertions(+), 17 deleti

[U-Boot] [PATCH v2 2/7] tegra: Add enum to select from available funcmux configs

2012-01-11 Thread Simon Glass
We want to give a name to each available funcmux config. For now we just use the pin group names (even through it is verbose) since there seems to be nothing better. Signed-off-by: Simon Glass --- Changes in v2: - Add enum to select from available funcmux configs arch/arm/cpu/armv7/tegra2/board

[U-Boot] [PATCH v2 5/7] tegra: Use funcmux for MMC on tamonten

2012-01-11 Thread Simon Glass
Use the new funcmux_select() feature to set up the MMC pin mux. Signed-off-by: Simon Glass --- Changes in v2: - Remove funcmux_select() option parameter - Use config enum to select funcmux board/avionic-design/common/tamonten.c | 10 ++ 1 files changed, 2 insertions(+), 8 deletions(-)

[U-Boot] [PATCH v2 4/7] tegra: Add SDMMC support to funcmux

2012-01-11 Thread Simon Glass
This adds support for SDMMC ports to the funcmux. Only one option is supported: FUNCMUXO_SDMMC_8BIT which selects an 8-bit wide SDIO interface where available. Signed-off-by: Simon Glass --- Changes in v2: - Fix SDMMC4 config 0 to remove unwanted ATB pin group - Remove funcmux_select() option par

[U-Boot] [PATCH v2 6/7] tegra: Use funcmux for MMC on harmony

2012-01-11 Thread Simon Glass
Use the new funcmux_select() feature to set up the MMC pin mux. Signed-off-by: Simon Glass --- Changes in v2: - Remove funcmux_select() option parameter - Use config enum to select funcmux board/nvidia/harmony/harmony.c | 19 --- 1 files changed, 4 insertions(+), 15 deletions(

[U-Boot] [PATCH v2 3/7] tegra: Add I2C support to funcmux

2012-01-11 Thread Simon Glass
Add support to funcmux for selecting I2C functions and programming the pinmux appropriately. Signed-off-by: Simon Glass --- Changes in v2: - Remove funcmux_select() option parameter - Use config enum to select funcmux arch/arm/cpu/armv7/tegra2/funcmux.c| 40 +++

[U-Boot] [PATCH v2 1/7] tegra: Adjust funcmux config test to permit expansion

2012-01-11 Thread Simon Glass
We want to support config options other than zero, so move the test to the end to allow intermediate code to OK such a config. Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/tegra2/funcmux.c| 35 +-- arch/arm/include/asm/arch-tegra2/funcmux.h |3 ++ 2 fi

Re: [U-Boot] [PATCH 3/3 v3] devkit3250: add Timll DevKit3250 board initial support

2012-01-11 Thread Vladimir Zapolskiy
On 12.01.2012 00:08, Marek Vasut wrote: On 11.01.2012 22:56, Marek Vasut wrote: This change adds a basic support for Embest/Timll DevKit3250 board, NOR and UART are the only supported peripherals for a moment. The board doesn't require low-level init, because the initial SDRAM and GPIO configura

[U-Boot] [PATCH v2 0/7] tegra: Enhance funcmux to support I2C and MMC

2012-01-11 Thread Simon Glass
This series expands funcmux_select() to support configs other than 0, and to name each config option. This permits introduction of I2C and MMC support in the funcmux. Changes in v2: - Add enum to select from available funcmux configs - Remove funcmux_select() option parameter - Use config enum to

Re: [U-Boot] [PATCH 0/7] tegra: Enhance funcmux to support I2C and MMC

2012-01-11 Thread Simon Glass
Hi Stephen, On Mon, Jan 9, 2012 at 3:46 PM, Stephen Warren wrote: > On 01/09/2012 04:36 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Jan 9, 2012 at 3:11 PM, Stephen Warren wrote: >>> On 01/09/2012 03:53 PM, Simon Glass wrote: This series expands funcmux_select() to support configs ot

[U-Boot] [PATCH] nand_spl: store ecc data on the stack

2012-01-11 Thread Scott Wood
Adapt the following patch from spl to nand_spl: Author: Stefano Babic Date: Thu Dec 15 10:55:37 2011 +0100 nand_spl_simple: store ecc data on the stack Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM which is likely to contain already loaded data

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-11 Thread Marek Vasut
> Hi, > > On Wednesday, January 11, 2012, Marek Vasut wrote: > >> On Wed Jan 11, 2012 at 04:01:31PM +0100, Marek Vasut wrote: > >> > > More so, given the fact that we don't have any control over > >> > > rbl -- so if rbl changes it's layout for any subsequent board, > >> > > we'd have to ad

Re: [U-Boot] [PATCH v2 2/4] zipitz2: enable pxa27x_mkp driver

2012-01-11 Thread Marek Vasut
> Signed-off-by: Vasily Khoruzhick > --- Acked-by: Marek Vasut > v2: remove usbtty stuff from EXTRA_ENV_SETTINGS > > include/configs/zipitz2.h | 82 > ++--- 1 files changed, 77 > insertions(+), 5 deletions(-) > > diff --git a/include/configs/zipitz2.h

Re: [U-Boot] [PATCH v2 3/4] zipitz2: use pxa_mmc_gen as MMC driver

2012-01-11 Thread Marek Vasut
> Signed-off-by: Vasily Khoruzhick > --- > v2: mmcinfo is necessary to scan card for partitions > > board/zipitz2/zipitz2.c |8 > include/configs/zipitz2.h |5 +++-- > 2 files changed, 11 insertions(+), 2 deletions(-) > > diff --git a/board/zipitz2/zipitz2.c b/board/zipitz2/z

Re: [U-Boot] [PATCH v2 1/4] PXA: PXA27x Matrix keypad driver

2012-01-11 Thread Marek Vasut
> From: Marek Vasut > > Signed-off-by: Marek Vasut > Signed-off-by: Vasily Khoruzhick > [vasily: adapted Marek's old version for newer u-boot] > --- > v2: use struct-based access to regs, minor cleanup > > arch/arm/include/asm/arch-pxa/pxa-regs.h| 52 -- > arch/arm/include/asm/arch-

[U-Boot] [PATCH v2 4/4] zipitz2: fix boot issue introduced by PXA low level init rework

2012-01-11 Thread Vasily Khoruzhick
CONFIG_SYS_INIT_SP_ADDR points to RAM, but it's used before DRAM controller init. Fix it by setting CONFIG_SYS_INIT_SP_ADDR to SRAM Signed-off-by: Vasily Khoruzhick --- v2: no changes include/configs/zipitz2.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/con

[U-Boot] [PATCH v2 3/4] zipitz2: use pxa_mmc_gen as MMC driver

2012-01-11 Thread Vasily Khoruzhick
Signed-off-by: Vasily Khoruzhick --- v2: mmcinfo is necessary to scan card for partitions board/zipitz2/zipitz2.c |8 include/configs/zipitz2.h |5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/board/zipitz2/zipitz2.c b/board/zipitz2/zipitz2.c index b09

[U-Boot] [PATCH v2 2/4] zipitz2: enable pxa27x_mkp driver

2012-01-11 Thread Vasily Khoruzhick
Signed-off-by: Vasily Khoruzhick --- v2: remove usbtty stuff from EXTRA_ENV_SETTINGS include/configs/zipitz2.h | 82 ++--- 1 files changed, 77 insertions(+), 5 deletions(-) diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h index 26204af

[U-Boot] [PATCH v2 1/4] PXA: PXA27x Matrix keypad driver

2012-01-11 Thread Vasily Khoruzhick
From: Marek Vasut Signed-off-by: Marek Vasut Signed-off-by: Vasily Khoruzhick [vasily: adapted Marek's old version for newer u-boot] --- v2: use struct-based access to regs, minor cleanup arch/arm/include/asm/arch-pxa/pxa-regs.h| 52 -- arch/arm/include/asm/arch-pxa/regs-keypad.h |

Re: [U-Boot] [PATCH v2 4/4] zipitz2: fix boot issue introduced by PXA low level init rework

2012-01-11 Thread Marek Vasut
> CONFIG_SYS_INIT_SP_ADDR points to RAM, but it's used before > DRAM controller init. Fix it by setting CONFIG_SYS_INIT_SP_ADDR > to SRAM > > Signed-off-by: Vasily Khoruzhick > --- > v2: no changes > > include/configs/zipitz2.h |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >

Re: [U-Boot] [PATCH 3/3 v3] devkit3250: add Timll DevKit3250 board initial support

2012-01-11 Thread Marek Vasut
> On 11.01.2012 22:56, Marek Vasut wrote: > >> This change adds a basic support for Embest/Timll DevKit3250 board, > >> NOR and UART are the only supported peripherals for a moment. The board > >> doesn't require low-level init, because the initial SDRAM and GPIO > >> configuration is performed dur

[U-Boot] bootm not taking dtb

2012-01-11 Thread JR Rivers
I am working with a powerpc embedded system where u-boot seems to be passing in a constructed fdt (or one embedded in u-boot) as opposed to one that is either passed directly to bootm or as the third image of a multi-file image. I'm sure sure that the system is NOT using my dtb file because I m

  1   2   >