Re: [U-Boot] [PATCH 1/2] arm, arm926ejs: always do cpu critical inits

2011-12-05 Thread Heiko Schocher
Hello Albert, Albert ARIBAUD wrote: > Le 29/11/2011 20:27, Tom Rini a écrit : >> On Wed, Nov 9, 2011 at 11:06 PM, Heiko Schocher wrote: >>> always do the cpu critical inits in cpu_init_crit, >>> and only jump to lowlevel_init, if CONFIG_SKIP_LOWLEVEL_INIT >>> is not defined. >>> >>> Signed-off-by

Re: [U-Boot] [PATCH] x86: Add a default implementation for cleanup_before_linux.

2011-12-05 Thread Gabe Black
On Mon, Dec 5, 2011 at 9:04 PM, Graeme Russ wrote: > Hi Gabe, > > On Tue, Dec 6, 2011 at 12:55 PM, Gabe Black > wrote: > > This function provides an opportunity for some last minute cleanup and > > reconfiguration before control is handed over to Linux. It's possible > this > > may need to do so

Re: [U-Boot] [PATCH 9/9] arch/arm/include/asm/arch-omap5/clocks.h: Fix GCC 4.2 warnings

2011-12-05 Thread R, Sricharan
Hi Tom, I agree on this. This was a bug. My gcc was on version 4.4.4 and did not see any warnings here. Thanks, Sricharan On Mon, Dec 5, 2011 at 8:38 PM, Tom Rini wrote: > On 12/04/2011 06:59 AM, Anatolij Gustschin wrote: > > On Sun, 4 Dec 2011 12:30:40 +0100 > > Marek Vasut wrote: > > >

Re: [U-Boot] [PATCH] x86: Add a pointer to the global data structure to point to the device tree

2011-12-05 Thread Gabe Black
On Mon, Dec 5, 2011 at 9:07 PM, Graeme Russ wrote: > Hi Gabe, > > On Tue, Dec 6, 2011 at 1:04 PM, Gabe Black wrote: > > > > > > On Mon, Dec 5, 2011 at 5:49 PM, Graeme Russ > wrote: > >> > >> Hi Gabe, > >> > >> On Tue, Dec 6, 2011 at 12:43 PM, Gabe Black > >> wrote: > >> > This change adds a po

[U-Boot] [PATCH] ehci: speed up initialization

2011-12-05 Thread Vincent Palatin
According to EHCI specification v1.0, the controller should stabilize the power on a port at most 20 ms after the port power bit transition. So, we put this setting in the virtual descriptor corresponding field, (bPwrOn2PwrGood = 10 => 10 x 2ms = 20ms), this saves about 500ms at each controller ini

Re: [U-Boot] [PATCH] powerpc/p3060qds: Add board related support for P3060QDS platform

2011-12-05 Thread Tabi Timur-B04825
On Tue, Nov 22, 2011 at 2:51 AM, Shengzhou Liu wrote: > > +#ifdef CONFIG_PHYS_64BIT > +       puts("36-bit Addressing\n"); > +#endif We're not doing this any more. The 'bdinfo' command will be updated to display this information instead. Since Kumar already applied this patch, please post a fol

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

2011-12-05 Thread Mike Frysinger
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" (e.g. > > a concatenation of the GPIOs on all the present controllers),

Re: [U-Boot] [PATCH] pxe: get ethaddr from the current device instead of env

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 19:04:33 Rob Herring wrote: > The env variable "ethaddr" may not be set, so get the address from the > eth_device struct instead. This also enables pxe for secondary ethernet > devices. NAK: this won't work either ;). the API contract is that the env is the canonical s

Re: [U-Boot] [PATCH v2 11/17] usb: Add support for data alignment

2011-12-05 Thread Simon Glass
Hi Remy, On Sun, Dec 4, 2011 at 3:13 AM, Remy Bohmer wrote: > Hi, > > 2011/12/3 Simon Glass : >> CONFIG_USB_EHCI_DATA_ALIGN sets the required alignment of data for >> USB packets (e.g. 4 means word-aligned). This is required for Tegra >> to operate. >> >> Signed-off-by: Simon Glass >> --- >> Cha

Re: [U-Boot] [PATCH] phy: Add support PHY of SMSC

2011-12-05 Thread Nobuhiro Iwamatsu
Hi, 2011/12/6 Wolfgang Denk : > Dear Nobuhiro Iwamatsu, > > In message > <1322119455-29628-1-git-send-email-nobuhiro.iwamatsu...@renesas.com> you > wrote: >> This add support PHY of SMSC. >> Following phy can be used by set CONFIG_PHY_SMSC to config. >>  - SMSC LAN8700 >>  - SMSC LAN8710/LAN8720

Re: [U-Boot] [PATCH] sh: ecovec: Add support PHY of SMSC

2011-12-05 Thread Nobuhiro Iwamatsu
Applied, thanks. Nobuhiro 2011/12/2 Nobuhiro Iwamatsu : > Signed-off-by: Nobuhiro Iwamatsu > --- >  include/configs/ecovec.h |    1 + >  1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/include/configs/ecovec.h b/include/configs/ecovec.h > index 2e2a9a7..ee06b67 100644 > --- a/i

Re: [U-Boot] [PATCH] x86: Add a pointer to the global data structure to point to the device tree

2011-12-05 Thread Graeme Russ
Hi Gabe, On Tue, Dec 6, 2011 at 1:04 PM, Gabe Black wrote: > > > On Mon, Dec 5, 2011 at 5:49 PM, Graeme Russ wrote: >> >> Hi Gabe, >> >> On Tue, Dec 6, 2011 at 12:43 PM, Gabe Black >> wrote: >> > This change adds a pointer to the global data structure in x86 to point >> > to >> > the device tre

Re: [U-Boot] [PATCH] x86: Add a default implementation for cleanup_before_linux.

2011-12-05 Thread Graeme Russ
Hi Gabe, On Tue, Dec 6, 2011 at 12:55 PM, Gabe Black wrote: > This function provides an opportunity for some last minute cleanup and > reconfiguration before control is handed over to Linux. It's possible this > may need to do something in the future, but for now it's left empty. It's set > up as

Re: [U-Boot] [PATCH] x86: Add a pointer to the global data structure to point to the device tree

2011-12-05 Thread Gabe Black
On Mon, Dec 5, 2011 at 5:49 PM, Graeme Russ wrote: > Hi Gabe, > > On Tue, Dec 6, 2011 at 12:43 PM, Gabe Black > wrote: > > This change adds a pointer to the global data structure in x86 to point > to > > the device tree. This mirrors an identical pointer in ARM. > > Out of curiosity, is this pav

Re: [U-Boot] [PATCH v2 12/17] usb: Add support for txfifo threshold

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 3:32 PM, Stephen Warren wrote: > On 12/02/2011 07:11 PM, Simon Glass wrote: >> CONFIG_USB_EHCI_TXFIFO_THRESH enables setting of the txfilltuning >> field in the EHCI controller on reset. > >> diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h >> inde

[U-Boot] [PATCH v2] x86: Add a pointer to the global data structure to point to the device tree

2011-12-05 Thread Gabe Black
This change adds a pointer to the global data structure in x86 to point to the device tree. This mirrors an identical pointer in ARM. Signed-off-by: Gabe Black --- Changes in v2: Update the name of the pointer to what ARM is now using. arch/x86/include/asm/global_data.h |1 + 1 files change

[U-Boot] [PATCH] x86: Add a default implementation for cleanup_before_linux.

2011-12-05 Thread Gabe Black
This function provides an opportunity for some last minute cleanup and reconfiguration before control is handed over to Linux. It's possible this may need to do something in the future, but for now it's left empty. It's set up as a weak symbol so it can be overridden if necessary on a case by case

Re: [U-Boot] [PATCH] x86: Add a pointer to the global data structure to point to the device tree

2011-12-05 Thread Graeme Russ
Hi Gabe, On Tue, Dec 6, 2011 at 12:43 PM, Gabe Black wrote: > This change adds a pointer to the global data structure in x86 to point to > the device tree. This mirrors an identical pointer in ARM. Out of curiosity, is this paving the way for FDT support in general? If so, to what extent does th

Re: [U-Boot] [PATCH] x86: Add a pointer to the global data structure to point to the device tree

2011-12-05 Thread Simon Glass
Hi Gabe, On Mon, Dec 5, 2011 at 5:43 PM, Gabe Black wrote: > This change adds a pointer to the global data structure in x86 to point to > the device tree. This mirrors an identical pointer in ARM. > > Signed-off-by: Gabe Black > --- >  arch/x86/include/asm/global_data.h |    1 + >  1 files chang

[U-Boot] [PATCH] x86: Add a pointer to the global data structure to point to the device tree

2011-12-05 Thread Gabe Black
This change adds a pointer to the global data structure in x86 to point to the device tree. This mirrors an identical pointer in ARM. Signed-off-by: Gabe Black --- arch/x86/include/asm/global_data.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/glo

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

2011-12-05 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 10/14] tegra: usb: Add support for USB peripheral

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 4:17 PM, Stephen Warren wrote: > On 12/05/2011 04:35 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Dec 5, 2011 at 2:15 PM, Stephen Warren wrote: >>> On 12/05/2011 02:46 PM, Simon Glass wrote: Hi Stephen, On Mon, Dec 5, 2011 at 1:33 PM, Step

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

2011-12-05 Thread Simon Glass
Hi Stephen, 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 >> device tree for U-Boot. >> >> The peripheral IDs provide easy access to clock registers. We will likely >> re

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

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 3:54 PM, Stephen Warren wrote: > On 12/02/2011 07:57 PM, Simon Glass wrote: >> 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. > >> +const

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

2011-12-05 Thread Stephen Warren
On 12/05/2011 04:35 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Dec 5, 2011 at 2:15 PM, Stephen Warren wrote: >> On 12/05/2011 02:46 PM, Simon Glass wrote: >>> Hi Stephen, >>> >>> On Mon, Dec 5, 2011 at 1:33 PM, Stephen Warren wrote: On 12/02/2011 05:59 PM, Simon Glass wrote: > Hi

[U-Boot] [PATCH] pxe: get ethaddr from the current device instead of env

2011-12-05 Thread Rob Herring
From: Rob Herring The env variable "ethaddr" may not be set, so get the address from the eth_device struct instead. This also enables pxe for secondary ethernet devices. Signed-off-by: Rob Herring --- common/cmd_pxe.c | 31 --- 1 files changed, 12 insertions(+), 1

Re: [U-Boot] [PATCH v2 02/17] fdt: Add functions to access phandles, arrays and bools

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 2:36 PM, Stephen Warren wrote: > On 12/05/2011 03:07 PM, Simon Glass wrote: >> On Mon, Dec 5, 2011 at 1:59 PM, Stephen Warren wrote: >>> On 12/02/2011 07:11 PM, Simon Glass wrote: +int fdtdec_get_bool(const void *blob, int node, const char *prop_name)

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

2011-12-05 Thread Stephen Warren
On 12/02/2011 07:57 PM, Simon Glass wrote: > 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. > +const u8 *fdtdec_locate_byte_array(const void *blob, int node, > +

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

2011-12-05 Thread Tom Rini
Hi Albert, The following changes since commit 3865b6eba83707e1ad134bd42da426fd032948f5: Stefano Babic (1): MX35: flea3: changes due to hardware revision B are available in the git repository at: git://git.denx.de/u-boot-ti.git master Anatolij Gustschin (3): arch/arm/cpu/armv7/omap

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

2011-12-05 Thread Stephen Warren
On 12/02/2011 07:57 PM, Simon Glass wrote: > From: Anton Staff > > Seaboard uses a QUERTY keyboard. We add key codes for this to > enable key scanning to work. > +++ b/board/nvidia/dts/tegra2-seaboard.dts ... > + kbc@7000e200 { > + status = "okay"; That's the default, so this is

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

2011-12-05 Thread Gabe Black
On Mon, Dec 5, 2011 at 2:35 PM, Gabe Black wrote: > > > On Mon, Dec 5, 2011 at 2:25 PM, Wolfgang Denk wrote: > >> Dear Gabe Black, >> >> In message <1322912821-32677-1-git-send-email-gabebl...@chromium.org> >> you wrote: >> > Coreboot uses a very simple "file system" called CBFS to keep track of

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

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 2:15 PM, Stephen Warren wrote: > On 12/05/2011 02:46 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Dec 5, 2011 at 1:33 PM, Stephen Warren wrote: >>> On 12/02/2011 05:59 PM, Simon Glass wrote: Hi Stephen, Here are my comments on the rest of

Re: [U-Boot] [PATCH v2 12/17] usb: Add support for txfifo threshold

2011-12-05 Thread Stephen Warren
On 12/02/2011 07:11 PM, Simon Glass wrote: > CONFIG_USB_EHCI_TXFIFO_THRESH enables setting of the txfilltuning > field in the EHCI controller on reset. > diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h > index 3d0ad0c..cc00ce4 100644 > --- a/drivers/usb/host/ehci.h > +++ b/drivers/u

Re: [U-Boot] [PATCH V3 1/2] ARM: omap3: added common configuration for Technexion TAM3517

2011-12-05 Thread Tom Rini
On Thu, Dec 1, 2011 at 2:56 AM, Stefano Babic wrote: > The TAM3517 is a SOM module that can be used on custom boards. > The patch add a common configuration file that is included > by the boards using this module. > > Signed-off-by: Stefano Babic > CC: Tapani Utrianen > CC: Tom Rini > CC: Sande

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

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 3:03 PM, Stephen Warren wrote: > On 12/05/2011 03:52 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Dec 5, 2011 at 2:22 PM, Stephen Warren wrote: >>> On 12/05/2011 02:56 PM, Simon Glass wrote: Hi Stephen, On Mon, Dec 5, 2011 at 1:46 PM, Step

Re: [U-Boot] [PATCH v2 10/17] tegra: usb: fdt: Add USB definitions for Tegra2 Seaboard

2011-12-05 Thread Stephen Warren
On 12/02/2011 07:11 PM, Simon Glass wrote: > We set up two USB ports, one of which can be host or device. > For some reason the kernel version does enable both ports. > +++ b/board/nvidia/dts/tegra2-seaboard.dts > @@ -11,6 +11,12 @@ > bootargs = "vmalloc=192M video=tegrafb console=t

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

2011-12-05 Thread Stephen Warren
On 12/02/2011 07:11 PM, Simon Glass wrote: > This adds peripheral IDs and timing information 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 > kern

Re: [U-Boot] [PATCH] NAND: Allow nand_scan to be replaced by user

2011-12-05 Thread Marek Vasut
> On 12/05/2011 05:16 PM, Marek Vasut wrote: > > This patch allows user to supply nand_scan() call replacement via the > > usual method. This will be beneficial for PXA3XX NAND driver, which does > > further init of the chip at this stage. > > > > Signed-off-by: Marek Vasut > > Cc: Scott Wood >

Re: [U-Boot] [PATCH] NAND: Allow nand_scan to be replaced by user

2011-12-05 Thread Scott Wood
On 12/05/2011 05:16 PM, Marek Vasut wrote: > This patch allows user to supply nand_scan() call replacement via the usual > method. This will be beneficial for PXA3XX NAND driver, which does further > init > of the chip at this stage. > > Signed-off-by: Marek Vasut > Cc: Scott Wood > --- > driv

[U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2011-12-05 Thread Marek Vasut
This will be beneficial for the PXA3XX NAND driver, which uses the NAND IDs to identify the chip and configure the controller accordingly. Signed-off-by: Marek Vasut Cc: Scott Wood --- drivers/mtd/nand/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/

[U-Boot] [PATCH] NAND: Allow nand_scan to be replaced by user

2011-12-05 Thread Marek Vasut
This patch allows user to supply nand_scan() call replacement via the usual method. This will be beneficial for PXA3XX NAND driver, which does further init of the chip at this stage. Signed-off-by: Marek Vasut Cc: Scott Wood --- drivers/mtd/nand/nand_base.c | 12 +--- include/linux/mt

Re: [U-Boot] [U-Boot, v3, 2/5] da850evm: rename config file to represent OMAP-L138

2011-12-05 Thread Tom Rini
On 01/-10/-28163 12:59 PM, Hadli wrote: > From: Manjunath Hadli > > rename config file da850evm.h as da850_l138evm.h to represent omap > l138 board based on da850 SOC. L138 boards dont have WINBOND SPI > flash, corresponding config is removed. Appropriate changes are made > in boards.cfg for buil

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

2011-12-05 Thread Stephen Warren
On 12/05/2011 03:52 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Dec 5, 2011 at 2:22 PM, Stephen Warren wrote: >> On 12/05/2011 02:56 PM, Simon Glass wrote: >>> Hi Stephen, >>> >>> On Mon, Dec 5, 2011 at 1:46 PM, Stephen Warren wrote: On 12/02/2011 07:11 PM, Simon Glass wrote: > Thi

Re: [U-Boot] [PATCH v2 01/17] fdt: Tidy up a few fdtdec problems

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 2:25 PM, Stephen Warren wrote: > On 12/05/2011 03:18 PM, Scott Wood wrote: >> On 12/05/2011 04:11 PM, Simon Glass wrote: >>> Hi Stephen, >>> >>> On Mon, Dec 5, 2011 at 2:07 PM, Stephen Warren wrote: My point is that there are probably .dts files using "ok"

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

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 2:22 PM, Stephen Warren wrote: > On 12/05/2011 02:56 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Dec 5, 2011 at 1:46 PM, Stephen Warren wrote: >>> On 12/02/2011 07:11 PM, Simon Glass wrote: This adds some support into fdtdec for reading GPIO defini

Re: [U-Boot] [U-Boot, v2, 5/6] da850: add support to read mac address from spi flash

2011-12-05 Thread Tom Rini
On 01/-10/-28163 12:59 PM, Hadli wrote: > From: Manjunath Hadli > > add support to read mac address from spi flash if env variable > is not set. This is supported only on L138 boards based on da850 > SOC. Introduced a macro CONFIG_MAC_ADDR_IN_SPIFLASH indicating > where to look mac address for.

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

2011-12-05 Thread Gabe Black
On Mon, Dec 5, 2011 at 2:25 PM, Wolfgang Denk wrote: > Dear Gabe Black, > > In message <1322912821-32677-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

Re: [U-Boot] [PATCH v2 4/6] x86: Add infrastructure to extract an e820 table from the coreboot tables

2011-12-05 Thread Gabe Black
On Sat, Dec 3, 2011 at 4:52 PM, Graeme Russ wrote: > Hi Gabe, > > Last nit, I promise, and then I'll apply it all to u-boot-x86/next > > > > +/* Implementation defined function to install an e820 map. */ > > +unsigned install_e820_map(unsigned max_entries, struct e820entry *); > > + > > Should be

Re: [U-Boot] undefined reference to `abort'

2011-12-05 Thread Wolfgang Denk
Dear Bill, please don't top post / full quote And always keep the mailing list on Cc: In message you wrote: > > In message > , I > had mentioned that I built test s/w under the u-boot tree. You > responded that I should use a newer u-boot version. Now it appears > that no matter what newer ve

Re: [U-Boot] [PATCH v2 02/17] fdt: Add functions to access phandles, arrays and bools

2011-12-05 Thread Stephen Warren
On 12/05/2011 03:07 PM, Simon Glass wrote: > On Mon, Dec 5, 2011 at 1:59 PM, Stephen Warren wrote: >> On 12/02/2011 07:11 PM, Simon Glass wrote: >>> +int fdtdec_get_bool(const void *blob, int node, const char *prop_name) >>> +{ >>> + const s32 *cell; >>> + int len; >>> + >>> + debug("%

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

2011-12-05 Thread Anatolij Gustschin
Hello Wolfgang, The following changes since commit 7708d8b352e9e595f6f08afd3206af6495c7dc09: Merge branch 'master' of ssh://gemini/home/wd/git/u-boot/master (2011-12-02 00:17:49 +0100) are available in the git repository at: git://git.denx.de/u-boot-video.git master Gabe Black (1):

Re: [U-Boot] Pull request: u-boot-staging

2011-12-05 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <20111205233042.7cdadac4@wker> you wrote: > Hello Wolfgang, > > The following changes since commit 7708d8b352e9e595f6f08afd3206af6495c7dc09: > > Merge branch 'master' of ssh://gemini/home/wd/git/u-boot/master (2011-12-02 > 00:17:49 +0100) > > are available

[U-Boot] Pull request: u-boot-staging

2011-12-05 Thread Anatolij Gustschin
Hello Wolfgang, The following changes since commit 7708d8b352e9e595f6f08afd3206af6495c7dc09: Merge branch 'master' of ssh://gemini/home/wd/git/u-boot/master (2011-12-02 00:17:49 +0100) are available in the git repository at: git://git.denx.de/u-boot-staging.git ag...@denx.de Horst Kronsto

Re: [U-Boot] [PATCH 1/9] common/menu.c: Fix build warning

2011-12-05 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <1322930775-4767-1-git-send-email-ag...@denx.de> you wrote: > Fix: > menu.c: In function 'menu_item_print': > menu.c:91: warning: passing argument 1 of 'putc' makes integer from > pointer without a cast > > Signed-off-by: Anatolij Gustschin > --- > common/men

Re: [U-Boot] [PATCH] imximage: Add support for NOR boot

2011-12-05 Thread Wolfgang Denk
Dear Fabio Estevam, In message <1322916517-9002-1-git-send-email-feste...@gmail.com> you wrote: > From: Fabio Estevam > > Add support for NOR boot on imximage. > > Signed-off-by: Fabio Estevam ... > --- a/tools/imximage.c > +++ b/tools/imximage.c > @@ -51,6 +51,7 @@ static table_entry_t imxima

Re: [U-Boot] [PATCH v2 01/17] fdt: Tidy up a few fdtdec problems

2011-12-05 Thread Stephen Warren
On 12/05/2011 03:18 PM, Scott Wood wrote: > On 12/05/2011 04:11 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Dec 5, 2011 at 2:07 PM, Stephen Warren wrote: >>> My point is that there are probably .dts files using "ok" instead of >>> "okay" or the kernel wouldn't support "ok". People will pro

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

2011-12-05 Thread Wolfgang Denk
Dear Gabe Black, In message <1322912821-32677-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 change adds CBFS > support and some commands to use it to u-boot. T

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

2011-12-05 Thread Stephen Warren
On 12/05/2011 02:56 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Dec 5, 2011 at 1:46 PM, Stephen Warren wrote: >> On 12/02/2011 07:11 PM, Simon Glass wrote: >>> This adds some support into fdtdec for reading GPIO definitions from >>> the fdt. We permit up to FDT_GPIO_MAX GPIOs in the system.

Re: [U-Boot] [PATCH v2 01/17] fdt: Tidy up a few fdtdec problems

2011-12-05 Thread Scott Wood
On 12/05/2011 04:11 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Dec 5, 2011 at 2:07 PM, Stephen Warren wrote: >> My point is that there are probably .dts files using "ok" instead of >> "okay" or the kernel wouldn't support "ok". People will probably want to >> use those with U-Boot without c

Re: [U-Boot] [PATCH 3/3] board/amcc/taihu/flash.c: Fix GCC 4.6 build warnings

2011-12-05 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1321559401-26495-3-git-send-email...@denx.de> you wrote: > Fix: > flash.c: In function 'flash_erase_1': > flash.c:514:24: warning: variable 'l_sect' set but not used > [-Wunused-but-set-variable] > flash.c: In function 'flash_erase_2': > flash.c:956:24: warning: var

Re: [U-Boot] [PATCH 2/3] board/amcc/yucca/flash.c: Fix GCC 4.6 build warnings

2011-12-05 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1321559401-26495-2-git-send-email...@denx.de> you wrote: > Fix: > flash.c: In function 'flash_erase_1': > flash.c:425:24: warning: variable 'l_sect' set but not used > [-Wunused-but-set-variable] > flash.c: In function 'flash_erase_2': > flash.c:834:24: warning: var

Re: [U-Boot] [PATCH 1/3] board/amcc/common/flash.c: Fix GCC 4.6 build warning

2011-12-05 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1321559401-26495-1-git-send-email...@denx.de> you wrote: > Fix: > In file included from flash.c:45:0: > ../common/flash.c: In function 'flash_erase': > ../common/flash.c:399:24: warning: variable 'l_sect' set but not used > [-Wunused-but-set-variable] > > Signed-of

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

2011-12-05 Thread Stephen Warren
On 12/05/2011 02:46 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Dec 5, 2011 at 1:33 PM, Stephen Warren wrote: >> On 12/02/2011 05:59 PM, Simon Glass wrote: >>> Hi Stephen, >>> >>> Here are my comments on the rest of your email. >>> >>> On Mon, Nov 28, 2011 at 11:21 AM, Stephen Warren wrote:

[U-Boot] [PATCH v3 5/6] x86: Refactor the zboot innards so they can be reused with a vboot image

2011-12-05 Thread Gabe Black
If vboot successfully verifies a kernel, it will leave it in place and basically ready to boot. The zeropage table which is part of the x86 boot protocol is at the end of the kernel, though, instead of the beginning, and because the image is already in place there's no need to copy it around. This

[U-Boot] [PATCH v3 4/6] x86: Add infrastructure to extract an e820 table from the coreboot tables

2011-12-05 Thread Gabe Black
Also approximate the size of RAM using the largest RAM address available in the tables. There may be areas which are marked as reserved which are actually at the end of RAM. Signed-off-by: Gabe Black --- Changes in v2: - Moved the coreboot specific e820 function into this patch. Changes in v3: -

Re: [U-Boot] [PATCH v4] pci_ftpci100: Implementation FTPCI100 PCI driver

2011-12-05 Thread Wolfgang Denk
Dear Macpaul Lin, In message <1322549940-13500-1-git-send-email-macp...@andestech.com> you wrote: > From: Gavin Guo > > FTPCI100 is a SoC PCI componenet of Faraday company. > Which is usually built into SoC chips for providing > embedded PCI functions. > > Signed-off-by: Gavin Guo > Signed-off

Re: [U-Boot] [PATCH v3 0/6] Add support for the 32 bit boot protocol and coreboot table parsing.

2011-12-05 Thread Graeme Russ
Hi Gabe, On Tue, Dec 6, 2011 at 9:09 AM, Gabe Black wrote: > Add functionality for reading in the coreboot tables and storing their > contents in a structure for easy access. > > These four patches add support for the 32 bit Linux boot protocol to the > zboot command. They also add support for an

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

2011-12-05 Thread Gabe Black
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 relies on some existing generic code, but also duplicates a little bit

Re: [U-Boot] [PATCH v2 01/17] fdt: Tidy up a few fdtdec problems

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 2:07 PM, Stephen Warren wrote: > On 12/05/2011 02:40 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Dec 5, 2011 at 1:27 PM, Stephen Warren wrote: >>> On 12/02/2011 07:11 PM, Simon Glass wrote: >>> ... +int fdtdec_get_is_enabled(const void *blob, int n

Re: [U-Boot] [PATCH] phy: Add support PHY of SMSC

2011-12-05 Thread Wolfgang Denk
Dear Nobuhiro Iwamatsu, In message <1322119455-29628-1-git-send-email-nobuhiro.iwamatsu...@renesas.com> you wrote: > This add support PHY of SMSC. > Following phy can be used by set CONFIG_PHY_SMSC to config. > - SMSC LAN8700 > - SMSC LAN8710/LAN8720 > - SMSC LAN8710/LAN8720 > > A setup of P

Re: [U-Boot] [PATCH v2 4/6] x86: Add infrastructure to extract an e820 table from the coreboot tables

2011-12-05 Thread Graeme Russ
Hi Gabe, On Tue, Dec 6, 2011 at 9:06 AM, Gabe Black wrote: > > > On Sat, Dec 3, 2011 at 4:52 PM, Graeme Russ wrote: >> >> Hi Gabe, >> >> Last nit, I promise, and then I'll apply it all to u-boot-x86/next >> > >> > +/* Implementation defined function to install an e820 map. */ >> > +unsigned inst

[U-Boot] [PATCH v3 0/6] Add support for the 32 bit boot protocol and coreboot table parsing.

2011-12-05 Thread Gabe Black
Add functionality for reading in the coreboot tables and storing their contents in a structure for easy access. These four patches add support for the 32 bit Linux boot protocol to the zboot command. They also add support for an initrd. Changes in v2: - Move arch/x86/include/asm/ic/coreboot/* to

[U-Boot] [PATCH v3 2/6] x86: Clean up the x86 zimage code in preparation to extend it

2011-12-05 Thread Gabe Black
This change cleans up some formatting issues in the zimage handling code, and converts it from using offsets added to a base pointer to using the available structure definitions which were already being included. Signed-off-by: Gabe Black --- Changes in v2: - Changed includes to match ic/coreboot

[U-Boot] [PATCH v3 1/6] x86: Import code from coreboot's libpayload to parse the coreboot table

2011-12-05 Thread Gabe Black
This change also forces the lib_sysinfo structure to be in the .data section. Otherwise it ends up in the .bss section. U-boot assumes that it doesn't need to copy it over during relocation, and instead fills that whole section with zeroes. If we really were booting from ROM that would be appropria

[U-Boot] [PATCH v3 6/6] x86: Add support for specifying an initrd with the zboot command

2011-12-05 Thread Gabe Black
This change finishes plumbing the initrd support built into the zboot mechanism out to the command interface. It also fixes a bug in the command declaration where the kernel size could be passed as an optional second parameter but not enough arguments were allowed. Signed-off-by: Gabe Black ---

[U-Boot] [PATCH v3 3/6] x86: Add support for booting Linux using the 32 bit boot protocol

2011-12-05 Thread Gabe Black
This change conditionally modifies the zboot command so that it can use the 32 bit boot protocol. This is necessary because the 16 bit realmode entry point assumes that it can call BIOS services which neither coreboot nor u-boot provide. Signed-off-by: Gabe Black --- Changes in v2: - Moved the co

Re: [U-Boot] [PATCH v2 02/17] fdt: Add functions to access phandles, arrays and bools

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 1:59 PM, Stephen Warren wrote: > On 12/02/2011 07:11 PM, Simon Glass wrote: >> 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 pro

Re: [U-Boot] [PATCH v2 01/17] fdt: Tidy up a few fdtdec problems

2011-12-05 Thread Stephen Warren
On 12/05/2011 02:40 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Dec 5, 2011 at 1:27 PM, Stephen Warren wrote: >> On 12/02/2011 07:11 PM, Simon Glass wrote: >> ... >>> +int fdtdec_get_is_enabled(const void *blob, int node) >>> { >>> const char *cell; >>> >>> cell = fdt_getprop(bl

Re: [U-Boot] [PATCH] Fix tsize warning in tools/aisimage.c

2011-12-05 Thread Wolfgang Denk
Dear Simon Glass, In message <1321726854-18400-1-git-send-email-...@chromium.org> you wrote: > This fixes the following warning with gcc 4.4.3. > > aisimage.c: In function 'aisimage_generate': > aisimage.c:365: warning: 'tsize' may be used uninitialized in this function > > Signed-off-by: Simon

Re: [U-Boot] [PATCH] drivers/net/mvgbe.c: Fix GCC 4.6 warnings

2011-12-05 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <1321729176-5520-1-git-send-email-ag...@denx.de> you wrote: > Fix: > mvgbe.c: In function 'mvgbe_send': > mvgbe.c:555:2: warning: dereferencing type-punned pointer will > break strict-aliasing rules [-Wstrict-aliasing] > mvgbe.c: In function 'mvgbe_recv': > mvgb

Re: [U-Boot] [PATCH] env_nand: Remove DEBUG definition

2011-12-05 Thread Wolfgang Denk
Dear Thomas Weber, In message <1320912600-3170-1-git-send-email-we...@corscience.de> you wrote: > When compiling with -DDEBUG enabled this caused a > warning about multiple definition of DEBUG. > > Signed-off-by: Thomas Weber > --- > common/env_nand.c |2 +- > 1 files changed, 1 insertions(

Re: [U-Boot] [PATCH v2 02/17] fdt: Add functions to access phandles, arrays and bools

2011-12-05 Thread Stephen Warren
On 12/02/2011 07:11 PM, Simon Glass wrote: > 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. > +/** >

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

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 1:46 PM, Stephen Warren wrote: > On 12/02/2011 07:11 PM, Simon Glass wrote: >> 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-nam

Re: [U-Boot] [PATCH] CPCI750: Do not enable data cache in start.S

2011-12-05 Thread Wolfgang Denk
Dear Reinhard Arlt, In message <4ec6a8e3.7050...@esd.eu> you wrote: > From: Reinhard Arlt > > Do not enable the data cache in start.S, the decrementer do not work. > > Signed-off-by: Reinhard Arlt > > -- > > diff --git a/arch/powerpc/cpu/74xx_7xx/start.S > b/arch/powerpc/cpu/74xx_7xx/start.

Re: [U-Boot] [PATCH] CPCI750: Fix GCC 4.6 warning in board/esd/cpci750/mv_eth.c

2011-12-05 Thread Wolfgang Denk
Dear Reinhard Arlt, In message <4ec6a749.1020...@esd.eu> you wrote: > From: Reinhard Arlt > > This patch fix the GCC 4.6 warnings in in what? and which warnings? > Signed-off-by: Reinhard Arlt > > -- > > diff --git a/board/esd/cpci750/mv_eth.c b/board/esd/cpci750/mv_eth.c > index 781ad23.

Re: [U-Boot] [PATCH v1 2/5] serial: constify serial_assign()

2011-12-05 Thread Wolfgang Denk
Dear Gerlando Falauto, In message <1321634955-5561-3-git-send-email-gerlando.fala...@keymile.com> you wrote: > Signed-off-by: Gerlando Falauto > --- > common/serial.c |2 +- > include/serial.h |2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied, thanks. Best regards, W

Re: [U-Boot] [PATCH v1 1/5] serial: cosmetic checkpatch compliance

2011-12-05 Thread Wolfgang Denk
Dear Gerlando Falauto, In message <1321634955-5561-2-git-send-email-gerlando.fala...@keymile.com> you wrote: > Signed-off-by: Gerlando Falauto > --- > common/serial.c | 51 +-- > include/serial.h | 19 ++- > 2 files changed, 3

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

2011-12-05 Thread Stephen Warren
On 12/02/2011 07:11 PM, Simon Glass wrote: > 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

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

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 1:33 PM, Stephen Warren wrote: > On 12/02/2011 05:59 PM, Simon Glass wrote: >> Hi Stephen, >> >> Here are my comments on the rest of your email. >> >> On Mon, Nov 28, 2011 at 11:21 AM, Stephen Warren wrote: >>> On 11/23/2011 08:54 PM, Simon Glass wrote: Th

Re: [U-Boot] [PATCH V4] Ethernut 5 board support

2011-12-05 Thread Wolfgang Denk
Dear Harald Kipp, In message <4ec6b254.80...@egnite.de> you wrote: > Dear Maintainers, > > On 02.11.2011 10:55, Tim Schendekehl wrote: > > Add support for the Ethernut 5 open hardware design, based > > on Atmel's AT91SAM9XE512 SoC. > > Any chance to get this patch reviewed before it's becoming o

Re: [U-Boot] [PATCH v2 01/17] fdt: Tidy up a few fdtdec problems

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 1:27 PM, Stephen Warren wrote: > On 12/02/2011 07:11 PM, Simon Glass wrote: > ... >> +int fdtdec_get_is_enabled(const void *blob, int node) >>  { >>       const char *cell; >> >>       cell = fdt_getprop(blob, node, "status", NULL); >>       if (cell) >> -      

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

2011-12-05 Thread Stephen Warren
On 12/02/2011 05:59 PM, Simon Glass wrote: > Hi Stephen, > > Here are my comments on the rest of your email. > > On Mon, Nov 28, 2011 at 11:21 AM, Stephen Warren wrote: >> On 11/23/2011 08:54 PM, Simon Glass wrote: >>> This adds basic support for the Tegra2 USB controller. Board files should >>>

Re: [U-Boot] [PATCH v2 01/17] fdt: Tidy up a few fdtdec problems

2011-12-05 Thread Stephen Warren
On 12/02/2011 07:11 PM, Simon Glass wrote: ... > +int fdtdec_get_is_enabled(const void *blob, int node) > { > const char *cell; > > cell = fdt_getprop(blob, node, "status", NULL); > if (cell) > - return 0 == strcmp(cell, "ok"); > - return default_val; > +

Re: [U-Boot] [PATCH v5 2/6] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 15:03:44 Tom Rini wrote: > On Mon, Dec 5, 2011 at 12:56 PM, Mike Frysinger wrote: > > On Monday 05 December 2011 14:33:40 Scott Wood wrote: > >> On 12/05/2011 04:58 AM, Christian Riesch wrote: > >> > Signed-off-by: Christian Riesch > >> > Cc: Heiko Schocher > >> > Cc:

Re: [U-Boot] [PATCH] miiphy: Note that miiphy_* API is deprecated

2011-12-05 Thread Wolfgang Denk
Dear Andy Fleming, In message <1320072373-367-1-git-send-email-aflem...@freescale.com> you wrote: > We want to move everything to phylib, and we definitely don't want > new drivers using the miiphy infrastructure. > > Signed-off-by: Andy Fleming > --- > common/miiphyutil.c | 10 +

Re: [U-Boot] [PATCH v3] video: cfb_console: Make the software cursor non-destructive

2011-12-05 Thread Anatolij Gustschin
On Thu, 1 Dec 2011 00:50:50 +0100 Anatolij Gustschin wrote: > From: Gabe Black > > When printing the string "\r\n" to the framebuffer console, the first > character of the current line was being replaced with a space. The "boot" > prompt would become the "oot" prompt. This change makes the cur

Re: [U-Boot] [PATCH 2/4] net: tweak eth_device layout to simplify enetaddr use

2011-12-05 Thread Wolfgang Denk
Dear Mike Frysinger, In message <20111003.15436.vap...@gentoo.org> you wrote: > > > I'm OK with expanding the name[] field, but as Thomas pointed out, > > providing "convenient" u32 / u16 variables for the MAC address is > > actually a faux ami that misleads people into using these variables >

Re: [U-Boot] [PATCH] Makefile: add tools/mkenvimage to target 'clean'

2011-12-05 Thread Anatolij Gustschin
On Tue, 29 Nov 2011 10:42:14 +0100 Horst Kronstorfer wrote: > Signed-off-by: Horst Kronstorfer > --- > Makefile |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Applied to u-boot-staging/ag...@denx.de. Thanks! Anatolij ___ U-Boot mailin

Re: [U-Boot] [PATCH v2] Phy/Marvell: Rewrite the MV88E1111 phy config function based on kernel code

2011-12-05 Thread Wolfgang Denk
Dear Roy Zang, In message <1319777529-28654-1-git-send-email-tie-fei.z...@freescale.com> you wrote: > The original m88es_config() does not do the SGMII mode > initialization and is buggy. Rewrite the function according to > 3.0.6 kernel function m88e_config_init() in drivers/net/phy/marve

Re: [U-Boot] [PATCH] matrix vision: fix MVBLM7, MVSMR build error

2011-12-05 Thread Wolfgang Denk
Dear Kim Phillips, In message <2004164356.5ab650e3a7af28de76f55...@freescale.com> you wrote: > when a mkimage binary isn't present in the default system PATH, we > get this error: > > $ ./MAKEALL MVBLM7 > Configuring for MVBLM7 board... > make[1]: mkimage: Command not found > make[1]: *** [li

  1   2   >