[U-Boot] [PATCH v3] ARM: tegra: Add support for norrin board

2014-08-04 Thread Allen Martin
Norrin (PM370) is a Tegra124 clamshell board that is very similar to venice2, but it has a different panel, the sdcard cd and wp sense are flipped, and it has a different revision of the AS3722 PMIC. This board is also refered to as "nyan" in the ChromeOS trees. Signed-off-by: Al

Re: [U-Boot] [PATCH v2] ARM: tegra: Add support for norrin board

2014-08-04 Thread Allen Martin
On Thu, Jul 31, 2014 at 04:21:43PM -0700, Stephen Warren wrote: > On 07/31/2014 05:14 PM, Allen Martin wrote: > > Norrin (PM370) is a Tegra124 clamshell board that is very similar to > > venice2, but it has a different panel, the sdcard cd and wp sense are > > flipped, a

[U-Boot] [PATCH v2] ARM: tegra: Add support for norrin board

2014-07-31 Thread Allen Martin
Norrin (PM370) is a Tegra124 clamshell board that is very similar to venice2, but it has a different panel, the sdcard cd and wp sense are flipped, and it has a different revision of the AS3722 PMIC. This board is also refered to as "nyan" in the ChromeOS trees. Signed-off-by: Al

Re: [U-Boot] [PATCH] ARM: tegra: Add support for norrin board

2014-07-01 Thread Allen Martin
On Mon, Jun 30, 2014 at 02:32:20PM -0700, Stephen Warren wrote: > On 06/30/2014 02:53 PM, Allen Martin wrote: > > Norrin (PM370) is a Tegra124 clamshell board that is very similar to > > venice2, but it has a different panel, the sdcard cd sense is flipped, > > and it has a

[U-Boot] [PATCH] ARM: tegra: Add support for norrin board

2014-06-30 Thread Allen Martin
e ChromeOS trees. Signed-off-by: Allen Martin --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/tegra124-norrin.dts | 91 ++ board/nvidia/venice2/as3722_init.h | 2 +- boards.cfg | 1 + include/configs/venice2.h |

Re: [U-Boot] [PATCH v2 07/13] sf: winbond: add W25Q32DW

2013-05-28 Thread Allen Martin
On Fri, May 24, 2013 at 01:39:51PM -0700, Jagan Teki wrote: > Hi, > > Any update on this. > > Thanks, > Jagan. > > On Thu, May 23, 2013 at 1:15 PM, Jagan Teki wrote: > > Hi Allen, > > > > On Sun, Mar 17, 2013 at 10:28 AM, Allen Martin wrote: > &g

Re: [U-Boot] [PATCH] Tegra: clk: always use find_best_divider() for periph clocks

2013-05-13 Thread Allen Martin
On Mon, May 13, 2013 at 10:24:17AM -0700, Tom Warren wrote: > Allen, > > > -Original Message- > > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > > Sent: Friday, May 10, 2013 8:06 PM > > To: Allen Martin > > Cc: Tom Warren;

Re: [U-Boot] [PATCH] Tegra: clk: always use find_best_divider() for periph clocks

2013-05-13 Thread Allen Martin
On Mon, May 13, 2013 at 10:24:17AM -0700, Tom Warren wrote: > Allen, > > > -Original Message- > > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > > Sent: Friday, May 10, 2013 8:06 PM > > To: Allen Martin > > Cc: Tom Warren;

[U-Boot] [PATCH] Tegra: clk: always use find_best_divider() for periph clocks

2013-05-10 Thread Allen Martin
comes up for commands like "sf" where the user can pass a clock speed on the command line or "sspi" where the clock is hardcoded to 1MHz, but the Tegra114 SPI controller can't go that low. Signed-off-by: Allen Martin --- arch/arm/cpu/tegra-common/clock.c | 10

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-05 Thread Allen Martin
> + crc = htobe32(crc); > memcpy(output, &crc, sizeof(crc)); > +#else > + put_unaligned_be32(crc, output); > +#endif > } > -- > 1.8.1.3 > Tested on Tegra114 Dalmore, verified crc32 comes out as expected now. Reviewed-by: Allen Martin Tested-by: Allen Martin -- nvpublic ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] MAKEALL: Fix case substitution for old bash

2013-03-27 Thread Allen Martin
On Fri, Mar 22, 2013 at 10:37:03AM -0700, York Sun wrote: > Bash ver 3.x doesn't support the parameter expansion with case > substitution. Use tr instead. > > Signed-off-by: York Sun Acked-by: Allen Martin > --- > Removed RFC from subject line. > > MAKEALL |

Re: [U-Boot] [RFC] MAKEALL: Fix case substitution for old bash

2013-03-21 Thread Allen Martin
On Thu, Mar 21, 2013 at 12:58:15PM -0700, York Sun wrote: > Bash ver 3.x doesn't support the parameter expansion with case > substitution. Use tr instead. > > Signed-off-by: York Sun > --- > I am not sure if using 'tr' is a good idea. Any suggestion is welcomed. > > MAKEALL |2 +- > 1 file

[U-Boot] [PATCH v2 07/13] sf: winbond: add W25Q32DW

2013-03-16 Thread Allen Martin
Add support for Winbond W25Q32DW 32Mbit part Signed-off-by: Allen Martin --- drivers/mtd/spi/winbond.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c index 4418302..3560fcb 100644 --- a/drivers/mtd/spi/winbond.c +++ b/drivers

[U-Boot] [PATCH v2 04/13] tegra: spi: pull register structs out of headers

2013-03-16 Thread Allen Martin
Move register structs from headers into .c files and use common name. This is in preparation of making common fdt front end for SPI drivers. Signed-off-by: Allen Martin --- arch/arm/include/asm/arch-tegra20/tegra20_sflash.h | 45 - arch/arm/include/asm/arch-tegra20/tegra20_slink.h

[U-Boot] [PATCH v2 06/13] spi: add common fdt SPI driver interface

2013-03-16 Thread Allen Martin
Add a common interface to fdt based SPI drivers. Each driver is represented by a table entry in fdt_spi_drivers[]. If there are multiple SPI drivers in the table, the first driver to return success from spi_init() will be registered as the SPI driver. Signed-off-by: Allen Martin --- arch/arm

[U-Boot] [PATCH v2 12/13] tegra114: add SPI driver

2013-03-16 Thread Allen Martin
Add driver for tegra114 SPI controller. This controller is not compatible with either the tegra20 or tegra30 controllers, so it requires a new driver. Signed-off-by: Allen Martin --- arch/arm/include/asm/arch-tegra114/tegra114_spi.h | 41 +++ drivers/spi/Makefile

[U-Boot] [PATCH v2 13/13] tegra114: dalmore: config: enable SPI

2013-03-16 Thread Allen Martin
Turn on SPI in dalmore config file Signed-off-by: Allen Martin --- include/configs/dalmore.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/dalmore.h b/include/configs/dalmore.h index b1a6e34..c7deea5 100644 --- a/include/configs/dalmore.h +++ b/include

[U-Boot] [PATCH v2 09/13] tegra114: fdt: add apbdma block

2013-03-16 Thread Allen Martin
Add node for apbdma controller hardware. Signed-off-by: Allen Martin --- arch/arm/dts/tegra114.dtsi | 37 + 1 file changed, 37 insertions(+) diff --git a/arch/arm/dts/tegra114.dtsi b/arch/arm/dts/tegra114.dtsi index dfeac53..92e69f6 100644 --- a/arch/arm

[U-Boot] [PATCH v2 08/13] tegra114: fdt: add compatible string for tegra114 SPI ctrl

2013-03-16 Thread Allen Martin
Add "nvidia,tegra114-spi" to represent t114 SPI controller hardware. Signed-off-by: Allen Martin --- include/fdtdec.h |1 + lib/fdtdec.c |1 + 2 files changed, 2 insertions(+) diff --git a/include/fdtdec.h b/include/fdtdec.h index 2189483..19c9707 100644 --- a/includ

[U-Boot] [PATCH v2 11/13] tegra114: dalmore: fdt: enable dalmore SPI controller

2013-03-16 Thread Allen Martin
Dalmore has a SPI flash part attached to controller 4, so enable controller 4 and set to 25MHz. Signed-off-by: Allen Martin --- board/nvidia/dts/tegra114-dalmore.dts |5 + 1 file changed, 5 insertions(+) diff --git a/board/nvidia/dts/tegra114-dalmore.dts b/board/nvidia/dts/tegra114

[U-Boot] [PATCH v2 01/13] tegra: remove support for UART SPI switch

2013-03-16 Thread Allen Martin
This feature was only used for tegra20 seaboard that had a pinmux conflict on the SPI pins. These boards were never manufactured, so remove this support to clean up SPI driver. Signed-off-by: Allen Martin --- arch/arm/include/asm/arch-tegra/board.h|3 +- .../arm/include/asm

[U-Boot] [PATCH v2 00/13] tegra114 SPI driver

2013-03-16 Thread Allen Martin
, equivalent patch was already upstreamed. Allen Martin (13): tegra: remove support for UART SPI switch tegra: spi: rename tegra SPI drivers tegra: spi: remove non fdt support tegra: spi: pull register structs out of headers tegra20: spi: move fdt probe to spi_init spi: add common fdt

[U-Boot] [PATCH v2 05/13] tegra20: spi: move fdt probe to spi_init

2013-03-16 Thread Allen Martin
Make the tegra20 SPI driver similar to the tegra30 (and soon to be tegra114) SPI drivers in preparation of common fdt SPI driver front end. Signed-off-by: Allen Martin --- drivers/spi/tegra20_sflash.c | 110 +- 1 file changed, 67 insertions(+), 43

[U-Boot] [PATCH v2 02/13] tegra: spi: rename tegra SPI drivers

2013-03-16 Thread Allen Martin
Rename tegra SPI drivers to tegra20_flash and tegra20_slink in preparation for commonization and addition of tegra114_spi. Signed-off-by: Allen Martin --- .../{arch-tegra/tegra_spi.h => arch-tegra20/tegra20_sflash.h}|6 +++--- .../{arch-tegra/tegra_slink.h => arch-t

[U-Boot] [PATCH v2 03/13] tegra: spi: remove non fdt support

2013-03-16 Thread Allen Martin
Remove non fdt support from tegra20 and tegra30 SPI drivers in preparation of new common fdt based SPI driver front end. Signed-off-by: Allen Martin --- drivers/spi/tegra20_sflash.c | 12 drivers/spi/tegra20_slink.c | 29 - 2 files changed, 4

[U-Boot] [PATCH v2 10/13] tegra114: fdt: add SPI blocks

2013-03-16 Thread Allen Martin
Add nodes for t114 SPI controller hardware Signed-off-by: Allen Martin --- arch/arm/dts/tegra114.dtsi | 72 1 file changed, 72 insertions(+) diff --git a/arch/arm/dts/tegra114.dtsi b/arch/arm/dts/tegra114.dtsi index 92e69f6..64e2e083 100644 --- a

Re: [U-Boot] [PATCH 13/14] tegra114: add SPI driver

2013-02-14 Thread Allen Martin
On Thu, Feb 14, 2013 at 06:32:06AM -0800, Simon Glass wrote: > Hi Allen, > > On Wed, Feb 13, 2013 at 2:59 PM, Stephen Warren wrote: > > On 02/12/2013 08:23 PM, Allen Martin wrote: > >> Subject: tegra114: add SPI driver > > > > This really touches the SPI sub-s

Re: [U-Boot] [PATCH 05/14] spi: add common fdt SPI driver interface

2013-02-14 Thread Allen Martin
On Thu, Feb 14, 2013 at 12:21:34PM -0800, Stephen Warren wrote: > On 02/14/2013 01:07 PM, Allen Martin wrote: > > On Wed, Feb 13, 2013 at 02:40:29PM -0800, Stephen Warren wrote: > >> On 02/12/2013 08:23 PM, Allen Martin wrote: > >>> Add a common interface to fdt base

Re: [U-Boot] [PATCH 05/14] spi: add common fdt SPI driver interface

2013-02-14 Thread Allen Martin
On Wed, Feb 13, 2013 at 02:40:29PM -0800, Stephen Warren wrote: > On 02/12/2013 08:23 PM, Allen Martin wrote: > > Add a common interface to fdt based SPI drivers. Each driver is > > represented by a table entry in fdt_spi_drivers[]. If there are > > multiple SPI drivers in

Re: [U-Boot] [PATCH 01/14] tegra: spi: rename tegra SPI drivers

2013-02-14 Thread Allen Martin
On Wed, Feb 13, 2013 at 02:36:10PM -0800, Stephen Warren wrote: > On 02/12/2013 08:23 PM, Allen Martin wrote: > > Rename tegra SPI drivers to tegra20_spi and tegra30_spi in preparation > > for commonization and addition of tegra114_spi. > > > board/nvidia/

Re: [U-Boot] [PATCH 01/14] tegra: spi: rename tegra SPI drivers

2013-02-14 Thread Allen Martin
On Wed, Feb 13, 2013 at 02:30:26PM -0800, Stephen Warren wrote: > On 02/12/2013 08:23 PM, Allen Martin wrote: > > Rename tegra SPI drivers to tegra20_spi and tegra30_spi in preparation > > for commonization and addition of tegra114_spi. > > This isn't logically quite

Re: [U-Boot] [PATCH 03/14] tegra: spi: pull register structs out of headers

2013-02-14 Thread Allen Martin
On Wed, Feb 13, 2013 at 02:32:44PM -0800, Stephen Warren wrote: > On 02/12/2013 08:23 PM, Allen Martin wrote: > > Move register structs from headers into .c files and use common name. > > This is in preparation of making common fdt front end for SPI > > drivers. > > Wh

[U-Boot] [PATCH 01/14] tegra: spi: rename tegra SPI drivers

2013-02-12 Thread Allen Martin
Rename tegra SPI drivers to tegra20_spi and tegra30_spi in preparation for commonization and addition of tegra114_spi. Signed-off-by: Allen Martin --- arch/arm/include/asm/arch-tegra/tegra_slink.h | 84 -- arch/arm/include/asm/arch-tegra/tegra_spi.h | 75 - arch/arm/include

[U-Boot] [PATCH 13/14] tegra114: add SPI driver

2013-02-12 Thread Allen Martin
Add driver for tegra114 SPI controller. This controller is not compatible with either the tegra20 or tegra30 controllers, so it requires a new driver. Signed-off-by: Allen Martin --- arch/arm/include/asm/arch-tegra114/tegra114_spi.h | 91 ++ drivers/spi/Makefile

[U-Boot] [PATCH 06/14] sf: winbond: add W25Q32DW

2013-02-12 Thread Allen Martin
Add support for Winbond W25Q32DW 32Mbit part Signed-off-by: Allen Martin --- drivers/mtd/spi/winbond.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c index f6aab3d..9156957 100644 --- a/drivers/mtd/spi/winbond.c +++ b/drivers

[U-Boot] [PATCH 05/14] spi: add common fdt SPI driver interface

2013-02-12 Thread Allen Martin
Add a common interface to fdt based SPI drivers. Each driver is represented by a table entry in fdt_spi_drivers[]. If there are multiple SPI drivers in the table, the first driver to return success from spi_init() will be registered as the SPI driver. Signed-off-by: Allen Martin --- arch/arm

[U-Boot] [PATCH 03/14] tegra: spi: pull register structs out of headers

2013-02-12 Thread Allen Martin
Move register structs from headers into .c files and use common name. This is in preparation of making common fdt front end for SPI drivers. Signed-off-by: Allen Martin --- arch/arm/include/asm/arch-tegra20/tegra20_spi.h | 13 - arch/arm/include/asm/arch-tegra30/tegra30_spi.h | 18

[U-Boot] [PATCH 10/14] tegra114: fdt: add apbdma block

2013-02-12 Thread Allen Martin
Add node for apbdma controller hardware. Signed-off-by: Allen Martin --- arch/arm/dts/tegra114.dtsi | 37 + 1 file changed, 37 insertions(+) diff --git a/arch/arm/dts/tegra114.dtsi b/arch/arm/dts/tegra114.dtsi index bd969aa..f8b4605 100644 --- a/arch/arm

[U-Boot] [PATCH 09/14] tegra114: fdt: add CAR block

2013-02-12 Thread Allen Martin
Add node for clock and reset controller hardware. Signed-off-by: Allen Martin --- arch/arm/dts/tegra114.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/tegra114.dtsi b/arch/arm/dts/tegra114.dtsi index d06cd12..bd969aa 100644 --- a/arch/arm/dts/tegra114.dtsi +++ b

[U-Boot] [PATCH 04/14] tegra20: spi: move fdt probe to spi_init

2013-02-12 Thread Allen Martin
Make the tegra20 SPI driver similar to the tegra30 (and soon to be tegra114) SPI drivers in preparation of common fdt SPI driver front end. Signed-off-by: Allen Martin --- drivers/spi/tegra20_spi.c | 110 +++-- 1 file changed, 67 insertions(+), 43

[U-Boot] [PATCH 11/14] tegra114: fdt: add SPI blocks

2013-02-12 Thread Allen Martin
Add nodes for t114 SPI controller hardware Signed-off-by: Allen Martin --- arch/arm/dts/tegra114.dtsi | 72 1 file changed, 72 insertions(+) diff --git a/arch/arm/dts/tegra114.dtsi b/arch/arm/dts/tegra114.dtsi index f8b4605..a7bd3ca 100644 --- a

[U-Boot] [PATCH 12/14] tegra114: dalmore: fdt: enable dalmore SPI controller

2013-02-12 Thread Allen Martin
Dalmore has a SPI flash part attached to controller 4, so enable controller 4 and set to 25MHz. Signed-off-by: Allen Martin --- board/nvidia/dts/tegra114-dalmore.dts |5 + 1 file changed, 5 insertions(+) diff --git a/board/nvidia/dts/tegra114-dalmore.dts b/board/nvidia/dts/tegra114

[U-Boot] [PATCH 07/14] tegra114: dalmore: add SPI pinmux config

2013-02-12 Thread Allen Martin
Configure pinmux for SPI4 controller. Signed-off-by: Allen Martin --- board/nvidia/dalmore/pinmux-config-dalmore.h |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/board/nvidia/dalmore/pinmux-config-dalmore.h b/board/nvidia/dalmore/pinmux-config-dalmore.h index

[U-Boot] [PATCH 00/14] tegra114 SPI driver

2013-02-12 Thread Allen Martin
This series pulls fdt functionality from the existing tegra20 and tegra30 SPI drivers into a new common fdt SPI driver front end, then adds a new tegra114 SPI driver as an additional client of the fdt SPI driver. Allen Martin (14): tegra: spi: rename tegra SPI drivers tegra: spi: remove non

[U-Boot] [PATCH 14/14] tegra114: dalmore: config: enable SPI

2013-02-12 Thread Allen Martin
Turn on SPI in dalmore config file Signed-off-by: Allen Martin --- include/configs/dalmore.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/dalmore.h b/include/configs/dalmore.h index ce32c80..e7df60b 100644 --- a/include/configs/dalmore.h +++ b/include

[U-Boot] [PATCH 02/14] tegra: spi: remove non fdt support

2013-02-12 Thread Allen Martin
Remove non fdt support from tegra20 and tegra30 SPI drivers in preparation of new common fdt based SPI driver front end. Signed-off-by: Allen Martin --- drivers/spi/tegra20_spi.c | 12 drivers/spi/tegra30_spi.c | 29 - 2 files changed, 4 insertions

[U-Boot] [PATCH 08/14] tegra114: fdt: add compatible string for tegra114 SPI ctrl

2013-02-12 Thread Allen Martin
Add "nvidia,tegra114-spi" to represent t114 SPI controller hardware. Signed-off-by: Allen Martin --- include/fdtdec.h |1 + lib/fdtdec.c |1 + 2 files changed, 2 insertions(+) diff --git a/include/fdtdec.h b/include/fdtdec.h index 77f244f..1b20f72 100644 --- a/includ

Re: [U-Boot] [PATCH v3 7/7] Tegra114: Add/enable Dalmore build (T114 reference board)

2013-02-01 Thread Allen Martin
On Mon, Jan 28, 2013 at 03:32:13PM -0800, Tom Warren wrote: > This build is stripped down. It boots to the command prompt. > GPIO is the only peripheral supported. Others TBD. > > Signed-off-by: Tom Warren > --- > Changes in v2: > - update all new copyright header dates to 2013 > - use correct ta

Re: [U-Boot] [PATCH v2] arm: fix CONFIG_DELAY_ENVIRONMENT to act like it claims in the README

2013-01-30 Thread Allen Martin
On Wed, Jan 30, 2013 at 04:31:42PM -0800, Tom Rini wrote: > * PGP Signed by an unknown key > > On Wed, Jan 30, 2013 at 03:04:53PM -0800, Allen Martin wrote: > > On Tue, Jan 22, 2013 at 06:12:47AM -0800, Simon Glass wrote: > > > On Tue, Jan 22, 2013 at 2:15 AM, Lucas Stac

Re: [U-Boot] [RFC Patch v6] Consolidate bool type

2013-01-30 Thread Allen Martin
On Wed, Jan 30, 2013 at 03:09:56PM -0800, York Sun wrote: > On 01/30/2013 02:53 PM, Allen Martin wrote: > > On Wed, Jan 30, 2013 at 11:47:57AM -0800, York Sun wrote: > >> On 01/30/2013 11:40 AM, Allen Martin wrote: > >>> On Wed, Jan 30, 2013 at 10:37:30AM -0800, Y

Re: [U-Boot] [PATCH v2] arm: fix CONFIG_DELAY_ENVIRONMENT to act like it claims in the README

2013-01-30 Thread Allen Martin
On Tue, Jan 22, 2013 at 06:12:47AM -0800, Simon Glass wrote: > On Tue, Jan 22, 2013 at 2:15 AM, Lucas Stach wrote: > > No one expects to end up in a delayed environment if > > CONFIG_DELAY_ENVIRONMENT isn't defined. > > > > Signed-off-by: Lucas Stach > > Good with me, and solves the immediate pr

Re: [U-Boot] [RFC Patch v6] Consolidate bool type

2013-01-30 Thread Allen Martin
On Wed, Jan 30, 2013 at 11:47:57AM -0800, York Sun wrote: > On 01/30/2013 11:40 AM, Allen Martin wrote: > > On Wed, Jan 30, 2013 at 10:37:30AM -0800, York Sun wrote: > >> On 01/24/2013 05:00 PM, Allen Martin wrote: > >>> I think you can drop the RFC from your patch at

Re: [U-Boot] [RFC Patch v6] Consolidate bool type

2013-01-30 Thread Allen Martin
On Wed, Jan 30, 2013 at 10:37:30AM -0800, York Sun wrote: > On 01/24/2013 05:00 PM, Allen Martin wrote: > > I think you can drop the RFC from your patch at this point. > > > > Built on all tegra20 and tegra30 devices with USE_PRIVATE_LIBGCC. > > Tested on seaboard (t

Re: [U-Boot] [PATCH v2] arm: fix CONFIG_DELAY_ENVIRONMENT to act like it claims in the README

2013-01-30 Thread Allen Martin
nment", 1); > #elif defined CONFIG_DELAY_ENVIRONMENT > return 0; > #else > -- > 1.8.0.2 > > ___ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot Tested on tegra20 trimslice A

Re: [U-Boot] CONFIG_DELAY_ENVIRONMENT usage

2013-01-30 Thread Allen Martin
On Tue, Jan 29, 2013 at 10:08:39PM -0800, Lucas Stach wrote: > Hi Allen, > > Am Dienstag, den 29.01.2013, 19:05 -0800 schrieb Allen Martin: > > > The problem I'm seeing is that this regressed environment loading on > > all boards that use fdt, because none

[U-Boot] CONFIG_DELAY_ENVIRONMENT usage

2013-01-29 Thread Allen Martin
Simon, I had a question about your CONFIG_DELAY_ENVIRONMENT patch. In the commit description it says: When CONFIG_DELAY_ENVIRONMENT is defined, it is convenient to have a run-time way of enabling loading of the environment. Add this to the fdt as /config/delay-environment. In the cod

[U-Boot] [PATCH v2] MAKEALL: add support for per architecture toolchains

2013-01-29 Thread Allen Martin
Add support for per architecture CROSS_COMPILE toolchain definitions via CROSS_COMPILE_ARCH where "ARCH" is any of the supported u-boot architectures. This allows building every supported u-boot board in a single pass of MAKEALL. Signed-off-by: Allen Martin Acked-by: Simon Gla

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

2013-01-29 Thread Allen Martin
On Tue, Jan 29, 2013 at 03:51:22PM -0800, Allen Martin wrote: > This series updates the tegra20 SPI driver to add fdt support and adds > a new tegra30 SPI driver. > > Testing was done on trimslice (tegra20) and cardhu (tegra30). > Tom, this series applies cleanly on top of y

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

2013-01-29 Thread Allen Martin
Add tegra30 SPI SLINK nodes to fdt. Signed-off-by: Allen Martin Acked-by: Simon Glass --- arch/arm/dts/tegra30.dtsi | 72 +++ board/nvidia/dts/tegra30-cardhu.dts |5 +++ 2 files changed, 77 insertions(+) diff --git a/arch/arm/dts/tegra30.dtsi b

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

2013-01-29 Thread Allen Martin
OL) to be driven off 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 ---

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

2013-01-29 Thread Allen Martin
new nodes -Moved "max-spi-frequency" out to board dts files -Moved tegra20 SFLASH fdt changes out to separate patch -Added valid flag to slink driver controller structure Allen Martin (7): tegra20: fdt: add SPI SFLASH node tegra: spi: add fdt support to tegra SPI SFLASH driver

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

2013-01-29 Thread Allen Martin
Turn on SPI in cardhu config file Signed-off-by: Allen Martin Acked-by: Simon Glass --- 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

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

2013-01-29 Thread Allen Martin
Add I/O addresses of SPI SLINK controllers 1-6 Signed-off-by: Allen Martin Acked-by: Simon Glass --- 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

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

2013-01-29 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 --- drivers/spi/tegra_spi.c | 45

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

2013-01-29 Thread Allen Martin
SBC1 is SPI controller 1 on tegra30 Signed-off-by: Allen Martin Acked-by: Simon Glass --- 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 ee3c8b1..a93f2c9

[U-Boot] [PATCH v4 1/7] tegra20: fdt: add SPI SFLASH node

2013-01-29 Thread Allen Martin
Add node for tegra20 SPI SFLASH controller to fdt. Signed-off-by: Allen Martin --- arch/arm/dts/tegra20.dtsi| 12 board/compulab/dts/tegra20-trimslice.dts |5 + 2 files changed, 17 insertions(+) diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts

Re: [U-Boot] [PATCH] tegra: fdt: add back missing host1x node

2013-01-28 Thread Allen Martin
> > Have you got the right Tom? This is for the Tegra tree (u-boot-tegra), not > > TI, Tom Warren, not Tom Rini. > > > > My PR *has* been taken into the ARM/master branch, AFAICT, and I never > > release PRs with warnings or errors that aren't already pre-existing in > > other ARM builds (VCMA9

Re: [U-Boot] [PATCH] tegra: fdt: add back missing host1x node

2013-01-25 Thread Allen Martin
On Fri, Jan 25, 2013 at 10:46:47AM -0800, Allen Martin wrote: > Add back host1x node to seaboard dts file. This got dropped during > the tegra fdt sort. > > Signed-off-by: Allen Martin > --- Hi Albert, would it be possible for you to apply this directly to your u-boot-arm reposi

[U-Boot] [PATCH] tegra: fdt: add back missing host1x node

2013-01-25 Thread Allen Martin
Add back host1x node to seaboard dts file. This got dropped during the tegra fdt sort. Signed-off-by: Allen Martin --- board/nvidia/dts/tegra20-seaboard.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/board/nvidia/dts/tegra20-seaboard.dts b/board/nvidia/dts/tegra20

Re: [U-Boot] [RFC Patch v6] Consolidate bool type

2013-01-24 Thread Allen Martin
On Thu, Jan 24, 2013 at 03:12:17PM -0800, York Sun wrote: > 'bool' is defined in random places. This patch consolidates them into a > single header file include/linux/types.h, using stdbool.h introduced in C99. > > All other #define, typedef and enum are removed. They are all consistent with > tru

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

2013-01-24 Thread Allen Martin
. Signed-off-by: Allen Martin Signed-off-by: Tom Warren --- v2: Added back host1x node that got dropped from seaboard by mistake. As an added precaution I verified each file touched by this patch by running it through "sort" before and after the patch and confirmed they are identical minus b

Re: [U-Boot] [RFC Patch v5] Consolidate bool type

2013-01-24 Thread Allen Martin
On Thu, Jan 24, 2013 at 11:13:27AM -0800, York Sun wrote: > On 01/24/2013 11:09 AM, Scott Wood wrote: > > On 01/24/2013 12:47:10 PM, York Sun wrote: > >> diff --git a/tools/patman/checkpatch.py b/tools/patman/checkpatch.py > >> index d831087..28b3240 100644 > >> --- a/tools/patman/checkpatch.py > >

[U-Boot] [PATCH] MAKEALL: add support for per architecture toolchains

2013-01-24 Thread Allen Martin
Add support for per architecture CROSS_COMPILE toolchain definitions via CROSS_COMPILE_ARCH where "ARCH" is any of the supported u-boot architectures. This allows building every supported u-boot board in a single pass of MAKEALL. Signed-off-by: Allen Martin --- MAKE

Re: [U-Boot] [Patch v3] Consolidate bool type

2013-01-24 Thread Allen Martin
On Thu, Jan 24, 2013 at 10:23:21AM -0800, York Sun wrote: > On 01/24/2013 10:14 AM, Scott Wood wrote: > >> > > >> > >> I thought I have replaced all #define, enum, typedef. I have left alone > >> those FALSE, False, false but add define like this > >> > >> +#include > >> +#define TRUE true > >> +#

Re: [U-Boot] [Patch v3] Consolidate bool type

2013-01-24 Thread Allen Martin
On Thu, Jan 24, 2013 at 10:14:37AM -0800, Scott Wood wrote: > On 01/24/2013 12:03:49 PM, York Sun wrote: > > On 01/24/2013 09:54 AM, York Sun wrote: > > > On 01/24/2013 09:34 AM, Allen Martin wrote: > > >> On Wed, Jan 23, 2013 at 02:05:26PM -0800, York Sun wrote:

Re: [U-Boot] [Patch v3] Consolidate bool type

2013-01-24 Thread Allen Martin
On Wed, Jan 23, 2013 at 02:05:26PM -0800, York Sun wrote: > On 01/23/2013 02:02 PM, Scott Wood wrote: > > On 01/23/2013 04:01:49 PM, York Sun wrote: > >> On 01/23/2013 01:52 PM, Scott Wood wrote: > >> > On 01/23/2013 03:46:04 PM, York Sun wrote: > >> >> On 01/23/2013 01:41 PM, York Sun wrote: > >>

Re: [U-Boot] [Patch v3] Consolidate bool type

2013-01-23 Thread Allen Martin
On Wed, Jan 23, 2013 at 02:05:26PM -0800, York Sun wrote: > On 01/23/2013 02:02 PM, Scott Wood wrote: > > On 01/23/2013 04:01:49 PM, York Sun wrote: > >> On 01/23/2013 01:52 PM, Scott Wood wrote: > >> > On 01/23/2013 03:46:04 PM, York Sun wrote: > >> >> On 01/23/2013 01:41 PM, York Sun wrote: > >>

Re: [U-Boot] [PATCH v3] sandbox: fix compiler warning

2013-01-23 Thread Allen Martin
On Tue, Jan 22, 2013 at 10:46:03PM -0800, Albert ARIBAUD wrote: > Hi Allen, > > On Tue, 22 Jan 2013 15:11:21 -0800, Allen Martin > wrote: > > > Add back return statement to fix compiler warning about control flow > > reaching end of non void functi

Re: [U-Boot] [PATCH] tegra: pinmux: fix FUNCMUX_NDFLASH_KBC_8_BIT

2013-01-22 Thread Allen Martin
On Tue, Jan 22, 2013 at 02:27:30PM -0800, Lucas Stach wrote: > Am Dienstag, den 22.01.2013, 09:24 -0700 schrieb Stephen Warren: > > On 01/21/2013 05:20 PM, Lucas Stach wrote: > > > Even the 8bit case needs KBCB configured, as pin D7 is located in this > > > pingroup. Also pingroup ATC seems to come

[U-Boot] [PATCH v3] sandbox: fix compiler warning

2013-01-22 Thread Allen Martin
Add back return statement to fix compiler warning about control flow reaching end of non void function that was introduced with: e05e5de arm: move C runtime setup code in crt0.S Signed-off-by: Allen Martin Acked-by: Simon Glass --- arch/sandbox/cpu/start.c |3 +++ 1 file changed

Re: [U-Boot] [PATCH] sandbox: fix compiler warning

2013-01-22 Thread Allen Martin
On Tue, Jan 22, 2013 at 02:58:58PM -0800, Simon Glass wrote: > Hi Allen, > > On Tue, Jan 22, 2013 at 2:48 PM, Allen Martin wrote: > > On Tue, Jan 22, 2013 at 01:56:23PM -0800, Simon Glass wrote: > >> On Tue, Jan 22, 2013 at 1:42 PM, Allen Martin wrote: > >> >

[U-Boot] [PATCH v2] sandbox: fix compiler warning

2013-01-22 Thread Allen Martin
Add back return statement to fix compiler warning about control flow reaching end of non void function that was introduced with: fec79ac sandbox: drop unused return Signed-off-by: Allen Martin Acked-by: Simon Glass --- arch/sandbox/cpu/start.c |3 +++ 1 file changed, 3 insertions

Re: [U-Boot] [PATCH] sandbox: fix compiler warning

2013-01-22 Thread Allen Martin
On Tue, Jan 22, 2013 at 01:56:23PM -0800, Simon Glass wrote: > On Tue, Jan 22, 2013 at 1:42 PM, Allen Martin wrote: > > Fix compiler warning about control flow reaching end of non void > > function. > > > > Signed-off-by: Allen Martin > > Should perhaps me

[U-Boot] [PATCH] sandbox: fix compiler warning

2013-01-22 Thread Allen Martin
Fix compiler warning about control flow reaching end of non void function. Signed-off-by: Allen Martin --- arch/sandbox/cpu/start.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c index 7603bf9..5287fd5 100644 --- a/arch/sandbox/cpu

Re: [U-Boot] [Patch v2] Introduce a global bool type

2013-01-18 Thread Allen Martin
On Mon, Jan 07, 2013 at 10:29:28PM -0800, Wolfgang Denk wrote: > Dear York Sun, > > In message <1357602948-16848-1-git-send-email-york...@freescale.com> you > wrote: > > 'bool' is defined in random places. This patch consolidates them into a > > single typedef, using _Bool introduced in C99. > >

Re: [U-Boot] [Patch v2] Introduce a global bool type

2013-01-18 Thread Allen Martin
On Mon, Jan 07, 2013 at 03:55:48PM -0800, York Sun wrote: > 'bool' is defined in random places. This patch consolidates them into a > single typedef, using _Bool introduced in C99. > > Signed-off-by: York Sun > --- > Change since v1: > Move 'false' and 'true' to the common header file. > > Need

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

2013-01-17 Thread Allen Martin
OL) to be driven off 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 ---

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

2013-01-17 Thread Allen Martin
Add I/O addresses of SPI SLINK controllers 1-6 Signed-off-by: Allen Martin Acked-by: Simon Glass --- 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

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

2013-01-17 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 --- drivers/spi/tegra_spi.c | 42 +- include

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

2013-01-17 Thread Allen Martin
Turn on SPI in cardhu config file Signed-off-by: Allen Martin Acked-by: Simon Glass --- 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

[U-Boot] [PATCH v3 1/7] tegra20: fdt: add SPI SFLASH node

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

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

2013-01-17 Thread Allen Martin
valid flag to slink driver controller structure Allen Martin (7): tegra20: fdt: add SPI SFLASH node tegra: spi: add fdt support to tegra SPI SFLASH driver tegra30: add SBC1 to periph id mapping table tegra30: fdt: add SPI SLINK nodes tegra: add addresses of SPI SLINK controllers tegr

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

2013-01-17 Thread Allen Martin
Add tegra30 SPI SLINK nodes to fdt. Signed-off-by: Allen Martin Acked-by: Simon Glass --- 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

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

2013-01-17 Thread Allen Martin
SBC1 is SPI controller 1 on tegra30 Signed-off-by: Allen Martin Acked-by: Simon Glass --- 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] tegra: fdt: sort dts files

2013-01-16 Thread Allen Martin
. Signed-off-by: Allen Martin --- v1: split this out from SPI driver series --- arch/arm/dts/tegra20.dtsi| 377 +++--- board/avionic-design/dts/tegra20-tec.dts | 22 +- board/compal/dts/tegra20-paz00.dts | 22 +- board/nvidia/dts/tegra20-harmony.dts

[U-Boot] [PATCH v2] tegra: fdt: remove clocks nodes

2013-01-16 Thread Allen Martin
These nodes are unused. Signed-off-by: Allen Martin --- v2: remove "clock" as well as "clocks" nodes remove from non nvidia tegra boards as well v1: original submission --- arch/arm/dts/tegra20.dtsi| 10 -- arch/

Re: [U-Boot] [PATCH 2/7] Tegra114: Add AVP (arm720t) files

2013-01-16 Thread Allen Martin
On Wed, Jan 16, 2013 at 01:14:03PM -0800, Tom Warren wrote: > This provides SPL support for T114 boards - AVP early init, plus > CPU (A15) init/jump to main U-Boot. > > Signed-off-by: Tom Warren > --- > arch/arm/cpu/arm720t/tegra-common/cpu.c | 23 ++- > arch/arm/cpu/arm720t/tegra-common/cpu.h

Re: [U-Boot] [PATCH 1/7] Tegra114: Add arch-tegra114 include files

2013-01-16 Thread Allen Martin
On Wed, Jan 16, 2013 at 01:14:02PM -0800, Tom Warren wrote: > Common Tegra files are in arch-tegra, shared between T20/T30/T114. > Tegra114-specific headers are in arch-tegra114. Note that some of > these will be filled in as more T114 support is added (drivers, > WB/LP0 support, etc.). > > Signed

[U-Boot] [PATCH] tegra: fdt: remove clocks nodes

2013-01-15 Thread Allen Martin
These nodes are unused. Signed-off-by: Allen Martin --- arch/arm/dts/tegra20.dtsi| 10 -- arch/arm/dts/tegra30.dtsi| 10 -- board/compulab/dts/tegra20-trimslice.dts |9 - board/nvidia/dts/tegra20-harmony.dts |9

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 wrote: > >> Add driver for tegra SPI "SLINK" style driver. This controller is

  1   2   3   4   5   6   >