2011/12/26 Dirk Behme dirk.be...@googlemail.com:
From: Eric Nelson eric.nel...@boundarydevices.com
Bits 0 and 1 of CCM_CCGR7 are the usboh3 clock enable bits. Enabling this
clock is necessary for the USB download.
Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com
CC: Jason Hui
env_get_char_spec() function is duplicated across multiple environment
files.
Remove the duplication by providing a default implementation.
Add weak declaration, so the default implementation can be overridden.
Signed-off-by: Igor Grinberg grinb...@compulab.co.il
---
common/env_common.c |7
On 12/26/11 01:34, Marek Vasut wrote:
Several boolean defines have a value assigned.
Remove the value as defining the symbol is enough.
Signed-off-by: Igor Grinberg grinb...@compulab.co.il
I'm fine with this. How did you find it ?
Occasionally...
I told you (at the KS) I'm
On 12/26/11 16:17, Marek Vasut wrote:
On 12/26/11 01:34, Marek Vasut wrote:
Several boolean defines have a value assigned.
Remove the value as defining the symbol is enough.
Signed-off-by: Igor Grinberg grinb...@compulab.co.il
I'm fine with this. How did you find it ?
Occasionally...
I
On 12/26/11 16:17, Marek Vasut wrote:
On 12/26/11 01:34, Marek Vasut wrote:
Several boolean defines have a value assigned.
Remove the value as defining the symbol is enough.
Signed-off-by: Igor Grinberg grinb...@compulab.co.il
I'm fine with this. How did you find it ?
This series brings in an I2C driver for Tegra which can be
configured by a flat device tree.
It supports 8- and 16-bit addresses and both the normal I2C ports and
the DVC port (for controlling the power management unit (PMU)).
Simon Glass (6):
tegra: Rename NV_PA_PMC_BASE to TEGRA2_PMC_BASE
Add support to funcmux for selecting I2C functions and programming
the pinmux appropriately.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/cpu/armv7/tegra2/funcmux.c| 75 +++-
arch/arm/include/asm/arch-tegra2/funcmux.h |3 +
2 files changed, 65
Change this name to fit with the current convention in the Tegra
header file.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/cpu/armv7/tegra2/ap20.c | 10 +-
arch/arm/cpu/armv7/tegra2/board.c |2 +-
arch/arm/include/asm/arch-tegra2/tegra2.h |4 ++--
From: Yen Lin ye...@nvidia.com
Add basic i2c driver for Tegra2 with 8- and 16-bit address support.
The driver supports building both with and without CONFIG_OF_CONTROL.
Without CONFIG_OF_CONTROL a number of CONFIG options must be supplied
in the board config header file:
I2CSPEED_KHZ - speed to
Add U-Boot's peripheral ID and pinmux selection to the Tegra20
device tree file.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/dts/tegra20.dtsi | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20.dtsi
Select the port ordering for I2C on Seaboard.
Signed-off-by: Simon Glass s...@chromium.org
---
board/nvidia/dts/tegra2-seaboard.dts |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/board/nvidia/dts/tegra2-seaboard.dts
b/board/nvidia/dts/tegra2-seaboard.dts
index
This enables I2C on all Nvidia boards including Seaboard and
Harmony.
Signed-off-by: Simon Glass s...@chromium.org
---
board/nvidia/common/board.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c
index
This enables I2C on Seaboard.
Signed-off-by: Simon Glass s...@chromium.org
---
include/configs/seaboard.h |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
index 1dc775a..6e04278 100644
---
(I am resending this rebased so I can continue with this board-unification
work and allow people to review patches. There were some comments on the
v2 series but my questions have been sitting on the list for 2 weeks so it
is probably time for a new series.)
This is the second patch series aiming
We are introducing a new generic relocation features and we want this to
be the default. So we need to opt all architectures out first. Some may
never have relocation, but those that do will eventually move over to
this generic relocation framework.
This is part of the unified board effort, but
Add a library to hold ARM assembler code which is generic across all
ARM CPUs. At first it just holds some basic relocation code. The
plan is to move more start.S code here.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2:
- Invalidate I-cache when we jump to relocated code
Before adding new relocation functions, move this prototype out of
common.h where things are pretty crowded.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/cpu/arm926ejs/davinci/spl.c |1 +
arch/arm/cpu/armv7/omap-common/spl.c |1 +
Add a relocation implementation as the first thing in the generic board
library. This library is needed by SPL also.
We create a separate header file for link symbols defined by the link
scripts. It is helpful to have these all in one place and try to
make them common across architectures. Since
Add a function to process a single ELF relocation and switch ARM over
to use generic relocation.
Unfortunately a few boards need to be modified to make this work
(mostly adding link symbols to the .lds files).
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2:
- Use an inline
Add U-Boot's peripheral ID and pinmux selection to the Tegra20
device tree file.
Isn't this supposed to go to Linux kernel ?
M
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/dts/tegra20.dtsi | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git
Change this name to fit with the current convention in the Tegra
header file.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/cpu/armv7/tegra2/ap20.c | 10 +-
arch/arm/cpu/armv7/tegra2/board.c |2 +-
arch/arm/include/asm/arch-tegra2/tegra2.h |
From: Yen Lin ye...@nvidia.com
Add basic i2c driver for Tegra2 with 8- and 16-bit address support.
The driver supports building both with and without CONFIG_OF_CONTROL.
Without CONFIG_OF_CONTROL a number of CONFIG options must be supplied
in the board config header file:
I2CSPEED_KHZ -
This series adds support for warm boot, allowing the device to suspend
and resume. U-Boot sets up some 'warm boot' code in a special area such
that the SOC can find it on a resume. This code is responsible for
setting up memory and clocked and then allowing the OS to continue
where it left off.
From: Jimmy Zhang jimmzh...@nvidia.com
At cold boot, the default voltage supplied by pmu is not high enough
to support emc to run at its highest clock frequency. The code added
here is to update the default vdd_core and vdd_cpu to higher values.
(Sorry if I have mangled this comment)
We want to include this from board code, so move the header into
an easily-accessible location.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/cpu/armv7/tegra2/ap20.c |2 +-
arch/arm/cpu/armv7/tegra2/board.c |4 ++--
.../tegra2 =
From: Yen Lin ye...@nvidia.com
Save SDRAM parameters into the warmboot scratch registers
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/cpu/armv7/tegra2/ap20.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/arm/cpu/armv7/tegra2/ap20.c
This enables LP0 to support suspend / resume on Seaboard.
Signed-off-by: Simon Glass s...@chromium.org
---
include/configs/seaboard.h |7 +++
include/configs/tegra2-common.h | 17 +
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git
Call the function to put warmboot boot in a suitable place for resume.
Signed-off-by: Simon Glass s...@chromium.org
---
board/nvidia/common/board.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c
index
We want to know which type of chip we are running on - the Tegra
family has several SKUs. This can be determined by reading a
fuse register, so add this function to ap20.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/cpu/armv7/tegra2/ap20.c | 24
From: Yen Lin ye...@nvidia.com
These headers provide access to additional Tegra features.
flow - start/stop CPUs
sdram - parameters for SDRAM
fuse - access to on-chip fuses / security settings
gp_padctl - pad control and general purpose registers
Signed-off-by: Simon Glass s...@chromium.org
---
From: Yen Lin ye...@nvidia.com
Add support for AES using an implementation form Karl Malbrain.
This offers small code size (around 5KB on ARM) and supports 128-bit
AES only.
Signed-off-by: Simon Glass s...@chromium.org
---
include/aes.h | 70 +++
lib/Makefile |1 +
lib/aes.c |
From: Jimmy Zhang jimmzh...@nvidia.com
Set Seaboard and Harmony to optimal memory settings based on the SOC
in use (T20 or T25).
Signed-off-by: Simon Glass s...@chromium.org
---
board/nvidia/common/Makefile |1 +
board/nvidia/common/board.c |4 +
board/nvidia/common/emc.c| 295
Adjust PMU to permit maximum frequency operation.
Signed-off-by: Simon Glass s...@chromium.org
---
board/nvidia/common/board.c | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c
index 63edfdb..10c0a67
From: Jimmy Zhang jimmzh...@nvidia.com
Power supplies must be adjusted in line with clock frequency. This code
provides a simple routine to set the voltage to allow operation at maximum
frequency.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/cpu/armv7/tegra2/Makefile |1 +
From: Jimmy Zhang jimmzh...@nvidia.com
Add support for setting up the memory controller parameters. Boards
can call tegra_set_emc() with a table containing the required
parameters.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/cpu/armv7/tegra2/Makefile|1 +
From: Yen Lin ye...@nvidia.com
Provides an interface to aes.c for the warmboot code.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/cpu/armv7/tegra2/crypto.c | 234
arch/arm/cpu/armv7/tegra2/crypto.h | 36 ++
2 files changed, 270
From: Yen Lin ye...@nvidia.com
Add code to set up the warm boot area in the Tegra CPU ready for a
resume after suspend.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/cpu/armv7/tegra2/Makefile |6 +-
arch/arm/cpu/armv7/tegra2/warmboot.c| 444
Hi,
Following with the issue on
http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/111922
Looks like the 23e9f0723e48615332119de4f4ec7a833a282628 commit was
supposed to fix this, but it doesn't, the problem is still present.
Steve Sakoman's git tree has a different patch:
This series proposes a new way to deal with alias nodes and introduces a
function to take care of it.
It includes an example of converting USB code over to use this new
function.
Note: At present it does not deal automatically with disabled nodes,
but perhaps it should? Or perhaps this is better
Use the new fdtdec_find_aliases() function instead of
fdtdec_next_alias() to locate our USB nodes.
As this example shows, the impact on drivers should be minimal.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/cpu/armv7/tegra2/usb.c | 17 -
1 files changed, 8
Stephen Warren pointed out that we should use nodes whether or not they
have an alias in the /aliases section. The aliases section specifies the
order so far as it can, but is not essential. Operating without alisses
is useful when the enumerated order of nodes does not matter (admittedly
rare in
Hi,
Following with the issue on
http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/111922
Looks like the 23e9f0723e48615332119de4f4ec7a833a282628 commit was
supposed to fix this, but it doesn't, the problem is still present.
Steve Sakoman's git tree has a different patch:
On Mon, Dec 26, 2011 at 4:06 PM, Marek Vasut marek.va...@gmail.com wrote:
Hi,
Following with the issue on
http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/111922
Looks like the 23e9f0723e48615332119de4f4ec7a833a282628 commit was
supposed to fix this, but it doesn't, the problem is
Simon Glass wrote at Monday, December 26, 2011 11:12 AM:
Add U-Boot's peripheral ID and pinmux selection to the Tegra20
device tree file.
diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20.dtsi
...
compatible = nvidia,tegra20-i2c;
reg = 0x7000C000
Hi Stephen,
On Mon, Dec 26, 2011 at 8:35 PM, Stephen Warren swar...@nvidia.com wrote:
Simon Glass wrote at Monday, December 26, 2011 11:12 AM:
Add U-Boot's peripheral ID and pinmux selection to the Tegra20
device tree file.
diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20.dtsi
Hi Andreas,
On Thu, Dec 15, 2011 at 2:02 AM, Andreas Bießmann
andreas.de...@googlemail.com wrote:
Hi all,
I encountered a compile warning in avr32 which lead me to the fact that
every board.c utilizes these three lines:
---8---
#if defined(CONFIG_CMD_NET)
s = getenv(bootfile);
46 matches
Mail list logo