If CONSOLE_MUX is enabled, reevaluate console stdin when USB keyboard
device is detected.
Signed-off-by: Allen Martin amar...@nvidia.com
---
common/usb_kbd.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/common/usb_kbd.c b/common/usb_kbd.c
index e94bb7e..577a1eb
This moves keyboard polling logic from USB HCD drivers into USB
keyboard driver. Remove usb_event_poll() as keyboard polling was
the only user of this API. With this patch USB keyboard works with
EHCI controllers again. Tested on a tegra2 seaboard.
Signed-off-by: Allen Martin amar
If CONSOLE_MUX is enabled, reevaluate console stdin when USB keyboard
device is detected.
Signed-off-by: Allen Martin amar...@nvidia.com
ping, anyone have any comments/feedback?
-Allen
nvpublic
___
U-Boot mailing list
U-Boot@lists.denx.de
http
If CONSOLE_MUX is enabled, reevaluate console stdin when USB keyboard
device is detected.
Signed-off-by: Allen Martin amar...@nvidia.com
ping, anyone have any comments/feedback?
Hi, anyone want to give this patch some love so USB keyboard can work on EHCI
again?
-Allen
nvpublic
This moves keyboard polling logic from USB HCD drivers into USB
keyboard driver. Remove usb_event_poll() as keyboard polling was
the only user of this API. With this patch USB keyboard works with
EHCI controllers again. Tested on a tegra2 seaboard.
Signed-off-by: Allen Martin amar
.
This 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 amar...@nvidia.com
---
arch/arm/cpu/tegra-common/clock.c | 10 +-
1 file
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; Stephen Warren; U-Boot Mailing List
Subject: Re
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; Stephen Warren; U-Boot Mailing List
Subject: Re
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 jagannadh.t...@gmail.com wrote:
Hi Allen,
On Sun, Mar 17, 2013 at 10:28 AM, Allen Martin amar...@nvidia.com wrote:
Add support
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 this point.
Built on all tegra20
On Tue, Jan 22, 2013 at 06:12:47AM -0800, Simon Glass wrote:
On Tue, Jan 22, 2013 at 2:15 AM, Lucas Stach d...@lynxeye.de wrote:
No one expects to end up in a delayed environment if
CONFIG_DELAY_ENVIRONMENT isn't defined.
Signed-off-by: Lucas Stach d...@lynxeye.de
Good with me, and
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, York Sun wrote:
On 01/24/2013 05:00 PM
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 Stach d...@lynxeye.de wrote
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 twar...@nvidia.com
---
Changes in v2:
- update all new copyright header dates to 2013
- use
Add nvidia,tegra114-spi to represent t114 SPI controller hardware.
Signed-off-by: Allen Martin amar...@nvidia.com
---
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
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 amar...@nvidia.com
---
drivers/spi/tegra20_spi.c | 12
drivers/spi/tegra30_spi.c | 29 -
2 files
Turn on SPI in dalmore config file
Signed-off-by: Allen Martin amar...@nvidia.com
---
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
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
Configure pinmux for SPI4 controller.
Signed-off-by: Allen Martin amar...@nvidia.com
---
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 has a SPI flash part attached to controller 4, so enable
controller 4 and set to 25MHz.
Signed-off-by: Allen Martin amar...@nvidia.com
---
board/nvidia/dts/tegra114-dalmore.dts |5 +
1 file changed, 5 insertions(+)
diff --git a/board/nvidia/dts/tegra114-dalmore.dts
b/board
Add nodes for t114 SPI controller hardware
Signed-off-by: Allen Martin amar...@nvidia.com
---
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
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 amar...@nvidia.com
---
drivers/spi/tegra20_spi.c | 110 +++--
1 file changed, 67
Add node for clock and reset controller hardware.
Signed-off-by: Allen Martin amar...@nvidia.com
---
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
Add node for apbdma controller hardware.
Signed-off-by: Allen Martin amar...@nvidia.com
---
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
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 amar...@nvidia.com
---
arch/arm/include/asm/arch-tegra20/tegra20_spi.h | 13 -
arch/arm/include/asm/arch-tegra30
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 amar
Add support for Winbond W25Q32DW 32Mbit part
Signed-off-by: Allen Martin amar...@nvidia.com
---
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
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 amar...@nvidia.com
---
arch/arm/include/asm/arch-tegra114/tegra114_spi.h | 91 ++
drivers/spi/Makefile
Rename tegra SPI drivers to tegra20_spi and tegra30_spi in preparation
for commonization and addition of tegra114_spi.
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/include/asm/arch-tegra/tegra_slink.h | 84 --
arch/arm/include/asm/arch-tegra/tegra_spi.h | 75
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.
Why not move all the register defines
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 right. Both types (sflash, slink
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/common/uart-spi-switch.c |2
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 the table, the first driver
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 based SPI drivers. Each driver
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 swar...@wwwdotorg.org wrote:
On 02/12/2013 08:23 PM, Allen Martin wrote:
Subject: tegra114: add SPI driver
This really touches the SPI sub-system more than Tegra
On Mon, Aug 13, 2012 at 04:44:05PM -0700, Stephen Warren wrote:
On 08/01/2012 02:32 PM, Allen Martin wrote:
Add function required by some thumb switch statements
diff --git a/arch/arm/lib/_thumb1_case_uqi.S
b/arch/arm/lib/_thumb1_case_uqi.S
+ .force_thumb
I believe that line
On Thu, Aug 09, 2012 at 09:01:54AM -0700, Tom Rini wrote:
Hey all,
As Allen Martin noted, on tegra platforms a bug is exposed when using
certain toolchains that currently calls to lowlevel_init must be calls
to another assembly function as the stack is not explicitly setup /
saved and thus
...@ti.com
---
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
On Thu, Aug 09, 2012 at 09:01:56AM -0700, Tom Rini wrote:
Make sure that when we setup the stack before calling s_init() we have
the stack have 8-byte alignment for ABI compliance.
Signed-off-by: Tom Rini tr...@ti.com
---
Tested-by: Allen Martin amar...@nvidia.com
--
nvpublic
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
this patch series and new EMC code
- made u-boot.t2 target work even if CONFIG_OF is disabled
- added back USE_PRIVATE_LIBGCC
Allen Martin (15):
tegra20: rename tegra2 - tegra20
tegra20: move tegra20 SoC code to arch/arm/cpu/tegra20-common
tegra20: rename CONFIG_MACH_TEGRA_GENERIC
tegra20: tec
Add tegra20-common-post.h to be consistent with other tegra20 boards.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Thierry Reding thierry.red...@avionic-design.de
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested-by: Thierry Reding thierry.red...@avionic-design.de
Signed-off
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
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
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
Enable the building of private libgcc for SPL
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
---
arch/arm/lib/Makefile |2 +-
1 file changed
Take a few SPL fixes from armv7 and apply them to arm720t:
-Use dummy exception handlers for SPL build
-Initialize relocation register r9 to 0 for the case of no relocation
-ifdef out interrupt handler code
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar
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
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
---
boards.cfg |5 +
doc/README.SPL | 12
mkconfig | 25
In preparation for splitting out the armv4t code from tegra20, move
the tegra20 SoC code to arch/arm/cpu/tegra20-common. This code will
be compiled armv4t for the arm7tdmi and armv7 for the cortex A9.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
These flags were necessary when building tegra20 as a single binary
that supported ARM7TDMI and Cortex A9. Now that the ARM7TDMI support
is split into a separate SPL, this is no longer necessary.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested
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
except for cache and MMU.
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
---
arch/arm/cpu/arm720t/cpu.c |2 +
arch/arm/cpu
Add SPL options to tegra20 config files and enable SPL build for
tegra20 boards. Also remove redundant code from u-boot that is not
contained in SPL.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested-by: Thierry Reding thierry.red...@avionic
On Wed, Aug 15, 2012 at 01:44:17PM -0700, Allen Martin wrote:
This patch series fixes a long standing problem with the tegra20
u-boot build. Tegra20 contains an ARM7TDMI boot processor and a
Cortex A9 main processor. Prior to this patch series this was
accomplished by #ifdefing out any armv7
Add function required by some thumb switch statements
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/lib/Makefile |1 +
arch/arm/lib/_thumb1_case_uqi.S | 42 +++
2 files changed, 43 insertions(+)
create mode 100644 arch/arm/lib
available from:
git://github.com/arm000/u-boot.git
branch: tegra-thumb-v3
Changes:
v3:
- rebased on top of v8 of SPL series
- added linkage macro patch to _thumb1_case_uqu from Stephen Warren
Allen Martin (9):
tools, config.mk: add binutils-version
arm: work around assembler bug
tegra20
Convert return from relocate_code to a thumb compatible bx
instruction.
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/cpu/arm720t/start.S |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/arm720t/start.S b/arch/arm/cpu/arm720t/start.S
index 2f914e9
://sourceware.org/bugzilla/show_bug.cgi?id=12532
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/config.mk | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/config.mk b/arch/arm/config.mk
index 3f4453a..24b9d7c 100644
--- a/arch/arm/config.mk
+++ b/arch/arm
This inline assembly just converts a function address to a u32.
Replace it with equivalent C code since the assembly was not thumb
compatible.
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/cpu/tegra20-common/warmboot_avp.c |9 +
1 file changed, 1 insertion(+), 8
The linker needs this to understand that the symbol is actually a
function so it will generate correct thumb interworking code.
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/cpu/arm720t/start.S |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/cpu
If CONFIG_SYS_THUMB_BUILD is enabled, use thumb interworking return
instructions from libgcc routines, otherwise use ARM returns.
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/include/asm/assembler.h | 10 ++
arch/arm/lib/_ashldi3.S |3 ++-
arch/arm/lib
arm720t is an armv4t not an armv4. Force some tegra initialization
functions to arm mode because they contain arm only inline assembly.
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/cpu/arm720t/config.mk |2 +-
arch/arm/cpu/arm720t/tegra20/config.mk |7 +++
2
Signed-off-by: Allen Martin amar...@nvidia.com
---
include/configs/tegra20-common.h |1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/tegra20-common.h b/include/configs/tegra20-common.h
index 1c0d235..e6d42b0 100644
--- a/include/configs/tegra20-common.h
+++ b/include/configs
Modeled after gcc-version, add function to get binutils version.
Signed-off-by: Allen Martin amar...@nvidia.com
---
config.mk |1 +
tools/binutils-version.sh | 20
2 files changed, 21 insertions(+)
create mode 100755 tools/binutils-version.sh
diff
On Thu, Aug 09, 2012 at 01:38:19PM -0700, Wolfgang Denk wrote:
Dear Allen Martin,
In message 1334858337-2853-1-git-send-email-amar...@nvidia.com you wrote:
Add support for specifying a differnt CPU for main u-boot and SPL
u-boot builds. This is done by adding an optional SPL CPU after
Add tegra20-common-post.h to be consistent with other tegra20 boards.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Thierry Reding thierry.red...@avionic-design.de
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested-by: Thierry Reding thierry.red...@avionic-design.de
Signed-off
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
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
related to init
sequence changes between this patch series and new EMC code
- made u-boot.t2 target work even if CONFIG_OF is disabled
- added back USE_PRIVATE_LIBGCC
Allen Martin (15):
tegra20: rename tegra2 - tegra20
tegra20: move tegra20 SoC code to arch/arm/cpu/tegra20-common
tegra20
Take a few SPL fixes from armv7 and apply them to arm720t:
-Use dummy exception handlers for SPL build
-Initialize relocation register r9 to 0 for the case of no relocation
-ifdef out interrupt handler code
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar
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
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
except for cache and MMU.
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
---
arch/arm/cpu/arm720t/cpu.c |2 +
arch/arm/cpu
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
Add SPL options to tegra20 config files and enable SPL build for
tegra20 boards. Also remove redundant code from u-boot that is not
contained in SPL.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested-by: Thierry Reding thierry.red...@avionic
In preparation for splitting out the armv4t code from tegra20, move
the tegra20 SoC code to arch/arm/cpu/tegra20-common. This code will
be compiled armv4t for the arm7tdmi and armv7 for the cortex A9.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Enable the building of private libgcc for SPL
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
---
arch/arm/lib/Makefile |2 +-
1 file changed
These flags were necessary when building tegra20 as a single binary
that supported ARM7TDMI and Cortex A9. Now that the ARM7TDMI support
is split into a separate SPL, this is no longer necessary.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested
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
This adds some cleanup to mkconfig related to SPL support. Bash
specific script has been replaced with awk for better shell
compatibility. config.mk generation is done through a subshell and
single redirect to improve readability.
Signed-off-by: Allen Martin amar...@nvidia.com
---
mkconfig
On Thu, Aug 16, 2012 at 04:03:15PM -0700, Zhong Hongbo wrote:
On 08/17/2012 05:04 AM, Allen Martin wrote:
@@ -167,6 +177,7 @@ stack_setup:
adr r0, _start
cmp r0, r6
+ moveq r9, #0 /* no relocation. relocation offset(r9) = 0 */
Hi Allen,
I have already
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
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
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
This adds some cleanup to mkconfig related to SPL support. Bash
specific script has been replaced with awk for better shell
compatibility. config.mk generation is done through a subshell and
single redirect to improve readability.
Signed-off-by: Allen Martin amar...@nvidia.com
Signed-off
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
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
Add tegra20-common-post.h to be consistent with other tegra20 boards.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Thierry Reding thierry.red...@avionic-design.de
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested-by: Thierry Reding thierry.red...@avionic-design.de
Signed-off
In preparation for splitting out the armv4t code from tegra20, move
the tegra20 SoC code to arch/arm/cpu/tegra20-common. This code will
be compiled armv4t for the arm7tdmi and armv7 for the cortex A9.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
to clean
up ifdefs from seabard.h
- rebased to TOT u-boot/master and fixed a bug related to init
sequence changes between this patch series and new EMC code
- made u-boot.t2 target work even if CONFIG_OF is disabled
- added back USE_PRIVATE_LIBGCC
Allen Martin (16):
tegra20: rename tegra2
Enable the building of private libgcc for SPL
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
---
arch/arm/lib/Makefile |2 +-
1 file changed
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
Add SPL options to tegra20 config files and enable SPL build for
tegra20 boards. Also remove redundant code from u-boot that is not
contained in SPL.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested-by: Thierry Reding thierry.red...@avionic
These flags were necessary when building tegra20 as a single binary
that supported ARM7TDMI and Cortex A9. Now that the ARM7TDMI support
is split into a separate SPL, this is no longer necessary.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested
except for cache and MMU.
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
---
arch/arm/cpu/arm720t/cpu.c |2 +
arch/arm/cpu
Take a few SPL fixes from armv7 and apply them to arm720t:
-Use dummy exception handlers for SPL build
-Initialize relocation register r9 to 0 for the case of no relocation
-ifdef out interrupt handler code
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar
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
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
On Wed, Aug 29, 2012 at 09:55:17AM -0700, Tom Warren wrote:
Allen/Albert,
-Original Message-
From: Allen Martin [mailto:amar...@nvidia.com]
Sent: Tuesday, August 28, 2012 5:08 PM
To: Tom Warren; swar...@wwwdotorg.org; s...@chromium.org;
thierry.red...@avionic-design.de; d
1 - 100 of 502 matches
Mail list logo