Re: [U-Boot] [PATCH v6 1/2] Introduce generic TPM support in u-boot

2011-12-06 Thread Wolfgang Denk
Dear Vadim Bendebury, In message <20111017183614.2eae841...@eskimo.mtv.corp.google.com> you wrote: > TPM (Trusted Platform Module) is an integrated circuit and > software platform that provides computer manufacturers with the > core components of a subsystem used to assure authenticity, > integrit

Re: [U-Boot] [RFC PATCH 5/7] reboard: arm: Add processor function library

2011-12-06 Thread Albert ARIBAUD
Hi Simon, Le 22/11/2011 00:57, Simon Glass a écrit : Add a library to hold ARM assembler code which is generic across all ARM CPUs. Signed-off-by: Simon Glass --- arch/arm/lib/Makefile |1 + arch/arm/lib/proc.S | 35 +++ 2 files changed, 36 insertions

Re: [U-Boot] [PATCH 2/2] Fix unused function in cmd_bdinfo.c

2011-12-06 Thread Wolfgang Denk
Dear Simon Glass, In message <1323214637-5543-2-git-send-email-...@chromium.org> you wrote: > It is fine to use __maybe_unused instead of #ifdef, but we also need one > for print_eth() since not all boards have Ethernet. This fixes this > warning: > > cmd_bdinfo.c:39:13: warning: 'print_eth' defi

Re: [U-Boot] [PATCH] Fix SPI build errors in exports.c

2011-12-06 Thread Wolfgang Denk
Dear Simon Glass, In message <1323235892-5274-1-git-send-email-...@chromium.org> you wrote: > The spi.h include is no longer included in exports.h, so must be included > here. > > This fixes these errors: > > In file included from exports.c:41:0: > /home/sjg/trunk/src/third_party/u-boot/files/in

Re: [U-Boot] [PATCH 1/2] Include common.h in qsort.c to fix build warning

2011-12-06 Thread Wolfgang Denk
Dear Simon Glass, In message <1323214637-5543-1-git-send-email-...@chromium.org> you wrote: > exports.h no longer includes common.h, which contains assert(). qsort.c > needs to be updated. This fixes this warning: > > qsort.c: In function 'qsort': > qsort.c:30:3: warning: implicit declaration of

Re: [U-Boot] Change to miiphy_register() creates warnings

2011-12-06 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > In this commit: > > 5c45a22 mii: miiphy register address width change > > the required prototypes for the read and write functions passed to > miiphy_register() were changed. However, from what I can tell the > callers to miiphy_register() did not a

Re: [U-Boot] [RFC PATCH 3/7] reboard: Add generic relocation feature

2011-12-06 Thread Albert ARIBAUD
Le 30/11/2011 03:58, Mike Frysinger a écrit : On Tuesday 29 November 2011 18:49:58 Graeme Russ wrote: On Wed, Nov 30, 2011 at 10:41 AM, Simon Glass wrote: On Tue, Nov 29, 2011 at 3:20 PM, Mike Frysinger wrote: On Tuesday 29 November 2011 17:15:18 Simon Glass wrote: On Mon, Nov 28, 2011 at 7:0

Re: [U-Boot] [PATCH 09/10] Use CMD_RET_usage in i2c

2011-12-06 Thread Heiko Schocher
Hello Simon, Simon Glass wrote: > This small patch converts the I2C command over to using the > CMD_RET_USAGE return value instead of calling cmd_usage() > directly. > > Signed-off-by: Simon Glass > --- > common/cmd_i2c.c | 36 +++- > 1 files changed, 19 insert

Re: [U-Boot] [PATCH 1/2] Include common.h in qsort.c to fix build warning

2011-12-06 Thread Heiko Schocher
Hello Simon, Simon Glass wrote: > exports.h no longer includes common.h, which contains assert(). qsort.c > needs to be updated. This fixes this warning: > > qsort.c: In function 'qsort': > qsort.c:30:3: warning: implicit declaration of function 'assert' > [-Wimplicit-function-declaration] > >

Re: [U-Boot] Change to miiphy_register() creates warnings

2011-12-06 Thread Wolfgang Denk
Dear Mike Frysinger, In message <201112070114.04179.vap...@gentoo.org> you wrote: > > odd, i thought that commit was NAK-ed and people were told to convert to the > newer mii api. maybe this is a good time to do so ... No, nobody had the balls to send a clear NAK. It has been discussed that it

Re: [U-Boot] Change to miiphy_register() creates warnings

2011-12-06 Thread Mike Frysinger
On Wednesday 07 December 2011 00:59:17 Simon Glass wrote: > 5c45a22 mii: miiphy register address width change odd, i thought that commit was NAK-ed and people were told to convert to the newer mii api. maybe this is a good time to do so ... -mike signature.asc Description: This is a digitally

[U-Boot] Change to miiphy_register() creates warnings

2011-12-06 Thread Simon Glass
Hi, In this commit: 5c45a22 mii: miiphy register address width change the required prototypes for the read and write functions passed to miiphy_register() were changed. However, from what I can tell the callers to miiphy_register() did not all get their functions changes. So there are now a lot

[U-Boot] [PATCH 09/10] Use CMD_RET_usage in i2c

2011-12-06 Thread Simon Glass
This small patch converts the I2C command over to using the CMD_RET_USAGE return value instead of calling cmd_usage() directly. Signed-off-by: Simon Glass --- common/cmd_i2c.c | 36 +++- 1 files changed, 19 insertions(+), 17 deletions(-) diff --git a/common/cmd

[U-Boot] [PATCH 06/10] Create a single cmd_call() function to handle command execution

2011-12-06 Thread Simon Glass
We should aim for a single point of entry to the commands, whichever parser is used. Signed-off-by: Simon Glass --- common/command.c | 21 + common/hush.c |9 +++-- common/main.c |3 +-- include/command.h |5 + 4 files changed, 30 insertions(+),

[U-Boot] [PATCH 10/10] Convert cmd_usage() calls in common to use a return value

2011-12-06 Thread Simon Glass
Change all files in common/ to use CMD_RET_USAGE instead of calling cmd_usage() directly. I'm not completely sure about this patch since the code since impact is small (100 byte or so on ARM) and it might need splitting into smaller patches. But for now here it is. Signed-off-by: Simon Glass ---

[U-Boot] [PATCH 04/10] Stop using builtin_run_command()

2011-12-06 Thread Simon Glass
This function is only one of the parser options, so use run_command() instead. It knows how to use hush if selected. Signed-off-by: Simon Glass --- arch/arm/cpu/arm926ejs/kirkwood/cpu.c |7 + board/esd/common/auto_update.c|2 +- board/esd/common/cmd_loadpci.c|2 +-

[U-Boot] [PATCH 07/10] Remove interleave of non-U-Boot code in hush

2011-12-06 Thread Simon Glass
There is a nasty interleave of #ifdefs in hush.c where the two code paths have different indents. Remove this ickiness. Signed-off-by: Simon Glass --- common/hush.c | 24 +++- 1 files changed, 11 insertions(+), 13 deletions(-) diff --git a/common/hush.c b/common/hush.c ind

[U-Boot] [PATCH 01/10] Remove CMD_PXE's static on run_command()

2011-12-06 Thread Simon Glass
It really isn't clear why this is here and there is no comment, so drop it. Cc: Jason Hobbs Signed-off-by: Simon Glass --- common/main.c|3 --- include/common.h |2 -- 2 files changed, 0 insertions(+), 5 deletions(-) diff --git a/common/main.c b/common/main.c index e96c95a..3ebe9f

[U-Boot] [PATCH 08/10] Add cmd_process() to process commands in one place

2011-12-06 Thread Simon Glass
We currently have the same code in hush.c and main.c. This brings the code into one place. As an added feature, if the command function returns CMD_RET_USAGE then U-Boot will print a usage message for the command. ARM code size increases about 32 bytes with this clean-up. Signed-off-by: Simon Gl

[U-Boot] [PATCH 03/10] Rename run_command2() to run_command()

2011-12-06 Thread Simon Glass
This is a more sensible name, so rename it. Signed-off-by: Simon Glass --- common/cmd_pxe.c |2 +- common/main.c| 10 +- include/common.h |2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c index 9426f5b..673ca61 100644

[U-Boot] [PATCH 02/10] Rename run_command() to builtin_run_command()

2011-12-06 Thread Simon Glass
The current run_command() is only one of the options, with hush providing the other. It really shouldn't be called directly in case the hush parser is being used, so rename this function to better explain its purpose. Signed-off-by: Simon Glass --- arch/arm/cpu/arm926ejs/kirkwood/cpu.c |2 +-

[U-Boot] [PATCH 05/10] Don't include standard parser if hush is used

2011-12-06 Thread Simon Glass
This saves about 1KB of code space on ARM with CONFIG_SYS_HUSH_PARSER defined. Signed-off-by: Simon Glass --- common/main.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/common/main.c b/common/main.c index 59b87a1..11027f7 100644 --- a/common/main.c +++ b/common/main.

[U-Boot] [PATCH 0/10] Unified command execution in one place

2011-12-06 Thread Simon Glass
(Sorry for the delay in getting back to this. I think there really is a need for this change. As Mike suggested, I have taken it a little further also) At present two parsers have similar code to execute commands. Also cmd_usage() is called all over the place. This series adds a single function wh

[U-Boot] [PATCH] Fix SPI build errors in exports.c

2011-12-06 Thread Simon Glass
The spi.h include is no longer included in exports.h, so must be included here. This fixes these errors: In file included from exports.c:41:0: /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h: In function 'jumptable_init': /home/sjg/trunk/src/third_party/u-boot/files/include/_expo

Re: [U-Boot] [PATCH 1/2] Include common.h in qsort.c to fix build warning

2011-12-06 Thread Simon Glass
Hi Kumar, On Tue, Dec 6, 2011 at 7:36 PM, Kumar Gala wrote: > > On Dec 6, 2011, at 5:37 PM, Simon Glass wrote: > >> exports.h no longer includes common.h, which contains assert(). qsort.c >> needs to be updated. This fixes this warning: >> >> qsort.c: In function 'qsort': >> qsort.c:30:3: warning

[U-Boot] [GIT PULL] Pull request u-boot-85xx.git

2011-12-06 Thread Kumar Gala
The following changes since commit ea45cb0adcf4baa8f939fea4c848f3e1906f19d9: net: Make sure IPaddr_t is 32 bits in size (2011-12-06 22:15:32 +0100) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master Shaohui Xie (1): p2041rdb: fix serdes clock map boar

Re: [U-Boot] [PATCH v2] Standalone Apps: Standalone apps should need only exports.h.

2011-12-06 Thread Kumar Gala
On Dec 6, 2011, at 1:53 PM, Wolfgang Denk wrote: > Dear Mike Partington, > > In message <1288211469-32443-1-git-send-email-mpart...@lexmark.com> you wrote: >> Modify exports.h to remove its dependencies on other files, thus >> enabling standalone apps to require only exports.h from the U-Boot >>

Re: [U-Boot] [PATCH 1/2] Include common.h in qsort.c to fix build warning

2011-12-06 Thread Kumar Gala
On Dec 6, 2011, at 5:37 PM, Simon Glass wrote: > exports.h no longer includes common.h, which contains assert(). qsort.c > needs to be updated. This fixes this warning: > > qsort.c: In function 'qsort': > qsort.c:30:3: warning: implicit declaration of function 'assert' > [-Wimplicit-function-de

Re: [U-Boot] [RFC PATCH 0/7] reboard: Introduce generic relocation feature

2011-12-06 Thread Graeme Russ
Hi Simon, On Wed, Dec 7, 2011 at 2:25 PM, Simon Glass wrote: > Hi Graeme, > > On Tue, Dec 6, 2011 at 6:56 PM, Graeme Russ wrote: >> Hi Simon >> >> Sorry for the late review on this - I've only just now had a good >> chance to look at it... >> > > Thanks for the comments. > >> On Wed, Dec 7, 2011

Re: [U-Boot] [RFC PATCH 0/7] reboard: Introduce generic relocation feature

2011-12-06 Thread Simon Glass
Hi Graeme, On Tue, Dec 6, 2011 at 6:56 PM, Graeme Russ wrote: > Hi Simon > > Sorry for the late review on this - I've only just now had a good > chance to look at it... > Thanks for the comments. > On Wed, Dec 7, 2011 at 12:56 PM, Simon Glass wrote: >> Hi Tom, >> >> On Mon, Nov 28, 2011 at 3:4

Re: [U-Boot] [STATUS] Getting ready for -rc1

2011-12-06 Thread Macpaul Lin
Hi Mike, 2011/12/6 Wolfgang Denk > Hi all, > > Second, I would like to get ready for the -rc1 pre-release. > I'll wait for the next ARM pull request from Albert, and then I will > push -rc1 out. > > If anybody has any unmerged patches pending that are supposed to go > in, please speak up now. >

Re: [U-Boot] [RFC PATCH 0/7] reboard: Introduce generic relocation feature

2011-12-06 Thread Graeme Russ
Hi Simon Sorry for the late review on this - I've only just now had a good chance to look at it... On Wed, Dec 7, 2011 at 12:56 PM, Simon Glass wrote: > Hi Tom, > > On Mon, Nov 28, 2011 at 3:45 PM, Tom Rini wrote: >> On Mon, Nov 21, 2011 at 4:57 PM, Simon Glass wrote: >>> This is the second pa

Re: [U-Boot] [RFC PATCH 0/7] reboard: Introduce generic relocation feature

2011-12-06 Thread Simon Glass
Hi Tom, On Mon, Nov 28, 2011 at 3:45 PM, Tom Rini wrote: > On Mon, Nov 21, 2011 at 4:57 PM, Simon Glass wrote: >> This is the second patch series aiming to unify the various board.c files >> in each architecture into a single one. This series creates a libboard >> library and implements relocati

Re: [U-Boot] [PATCH v1 3/5] env: unify logic to check and apply changes

2011-12-06 Thread Simon Glass
Hi, On Fri, Nov 18, 2011 at 8:49 AM, Gerlando Falauto wrote: > The logic of checking special parameters (e.g. baudrate, stdin, stdout, > for a valid value and/or whether can be overwritten) and applying the > new value to the running system is now all within a single function > env_check_apply()

Re: [U-Boot] [PATCH v7] USB: Add generic ULPI layer and a viewport

2011-12-06 Thread Simon Glass
Hi Igor, Looks good - a few comments from me. On Mon, Dec 5, 2011 at 1:07 AM, Igor Grinberg wrote: > From: Jana Rapava > > Add partial ULPI specification implementation that should be enough to > interface the ULPI PHYs in the boot loader context. > Add a viewport implementation for Chipidea/AR

[U-Boot] FW: [PATCH v3] AT91: pio: Add PIO3 features

2011-12-06 Thread Xu, Hong
Ping again ... BR, Eric -Original Message- From: Xu, Hong Sent: Tuesday, November 29, 2011 9:55 AM To: 'albert.u.b...@aribaud.net' Cc: 'u-boot@lists.denx.de'; 'w...@denx.de' Subject: FW: [U-Boot] [PATCH v3] AT91: pio: Add PIO3 features Hi Albert, It's seems Reinhard is in hibernate sta

[U-Boot] [PATCH v3 04/16] fdt: Add basic support for decoding GPIO definitions

2011-12-06 Thread Simon Glass
This adds some support into fdtdec for reading GPIO definitions from the fdt. We permit up to FDT_GPIO_MAX GPIOs in the system. Each GPIO is of the form: gpio-function-name = ; where: phandle is a pointer to the GPIO node gpio_num is the number of the GPIO (0 to 223) flags is a flag, as follows:

[U-Boot] [PATCH v3 15/16] tegra: usb: Enable USB on Seaboard

2011-12-06 Thread Simon Glass
Seaboard has a top port which is USB host or device, and a side port which is host only. Signed-off-by: Simon Glass --- Changes in v2: - Remove unneeded CONFIG_TEGRA_USBx defines include/configs/seaboard.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/co

[U-Boot] [PATCH v3 12/16] tegra: usb: Add support for Tegra USB peripheral

2011-12-06 Thread Simon Glass
This adds basic support for the Tegra2 USB controller. Board files should call board_usb_init() to set things up. Configuration is performed through the FDT, with aliases used to set the order of the ports, like this fragment: aliases { /* This defines the order of our USB

[U-Boot] [PATCH v3 14/16] tegra: usb: Add common USB defines for tegra2 boards

2011-12-06 Thread Simon Glass
All Tegra2 boards should include tegra2-common. This adds the required USB config to that file. Signed-off-by: Simon Glass --- include/configs/tegra2-common.h | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/include/configs/tegra2-common.h b/include/configs

[U-Boot] [PATCH v3 10/16] tegra: usb: fdt: Add USB definitions for Tegra2 Seaboard

2011-12-06 Thread Simon Glass
We set up two USB ports, one of which can be host or device. For some reason the kernel version does enable both ports. Signed-off-by: Simon Glass --- Changes in v2: - Use "okay" instead of "ok" for fdt node status - Remove 0x from fdt aliases Changes in v3: - Remove "okay" from nodes since this

[U-Boot] [PATCH v3 13/16] tegra: usb: Add USB support to nvidia boards

2011-12-06 Thread Simon Glass
This adds basic USB support for port 0. The other port is not supported yet. Tegra2 (SeaBoard) # usb start (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 5 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Tegra2 (

[U-Boot] [PATCH v3 16/16] tegra: fdt: Enable FDT support for Seaboard

2011-12-06 Thread Simon Glass
This switches Seaboard over to use FDT for run-time config instead of CONFIG options. USB is the only user at present. Signed-off-by: Simon Glass --- Changes in v3: - Drop Tegra USB alignment patch as we will deal with this another way include/configs/seaboard.h |5 + 1 files changed, 5

[U-Boot] [PATCH v3 07/16] tegra: fdt: Add Tegra2x device tree file from kernel

2011-12-06 Thread Simon Glass
This was taken from commit b48c54e2 at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git config.mk is updated to provide this file to boards through the built-in mechanism: /include/ ARCH_CPU_DTS Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/tegra2/config.mk |2 + arch/arm

[U-Boot] [PATCH v3 06/16] arm: fdt: Add skeleton device tree file from kernel

2011-12-06 Thread Simon Glass
This was taken from commit b48c54e2 at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git Signed-off-by: Simon Glass --- arch/arm/dts/skeleton.dtsi | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 arch/arm/dts/skeleton.dtsi diff --git a/arc

[U-Boot] [PATCH v3 11/16] usb: Add support for txfifo threshold

2011-12-06 Thread Simon Glass
CONFIG_USB_EHCI_TXFIFO_THRESH enables setting of the txfilltuning field in the EHCI controller on reset. Signed-off-by: Simon Glass --- README |3 +++ drivers/usb/host/ehci-hcd.c |7 +++ drivers/usb/host/ehci.h |6 +- 3 files changed, 15 insertions(+

[U-Boot] [PATCH v3 05/16] arm: fdt: Ensure that an embedded fdt is word-aligned

2011-12-06 Thread Simon Glass
By putting the fdt blob into a distinctive area we can ensure that it appears at the start of the data section and is word-aligned. Note: It does not seem to be possible to get objcopy to honour its --section-alignment flag, which would otherwise provide an easier fix for this problem. Signed-off

[U-Boot] [PATCH v3 09/16] tegra: usb: fdt: Add additional device tree definitions for USB ports

2011-12-06 Thread Simon Glass
This adds peripheral IDs to the USB part of the device tree for U-Boot. The peripheral IDs provide easy access to clock registers. We will likely remove this in favor of a full clock tree when it is available in the kernel (but probably still retain the peripheral ID, just move it into a clock nod

[U-Boot] [PATCH v3 08/16] tegra: fdt: Add device tree file for Tegra2 Seaboard from kernel

2011-12-06 Thread Simon Glass
This was taken from commit b48c54e2 at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git Signed-off-by: Simon Glass --- board/nvidia/dts/tegra2-seaboard.dts | 36 ++ 1 files changed, 36 insertions(+), 0 deletions(-) create mode 100644 board/nvidia/

[U-Boot] [PATCH v3 03/16] Add gpio_request() to asm-generic header

2011-12-06 Thread Simon Glass
This function should also be part of the GPIO API, so add it. Signed-off-by: Simon Glass --- include/asm-generic/gpio.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index a1ebb28..c1d697f 100644 --- a/

[U-Boot] [PATCH v3 01/16] fdt: Tidy up a few fdtdec problems

2011-12-06 Thread Simon Glass
This fixes five trivial issues in fdtdec.c: 1. fdtdec_get_is_enabled() doesn't really need a default value 2. The fdt must be word-aligned, since otherwise it will fail on ARM 3. The compat_names[] array is missing its first element. This is needed only because the first fdt_compat_id is defined to

[U-Boot] [PATCH v3 02/16] fdt: Add functions to access phandles, arrays and bools

2011-12-06 Thread Simon Glass
Add a function to look up a property which is a phandle in a node, and another to read a fixed-length integer array from an fdt property. Also add a function to read boolean properties, although there is no actual boolean type in U-Boot. Signed-off-by: Simon Glass --- include/fdtdec.h | 40 ++

[U-Boot] [PATCH v3 0/16] tegra: Add fdt definitions and USB driver

2011-12-06 Thread Simon Glass
This series brings in the kernel fdt file and provides a working USB driver for Tegra2 Seaboard. (I have done this in one series since otherwise most of the fdt additions will just look like dead code.) The driver requires CONFIG_OF_CONTROL and a device tree to operate. Some enhancements to fdtd

Re: [U-Boot] [PATCH v2 04/17] fdt: Add basic support for decoding GPIO definitions

2011-12-06 Thread Simon Glass
Hi Mike, On Mon, Dec 5, 2011 at 7:55 PM, Mike Frysinger wrote: > On Monday 05 December 2011 17:52:01 Simon Glass wrote: >> On Mon, Dec 5, 2011 at 2:22 PM, Stephen Warren wrote: >> > On 12/05/2011 02:56 PM, Simon Glass wrote: >> > * A system-wide GPIO ID, in which case the numbering is "virtual" (

Re: [U-Boot] [ARM] Pending patches for december release?

2011-12-06 Thread Simon Glass
Hi Albert, On Mon, Dec 5, 2011 at 10:05 AM, Albert ARIBAUD wrote: > Hi all, > > As I don't have much time and the december release is coming soon, I would > appreciate that anyone with a patch that they think should go to ARM master > now please send me an e-mail with the link to the patchwork pa

Re: [U-Boot] [STATUS] Getting ready for -rc1

2011-12-06 Thread Simon Glass
Hi Wolfgang, On Tue, Dec 6, 2011 at 3:12 AM, Wolfgang Denk wrote: > Hi all, > > first I would like to thank everybody who helped me to reduce the > backlog of patches and pushed stuff through the u-boot-staging repo: > thanks: Anatolij, Heiko, Marek, Stefan, and Stefano. > > Hm... nobody outside

Re: [U-Boot] [PATCH v6 1/2] Introduce generic TPM support in u-boot

2011-12-06 Thread Simon Glass
Hi Wolfgang, On Mon, Oct 17, 2011 at 11:36 AM, Vadim Bendebury wrote: > TPM (Trusted Platform Module) is an integrated circuit and > software platform that provides computer manufacturers with the > core components of a subsystem used to assure authenticity, > integrity and confidentiality. > > T

Re: [U-Boot] [PATCH v7] Add generic ULPI layer

2011-12-06 Thread Marek Vasut
> Although it is a single patch, I felt that a cover letter will > definetly not hurt here, also the patch version history is so big, so > I decided to move it here. > > The ULPI (UTMI Low Pin (count) Interface) PHYs are widely used on > variety of boards. This requires a generic architecture inde

Re: [U-Boot] [PATCH v7] USB: Add generic ULPI layer and a viewport

2011-12-06 Thread Marek Vasut
> From: Jana Rapava > > Add partial ULPI specification implementation that should be enough to > interface the ULPI PHYs in the boot loader context. > Add a viewport implementation for Chipidea/ARC based controllers. > > Signed-off-by: Jana Rapava > Signed-off-by: Igor Grinberg > Cc: Remy Bohm

Re: [U-Boot] [PATCH V9 3/4] devkit8000/spl: init GPMC for dm9000 in SPL

2011-12-06 Thread Tom Rini
On Tue, Dec 6, 2011 at 11:34 AM, Simon Schwarz wrote: > From: Simon Schwarz > > Linux crashes if the GPMC isn't configured for the dm9000. > > Signed-off-by: Simon Schwarz Since we have a little time before this goes into a 'next' branch, can you please rework this to an enable_gpmc_cs_config()

[U-Boot] [PATCH 1/2] Include common.h in qsort.c to fix build warning

2011-12-06 Thread Simon Glass
exports.h no longer includes common.h, which contains assert(). qsort.c needs to be updated. This fixes this warning: qsort.c: In function 'qsort': qsort.c:30:3: warning: implicit declaration of function 'assert' [-Wimplicit-function-declaration] Signed-off-by: Simon Glass --- lib/qsort.c |

[U-Boot] [PATCH 2/2] Fix unused function in cmd_bdinfo.c

2011-12-06 Thread Simon Glass
It is fine to use __maybe_unused instead of #ifdef, but we also need one for print_eth() since not all boards have Ethernet. This fixes this warning: cmd_bdinfo.c:39:13: warning: 'print_eth' defined but not used [-Wunused-function] Signed-off-by: Simon Glass --- common/cmd_bdinfo.c |1 + 1

[U-Boot] [PATCH v3] Add a CBFS driver and commands to u-boot

2011-12-06 Thread Gabe Black
Coreboot uses a very simple "file system" called CBFS to keep track of and allow access to multiple "files" in a ROM image. This change adds CBFS support and some commands to use it to u-boot. These commands are: cbfsinit - Initialize CBFS support and pull all metadata into RAM. The end of the ROM

Re: [U-Boot] [PATCH v2] Add a CBFS driver and commands to u-boot

2011-12-06 Thread Gabe Black
On Tue, Dec 6, 2011 at 3:01 AM, Wolfgang Denk wrote: > Dear Gabe Black, > > In message <1323134730-18471-1-git-send-email-gabebl...@chromium.org> you > wrote: > > Coreboot uses a very simple "file system" called CBFS to keep track of > and > > allow access to multiple "files" in a ROM image. This

[U-Boot] Pull request: u-boot-arm/master

2011-12-06 Thread Albert ARIBAUD
Hi Wolfgang, The following changes since commit ea45cb0adcf4baa8f939fea4c848f3e1906f19d9: net: Make sure IPaddr_t is 32 bits in size (2011-12-06 22:15:32 +0100) are available in the git repository at: git://git.denx.de/u-boot-arm.git master Ajay Bhargav (1): net: Armada100: Fix compi

[U-Boot] [PATCH] arm: Tegra: fix undefined instruction hang immediately after reset

2011-12-06 Thread Tom Warren
commit 0d479b53 (Aneesh V) added code for OMAP4 that doesn't execute on Tegra, due to the AVP (ARM7TDI) not having a CP15. Result was an undefined instruction hang just after reset. Signed-off-by: Tom Warren Cc: Albert Aribaud Cc: Tom Rini --- arch/arm/cpu/armv7/start.S |2 ++ 1 files chan

Re: [U-Boot] Please pull u-boot-ti/master

2011-12-06 Thread Albert ARIBAUD
Hi Tom, Le 06/12/2011 23:40, Tom Rini a écrit : On Mon, Dec 5, 2011 at 4:52 PM, Tom Rini wrote: Hi Albert, The following changes since commit 3865b6eba83707e1ad134bd42da426fd032948f5: Stefano Babic (1): MX35: flea3: changes due to hardware revision B Update! The following changes

Re: [U-Boot] [PATCH V9 0/4] SPL Linux boot

2011-12-06 Thread Tom Rini
On Tue, Dec 6, 2011 at 11:34 AM, Simon Schwarz wrote: > Adds direct Linux boot to SPL. It implements a spl export command to save > ATAGS or FDT to NAND flash. The kernel image has to be in place for this! After talking with Albert on IRC about this, there's concern about the general impact (esp

Re: [U-Boot] Please pull u-boot-ti/master

2011-12-06 Thread Tom Rini
On Mon, Dec 5, 2011 at 4:52 PM, Tom Rini wrote: > Hi Albert, > > The following changes since commit 3865b6eba83707e1ad134bd42da426fd032948f5: >  Stefano Babic (1): >       MX35: flea3: changes due to hardware revision B Update! The following changes since commit 3865b6eba83707e1ad134bd42da426fd

Re: [U-Boot] [STATUS] Getting ready for -rc1

2011-12-06 Thread Vladimir Zapolskiy
On 07.12.2011 00:15, Albert ARIBAUD wrote: Le 06/12/2011 22:56, Vladimir Zapolskiy a écrit : Surely I don't insist in inclusion of the SoC support into this release, but I have a hope to get it in the next, and the next merge window start is expected to be on the next week or so, if I'm not mis

Re: [U-Boot] [PATCH v5 0/6] Add an SPL to boot the da850evm from SPI

2011-12-06 Thread Tom Rini
On Tue, Dec 6, 2011 at 10:34 AM, Tom Rini wrote: > On Tue, Dec 6, 2011 at 10:32 AM, Christian Riesch > wrote: >> On Tue, Dec 6, 2011 at 6:14 PM, Tom Rini wrote: >>> On 12/06/2011 10:08 AM, Christian Riesch wrote: Hi Tom, On Tue, Dec 6, 2011 at 5:46 PM, Tom Rini wrote: > On Mo

Re: [U-Boot] [STATUS] Getting ready for -rc1

2011-12-06 Thread Albert ARIBAUD
Le 06/12/2011 22:56, Vladimir Zapolskiy a écrit : Surely I don't insist in inclusion of the SoC support into this release, but I have a hope to get it in the next, and the next merge window start is expected to be on the next week or so, if I'm not mistaken. I rebased the changes a couple of ti

Re: [U-Boot] [PATCH] pm9g45: init serial console before relocation

2011-12-06 Thread Anatolij Gustschin
On Thu, 15 Sep 2011 20:19:47 +0300 Asen Chavdarov Dimov wrote: > The early messages can be seen on the debug console. > > Signed-off-by: Asen Chavdarov Dimov > --- > board/ronetix/pm9g45/pm9g45.c | 14 +- > include/configs/pm9g45.h |1 + > 2 files changed, 10 insertions(

Re: [U-Boot] [PATCH] pm9261: init serial console before relocation

2011-12-06 Thread Anatolij Gustschin
On Thu, 15 Sep 2011 20:19:46 +0300 Asen Chavdarov Dimov wrote: > The early messages can be seen on the debug console. > > Signed-off-by: Asen Chavdarov Dimov > --- > board/ronetix/pm9261/pm9261.c | 14 +- > include/configs/pm9261.h |1 + > 2 files changed, 10 insertions(

Re: [U-Boot] [PATCH] pm9263: init serial console before relocation

2011-12-06 Thread Anatolij Gustschin
Hi, On Tue, 13 Sep 2011 15:21:00 +0300 Asen Chavdarov Dimov wrote: > The early messages can be seen on the debug console. > > Signed-off-by: Asen Chavdarov Dimov > --- > board/ronetix/pm9263/pm9263.c | 19 +++ > include/configs/pm9263.h |1 + > 2 files changed, 12 i

[U-Boot] [PATCH v2 0/6] tegra: Enable keyboard with matrix keyboard driver

2011-12-06 Thread Simon Glass
Tegra2 has a built-in a keyboard controller which we can use to scan a matrix keyboard. This series brings in a driver for this and adds support for the QUERTY keyboard on Seaboard as an example. Changes in v2: - Remove status = "okay" since this is the default anyway - Use correct name for get_pr

Re: [U-Boot] [PATCH] x86: Set up the PCI busses when initializing the coreboot "board"

2011-12-06 Thread Graeme Russ
Hi Gabe On Tue, Dec 6, 2011 at 9:12 AM, Gabe Black wrote: > U-boot needs a host controller or "hose" to interact with the PCI busses > behind them. This change installs a host controller during initialization > of the coreboot "board" which implements some of X86's basic PCI semantics. > This rel

[U-Boot] [PATCH v2 6/6] tegra: Enable keyboard for Seaboard

2011-12-06 Thread Simon Glass
This enables the standard keyboard on Seaboard. Signed-off-by: Simon Glass --- include/configs/seaboard.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index a105c88..4d2852e 100644 --- a/include/configs/s

[U-Boot] [PATCH v2 4/6] tegra: Add tegra keyboard support

2011-12-06 Thread Simon Glass
From: Rakesh Iyer Add support for internal matrix keyboard controller for Nvidia Tegra platforms. This driver uses the fdt decode function to obtain its key codes. Support for the Ctrl modifier is provided. The left and right ctrl keys are dealt with in the same way. When the user presses Ctrl+

[U-Boot] [PATCH v2 1/6] tegra: fdt: Add keyboard controller definition

2011-12-06 Thread Simon Glass
From: Anton Staff The Tegra keyboard controller provides a simple interface to a matrix keyboard. Signed-off-by: Simon Glass --- arch/arm/dts/tegra20.dtsi |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20.dtsi index 27

[U-Boot] [PATCH v2 5/6] tegra: Switch on console mux and use environment for console

2011-12-06 Thread Simon Glass
All tegra boards will use these options by default. Signed-off-by: Simon Glass --- include/configs/tegra2-common.h |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h index 6549d00..054695c 100644 ---

[U-Boot] [PATCH v2 2/6] tegra: fdt: Add keyboard definitions for Seaboard

2011-12-06 Thread Simon Glass
From: Anton Staff Seaboard uses a QUERTY keyboard. We add key codes for this to enable key scanning to work. Signed-off-by: Simon Glass --- Changes in v2: - Remove status = "okay" since this is the default anyway board/nvidia/dts/tegra2-seaboard.dts | 70 ++

[U-Boot] [PATCH v2 3/6] fdt: Add fdtdec functions to read byte array

2011-12-06 Thread Simon Glass
From: Anton Staff Sometimes we don't need a full cell for each value. This provides a simple function to read a byte array, both with and without copying it. Signed-off-by: Simon Glass --- Changes in v2: - Use correct name for get_prop_check_min_len() function include/fdtdec.h | 32

Re: [U-Boot] [STATUS] Getting ready for -rc1

2011-12-06 Thread Vladimir Zapolskiy
Hi Albert, thank you for response. On 06.12.2011 23:46, Albert ARIBAUD wrote: Le 06/12/2011 16:17, Wolfgang Denk a écrit : Dear Vladimir, In message<4ede21c1.6010...@mleia.com> (sfid-20111206_140838_823869_D329B307) you wrote: You should not ask me, but the responsible custodian. please

Re: [U-Boot] [STATUS] Getting ready for -rc1

2011-12-06 Thread Albert ARIBAUD
Le 06/12/2011 22:33, Graeme Russ a écrit : Hi Albert, On Wed, Dec 7, 2011 at 8:28 AM, Albert ARIBAUD wrote: Hi Graeme, Le 06/12/2011 12:44, Graeme Russ a écrit : Hi Wolfgang, On 06/12/11 22:12, Wolfgang Denk wrote: Hi all, first I would like to thank everybody who helped me to reduce t

Re: [U-Boot] [STATUS] Getting ready for -rc1

2011-12-06 Thread Wolfgang Denk
Dear Albert, In message <4ede8d2a.6000...@aribaud.net> you wrote: > > (is my old free.fr email address still lingering somewhere?) Sorry - it was in my alias file. Fixed now. > If I am not mistaken, these are not bug fixes, and were submitted after > the merge window was closed. Unless Wolfgan

Re: [U-Boot] [STATUS] Getting ready for -rc1

2011-12-06 Thread Albert ARIBAUD
Le 06/12/2011 16:17, Wolfgang Denk a écrit : Dear Vladimir, In message<4ede21c1.6010...@mleia.com> (sfid-20111206_140838_823869_D329B307) you wrote: You should not ask me, but the responsible custodian. please excuse me, but sometimes I have to ask you, often you're the last resort in get

Re: [U-Boot] [STATUS] Getting ready for -rc1

2011-12-06 Thread Graeme Russ
Hi Albert, On Wed, Dec 7, 2011 at 8:28 AM, Albert ARIBAUD wrote: > Hi Graeme, > > Le 06/12/2011 12:44, Graeme Russ a écrit : > >> Hi Wolfgang, >> >> On 06/12/11 22:12, Wolfgang Denk wrote: >>> >>> Hi all, >>> >>> first I would like to thank everybody who helped me to reduce the >>> backlog of pat

Re: [U-Boot] [STATUS] Getting ready for -rc1

2011-12-06 Thread Albert ARIBAUD
Hi Graeme, Le 06/12/2011 12:44, Graeme Russ a écrit : Hi Wolfgang, On 06/12/11 22:12, Wolfgang Denk wrote: Hi all, first I would like to thank everybody who helped me to reduce the backlog of patches and pushed stuff through the u-boot-staging repo: thanks: Anatolij, Heiko, Marek, Stefan, and

Re: [U-Boot] [STATUS] Getting ready for -rc1

2011-12-06 Thread Graeme Russ
Hi Wolfgang, On Tue, Dec 6, 2011 at 10:44 PM, Graeme Russ wrote: > Hi Wolfgang, > > On 06/12/11 22:12, Wolfgang Denk wrote: >> Hi all, >> >> first I would like to thank everybody who helped me to reduce the >> backlog of patches and pushed stuff through the u-boot-staging repo: >> thanks: Anatoli

Re: [U-Boot] [PATCH 10/14] tegra: usb: Add support for USB peripheral

2011-12-06 Thread Simon Glass
Hi Stephen, On Tue, Dec 6, 2011 at 12:42 PM, Stephen Warren wrote: > On 12/05/2011 06:14 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Dec 5, 2011 at 4:17 PM, Stephen Warren wrote: >>> On 12/05/2011 04:35 PM, Simon Glass wrote: > ... >>> I'd really like to avoid adding stuff to the .dts fi

Re: [U-Boot] [PATCH] fix s3c24x0 timer code

2011-12-06 Thread Albert ARIBAUD
Hi David, Le 29/11/2010 16:33, "David Müller (ELSOFT AG)" a écrit : Hello The attached patch fixes the s3c24x0 timer code to work with the ARM relocation feature. Dave Apparently this old patch never made it into the ARM tree... Can you rebase and resubmit? Amicalement, -- Albert. ___

Re: [U-Boot] [PATCH V2] net: Make sure IPaddr_t is 32 bits in size

2011-12-06 Thread Wolfgang Denk
Dear Matthias Weisser, In message <1322918984-9089-1-git-send-email-weiss...@arcor.de> you wrote: > When building u-boot as 64 bit application (e.g. sandbox) ulong might be > 64 bits in size. This breaks network code as IPaddr_t is 64 bytes in > size then and an IPv4 address is 32 bits in size. Th

Re: [U-Boot] [PATCH] MAKEALL: Add -l option to only list build targets

2011-12-06 Thread Wolfgang Denk
Dear Marek Vasut, In message <1322897523-6663-1-git-send-email-marek.va...@gmail.com> you wrote: > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > --- > MAKEALL | 15 +-- > 1 files changed, 13 insertions(+), 2 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX

Re: [U-Boot] [PATCH] OMAP3: Change devkit8000 maintainer

2011-12-06 Thread Wolfgang Denk
Dear Thomas Weber, In message <1322489937-15643-1-git-send-email-we...@corscience.de> you wrote: > Signed-off-by: Thomas Weber > --- > MAINTAINERS |8 > 1 files changed, 4 insertions(+), 4 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering Gm

Re: [U-Boot] [PATCH] tools/envcrc: fix compile breakage

2011-12-06 Thread Wolfgang Denk
Dear Igor Grinberg, In message <1322467058-30532-1-git-send-email-grinb...@compulab.co.il> you wrote: > When ENV_IS_EMBEDDED is not set, but CONFIG_BUILD_ENVCRC is set, > the environment.h file does not get included resulting in unrecognized > env_t type. > Fix this by moving the include directiv

Re: [U-Boot] [PATCH v2 09/17] tegra: usb: fdt: Add additional device tree definitions for USB ports

2011-12-06 Thread Simon Glass
Hi Stephen, On Tue, Dec 6, 2011 at 12:28 PM, Stephen Warren wrote: > On 12/05/2011 05:55 PM, Simon Glass wrote: >> On Mon, Dec 5, 2011 at 3:25 PM, Stephen Warren wrote: >>> On 12/02/2011 07:11 PM, Simon Glass wrote: This adds peripheral IDs and timing information to the USB part of the

Re: [U-Boot] [PATCH 10/14] tegra: usb: Add support for USB peripheral

2011-12-06 Thread Stephen Warren
On 12/05/2011 06:14 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Dec 5, 2011 at 4:17 PM, Stephen Warren wrote: >> On 12/05/2011 04:35 PM, Simon Glass wrote: ... >> I'd really like to avoid adding stuff to the .dts file when we know we >> going to rip it out again ASAP. I'd prefer to increment

Re: [U-Boot] [PATCH] [PCI] Update pci_ids.h from current Linux sources

2011-12-06 Thread Anatolij Gustschin
On Tue, 8 Nov 2011 01:43:32 -0800 Gabe Black wrote: > This change copies over the pci_ids.h file from Linux verbatim, plus a few > ids that had been added by hand. The last non-merge change hash in that > file in the kernel repository was: > > 8930c8aa740b12ad69f44a35137bcc39bfa3dc41 > > and t

Re: [U-Boot] [PATCH 1/2] Add a "tidy" build option

2011-12-06 Thread Wolfgang Denk
Dear Andy Fleming, In message <1321918844-19597-1-git-send-email-aflem...@freescale.com> you wrote: > It is sometimes desireable to clean up the byproducts of the build > process without removing the executable results. "make clean" is > close, but leaves the build directory with a large number of

  1   2   >