Re: [U-Boot] [PATCH 2/2] serial: Make nulldev a serial device

2012-11-02 Thread Marek Vasut
Dear Joe Hershberger, > This allows the default console to be specified as the nulldev. This is > specifically helpful when the real serial console's init() cannot run > early in the boot process. When the init can be run, then the console > can be switched to the real device using the std* env

Re: [U-Boot] [PATCH 1/2] serial: Remove the "serial" console device

2012-11-02 Thread Marek Vasut
Dear Joe Hershberger, > Each serial device is added as a console device. There was also the > "serial" device that points to the most-recently-assigned-to-some- > console-handle device. This can be confusing. Instead, only show the > actual serial devices. > > Signed-off-by: Joe Hershberger >

[U-Boot] [PATCH 14/17] console: Call overwrite_console before searching for console devices

2012-11-02 Thread Simon Glass
From: Anton Staaf Move the overwrite_console function call to before the search for the console devices. This lets the board specific function replace the environment variables and have that picked up by the console code. Signed-off-by: Simon Glass --- common/console.c | 15 ---

[U-Boot] [PATCH 05/17] stdio: remove useless strncpy

2012-11-02 Thread Simon Glass
From: Vincent Palatin The name is already copied when we memopy the whole structure. Signed-off-by: Vincent Palatin Commit-Ready: Vincent Palatin Signed-off-by: Simon Glass --- common/stdio.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/common/stdio.c b/common/st

[U-Boot] [PATCH 10/17] edid: Library of EDID decode and print

2012-11-02 Thread Simon Glass
From: Tom Wai-Hong Tam This implements a library for accessing EDID data from an LCD panel. This is used to obtain information about the panel such as its resolution and type. This is a tidied-up version of the original code pulled from https://github.com/ynezz/u-boot-edid. The changes we made

[U-Boot] [PATCH 07/17] Add coreboot version to u-boot's version command

2012-11-02 Thread Simon Glass
From: Stefan Reinauer Since U-Boot runs from coreboot on x86, the Coreboot version is an important part of the boot state. This version information is available in the coreboot tables, so print it when the 'version' command is used. Signed-off-by: Simon Glass --- common/cmd_version.c |7 ++

[U-Boot] [PATCH 17/17] tpm: Add TPM stress test

2012-11-02 Thread Simon Glass
From: Luigi Semenzato Add a simple command to stress-test a TPM (Trusted Platform Module). Signed-off-by: Luigi Semenzato Commit-Ready: Stefan Reinauer Signed-off-by: Simon Glass --- common/cmd_tpm.c | 93 ++--- 1 files changed, 87 insertion

[U-Boot] [PATCH 06/17] env: Add the ability to merge the saved env with the default.

2012-11-02 Thread Simon Glass
From: Doug Anderson This is a useful mechanism any time you have a way to update the saved environment outside of u-boot. This can be a tool like fw_setenv. Signed-off-by: Doug Anderson Signed-off-by: Simon Glass --- README |7 +++ common/env_common.c | 25

[U-Boot] [PATCH 13/17] mmc: Fix incorrect handling of 'read' & 'write' commands

2012-11-02 Thread Simon Glass
From: Taylor Hutt If a malformed 'read' or 'write' command is issued, the Sandbox U-Boot can crash because the command-handling code does no error checking on the number of provided arguments. This change makes the mmc 'erase', 'read' and 'write' commands only function if the proper number of ar

[U-Boot] [PATCH 15/17] Add console command to access io space registers

2012-11-02 Thread Simon Glass
From: Vadim Bendebury Provide u-boot console functions to access IO space registers. A no thrills implementation, accessing one register at a time. For example: boot > iod 80 0080: 0094 boot > iod.w 80 0080: 0094 boot > iod.b 80 0080: 94 boot > iow.b 0x80 12 b

[U-Boot] [PATCH 02/17] Add gettime command

2012-11-02 Thread Simon Glass
From: Anton Staaf Gettime returns the current timer value. If CONFIG_SYS_HZ is defined then the timer value is also converted to seconds. Tegra20 (SeaBoard) # gettime Timer val: 7754 Seconds : 7 Remainder : 754 sys_hz = 1000 Signed-off-by: Anton Staaf Signed-off-by: Simon Glass --- README

[U-Boot] [PATCH 09/17] Add sha256 command for hashing

2012-11-02 Thread Simon Glass
From: ARUN MANKUZHI sha256 command is added which can be used to test SHA 256 hash algorithm. Signed-off-by: ARUN MANKUZHI Signed-off-by: Simon Glass --- README |1 + common/Makefile |1 + common/cmd_sha256.c | 57 +

[U-Boot] [PATCH 11/17] edid: Add I2C command for printing the EDID

2012-11-02 Thread Simon Glass
From: Tom Wai-Hong Tam Add a single command to read the EDID information over I2C. For example: SMDK5250 # i2c dev 7 Setting bus to 7 SMDK5250 # i2c edid 50 EDID version: 1.4 Product ID code: 305c Manufacturer: AUO Serial number: Manufactured in week: 0 year: 2011 Video input definitio

[U-Boot] [PATCH 16/17] console: Enable function to display console info

2012-11-02 Thread Simon Glass
The CONFIG_SYS_CONSOLE_INFO_QUIET option should suppress the console information, but allow boards to display it later if required. Adjust the code to support this. This is used to avoid printing the information while the LCD display is not ready, since it only becomes ready when stdio init is com

[U-Boot] [PATCH 08/17] Update time command to avoid using get_timer_masked()

2012-11-02 Thread Simon Glass
It is better to use get_timer() by itself now, according to the new timer API. Signed-off-by: Simon Glass --- common/cmd_time.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/cmd_time.c b/common/cmd_time.c index 6dbdbbf..f1891f9 100644 --- a/common/cmd_time.c

[U-Boot] [PATCH 01/17] arm: Add new bootstage step for the main loop

2012-11-02 Thread Simon Glass
Mark when we get to the main loop. Signed-off-by: Simon Glass --- common/main.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/common/main.c b/common/main.c index 9507cec..ed1da24 100644 --- a/common/main.c +++ b/common/main.c @@ -299,6 +299,8 @@ void main_loop (void)

[U-Boot] [PATCH 04/17] Fix use of conditional LMB

2012-11-02 Thread Simon Glass
This code was not guarded with CONFIG_LMB so failed to build on x86. Signed-off-by: Simon Glass --- common/cmd_bootm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 83fa5d7..2f52cd0 100644 --- a/common/cmd_bootm.c +++ b/co

[U-Boot] [PATCH 12/17] fdt: edid: Enable fdt_add_edid() function when CONFIG_LCD defined

2012-11-02 Thread Simon Glass
From: Tom Wai-Hong Tam This function can be used for LCDs as well as monitors. Signed-off-by: Tom Wai-Hong Tam Signed-off-by: Simon Glass --- common/fdt_support.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/fdt_support.c b/common/fdt_support.c index 963ea9

[U-Boot] [PATCH 03/17] Add a command to read raw blocks from a partition

2012-11-02 Thread Simon Glass
From: Kenneth Waters Sometimes data is on a block device and within a partition, but not in a particular filesystem. This commands permits reading raw data from a partition. Signed-off-by: Kenneth Waters Signed-off-by: Simon Glass --- README |1 + common/Makefile

[U-Boot] [PATCH 0/17] Various patches in common/

2012-11-02 Thread Simon Glass
This collection of patches to common/ adds the following: - EDID support for LCD displays - TPM stress test - gettime command to find out the time since boot - Adds coreboot information to the 'version' command - Fixes LMB on x86 - Allows the console overwrite to be selected by board files - SHA25

[U-Boot] [PATCH] nand/fsl: add NAND_NO_SUBPAGE_WRITE to eLBC and IFC drivers

2012-11-02 Thread Scott Wood
These controllers can only do hardware ECC on full page transfers. Signed-off-by: Scott Wood --- drivers/mtd/nand/fsl_elbc_nand.c |2 +- drivers/mtd/nand/fsl_ifc_nand.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/fsl_elbc_nand.c b/drivers/mtd/n

Re: [U-Boot] [PATCH 2/2] nand: Move the sub-page read support enable to a flag

2012-11-02 Thread Scott Wood
On 11/01/2012 05:49:29 PM, Joe Hershberger wrote: Use a flag instead of a hard-coded macro so that sub-page reads can be enabled in other cases (such as on-die ecc). Signed-off-by: Joe Hershberger --- drivers/mtd/nand/nand_base.c | 9 +++-- include/linux/mtd/nand.h | 7 --- 2 files

Re: [U-Boot] [PATCH v3 0/18] Add environment call-back and flags capability

2012-11-02 Thread Wolfgang Denk
Dear Joe Hershberger, In message <1351787996-24560-1-git-send-email-joe.hershber...@ni.com> you wrote: > > When a variable with a registered callback is inserted, deleted, or > overwritten the callback is called and gives the system an opportunity > to do something in response to the change. It

Re: [U-Boot] [PATCH v3 06/18] env: Hide '.' variables in env print by default

2012-11-02 Thread Wolfgang Denk
Dear Luka Perkov, In message <20121102104454.GA10982@w500> you wrote: > > On Thu, Nov 01, 2012 at 11:39:43AM -0500, Joe Hershberger wrote: > > When printing all variables with env print, don't print variables that > > begin with '.'. If env print is called with a '-a' switch, then > > include va

Re: [U-Boot] hashtable lib and escaping

2012-11-02 Thread Wolfgang Denk
Dear Mats Kärrman, please don't top post/full quote. If needed, please read http://www.netmeister.org/news/learn2quote.html In message you wrote: > > If not correct, then what is this supposed to mean (common/main.c :: > builtin_run_command()): > > /* >* Find sep

Re: [U-Boot] [PATCH 2/2] mmc: tegra: invalidate complete cachelines

2012-11-02 Thread Marek Vasut
Dear Stephen Warren, > On 11/02/2012 03:28 PM, Marek Vasut wrote: > > Dear Stephen Warren, > > > >> On 11/02/2012 02:38 PM, Marek Vasut wrote: > ... > > >>> Dumb question -- might be unrelated. Does the tegra mmc driver do DMA? > >>> And if so, what happens if you do raw read to unaligned addres

Re: [U-Boot] [PATCH 2/2] mmc: tegra: invalidate complete cachelines

2012-11-02 Thread Stephen Warren
On 11/02/2012 03:28 PM, Marek Vasut wrote: > Dear Stephen Warren, > >> On 11/02/2012 02:38 PM, Marek Vasut wrote: ... >>> Dumb question -- might be unrelated. Does the tegra mmc driver do DMA? >>> And if so, what happens if you do raw read to unaligned address (aka. >>> how come you don't need the

Re: [U-Boot] [PATCH 2/2] mmc: tegra: invalidate complete cachelines

2012-11-02 Thread Marek Vasut
Dear Stephen Warren, > On 11/02/2012 02:38 PM, Marek Vasut wrote: > > Dear Simon Glass, > > > >> Hi Stephen, > >> > >> On Fri, Nov 2, 2012 at 1:22 PM, Stephen Warren wrote: > >>> On 04/26/2012 11:29 PM, Mike Frysinger wrote: > On Thursday 26 April 2012 06:34:43 Thierry Reding wrote: > >>>

Re: [U-Boot] [PATCH 2/2] mmc: tegra: invalidate complete cachelines

2012-11-02 Thread Stephen Warren
On 11/02/2012 02:38 PM, Marek Vasut wrote: > Dear Simon Glass, > >> Hi Stephen, >> >> On Fri, Nov 2, 2012 at 1:22 PM, Stephen Warren wrote: >>> On 04/26/2012 11:29 PM, Mike Frysinger wrote: On Thursday 26 April 2012 06:34:43 Thierry Reding wrote: > For reference, see sd_change_freq() in

Re: [U-Boot] [PATCH 2/2] mmc: tegra: invalidate complete cachelines

2012-11-02 Thread Stephen Warren
On 11/02/2012 02:25 PM, Simon Glass wrote: > Hi Stephen, > > On Fri, Nov 2, 2012 at 1:22 PM, Stephen Warren wrote: >> On 04/26/2012 11:29 PM, Mike Frysinger wrote: >>> On Thursday 26 April 2012 06:34:43 Thierry Reding wrote: For reference, see sd_change_freq() in drivers/mmc/mmc.c. >> >> Thi

Re: [U-Boot] [PATCH 1/8] tegra: usb: convert USB_PORTS_MAX to be a define

2012-11-02 Thread Marek Vasut
Dear Lucas Stach, [...] Seeing Simon's comments, I expect new version of this series, right? Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 2/3] tegra: move TEGRA_DEVICE_SETTINGS to tegra-common-post.h

2012-11-02 Thread Marek Vasut
Dear Allen Martin, > On Tue, Oct 23, 2012 at 03:01:21PM -0700, Marek Vasut wrote: > > Dear Stephen Warren, > > > > > On 10/23/2012 01:27 AM, Marek Vasut wrote: > > > > Dear Allen Martin, > > > > > > > >> Move environment settings for stdin/stdout/stderr to > > > >> tegra-common-post.h and genera

Re: [U-Boot] [PATCH 2/2] mmc: tegra: invalidate complete cachelines

2012-11-02 Thread Marek Vasut
Dear Simon Glass, > Hi Stephen, > > On Fri, Nov 2, 2012 at 1:22 PM, Stephen Warren wrote: > > On 04/26/2012 11:29 PM, Mike Frysinger wrote: > >> On Thursday 26 April 2012 06:34:43 Thierry Reding wrote: > >>> For reference, see sd_change_freq() in drivers/mmc/mmc.c. > > > > This is a follow-up t

Re: [U-Boot] [PATCH 2/2] mmc: tegra: invalidate complete cachelines

2012-11-02 Thread Simon Glass
Hi Stephen, On Fri, Nov 2, 2012 at 1:22 PM, Stephen Warren wrote: > On 04/26/2012 11:29 PM, Mike Frysinger wrote: >> On Thursday 26 April 2012 06:34:43 Thierry Reding wrote: >>> For reference, see sd_change_freq() in drivers/mmc/mmc.c. > > This is a follow-up to: > > http://lists.denx.de/pipermai

Re: [U-Boot] [PATCH 2/2] mmc: tegra: invalidate complete cachelines

2012-11-02 Thread Stephen Warren
On 04/26/2012 11:29 PM, Mike Frysinger wrote: > On Thursday 26 April 2012 06:34:43 Thierry Reding wrote: >> For reference, see sd_change_freq() in drivers/mmc/mmc.c. This is a follow-up to: http://lists.denx.de/pipermail/u-boot/2012-April/123080.html which was referenced from: http://lists.denx

Re: [U-Boot] [PATCH v2 2/3] tegra: move TEGRA_DEVICE_SETTINGS to tegra-common-post.h

2012-11-02 Thread Allen Martin
On Tue, Oct 23, 2012 at 03:01:21PM -0700, Marek Vasut wrote: > Dear Stephen Warren, > > > On 10/23/2012 01:27 AM, Marek Vasut wrote: > > > Dear Allen Martin, > > > > > >> Move environment settings for stdin/stdout/stderr to > > >> tegra-common-post.h and generate them automaticaly based on input

Re: [U-Boot] [PATCH] net: Fix endianness bug in link-local

2012-11-02 Thread Kim Phillips
On Thu, 1 Nov 2012 22:05:54 -0500 Joe Hershberger wrote: > The ip is stored in network order, so we can't test it in host order. > > Signed-off-by: Joe Hershberger > --- > net/link_local.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/link_local.c b/net/link_loc

[U-Boot] [Drivers PATCH 10/19] usb/gadget/designware_otg: Add support for designware otg

2012-11-02 Thread Vipin Kumar
From: Pratyush Anand Driver for designware otg device only implements device functionality and is meant to be used with usbtty interface. This driver will work mainly for Control and Bulk endpoints. Periodic transfer has not been verified using these drivers. Signed-off-by: Pratyush Anand Signe

[U-Boot] [SPEAr Enhancement PATCH 6/9] spear320-hmi: Add support for hmi machine

2012-11-02 Thread Vipin Kumar
Signed-off-by: Vipin Kumar --- MAINTAINERS| 1 + board/st/spear/Makefile| 1 + board/st/spear/spear320hmi.c | 120 + board/st/spear/spear_common.c | 2 + boards.cfg | 2 + include/configs/spear320-h

[U-Boot] [SPEAr Enhancement PATCH 8/9] spear/spl: Add support to boot from Parallel NOR device

2012-11-02 Thread Vipin Kumar
Parallel NOR boot is supported by all spear3xx devices. This patch adds the support to the generic spear spl framework. Signed-off-by: Vipin Kumar --- arch/arm/cpu/arm926ejs/spear/spl_boot.c| 79 +- arch/arm/include/asm/arch-spear/generic.h | 6 --- arch/arm/inc

[U-Boot] [SPEAr Enhancement PATCH 7/9] spear6xx/spear3xx: Add support to boot via NAND device

2012-11-02 Thread Vipin Kumar
Add support for nand boot to SPL meant for spear3xx/spear6xx based boards Signed-off-by: Vipin Kumar --- arch/arm/cpu/arm926ejs/spear/Makefile | 2 +- arch/arm/cpu/arm926ejs/spear/spl_boot.c | 44 +- arch/arm/cpu/arm926ejs/spear/spl_nand.c | 121

[U-Boot] [SPEAr Fixes PATCH 08/11] spear/spl: Cleanup spear SPL

2012-11-02 Thread Vipin Kumar
This patch cleans up the spear SPL support. The modifications include - Move mpmc register programing values to board dir MPMC register programming values are dependent on DDR timings which in turn depend a lot on the placement of DDR chip on the board. It makes more sense to keep these r

[U-Boot] [Drivers PATCH 15/19] misc/crypto: Add support for C3

2012-11-02 Thread Vipin Kumar
C3 is a cryptographic controller which is used by the SPL when DDR ECC support is enabled. Basically, the DDR ECC feature requires the initialization of ECC values before the DDR can actually be used. To accomplish this, the complete on board DDR is initialized with zeroes. This initialization can

[U-Boot] [Drivers PATCH 19/19] arm/boards: Define a new config option CONFIG_BOOT_PARAMS_P

2012-11-02 Thread Vipin Kumar
A lot of ARM boards are using board_init routine just to initialize boot_params variable in the global data structure. This patch lets the board config files to define a CONFIG_BOOT_PARAMS_P option which is assigned to gd->bd->bi_boot_params automatically Consequently, many board_init routines wo

[U-Boot] [Drivers PATCH 17/19] imls: Add support to list images in NAND device

2012-11-02 Thread Vipin Kumar
imls does not list the images in NAND devices. This patch implements this support for legacy type images. Signed-off-by: Vipin Kumar --- common/cmd_bootm.c | 98 ++ 1 file changed, 98 insertions(+) diff --git a/common/cmd_bootm.c b/common/cmd_

[U-Boot] [Drivers PATCH 11/19] usb/host/ehci: Add support for EHCI on spear

2012-11-02 Thread Vipin Kumar
Add EHCI support for spear boards Signed-off-by: Armando Visconti Signed-off-by: Vipin Kumar --- drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-spear.c | 59 +++ 2 files changed, 60 insertions(+) create mode 100644 drivers/usb/host/ehci-spea

[U-Boot] [Drivers PATCH 18/19] u-boot/spl: Add u-boot-spl.img to u-boot targets

2012-11-02 Thread Vipin Kumar
Signed-off-by: Vipin Kumar --- Makefile | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 328347d..5d8d430 100644 --- a/Makefile +++ b/Makefile @@ -497,6 +497,13 @@ $(obj)u-boot.sb: $(obj)u-boot.bin $(obj)spl/u-boot-spl.bin elftosb -z

[U-Boot] [SPEAr Fixes PATCH 11/11] spear3xx: FIX: Enable access to memory for spear310 and spear320

2012-11-02 Thread Vipin Kumar
The memory access to RAS is necessary for the operation of the peripherals instantiated inside RAS. Enable this clock to make macb work Signed-off-by: Vipin Kumar --- arch/arm/cpu/arm926ejs/spear/cpu.c | 5 + arch/arm/include/asm/arch-spear/misc.h | 3 +++ 2 files changed, 8 insertions(+

[U-Boot] [SPEAr Enhancement PATCH 9/9] spear300evb: Add SPL support

2012-11-02 Thread Vipin Kumar
This patch also adds related code for spear3xx which is later used for spear310 and spear320 based boards Signed-off-by: Vipin Kumar spear310evb: Add SPL support Signed-off-by: Vipin Kumar spear320evb/spear320hmi: Add SPL support Signed-off-by: Vipin Kumar --- arch/arm/cpu/arm926ejs/spear/

[U-Boot] [SPEAr13xx PATCH 7/7] spear1310evb: Add SPL support

2012-11-02 Thread Vipin Kumar
Enable SPL support for spear1310evb board. The spl binaries are generated in $(obj)/spl directory. Signed-off-by: Vipin Kumar --- arch/arm/cpu/armv7/spear13xx/Makefile | 1 + arch/arm/cpu/armv7/spear13xx/spl-spear1310.c | 230 + .../include/asm/arch-spear

[U-Boot] [SPEAr Fixes PATCH 07/11] spear: Cleanup SoC area

2012-11-02 Thread Vipin Kumar
- Place emi init in soc area - Move smi and emi controller initializations to arch_cpu_init Signed-off-by: Vipin Kumar --- arch/arm/cpu/arm926ejs/spear/Makefile | 2 + arch/arm/cpu/arm926ejs/spear/cpu.c| 37 +++- arch/arm/cpu/arm926ejs/spear/emi.c| 80 +++

[U-Boot] [Drivers PATCH 08/19] net/designware: Do not select MIIPORT for RGMII interface

2012-11-02 Thread Vipin Kumar
Do not select MIIPORT for RGMII interface Signed-off-by: Vipin Kumar --- drivers/net/designware.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index bf21a08..46f6601 100644 --- a/drivers/net/designware.c +++ b/drivers/

[U-Boot] [Drivers PATCH 16/19] armv7/ltimer: Add support for local timer on armv7 cpus

2012-11-02 Thread Vipin Kumar
Certain ARMV7 cpus eg. CortexA9 contains a local and a global timer within the CPU core itself. This patch adds generic support for local timer. Signed-off-by: Vipin Kumar --- arch/arm/cpu/armv7/Makefile | 11 ++- arch/arm/cpu/armv7/ca9_ltimer.c | 154 ++

[U-Boot] [Drivers PATCH 14/19] net/macb: workaround for transmission hang issue

2012-11-02 Thread Vipin Kumar
From: Shiraz Hashim It is observed on SPEAr320S RMII#1 interface that on transmitting packets the MAC dma hangs randomly and constantly showing busy tx-go state. It comes out if this situation only when Transmission is disabled and enabled again. Since it happens randomly and u-boot doesn't req

[U-Boot] [Drivers PATCH 07/19] sdhci: Add sdhci support for spear devices

2012-11-02 Thread Vipin Kumar
Signed-off-by: Vipin Kumar --- drivers/mmc/Makefile | 1 + drivers/mmc/spear_sdhci.c | 44 2 files changed, 45 insertions(+) create mode 100644 drivers/mmc/spear_sdhci.c diff --git a/drivers/mmc/Makefile b/drivers/mmc/Makefile index a1dd730..01

[U-Boot] [SPEAr Fixes PATCH 09/11] spear: Add POST memory support

2012-11-02 Thread Vipin Kumar
The xloader had a basic pattern read/write test with in itself. With the source upgrading to SPL, it is now more convenient to use the Power On Self Test for memory supported by u-boot. This patch adds the support for memory POST test. Signed-off-by: Vipin Kumar --- arch/arm/cpu/arm926ejs/spear

[U-Boot] [SPEAr Fixes PATCH 10/11] spear: Enable ehci support

2012-11-02 Thread Vipin Kumar
Signed-off-by: Vipin Kumar --- arch/arm/cpu/arm926ejs/spear/Makefile | 2 ++ arch/arm/cpu/arm926ejs/spear/cpu.c| 3 +++ arch/arm/cpu/arm926ejs/spear/spear3xx.c | 43 +++ arch/arm/cpu/arm926ejs/spear/spear6xx.c | 43 +++ arc

[U-Boot] [Drivers PATCH 12/19] usbtty: adapt buffers for large packet support

2012-11-02 Thread Vipin Kumar
From: Shiraz Hashim Increase buffer sizes at driver and tty level to accommodate kermit large packet support. Signed-off-by: Shiraz Hashim --- drivers/serial/usbtty.c | 2 +- include/usbdevice.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/serial/usbtty.

[U-Boot] [SPEAr Fixes PATCH 06/11] spear: Read ethaddr from I2C memory

2012-11-02 Thread Vipin Kumar
spear600evb and spear300evb place ethaddr on a I2C memory. This patch cleans up reading of ethaddr Signed-off-by: Vipin Kumar --- board/st/spear/spear300evb.c | 5 board/st/spear/spear600evb.c | 7 ++ board/st/spear/spear_common.c | 55 +++ 3

[U-Boot] [Drivers PATCH 13/19] net/macb: Add arch specific routine to get mdio control

2012-11-02 Thread Vipin Kumar
From: Shiraz Hashim SPEAr310 and SPEAr320 Ethernet interfaces share same MDIO lines to control their respective phys. Currently their is a fixed configuration in which only a particular MAC can use the MDIO lines. Call an arch specific function to take control of specific mdio lines at runtime.

[U-Boot] [Drivers PATCH 06/19] usbh/ehci: Increase timeout for enumeration

2012-11-02 Thread Vipin Kumar
Few pen drives take longer than usual for enumeration. The u-boot unlike linux does not depend on interrupts and works in polling and timeout mode. This patch increases this timeout to increase the set of usb sticks that can be enumerated by u-boot Signed-off-by: Vipin Kumar --- common/usb_hub.

[U-Boot] [SPEAr13xx PATCH 1/7] spear1340: Add support for spear1340 SoC

2012-11-02 Thread Vipin Kumar
spear1340 is a CortexA9 dual core SoC which supports multiple peripherals like GMII, USBH etc. More information can be found at http://www.st.com/internet/mcu/product/251211.jsp This patch adds support for spear1340 SoC. It also adds support for pinum for spear1340. The APIs implemented for this p

[U-Boot] [Drivers PATCH 04/19] mtd/st_smi: Write to flash in a tight loop

2012-11-02 Thread Vipin Kumar
The write loop is checking for dest_addr alignment with page size. This sometimes leads to smi controller coming out of write mode and eventually the next write failing with ERF1 being set. To avoid this, write to flash in a tight loop and write bytewise to also support not word aligned data bytes

[U-Boot] [SPEAr13xx PATCH 5/7] spear1340lcad: Add support for LCAD machine

2012-11-02 Thread Vipin Kumar
Signed-off-by: Vipin Kumar --- MAINTAINERS | 1 + board/st/spear13xx/Makefile | 1 + board/st/spear13xx/spear1340lcad.c| 89 ++ board/st/spear13xx/spear13xx_common.c | 2 + boards.cfg| 1 + inc

[U-Boot] [Drivers PATCH 03/19] mtd/st_smi: Avoid issuing multiple WE commands

2012-11-02 Thread Vipin Kumar
At the start of an smi_write, if the destination address is page aligned, the Write Enable command is getting issued twice. This patch fixes it by keeping a flag. Signed-off-by: Vipin Kumar --- drivers/mtd/st_smi.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a

[U-Boot] [SPEAr Enhancement PATCH 5/9] spear320: Add support for SD/MMC

2012-11-02 Thread Vipin Kumar
Signed-off-by: Vipin Kumar --- arch/arm/include/asm/arch-spear/mmc.h | 29 + arch/arm/include/asm/arch-spear/spear320.h | 1 + board/st/spear/spear320plc.c | 12 include/configs/spear320-evb.h | 5 + 4 files changed, 47

[U-Boot] [Drivers PATCH 01/19] mtd/st_smi: Clear error flags while initiating a fresh write

2012-11-02 Thread Vipin Kumar
SMI controller reports an error when the code tries to write on the flash area with Write Enable command not issued or the bank has come out of the write mode. This error is reported even with a fresh write once the ERF1 or ERF2 is set. Clear these flags while initiating a fresh write Signed-off-

[U-Boot] [SPEAr Fixes PATCH 01/11] SPEAr: Remove extra spear board configurations

2012-11-02 Thread Vipin Kumar
Signed-off-by: Vipin Kumar --- boards.cfg | 8 1 file changed, 8 deletions(-) diff --git a/boards.cfg b/boards.cfg index b14a08f..fe357e7 100644 --- a/boards.cfg +++ b/boards.cfg @@ -201,23 +201,15 @@ dkbarm arm926ejs - Marvell

[U-Boot] [SPEAr Enhancement PATCH 1/9] spear: Add cache support

2012-11-02 Thread Vipin Kumar
Signed-off-by: Vipin Kumar --- arch/arm/cpu/arm926ejs/spear/Makefile | 7 --- arch/arm/cpu/arm926ejs/spear/cache.c | 32 2 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 arch/arm/cpu/arm926ejs/spear/cache.c diff --git a/arch/arm/cpu/arm

[U-Boot] [Drivers PATCH 05/19] mtd/st_smi: Use page sizes respective to flash

2012-11-02 Thread Vipin Kumar
The page size is a flash dependent property and the driver was using a macro in place of page size. This patch uses the proper page size wrt the flash device connected on board Signed-off-by: Vipin Kumar --- drivers/mtd/st_smi.c | 41 + include/linux

[U-Boot] [SPEAr Enhancement PATCH 4/9] spear/configs: Modify several configurations

2012-11-02 Thread Vipin Kumar
- Define CONFIG_SYS_EXCEPTION_VECTORS_HIGH Define CONFIG_SYS_EXCEPTION_VECTORS_HIGH and remove specific initialization of CPU as high vector - Define CONFIG_DISPLAY_BOARDINFO and print board info - Add GPIO support - Define CONFIG_BOOT_PARAMS_P for all spear boards It also makes a few boar

[U-Boot] [SPEAr13xx PATCH 4/7] spear1310evb: Add support for evb machine

2012-11-02 Thread Vipin Kumar
Signed-off-by: Vipin Kumar --- MAINTAINERS | 1 + board/st/spear13xx/Makefile | 1 + board/st/spear13xx/spear1310evb.c | 93 board/st/spear13xx/spear13xx_common.c | 2 + boards.cfg| 3 + incl

[U-Boot] [SPEAr Fixes PATCH 03/11] spear/include: Clean up the spear include files

2012-11-02 Thread Vipin Kumar
This patch targets a few cleanup actions in include files - Split hardware.h into soc and arch base addresses Splits the files hierarchically into architecture and soc specific - Drop the spr_ prefix from the arch header names - Remove extra header files - Use only MISC_ as a prefix for misc reg

[U-Boot] [Drivers PATCH 02/19] mtd/st_smi: Add support for Micron N25Q128 Flash

2012-11-02 Thread Vipin Kumar
From: Armando Visconti Signed-off-by: Armando Visconti --- drivers/mtd/st_smi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/st_smi.c b/drivers/mtd/st_smi.c index fad4420..e2d1cf9 100644 --- a/drivers/mtd/st_smi.c +++ b/drivers/mtd/st_smi.c @@ -75,6 +75,7 @@ static struct fla

[U-Boot] [SPEAr Enhancement PATCH 3/9] spear320plc: Correct the MACB interface

2012-11-02 Thread Vipin Kumar
--- board/st/spear/spear320plc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/st/spear/spear320plc.c b/board/st/spear/spear320plc.c index 84185a5..5a79eb6 100644 --- a/board/st/spear/spear320plc.c +++ b/board/st/spear/spear320plc.c @@ -116,8 +116,8 @@ int board_eth

[U-Boot] [SPEAr13xx PATCH 3/7] spear1340evb: Add support for evb machine

2012-11-02 Thread Vipin Kumar
Signed-off-by: Vipin Kumar --- MAINTAINERS | 1 + board/st/spear13xx/Makefile | 50 ++ board/st/spear13xx/config.mk | 26 board/st/spear13xx/spear1340evb.c | 94 +++ board/st/spear13xx/spear13xx_com

[U-Boot] [SPEAr13xx PATCH 2/7] spear1310: Add support for spear1310 SoC

2012-11-02 Thread Vipin Kumar
spear1310 is a CortexA9 dual core SoC which supports multiple peripherals like GMII, USBH, PCIe etc. More information can be found at http://www.st.com/internet/mcu/product/250658.jsp This patch adds support for spear1310 SoC. This patch also adds support for pinmux for spear1310 SoC. The APIs imp

[U-Boot] [SPEAr Fixes PATCH 04/11] spear/board: Cleanup spear related board files

2012-11-02 Thread Vipin Kumar
This patch targets to cleanup the board area for spear. The modifications in this patch include - Move spear board files to board/st/spear/ - Place specific init routines in respective macro Place board_nand_init and board_eth_init in respective CONFIG_CMD_ macros - Remove initialization of bi_

[U-Boot] [SPEAr Fixes PATCH 05/11] spear: Append MISC_ as prefix to misc register bitmasks

2012-11-02 Thread Vipin Kumar
Signed-off-by: Vipin Kumar --- arch/arm/cpu/arm926ejs/spear/cpu.c | 4 ++-- arch/arm/cpu/arm926ejs/spear/spear600.c | 22 +- arch/arm/include/asm/arch-spear/misc.h | 10 -- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/s

[U-Boot] [SPEAr Fixes PATCH 02/11] spear/configs: Split config files hierarchically into plat, arch, soc and board

2012-11-02 Thread Vipin Kumar
The spear configuration files are split into spear6xx_evb.h and spear3xx_evb.h with the common configurations placed in spear-common.h. This split of configuration is not very conducive to increasing number of boards within each architecture. With number of boards supported by spear3xx_evb.h going

[U-Boot] [RFC PATCH 35/50] net: npe: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/npe/npe.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff

[U-Boot] [RFC PATCH 36/50] net: ns8382x: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/ns8382x.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff

[U-Boot] [RFC PATCH 31/50] net: mvgbe: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/mvgbe.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff

[U-Boot] [RFC PATCH 30/50] net: mpc5xxx_fec: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/mpc5xxx_fec.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) di

[U-Boot] [RFC PATCH 33/50] net: natsemi: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/natsemi.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff

[U-Boot] [RFC PATCH 34/50] net: ne2000: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/ne2000_base.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) d

[U-Boot] [RFC PATCH 29/50] net: mcffec: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/mcffec.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff -

[U-Boot] [RFC PATCH 32/50] net: mpc512x_fec: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/mpc512x_fec.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) d

[U-Boot] [RFC PATCH 50/50] net: sh_eth: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/sh_eth.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff -

[U-Boot] [RFC PATCH 46/50] net: xilinx_axi_emac: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/xilinx_axi_emac.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletio

[U-Boot] [RFC PATCH 26/50] net: ks8695eth: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/ks8695eth.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) dif

[U-Boot] [RFC PATCH 49/50] net: xilinx_ll_temac: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/xilinx_ll_temac.c | 27 --- 1 file changed, 20 insertions(+

[U-Boot] [RFC PATCH 41/50] net: smc91111: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/smc9.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) di

Re: [U-Boot] [RFC PATCH 00/50] net: net subsystem ops cleanup

2012-11-02 Thread Marek Vasut
Dear Tomas Hlavacek, > This patchset is a first stage of preparation of the net subsystem > for the driver model. > > The idea of this patchset is: > 1) Remove ops .init, .send, .recv and .halt from the eth_device struct. >Add a sparate structure eth_ops which is ready for inclusion >to D

[U-Boot] [RFC PATCH 44/50] net: tsi108_eth: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/tsi108_eth.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) di

[U-Boot] [RFC PATCH 43/50] net: tsec: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/tsec.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) d

[U-Boot] [RFC PATCH 48/50] net: zynq_gem: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/zynq_gem.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) di

[U-Boot] [RFC PATCH 47/50] net: xilinx_emaclite: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/xilinx_emaclite.c | 12 1 file changed, 8 insertions(+), 4 deletions(-

[U-Boot] [RFC PATCH 40/50] net: rtl8169: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/rtl8169.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff

[U-Boot] [RFC PATCH 42/50] net: smc911x: Pull out init of struct eth_ops

2012-11-02 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/smc911x.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff

  1   2   >