Re: [U-Boot] [PATCH v2 8/9] tegra: add SPI SLINK driver

2013-01-14 Thread Allen Martin
On Mon, Jan 14, 2013 at 10:49:53AM -0800, Stephen Warren wrote: On 01/12/2013 09:56 AM, Simon Glass wrote: Hi, On Sat, Jan 12, 2013 at 1:07 AM, Allen Martin amar...@nvidia.com wrote: Add driver for tegra SPI SLINK style driver. This controller is similar to the tegra20 SPI SFLASH

[U-Boot] [PATCH v2 5/9] tegra30: add SBC1 to periph id mapping table

2013-01-12 Thread Allen Martin
SBC1 is SPI controller 1 on tegra30 Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/cpu/tegra30-common/clock.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/tegra30-common/clock.c b/arch/arm/cpu/tegra30-common/clock.c index c67a2e1..db5ac1e

[U-Boot] [PATCH v2 4/9] tegra: spi: add fdt support to tegra SPI SFLASH driver

2013-01-12 Thread Allen Martin
Add support for configuring tegra SPI driver from devicetree. Support is keyed off CONFIG_OF_CONTROL. Add entry in seaboard dts file for spi controller to describe seaboard spi. Signed-off-by: Allen Martin amar...@nvidia.com --- drivers/spi/tegra_spi.c | 42

[U-Boot] [PATCH v2 3/9] tegra20: fdt: add SPI SFLASH node

2013-01-12 Thread Allen Martin
Add node for tegra20 SPI SFLASH controller to fdt. Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/dts/tegra20.dtsi | 12 board/nvidia/dts/tegra20-seaboard.dts |4 2 files changed, 16 insertions(+) diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm

[U-Boot] [PATCH v2 0/9] tegra: SPI drivers

2013-01-12 Thread Allen Martin
This series updates the tegra20 SPI driver to add fdt support and adds a new tegra30 SPI driver. This series depends on the following patches: Allen Martin: fdt: fix dts preprocessor options tegra: remove IRDA pinmux synonym Testing was done on seaboard (tegra20) and cardhu (tegra30

[U-Boot] [PATCH v2 7/9] tegra: add addresses of SPI SLINK controllers

2013-01-12 Thread Allen Martin
Add I/O addresses of SPI SLINK controllers 1-6 Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/include/asm/arch-tegra/tegra.h |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/include/asm/arch-tegra/tegra.h b/arch/arm/include/asm/arch-tegra/tegra.h index 67e6fd0

[U-Boot] [PATCH v2 9/9] tegra: cardhu: config: enable SPI

2013-01-12 Thread Allen Martin
Turn on SPI in cardhu config file Signed-off-by: Allen Martin amar...@nvidia.com --- include/configs/cardhu.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h index aa725ba..1616b39 100644 --- a/include/configs/cardhu.h +++ b

[U-Boot] [PATCH v2 6/9] tegra30: fdt: add SPI SLINK nodes

2013-01-12 Thread Allen Martin
Add tegra30 SPI SLINK nodes to fdt. Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/dts/tegra30.dtsi | 72 +++ board/nvidia/dts/tegra30-cardhu.dts |4 ++ 2 files changed, 76 insertions(+) diff --git a/arch/arm/dts/tegra30.dtsi b/arch

[U-Boot] [PATCH v2 2/9] tegra: fdt: add apbdma node

2013-01-12 Thread Allen Martin
Add apbdma node for tegra20 and tegra30, copied directly from tegra Linux dtsi files. Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/dts/tegra20.dtsi | 21 + arch/arm/dts/tegra30.dtsi | 37 + 2 files changed, 58 insertions

[U-Boot] [PATCH v2 1/9] tegra: fdt: sort dts files

2013-01-12 Thread Allen Martin
. Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/dts/tegra20.dtsi | 379 - arch/arm/dts/tegra30.dtsi | 20 +- board/nvidia/dts/tegra20-harmony.dts | 32 +-- board/nvidia/dts/tegra20-seaboard.dts | 137 ++-- board/nvidia

[U-Boot] [PATCH v2 8/9] tegra: add SPI SLINK driver

2013-01-12 Thread Allen Martin
devicetree bindings. Up to 4 devices per controller may be attached, although typically only a single chip select line is exposed from tegra per controller so in reality this is usually limited to 1. To enable this driver, use CONFIG_TEGRA_SLINK Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm

[U-Boot] [PATCH 7/7] tegra: cardhu: config: enable SPI

2013-01-11 Thread Allen Martin
Turn on SPI in cardhu config file Signed-off-by: Allen Martin amar...@nvidia.com --- include/configs/cardhu.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h index aa725ba..1616b39 100644 --- a/include/configs/cardhu.h +++ b

[U-Boot] [PATCH 1/7] tegra: fdt: add apbdma node

2013-01-11 Thread Allen Martin
Add apbdma node for tegra20 and tegra30, copied directly from tegra Linux dtsi files. Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/dts/tegra20.dtsi | 21 + arch/arm/dts/tegra30.dtsi | 37 + 2 files changed, 58 insertions

[U-Boot] [PATCH 6/7] tegra: add SPI SLINK driver

2013-01-11 Thread Allen Martin
devicetree bindings. Up to 4 devices per controller may be attached, although typically only a single chip select line is exposed from tegra per controller so in reality this is usually limited to 1. To enable this driver, use CONFIG_TEGRA_SLINK Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm

[U-Boot] [PATCH 4/7] tegra30: fdt: add SPI SLINK nodes

2013-01-11 Thread Allen Martin
Add tegra30 SPI SLINK nodes to fdt. Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/dts/tegra30.dtsi | 77 + include/fdtdec.h |1 + lib/fdtdec.c |1 + 3 files changed, 79 insertions(+) diff --git a/arch/arm

[U-Boot] [PATCH 3/7] tegra30: add SBC1 to periph id mapping table

2013-01-11 Thread Allen Martin
SBC1 is SPI controller 1 on tegra30 Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/cpu/tegra30-common/clock.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/tegra30-common/clock.c b/arch/arm/cpu/tegra30-common/clock.c index c67a2e1..db5ac1e

[U-Boot] [PATCH 0/7] tegra: SPI drivers

2013-01-11 Thread Allen Martin
This series updates the tegra20 SPI driver to add fdt support and adds a new tegra30 SPI driver. This series depends on the following patches: Allen Martin: fdt: fix dts preprocessor options tegra: remove IRDA pinmux synonym Testing was done on seaboard (tegra20) and cardhu

[U-Boot] [PATCH 5/7] tegra: add addresses of SPI SLINK controllers

2013-01-11 Thread Allen Martin
Add I/O addresses of SPI SLINK controllers 1-6 Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/include/asm/arch-tegra/tegra.h |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/include/asm/arch-tegra/tegra.h b/arch/arm/include/asm/arch-tegra/tegra.h index 67e6fd0

[U-Boot] [PATCH 2/7] tegra: spi: add fdt support to tegra SPI SFLASH driver

2013-01-11 Thread Allen Martin
Add support for configuring tegra SPI driver from devicetree. Support is keyed off CONFIG_OF_CONTROL. Add entry in seaboard dts file for spi controller to describe seaboard spi. Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/dts/tegra20.dtsi | 13 + drivers/spi

Re: [U-Boot] [PATCH 1/7] tegra: fdt: add apbdma node

2013-01-11 Thread Allen Martin
On Fri, Jan 11, 2013 at 04:08:55PM -0800, Stephen Warren wrote: On 01/11/2013 11:44 AM, Allen Martin wrote: Add apbdma node for tegra20 and tegra30, copied directly from tegra Linux dtsi files. diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20.dtsi + apbdma: dma

Re: [U-Boot] [PATCH 2/7] tegra: spi: add fdt support to tegra SPI SFLASH driver

2013-01-11 Thread Allen Martin
On Fri, Jan 11, 2013 at 04:13:42PM -0800, Stephen Warren wrote: On 01/11/2013 11:44 AM, Allen Martin wrote: Add support for configuring tegra SPI driver from devicetree. Support is keyed off CONFIG_OF_CONTROL. Add entry in seaboard dts file for spi controller to describe seaboard spi

Re: [U-Boot] [PATCH 4/7] tegra30: fdt: add SPI SLINK nodes

2013-01-11 Thread Allen Martin
On Fri, Jan 11, 2013 at 04:17:18PM -0800, Stephen Warren wrote: On 01/11/2013 11:44 AM, Allen Martin wrote: Add tegra30 SPI SLINK nodes to fdt. diff --git a/arch/arm/dts/tegra30.dtsi b/arch/arm/dts/tegra30.dtsi /* PERIPH_ID_I2C_DVC, CLK_M */ clocks = tegra_car

Re: [U-Boot] [PATCH 6/7] tegra: add SPI SLINK driver

2013-01-11 Thread Allen Martin
On Fri, Jan 11, 2013 at 04:22:46PM -0800, Stephen Warren wrote: On 01/11/2013 11:44 AM, Allen Martin wrote: Add driver for tegra SPI SLINK style driver. This controller is similar to the tegra20 SPI SFLASH controller. The difference is that the SLINK controller is a genernal purpose SPI

Re: [U-Boot] [PATCH 1/7] tegra: fdt: add apbdma node

2013-01-11 Thread Allen Martin
On Fri, Jan 11, 2013 at 10:07:41PM -0800, Stephen Warren wrote: On 01/11/2013 08:19 PM, Allen Martin wrote: On Fri, Jan 11, 2013 at 04:08:55PM -0800, Stephen Warren wrote: On 01/11/2013 11:44 AM, Allen Martin wrote: Add apbdma node for tegra20 and tegra30, copied directly from tegra Linux

Re: [U-Boot] [PATCH] tegra30: fix UART2 pinmux table entry

2013-01-09 Thread Allen Martin
On Tue, Jan 08, 2013 at 07:46:03PM -0800, Stephen Warren wrote: On 01/08/2013 06:23 PM, Allen Martin wrote: UART2_TXD and UART2_RXD mux 0 SFIO entries should be IRDA not UARTB. IRDA is just a needlessly different synonym for UARTB; there shouldn't be any mention of IRDA in the pinmux code

[U-Boot] [PATCH] tegra30: cardhu: fix UART2 pinmux settings

2013-01-09 Thread Allen Martin
Use UARTB instead of IRDA synonym for cardhu pinmux settings to match tegra30 pinmux tables. Signed-off-by: Allen Martin amar...@nvidia.com --- board/nvidia/cardhu/pinmux-config-cardhu.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/nvidia/cardhu/pinmux-config

Re: [U-Boot] [PATCH] tegra30: cardhu: fix UART2 pinmux settings

2013-01-09 Thread Allen Martin
On Wed, Jan 09, 2013 at 10:49:10AM -0800, Stephen Warren wrote: On 01/09/2013 11:14 AM, Allen Martin wrote: Use UARTB instead of IRDA synonym for cardhu pinmux settings to match tegra30 pinmux tables. This seems fine as far as it goes, but I'd suggest deleting the IRDA value from

[U-Boot] [PATCH] tegra: remove IRDA pinmux synonym

2013-01-09 Thread Allen Martin
IRDA is a synonym for UARTB in tegra pinmux, remove all usage of this synonym and replace with UARTB to disambiguate. Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/cpu/tegra-common/board.c |2 +- arch/arm/cpu/tegra20-common/funcmux.c |4 ++-- arch/arm/cpu

[U-Boot] [PATCH] tegra30: fix UART2 pinmux table entry

2013-01-08 Thread Allen Martin
UART2_TXD and UART2_RXD mux 0 SFIO entries should be IRDA not UARTB. Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/cpu/tegra30-common/pinmux.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/tegra30-common/pinmux.c b/arch/arm/cpu/tegra30

[U-Boot] [PATCH] fdt: fix dts preprocessor options

2013-01-08 Thread Allen Martin
Using -ansi preprocessor option will cause dts lines that begin with '#' to choke the preprocessor. Change to -x assembler-with-cpp instead which is what the kernel uses to preprocess dts files. Signed-off-by: Allen Martin amar...@nvidia.com --- dts/Makefile |2 +- 1 file changed, 1

Re: [U-Boot] Conflicting commits for seaboard USB keyboard handling

2012-12-19 Thread Allen Martin
On Wed, Dec 19, 2012 at 11:37:26AM -0800, Albert ARIBAUD wrote: Hi Stephen, On Tue, 18 Dec 2012 23:04:09 -0700, Stephen Warren swar...@wwwdotorg.org wrote: On 12/18/2012 06:08 PM, Allen Martin wrote: ... The other alternative is I could provide the conflict resolved files

Re: [U-Boot] Conflicting commits for seaboard USB keyboard handling

2012-12-19 Thread Allen Martin
On Wed, Dec 19, 2012 at 02:42:24PM -0800, Albert ARIBAUD wrote: Hi Allen, Hi Albert, I did a merge of u-boot/master into u-boot-arm/master and resolved the conflicts and I've pushed the result to: git://github.com/arm000/u-boot.git branch: u-boot-arm-merge-resolved I resolved

Re: [U-Boot] Conflicting commits for seaboard USB keyboard handling

2012-12-18 Thread Allen Martin
On Tue, Dec 18, 2012 at 08:43:18AM -0800, Tom Warren wrote: Allen, On Mon, Dec 17, 2012 at 3:22 PM, Allen Martin amar...@nvidia.com wrote: On Mon, Dec 17, 2012 at 02:13:29PM -0800, Tom Warren wrote: Allen, If you come up with patches to fix the seaboard config files, I can add them

Re: [U-Boot] Conflicting commits for seaboard USB keyboard handling

2012-12-18 Thread Allen Martin
On Tue, Dec 18, 2012 at 03:59:36PM -0800, Tom Warren wrote: Allen, On Tue, Dec 18, 2012 at 11:06 AM, Allen Martin amar...@nvidia.com wrote: On Tue, Dec 18, 2012 at 08:43:18AM -0800, Tom Warren wrote: Allen, On Mon, Dec 17, 2012 at 3:22 PM, Allen Martin amar...@nvidia.com wrote

Re: [U-Boot] Conflicting commits for seaboard USB keyboard handling

2012-12-17 Thread Allen Martin
merged to u-boot-arm/master, Albert were you planning to replay the merge of the already merged tegra patches? -Allen Tom On Sat, Dec 15, 2012 at 9:41 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Allen, On Tue, 11 Dec 2012 11:02:09 -0800, Allen Martin amar...@nvidia.com

Re: [U-Boot] Conflicting commits for seaboard USB keyboard handling

2012-12-11 Thread Allen Martin
On Mon, Dec 10, 2012 at 01:51:40PM -0800, Tom Warren wrote: Albert, On Sat, Dec 8, 2012 at 11:03 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello, It seems like two commits 5ddcc38b (in u-boot, committed by Marek) 29f3e3f2 (in u-boot-arm, committed by Tom from u-boot-tegra)

Re: [U-Boot] [PATCH V3 0/7] Add support for NVIDIA Tegra30 SoC

2012-12-11 Thread Allen Martin
On Tue, Dec 11, 2012 at 03:34:11PM -0800, Tom Warren wrote: This patch series adds basic (boot to cmd prompt) support for Tegra30. This is based on the Tegra20 SPL, which initializes the AVP (ARM7TDMI) boot proc) first, then control is transferred to the CPU (A9 quad cluster). It is based on

Re: [U-Boot] [PATCH V3 0/7] Add support for NVIDIA Tegra30 SoC

2012-12-11 Thread Allen Martin
On Tue, Dec 11, 2012 at 05:09:45PM -0800, Allen Martin wrote: On Tue, Dec 11, 2012 at 03:34:11PM -0800, Tom Warren wrote: This patch series adds basic (boot to cmd prompt) support for Tegra30. This is based on the Tegra20 SPL, which initializes the AVP (ARM7TDMI) boot proc) first

Re: [U-Boot] [PATCH V3 0/7] Add support for NVIDIA Tegra30 SoC

2012-12-11 Thread Allen Martin
with the series, so: Tested-by: Allen Martin amar...@nvidia.com -- nvpublic ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Conflicting commits for seaboard USB keyboard handling

2012-12-10 Thread Allen Martin
On Mon, Dec 10, 2012 at 08:59:59AM -0800, Tom Warren wrote: Albert, On Mon, Dec 10, 2012 at 9:25 AM, Tom Warren twarren.nvi...@gmail.com wrote: Will do. On Sat, Dec 8, 2012 at 11:03 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello, It seems like two commits 5ddcc38b (in

Re: [U-Boot] [PATCH] USB: add arrow key support to usb_kbd

2012-11-07 Thread Allen Martin
On Wed, Nov 07, 2012 at 05:18:27AM -0800, Marek Vasut wrote: Dear Stephen Warren, On 11/06/2012 03:56 PM, Marek Vasut wrote: Dear Simon Glass, Hi Marek, On Tue, Nov 6, 2012 at 2:49 PM, Marek Vasut ma...@denx.de wrote: Dear Allen Martin, Check for scancodes for arrow

[U-Boot] [PATCH] USB: add arrow key support to usb_kbd

2012-11-06 Thread Allen Martin
and queue, but this allows arrow keys to work until this driver is converted. Signed-off-by: Allen Martin amar...@nvidia.com --- common/usb_kbd.c | 13 + 1 file changed, 13 insertions(+) diff --git a/common/usb_kbd.c b/common/usb_kbd.c index 24467ce..4efbcfe 100644 --- a/common

Re: [U-Boot] [PATCH] USB: add arrow key support to usb_kbd

2012-11-06 Thread Allen Martin
On Tue, Nov 06, 2012 at 02:49:29PM -0800, Marek Vasut wrote: Dear Allen Martin, Check for scancodes for arrow keys and map them to ^F/^B, ^N/^P. Control characters are used instead of ANSI sequence because the queueing code in usb_kbd doesn't handle the data increase when one keypress

Re: [U-Boot] [PATCH] USB: add arrow key support to usb_kbd

2012-11-06 Thread Allen Martin
On Tue, Nov 06, 2012 at 02:56:37PM -0800, Marek Vasut wrote: Dear Simon Glass, Hi Marek, On Tue, Nov 6, 2012 at 2:49 PM, Marek Vasut ma...@denx.de wrote: Dear Allen Martin, Check for scancodes for arrow keys and map them to ^F/^B, ^N/^P. Control characters are used instead

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 device

[U-Boot] [PATCH] tegra: add CONSOLE_MUX support to tegra-kbc

2012-11-01 Thread Allen Martin
-off-by: Allen Martin amar...@nvidia.com --- drivers/input/tegra-kbc.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/input/tegra-kbc.c b/drivers/input/tegra-kbc.c index ab7a9e3..88471d3 100644 --- a/drivers/input/tegra-kbc.c +++ b/drivers/input

[U-Boot] [PATCH] arm720t: add back common.h include

2012-10-29 Thread Allen Martin
Add back common.h header that was removed in previous patch so that CONFIG_TEGRA can be evaluated correctly. Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/cpu/arm720t/interrupts.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/arm720t/interrupts.c b/arch/arm

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-26 Thread Allen Martin
On Fri, Oct 26, 2012 at 03:22:32AM -0700, Marek Vasut wrote: Dear Joe Hershberger, Hi Allen, On Thu, Oct 25, 2012 at 4:19 PM, Allen Martin amar...@nvidia.com wrote: On Thu, Oct 25, 2012 at 02:02:55PM -0700, Simon Glass wrote: Hi, On Thu, Oct 25, 2012 at 12:03 PM, Marek Vasut

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-26 Thread Allen Martin
On Fri, Oct 26, 2012 at 11:39:48AM -0700, Joe Hershberger wrote: Hi Marek, On Fri, Oct 26, 2012 at 5:22 AM, Marek Vasut ma...@denx.de wrote: Dear Joe Hershberger, Hi Allen, On Thu, Oct 25, 2012 at 4:19 PM, Allen Martin amar...@nvidia.com wrote: On Thu, Oct 25, 2012 at 02:02:55PM

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 12:03:47PM -0700, Marek Vasut wrote: Dear Simon Glass, Hi, On Mon, Oct 22, 2012 at 10:23 AM, Allen Martin amar...@nvidia.com wrote: On Sat, Oct 20, 2012 at 01:19:00AM -0700, Marek Vasut wrote: Dear Allen Martin, [...] Hi Marek, the change

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 02:02:55PM -0700, Simon Glass wrote: Hi, On Thu, Oct 25, 2012 at 12:03 PM, Marek Vasut ma...@denx.de wrote: Dear Simon Glass, Hi, On Mon, Oct 22, 2012 at 10:23 AM, Allen Martin amar...@nvidia.com wrote: On Sat, Oct 20, 2012 at 01:19:00AM -0700, Marek Vasut

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 02:27:24PM -0700, Tom Rini wrote: * PGP Signed by an unknown key On 10/25/12 14:19, Allen Martin wrote: On Thu, Oct 25, 2012 at 02:02:55PM -0700, Simon Glass wrote: Hi, On Thu, Oct 25, 2012 at 12:03 PM, Marek Vasut ma...@denx.de wrote: Dear Simon Glass

[U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Allen Martin
Add a new special environment variable serial that allows selection of serial device when CONFIG_SERIAL_MULTI is defined. This replaces the existing calls to serial_assign() from cmd_nvedit.c and iomux.c that were not doing anything. Signed-off-by: Allen Martin amar...@nvidia.com --- common

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 03:46:01PM -0700, Joe Hershberger wrote: Hi Stephen, On Thu, Oct 25, 2012 at 5:43 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 10/25/2012 03:59 PM, Allen Martin wrote: Add a new special environment variable serial that allows selection of serial device when

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 03:47:09PM -0700, Joe Hershberger wrote: Hi Stephen, On Thu, Oct 25, 2012 at 5:45 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 10/25/2012 04:36 PM, Joe Hershberger wrote: Hi Allen, On Thu, Oct 25, 2012 at 4:59 PM, Allen Martin amar...@nvidia.com wrote

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 04:18:11PM -0700, Joe Hershberger wrote: Hi Allen, On Thu, Oct 25, 2012 at 5:53 PM, Allen Martin amar...@nvidia.com wrote: On Thu, Oct 25, 2012 at 03:47:09PM -0700, Joe Hershberger wrote: Hi Stephen, On Thu, Oct 25, 2012 at 5:45 PM, Stephen Warren swar

[U-Boot] [PATCH] serial: remove calls to serial_assign()

2012-10-25 Thread Allen Martin
Remove calls to serial_assign() that are failing now that it returns a proper error code. This calls were not actually doing anything because they passed the name of a stdio_dev when a serial_device name is exptectd. Signed-off-by: Allen Martin amar...@nvidia.com --- common/cmd_nvedit.c |3

Re: [U-Boot] [PATCH v2 1/3] USB: make usb_kbd obey USB DMA alignment requirements

2012-10-24 Thread Allen Martin
On Wed, Oct 24, 2012 at 12:31:40AM -0700, Marek Vasut wrote: Dear Allen Martin, On Tue, Oct 23, 2012 at 03:03:34PM -0700, Marek Vasut wrote: Dear Allen Martin, On Tue, Oct 23, 2012 at 09:51:06AM -0700, Stephen Warren wrote: On 10/22/2012 11:47 PM, Allen Martin wrote

[U-Boot] [PATCH v4 1/3] USB: make usb_kbd obey USB DMA alignment requirements

2012-10-24 Thread Allen Martin
Change usb_kbd driver to obey alignment requirements for USB DMA on the buffer used for data transfer. This is necessary for architectures that enable dcache and enable USB DMA. Signed-off-by: Allen Martin amar...@nvidia.com --- v4: dynamically allocate xfer buffer, add alignment and roundup

[U-Boot] [PATCH v4 3/3] tegra: Enable USB keyboard

2012-10-24 Thread Allen Martin
Enable USB keyboard for seaboard and ventana Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Stephen Warren swar...@nvidia.com Tested-by: Stephen Warren swar...@nvidia.com --- v4: no changes v3: no changes v2: added ventana --- include/configs/seaboard.h |3 +++ include/configs

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

2012-10-24 Thread Allen Martin
Move environment settings for stdin/stdout/stderr to tegra-common-post.h and generate them automaticaly based on input device selection. Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Stephen Warren swar...@nvidia.com Tested-by: Stephen Warren swar...@nvidia.com --- v4: no changes v3

Re: [U-Boot] [PATCH v2 1/3] USB: make usb_kbd obey USB DMA alignment requirements

2012-10-23 Thread Allen Martin
On Tue, Oct 23, 2012 at 12:26:31AM -0700, Marek Vasut wrote: Dear Allen Martin, Change usb_kbd driver to obey alignment requirements for USB DMA on the buffer used for data transfer. This is necessary for architectures that enable dcache and enable USB DMA. Signed-off-by: Allen

Re: [U-Boot] [PATCH v2 1/3] USB: make usb_kbd obey USB DMA alignment requirements

2012-10-23 Thread Allen Martin
On Tue, Oct 23, 2012 at 09:51:06AM -0700, Stephen Warren wrote: On 10/22/2012 11:47 PM, Allen Martin wrote: Change usb_kbd driver to obey alignment requirements for USB DMA on the buffer used for data transfer. This is necessary for architectures that enable dcache and enable USB DMA

[U-Boot] [PATCH v3 1/3] USB: make usb_kbd obey USB DMA alignment requirements

2012-10-23 Thread Allen Martin
Change usb_kbd driver to obey alignment requirements for USB DMA on the buffer used for data transfer. This is necessary for architectures that enable dcache and enable USB DMA. Signed-off-by: Allen Martin amar...@nvidia.com Tested-by: Stephen Warren swar...@nvidia.com --- v3: add comment about

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

2012-10-23 Thread Allen Martin
Move environment settings for stdin/stdout/stderr to tegra-common-post.h and generate them automaticaly based on input device selection. Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Stephen Warren swar...@nvidia.com Tested-by: Stephen Warren swar...@nvidia.com --- v3: no changes v2

[U-Boot] [PATCH v3 3/3] tegra: Enable USB keyboard

2012-10-23 Thread Allen Martin
Enable USB keyboard for seaboard and ventana Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Stephen Warren swar...@nvidia.com Tested-by: Stephen Warren swar...@nvidia.com --- v3: no changes v2: added ventana --- include/configs/seaboard.h |3 +++ include/configs/ventana.h |3

Re: [U-Boot] [PATCH v3 1/3] USB: make usb_kbd obey USB DMA alignment requirements

2012-10-23 Thread Allen Martin
On Tue, Oct 23, 2012 at 02:51:53PM -0700, Stephen Warren wrote: On 10/23/2012 03:37 PM, Allen Martin wrote: Change usb_kbd driver to obey alignment requirements for USB DMA on the buffer used for data transfer. This is necessary for architectures that enable dcache and enable USB DMA

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

2012-10-23 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 device

Re: [U-Boot] [PATCH v2 1/3] USB: make usb_kbd obey USB DMA alignment requirements

2012-10-23 Thread Allen Martin
On Tue, Oct 23, 2012 at 03:03:34PM -0700, Marek Vasut wrote: Dear Allen Martin, On Tue, Oct 23, 2012 at 09:51:06AM -0700, Stephen Warren wrote: On 10/22/2012 11:47 PM, Allen Martin wrote: Change usb_kbd driver to obey alignment requirements for USB DMA on the buffer used for data

Re: [U-Boot] [PATCH v2 1/3] USB: make usb_kbd obey USB DMA alignment requirements

2012-10-23 Thread Allen Martin
On Tue, Oct 23, 2012 at 05:39:50PM -0700, Allen Martin wrote: On Tue, Oct 23, 2012 at 03:03:34PM -0700, Marek Vasut wrote: Dear Allen Martin, On Tue, Oct 23, 2012 at 09:51:06AM -0700, Stephen Warren wrote: On 10/22/2012 11:47 PM, Allen Martin wrote: Change usb_kbd driver to obey

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-22 Thread Allen Martin
On Sat, Oct 20, 2012 at 01:19:00AM -0700, Marek Vasut wrote: Dear Allen Martin, [...] Hi Marek, the change to return value here broke serial output on tegra. What I see is that the serial device name (s-name) is eserial0 as set by serial_ns16550.c, and the name passed in from

Re: [U-Boot] [PATCH V2 4/5] ARM: tegra: select between Seaboard/Ventana at compile time

2012-10-22 Thread Allen Martin
On Mon, Oct 22, 2012 at 09:09:46AM -0700, Stephen Warren wrote: On 10/19/2012 11:54 PM, Allen Martin wrote: On Thu, Oct 18, 2012 at 04:25:58PM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Seaboard and Ventana are very similar boards, and so share the seaboard.c

[U-Boot] [PATCH 1/2] USB: make usb_kbd obey USB DMA alignment requirements

2012-10-22 Thread Allen Martin
Change usb_kbd driver to obey alignment requirements for USB DMA on the buffer used for data transfer. This is necessary for architectures that enable dcache and enable USB DMA. Signed-off-by: Allen Martin amar...@nvidia.com --- common/usb_kbd.c |9 + 1 file changed, 5 insertions

[U-Boot] [PATCH 2/2] tegra: seaboard: Enable USB keyboard

2012-10-22 Thread Allen Martin
Enable USB keyboard for the springbank variant of seaboard Signed-off-by: Allen Martin amar...@nvidia.com --- include/configs/seaboard.h |5 - include/configs/tegra20-common.h |5 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/include/configs/seaboard.h b

Re: [U-Boot] [PATCH 1/2] USB: make usb_kbd obey USB DMA alignment requirements

2012-10-22 Thread Allen Martin
On Mon, Oct 22, 2012 at 02:59:43PM -0700, Stephen Warren wrote: On 10/22/2012 03:39 PM, Allen Martin wrote: Change usb_kbd driver to obey alignment requirements for USB DMA on the buffer used for data transfer. This is necessary for architectures that enable dcache and enable USB DMA

Re: [U-Boot] [PATCH 2/2] tegra: seaboard: Enable USB keyboard

2012-10-22 Thread Allen Martin
On Mon, Oct 22, 2012 at 02:56:44PM -0700, Stephen Warren wrote: On 10/22/2012 03:39 PM, Allen Martin wrote: Enable USB keyboard for the springbank variant of seaboard This sounds nice! diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h #undef TEGRA_DEVICE_SETTINGS

[U-Boot] [PATCH v2 1/3] USB: make usb_kbd obey USB DMA alignment requirements

2012-10-22 Thread Allen Martin
Change usb_kbd driver to obey alignment requirements for USB DMA on the buffer used for data transfer. This is necessary for architectures that enable dcache and enable USB DMA. Signed-off-by: Allen Martin amar...@nvidia.com --- common/usb_kbd.c |8 1 file changed, 4 insertions

[U-Boot] [PATCH v2 3/3] tegra: Enable USB keyboard

2012-10-22 Thread Allen Martin
Enable USB keyboard for seaboard and ventana Signed-off-by: Allen Martin amar...@nvidia.com --- include/configs/seaboard.h |3 +++ include/configs/ventana.h |3 +++ 2 files changed, 6 insertions(+) diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 2cb3ac9

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

2012-10-22 Thread Allen Martin
Move environment settings for stdin/stdout/stderr to tegra-common-post.h and generate them automaticaly based on input device selection. Signed-off-by: Allen Martin amar...@nvidia.com --- include/configs/seaboard.h |5 - include/configs/tegra-common-post.h | 19

[U-Boot] [PATCH 1/2] SPL: make jump_to_image_no_args a weak symbol

2012-10-20 Thread Allen Martin
for the same reason. Signed-off-by: Allen Martin amar...@nvidia.com --- common/spl/spl.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index 0d829c0..f068abd 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -113,13 +113,13 @@ void

[U-Boot] [PATCH 2/2] tegra: move to common SPL framework

2012-10-20 Thread Allen Martin
CPU can be initialized. Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/cpu/arm720t/tegra-common/spl.c | 94 +-- arch/arm/include/asm/arch-tegra20/spl.h | 28 + include/configs/tegra20-common.h|4 ++ 3 files changed, 46 insertions

[U-Boot] [PATCH v2 1/2] SPL: make jump_to_image_no_args a weak symbol

2012-10-20 Thread Allen Martin
for the same reason. Signed-off-by: Allen Martin amar...@nvidia.com --- common/spl/spl.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index 0d829c0..f068abd 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -113,13 +113,13 @@ void

[U-Boot] [PATCH v2 2/2] tegra: move to common SPL framework

2012-10-20 Thread Allen Martin
CPU can be initialized. Signed-off-by: Allen Martin amar...@nvidia.com --- v2: Add back some required headers to avoid compiler warnings --- arch/arm/cpu/arm720t/tegra-common/spl.c | 91 +-- arch/arm/include/asm/arch-tegra20/spl.h | 28 ++ include/configs

[U-Boot] [PATCH] HACK: fix return value of serial_assign to get printfs working again

2012-10-20 Thread Allen Martin
This reverts a recent change to serial_assign() that broke printfs on tegra. I don't think this is the real fix, but I'm just putting this out for others who want to test tegra patches for the other regressions. Signed-off-by: Allen Martin amar...@nvidia.com --- drivers/serial/serial.c |2

[U-Boot] [PATCH] tegra20: initialize variable to avoid compiler warning

2012-10-20 Thread Allen Martin
Initialize this variable to avoid a compiler warning about possible use of uninitialized variable with gcc 4.4.6. Signed-off-by: Allen Martin amar...@nvidia.com --- arch/arm/cpu/tegra20-common/emc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/tegra20

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-19 Thread Allen Martin
On Sat, Oct 06, 2012 at 05:07:03PM -0700, Marek Vasut wrote: Reorder serial_assign() function to get rid of the extra level of indentation. Also, adjust the return value to be -EINVAL instead of positive one to be more consistent. Signed-off-by: Marek Vasut ma...@denx.de Cc: Marek Vasut

Re: [U-Boot] [PATCH V2 1/5] ARM: fix u-boot.lds for -ffunction-sections/-fdata-sections

2012-10-19 Thread Allen Martin
these. Without this change (at least with my gcc-4.5.3 built using crosstool-ng), I see that the sections do end up being included, but __bss_end__ gets set to the same value as __bss_start. Acked-by: Allen Martin amar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- v2

Re: [U-Boot] [PATCH V2 2/5] ARM: enhance u-boot.lds to detect over-sized SPL

2012-10-19 Thread Allen Martin
option (1) was deemed much simpler, and hence implemented. Note that this causes build failures at least for NVIDIA Tegra Seaboard and Ventana. However, these are legitimate; the SPL doesn't fit within the required space, and this does cause runtime issues. Acked-by: Allen Martin amar

Re: [U-Boot] [PATCH V2 3/5] ARM: tegra: derive CONFIG_SPL_MAX_SIZE instead of hard-coding it

2012-10-19 Thread Allen Martin
of manually calculating SPL_MAX_SIZE based on those two TEXT_BASE, which can lead to errors if one TEXT_BASE is changed without updating SPL_MAX_SIZE, simply perform the calculation automatically. Acked-by: Allen Martin amar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- v2

Re: [U-Boot] [PATCH V2 4/5] ARM: tegra: select between Seaboard/Ventana at compile time

2012-10-19 Thread Allen Martin
On Thu, Oct 18, 2012 at 04:25:58PM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Seaboard and Ventana are very similar boards, and so share the seaboard.c board file. The one difference needed so far is detected at run-time by calling machine_is_ventana(). This bloats

Re: [U-Boot] [PATCH V2 5/5] ARM: tegra: don't request GPIO from Seaboard's SPL

2012-10-19 Thread Allen Martin
that does this, and don't actually request the GPIO in the SPL; just program it. This saves ~4.5K from the size of the SPL, mostly BSS due to the large gpio_names[] table that is no longer required. This makes Seaboard's SPL fit within the current max size. Acked-by: Allen Martin amar...@nvidia.com

Re: [U-Boot] [PATCH 67/72] serial: Unconditionally enable CONFIG_SERIAL_MULTI

2012-10-09 Thread Allen Martin
On Tue, Oct 09, 2012 at 03:15:40PM -0700, Stephen Warren wrote: On 10/09/2012 04:13 PM, Tom Rini wrote: On 10/09/12 15:09, Stephen Warren wrote: On 10/09/2012 03:38 PM, Tom Rini wrote: On Tue, Oct 09, 2012 at 02:33:51PM -0600, Stephen Warren wrote: On 09/29/2012 03:53 PM, Marek Vasut

Re: [U-Boot] [PATCH v3 1/9] tools, config.mk: add binutils-version

2012-09-04 Thread Allen Martin
On Sun, Sep 02, 2012 at 08:05:11AM -0700, Wolfgang Denk wrote: Dear Allen Martin, In message 1345066741-19613-2-git-send-email-amar...@nvidia.com you wrote: Modeled after gcc-version, add function to get binutils version. Signed-off-by: Allen Martin amar...@nvidia.com --- config.mk

[U-Boot] [PATCH v11 07/16] MAKEALL: update to work with new boards.cfg syntax

2012-08-31 Thread Allen Martin
Update MAKEALL to handle the optional SPL CPU field that was added to boards.cfg. This impacts the cases in MAKEALL that have to match against CPU type (field 3). In these cases use ':' as a field separator to split the u-boot CPU from the SPL CPU. Signed-off-by: Allen Martin amar...@nvidia.com

[U-Boot] [PATCH v11 15/16] spl: fix SPL build of private libgcc

2012-08-31 Thread Allen Martin
This fixes the SPL build to link with the SPL version of libgcc if USE_PRIVATE_LIBGCC is set to yes. Previously it was linking with the libgcc from the normal u-boot build because it gets set in PLATFORM_LIBS and passed down the to the SPL build. Signed-off-by: Allen Martin amar...@nvidia.com

[U-Boot] [PATCH v11 03/16] tegra20: rename CONFIG_MACH_TEGRA_GENERIC

2012-08-31 Thread Allen Martin
Rename CONFIG_MACH_TEGRA_GENERIC to the less confusing CONFIG_TEGRA. The meaning of the config options is now: CONFIG_TEGRA - Any tegra chip CONFIG_TEGRA20 - A tegra20 family chip CONFIG_TEGRA30 - A tegra30 family chip (not added yet) Signed-off-by: Allen Martin amar...@nvidia.com Acked

[U-Boot] [PATCH v11 12/16] tegra20: move SDRAM param save to later in boot

2012-08-31 Thread Allen Martin
Move warmboot_save_sdram_params() to later in the boot sequence. This code relies on devicetree to get the address of the memory controller and with upcoming changes for SPL boot it gets called early in the boot process when devicetree is not initialized yet. Signed-off-by: Allen Martin amar

[U-Boot] [PATCH v11 09/16] tegra20: remove timer_init from SPL build

2012-08-31 Thread Allen Martin
Don't use timer_init from tegra board.c. This comes out of arm720t for the SPL build. Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Stephen Warren swar...@wwwdotorg.org Tested-by: Thierry Reding thierry.red...@avionic-design.de Signed-off-by: Tom Warren twar...@nvidia.com --- board

[U-Boot] [PATCH v11 05/16] tegra20: make board mkdir commands unconditional

2012-08-31 Thread Allen Martin
Change the mkdir commands for the object directories to be unconditional. This fixes an issue when building for SPL where SRCTREE and OBJTREE are the same, but $(obj) is under SPLTREE. Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Stephen Warren swar...@wwwdotorg.org Tested

[U-Boot] [PATCH v11 11/16] tegra20: add u-boot-*-tegra.bin targets

2012-08-31 Thread Allen Martin
Add target for tegra20 u-boot image. This is a concatenation of tegra spl and normal u-boot binaries. For non-devicetree builds this is named u-boot-nodtb-tegra.bin for devicetree builds is named u-boot-dtb-tegra.bin. Signed-off-by: Allen Martin amar...@nvidia.com Acked-by: Stephen Warren swar

<    1   2   3   4   5   6   >