[U-Boot] [PATCH] common, menu: do not trigger timeout again, if a line is read

2012-01-17 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de Cc: Jason Hobbs jason.ho...@calxeda.com --- common/menu.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/common/menu.c b/common/menu.c index 754a9f9..aa16c9a 100644 --- a/common/menu.c +++ b/common/menu.c @@ -236,8 +236,10 @@

Re: [U-Boot] [PATCH 0/3] Bring in new I2C framework

2012-01-17 Thread Heiko Schocher
Hello Simon, Simon Glass wrote: This series provides Heiko's upgraded I2C framework from a few years ago. I hope that we can bring this in and move boards over to it as time permits, rather than switching everything in one fell swoop which never happens. Ok, lets try it! To show it working

Re: [U-Boot] [PATCH 3/3] WIP: tegra: i2c: Enable new I2C framework

2012-01-17 Thread Heiko Schocher
Hello Simon, Simon Glass wrote: This is just a rough patch to show how this might be done. Not to be applied, please. Signed-off-by: Simon Glass s...@chromium.org --- drivers/i2c/tegra2_i2c.c | 53 +++ include/configs/seaboard.h |2 + 2

[U-Boot] [PATCH 6/8 v2] powerpc/corenet_ds: Slave uploads ucode when boot from SRIO

2012-01-17 Thread Liu Gang
When boot from SRIO, slave's ucode can be stored in master's memory space, then slave can fetch the ucode image through SRIO interface. For the corenet platform, ucode is for Fman. Master needs to: 1. Put the slave's ucode image into it's own memory space. 2. Set an inbound SRIO

Re: [U-Boot] [PATCH 1/2] image: add support for Android's boot image format

2012-01-17 Thread Aneesh V
Dear Wolfgang, On Wednesday 23 November 2011 03:33 PM, Sebastian Andrzej Siewior wrote: * Wolfgang Denk | 2011-11-22 20:04:47 [+0100]: Dear Sebastian Andrzej Siewior, In message2022123007.ga5...@linutronix.de you wrote: + * Redistribution and use in source and binary forms, with or

[U-Boot] [PATCH 1/8 v2] powerpc/srio: Rewrite the struct ccsr_rio

2012-01-17 Thread Liu Gang
Rewrite this struct for the support of two ports and two message units registers. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2: - Change the subject and commit message. - Remove the offsets in the comments. - Rewrite the struct for the support of two ports and two

[U-Boot] [PATCH 2/8 v2] powerpc/corenet_ds: Correct the compilation errors about ENV

2012-01-17 Thread Liu Gang
When defined CONFIG_ENV_IS_NOWHERE, there will be some compilation errors: ./common/env_nowhere.o: In function `env_relocate_spec': ./common/env_nowhere.c:38: multiple definition of `env_relocate_spec' ./common/env_flash.o: ./common/env_flash.c:326: first defined here ./common/env_nowhere.o: In

[U-Boot] [PATCH 3/8 v2] powerpc/corenet_ds: Document for the boot from SRIO

2012-01-17 Thread Liu Gang
This document describes the implementation of the boot from SRIO, includes the introduction of envionment, an example based on P4080DS platform, an example of the slave's RCW, and the description about how to use this feature. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2: -

[U-Boot] [PATCH 4/8 v2] powerpc/corenet_ds: Master module for boot from SRIO

2012-01-17 Thread Liu Gang
For the powerpc processors with SRIO interface, boot location can be configured from SRIO1 or SRIO2 by RCW. The processor booting from SRIO can do without flash for u-boot image. The image can be fetched from another processor's memory space by SRIO link connected between them. The processor

[U-Boot] [PATCH 5/8 v2] powerpc/corenet_ds: Slave module for boot from SRIO

2012-01-17 Thread Liu Gang
For the powerpc processors with SRIO interface, boot location can be configured from SRIO1 or SRIO2 by RCW. The processor booting from SRIO can do without flash for u-boot image. The image can be fetched from another processor's memory space by SRIO link connected between them. The processor

[U-Boot] [PATCH 7/8 v2] powerpc/corenet_ds: Slave reads ENV from master when boot from SRIO

2012-01-17 Thread Liu Gang
When boot from SRIO, slave's ENV can be stored in master's memory space, then slave can fetch the ENV through SRIO interface. NOTE: Because the slave can not erase, write master's NOR flash by SRIO interface, so it can not modify the ENV parameters stored in master's NOR flash

[U-Boot] [PATCH 8/8 v2] powerpc/corenet_ds: Slave core in holdoff when boot from SRIO

2012-01-17 Thread Liu Gang
When boot from SRIO, slave's core can be in holdoff after powered on for some specific requirements. Master can release the slave's core at the right time by SRIO interface. Master needs to: 1. Set outbound SRIO windows in order to configure slave's registers for the core's

Re: [U-Boot] [PATCH 3/3] imximage: Sort bootops alphabetically

2012-01-17 Thread Stefano Babic
On 12/01/2012 10:28, Dirk Behme wrote: Signed-off-by: Dirk Behme dirk.be...@de.bosch.com CC: Fabio Estevam feste...@gmail.com CC: Stefano Babic sba...@denx.de CC: Jason Liu jason@linaro.org --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic --

Re: [U-Boot] [PATCH 1/3] imximage: Add MX53 to the documentation

2012-01-17 Thread Stefano Babic
On 12/01/2012 10:28, Dirk Behme wrote: i.MX53 is supported, too. Add this to the introduction of the documentation. Signed-off-by: Dirk Behme dirk.be...@de.bosch.com CC: Fabio Estevam feste...@gmail.com CC: Stefano Babic sba...@denx.de CC: Jason Liu jason@linaro.org --- Applied to

Re: [U-Boot] [PATCH 2/3] imximage: Add support for i.MX6

2012-01-17 Thread Stefano Babic
On 12/01/2012 10:28, Dirk Behme wrote: The i.MX6 processor can boot from NOR flash and SATA disks, additionally. Add the flash offsets for these additional boot modes. Signed-off-by: Dirk Behme dirk.be...@de.bosch.com Signed-off-by: Fabio Estevam feste...@gmail.com CC: Stefano Babic

Re: [U-Boot] [PATCH] i.mx6q: configs: Add fdt_high and initrd_high variables

2012-01-17 Thread Stefano Babic
On 13/01/2012 10:49, Dirk Behme wrote: To be able to load the device tree and initrd correctly, set the fdt_high and initrd_high environment variables. Using 0x implies that the device tree and the initrd are initially copied to working addresses. This will avoid an additional copy.

Re: [U-Boot] [PATCH] i.mx6q: mx6qsabrelite: Setup uart1 pinmux

2012-01-17 Thread Stefano Babic
On 13/01/2012 10:49, Dirk Behme wrote: From: Troy Kisky troy.ki...@boundarydevices.com This allows the Linux kernel to use UART1 before pinmux support is added for UART1 Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com CC: Troy Kisky troy.ki...@boundarydevices.com CC: Jason Liu

Re: [U-Boot] [PATCH] i.mx6q: mx6qsabrelite: Add the ethernet function support

2012-01-17 Thread Stefano Babic
On 13/01/2012 09:56, Dirk Behme wrote: From: Jason Liu jason@linaro.org Signed-off-by: Jason Liu jason@linaro.org Signed-off-by: Eric Miao eric.m...@linaro.org CC: Jason Liu jason@linaro.org CC: Stefano Babic sba...@denx.de --- Applied to u-boot-imx, thanks. Best regards,

Re: [U-Boot] [PATCH] net/eth.c: fix eth_write_hwaddr() to use dev-enetaddr as fall back

2012-01-17 Thread Wolfgang Denk
Dear Zach Sadecki, In message 4f149ccb.6070...@itwatchdogs.com you wrote: This patch will also fix a problem with mx28 boards that are depending on the OCOTP bits to set the MAC address (like the Denx m28 board). Now it simply fails with a Warning: failed to set MAC address if there's no

Re: [U-Boot] [PATCH 1/2] mmc: access mxcmmc from mx31 boards

2012-01-17 Thread Stefano Babic
On 11/01/2012 14:59, Helmut Raiger wrote: This patch modifies mxcmmc.c to be used not only by i.MX27 but also by i.MX31 boards. Both use the same SD controller, but have different clock set-ups. The i.MX27 imx_get_XXXclock functions are made static to generic.c and a public mxc_get_clock()

Re: [U-Boot] [PATCH 1/2] fsl_pmic.h: add regulator mode 0 and 1 bits

2012-01-17 Thread Stefano Babic
On 16/01/2012 12:10, Helmut Raiger wrote: Add bit definitions for register 32 and 33 of Freescale PMIC. Signed-off-by: Helmut Raiger helmut.rai...@hale.at --- include/fsl_pmic.h | 52 1 files changed, 52 insertions(+), 0 deletions(-)

Re: [U-Boot] [PATCH v2] configs: Remove CONFIG_NET_MULTI from board files

2012-01-17 Thread Stefano Babic
On 15/01/2012 16:03, Fabio Estevam wrote: CONFIG_NET_MULTI is not used anymore, so remove it from board files. Cc: Marek Vasut marek.va...@gmail.com Cc: Stefano Babic sba...@denx.de Cc: Kumar Gala kumar.g...@freescale.com Cc: Sandeep Paulraj s-paul...@ti.com Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH] arm: Add Prep subcommand support to bootm

2012-01-17 Thread Stefano Babic
On 16/01/2012 09:12, Simon Schwarz wrote: From: Simon Schwarz simonschwarz...@googlemail.com Adds prep subcommand to bootm implementation of ARM. When bootm is called with the subcommand prep the function stops right after ATAGS creation and before announce_and_cleanup. This is used in

Re: [U-Boot] [PATCH] arm, davinci: add PLL0 prediv to da850 lowlevel setup

2012-01-17 Thread Christian Riesch
Hello Ben, On Mon, Jan 16, 2012 at 6:43 PM, Ben Gardiner bengardi...@nanometrics.ca wrote: The OMAP-L138 has a pre-divider available on PLL0. Add support to da850_lowlevel.c for configuring PLL0's pre-divider. This is to achieve certain OPP's -- e.g. the 372MHz OPP used also by Linux. I

[U-Boot] [PATCH] imx6: mx6qarm2: updated

2012-01-17 Thread Stefano Babic
Commit 314284b1567f1ce29c19060641e7f213146f7ab8 has changed board_mmc_getcd() function prototype, while mx6qarm2 has still the old one. Signed-off-by: Stefano Babic sba...@denx.de CC: Jason Liu jason@linaro.org --- board/freescale/mx6qarm2/mx6qarm2.c |9 + 1 files changed, 5

Re: [U-Boot] [PATCH] imx6: mx6qarm2: updated

2012-01-17 Thread Dirk Behme
On 17.01.2012 12:18, Stefano Babic wrote: Commit 314284b1567f1ce29c19060641e7f213146f7ab8 has changed board_mmc_getcd() function prototype, while mx6qarm2 has still the old one. Signed-off-by: Stefano Babic sba...@denx.de CC: Jason Liu jason@linaro.org Acked-by: Dirk Behme

Re: [U-Boot] [PATCH] imx6: mx6qarm2: updated

2012-01-17 Thread Fabio Estevam
Hi Stefano, On Tue, Jan 17, 2012 at 9:18 AM, Stefano Babic sba...@denx.de wrote: Commit 314284b1567f1ce29c19060641e7f213146f7ab8 has changed board_mmc_getcd() function prototype, while mx6qarm2 has still the old one. Signed-off-by: Stefano Babic sba...@denx.de CC: Jason Liu

Re: [U-Boot] [PATCH] common, menu: do not trigger timeout again, if a line is read

2012-01-17 Thread Jason Hobbs
Dear Heiko, On Tue, Jan 17, 2012 at 03:24:29AM -0500, Heiko Schocher wrote: Signed-off-by: Heiko Schocher h...@denx.de Cc: Jason Hobbs jason.ho...@calxeda.com Acked-by: Jason Hobbs jason.ho...@calxeda.com --- common/menu.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)

Re: [U-Boot] [PATCH 3/3 v2] common, menu: show menu on startup if CONFIG_MENU_SHOW is defined

2012-01-17 Thread Jason Hobbs
Dear Heiko, On Tue, Jan 17, 2012 at 02:13:35AM -0500, Heiko Schocher wrote: show a menu on startup instead running the shell. Signed-off-by: Heiko Schocher h...@denx.de Cc: Jason Hobbs jason.ho...@calxeda.com Cc: Mike Frysinger vap...@gentoo.org A couple of minor fixes in your README

Re: [U-Boot] [PATCH] imx6: mx6qarm2: updated

2012-01-17 Thread Stefano Babic
On 17/01/2012 13:03, Fabio Estevam wrote: Hi Stefano, On Tue, Jan 17, 2012 at 9:18 AM, Stefano Babic sba...@denx.de wrote: Commit 314284b1567f1ce29c19060641e7f213146f7ab8 has changed board_mmc_getcd() function prototype, while mx6qarm2 has still the old one. Signed-off-by: Stefano Babic

[U-Boot] [PATCH V2] imx6: mx6qarm2: updated board_mmc_getcd() to the new prototype

2012-01-17 Thread Stefano Babic
Commit 314284b1567f1ce29c19060641e7f213146f7ab8 has changed board_mmc_getcd() function prototype, while mx6qarm2 has still the old one. Signed-off-by: Stefano Babic sba...@denx.de CC: Jason Liu jason@linaro.org Acked-by: Dirk Behme dirk.be...@de.bosch.com ---

Re: [U-Boot] OMAP3 performance regression in 2011.12

2012-01-17 Thread Aneesh V
Hi Joe, On Monday 09 January 2012 09:18 PM, Joe Woodward wrote: snip (apologies for previous top posting, wasn't paying attention to what I was doing!) I'm fairly certain... If I take the 2011.12 uBoot release the kernel takes about twice the time to boot (compared to 2011.09), and the

Re: [U-Boot] OMAP3 performance regression in 2011.12

2012-01-17 Thread Aneesh V
On Tuesday 17 January 2012 08:21 PM, Måns Rullgård wrote: Aneesh Vane...@ti.com writes: Hi Joe, On Monday 09 January 2012 09:18 PM, Joe Woodward wrote: If I take the 2011.12 uBoot release the kernel takes about twice the time to boot (compared to 2011.09), and the device is noticably

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-17 Thread Tom Rini
On Mon, Jan 16, 2012 at 11:46 PM, Sughosh Ganu urwithsugh...@gmail.com wrote: On Mon Jan 16, 2012 at 10:57:05AM -0700, Tom Rini wrote: On Fri, Jan 13, 2012 at 10:38 AM, Sughosh Ganu urwithsugh...@gmail.com wrote: hi Heiko, On Fri Jan 13, 2012 at 04:29:29PM +0100, Heiko Schocher wrote:

Re: [U-Boot] [PATCH v3 1/9] fdt: Add fdtdec functions to read byte array

2012-01-17 Thread Mike Frysinger
On Tuesday 17 January 2012 02:11:58 Simon Glass wrote: On Mon, Jan 16, 2012 at 10:30 PM, Mike Frysinger wrote: On Tuesday 17 January 2012 01:11:14 Simon Glass wrote: From: Anton Staff robot...@chromium.org Sometimes we don't need a full cell for each value. This provides a simple

Re: [U-Boot] OMAP3 performance regression in 2011.12

2012-01-17 Thread Måns Rullgård
Aneesh V ane...@ti.com writes: Hi Joe, On Monday 09 January 2012 09:18 PM, Joe Woodward wrote: If I take the 2011.12 uBoot release the kernel takes about twice the time to boot (compared to 2011.09), and the device is noticably slower. Then if I comment out the v7_out_cache_disable()

Re: [U-Boot] [PATCH] net/eth.c: fix eth_write_hwaddr() to use dev-enetaddr as fall back

2012-01-17 Thread Dirk Behme
Dear Wolfgang and all, On 17.01.2012 10:52, Wolfgang Denk wrote: Dear Zach Sadecki, In message 4f149ccb.6070...@itwatchdogs.com you wrote: This patch will also fix a problem with mx28 boards that are depending on the OCOTP bits to set the MAC address (like the Denx m28 board). Now it simply

Re: [U-Boot] [PATCH v2 0/9] Unified command execution in one place

2012-01-17 Thread Simon Glass
Hi Stefan, On Wed, Jan 11, 2012 at 11:43 PM, Stefan Roese s...@denx.de wrote: On Saturday 10 December 2011 19:43:52 Simon Glass wrote: 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 which

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-01-17 Thread Igor Grinberg
Hi Govindraj, I'm sorry it took me so much time, I just was very busy these days... I've looked in the TRMs of both OMAP3 and OMAP4, please see below. On 01/12/12 12:52, Govindraj wrote: On Thu, Jan 12, 2012 at 2:53 PM, Igor Grinberg grinb...@compulab.co.il wrote: Hi Govindraj, On 01/12/12

Re: [U-Boot] [PATCH v2 2/2] fdt: Add tests for fdtdec

2012-01-17 Thread Simon Glass
Hi Stephen, On Fri, Jan 13, 2012 at 1:49 PM, Stephen Warren swar...@nvidia.com wrote: On 01/11/2012 04:08 PM, Simon Glass wrote: The fdtdec_find_aliases_for_id() function is complicated enough that it really should have some tests. This does not necessarily need to be committed to U-Boot, but

Re: [U-Boot] [PATCH v2 1/2] fdt: Add fdtdec_find_aliases() to deal with alias nodes

2012-01-17 Thread Simon Glass
Hi Stephen, On Fri, Jan 13, 2012 at 1:41 PM, Stephen Warren swar...@nvidia.com wrote: On 01/11/2012 04:08 PM, Simon Glass wrote: 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

[U-Boot] [PATCH v3 0/2] fdt: Deal correctly with alias nodes

2012-01-17 Thread Simon Glass
This series proposes a new way to deal with alias nodes and introduces a function to take care of it. Drivers can now request an ordered list of compatible nodes in a single step. This simplifies node discovery for drivers (and keeps this nasty code in a common place). If DEBUG is defined the

[U-Boot] [PATCH v3 1/2] fdt: Add fdtdec_find_aliases() to deal with alias nodes

2012-01-17 Thread Simon Glass
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

[U-Boot] [PATCH v3 2/2] fdt: Add tests for fdtdec

2012-01-17 Thread Simon Glass
The fdtdec_find_aliases_for_id() function is complicated enough that it really should have some tests. This does not necessarily need to be committed to U-Boot, but it might be useful. (note there are a few minor inconsistencies with this patch which will be cleaned up when the USB series is

Re: [U-Boot] [PATCH 1/3 v2] common: add possibility for readline_into_buffer timeout

2012-01-17 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/3 v2] common, menu: add statusline support

2012-01-17 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] common, menu: do not trigger timeout again, if a line is read

2012-01-17 Thread Mike Frysinger
On Tuesday 17 January 2012 03:24:29 Heiko Schocher wrote: --- a/common/menu.c +++ b/common/menu.c choice_item = menu_item_by_key(m, cbuf); - if (!choice_item) + if (!choice_item) { printf(%s not

[U-Boot] [PATCH v3] bootm: Avoid 256-byte overflow in fixup_silent_linux()

2012-01-17 Thread Doug Anderson
This makes fixup_silent_linux() use malloc() to allocate its working space, meaning that our maximum kernel command line should only be limited by malloc(). Previously it was silently overflowing the stack. Note that nothing about this change increases the kernel's maximum command line length.

Re: [U-Boot] [PATCH 1/3] i2c: add i2c_core and prepare for new multibus support

2012-01-17 Thread Mike Frysinger
On Tuesday 17 January 2012 02:12:23 Simon Glass wrote: +#if defined(CONFIG_SYS_I2C) + void*cur_adap; /* current used i2c adapter */ +#endif let's have i2c in the variable name somewhere. curr_i2c ? --- /dev/null +++ b/drivers/i2c/i2c_core.c +#ifdef CONFIG_TEGRA2_I2C

Re: [U-Boot] [PATCH v3] bootm: Avoid 256-byte overflow in fixup_silent_linux()

2012-01-17 Thread Mike Frysinger
On Tuesday 17 January 2012 14:16:53 Doug Anderson wrote: --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c + char *env_val; did marking this const not work out ? otherwise, seems to look OK ... -mike signature.asc Description: This is a digitally signed message part.

Re: [U-Boot] [PATCH v3] bootm: Avoid 256-byte overflow in fixup_silent_linux()

2012-01-17 Thread Doug Anderson
Mike, On Tue, Jan 17, 2012 at 11:27 AM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 17 January 2012 14:16:53 Doug Anderson wrote: --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c +     char *env_val; did marking this const not work out ? I coded the patch an old -v2011.06 branch

Re: [U-Boot] [PATCH] mx28: fix i.MX28 spi driver

2012-01-17 Thread Fabio Estevam
On 1/16/12, Alexander Keller alexander.keller...@gmx.de wrote: I just want to confirm and thanks to Matthias for this patch. I already stated my problems by writing the SPI flash ... So, I use the IMX28EVK with a Winbond W25Q64CV SPI flash chip and it's working great now. Thanks for the

[U-Boot] [PATCH v4] bootm: Avoid 256-byte overflow in fixup_silent_linux()

2012-01-17 Thread Doug Anderson
This makes fixup_silent_linux() use malloc() to allocate its working space, meaning that our maximum kernel command line should only be limited by malloc(). Previously it was silently overflowing the stack. Note that nothing about this change increases the kernel's maximum command line length.

Re: [U-Boot] [PATCH v4] bootm: Avoid 256-byte overflow in fixup_silent_linux()

2012-01-17 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/5] net: ll_temac: Add LL TEMAC driver to u-boot

2012-01-17 Thread Stephan Linz
Am Sonntag, den 15.01.2012, 13:47 -0500 schrieb Mike Frysinger: On Sunday 15 January 2012 13:29:26 Stephan Linz wrote: Am Sonntag, den 15.01.2012, 12:28 -0500 schrieb Mike Frysinger: On Sunday 15 January 2012 10:46:02 Stephan Linz wrote: +/* Data buffer for LL TEMAC Rx and Tx direction

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

2012-01-17 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message 4f13dcef.1070...@aribaud.net you wrote: Hi Wolfgang, The following changes since commit f1f441afc41083e54775e6efe21b2c059e80b8f7: openrisc: Add MAINTAINERS entry (2012-01-13 21:17:08 +0100) are available in the git repository at:

[U-Boot] [PATCH 1/6] mxc_spi: move machine specifics into CPU headers

2012-01-17 Thread Eric Nelson
Move (E)CSPI register declarations into the imx-regs.h files for each supported CPU Introduce two new macros to control conditional setup MXC_CSPI - Used for processors with the Configurable Serial Peripheral Interface (MX3x) MXC_ECSPI - For processors with Enhanced Configurable...

[U-Boot] [PATCH 4/6] sf command: allow default chip select through CONFIG_SPI_FLASH_CS

2012-01-17 Thread Eric Nelson
Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- common/cmd_sf.c | 34 +++--- 1 files changed, 23 insertions(+), 11 deletions(-) diff --git a/common/cmd_sf.c b/common/cmd_sf.c index 7225656..97fce16 100644 --- a/common/cmd_sf.c +++ b/common/cmd_sf.c @@

[U-Boot] [PATCH 3/6] mx6q: mx6qsabrelite: Add ECSPI support to the Sabrelite platform

2012-01-17 Thread Eric Nelson
Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- board/freescale/mx6qsabrelite/imximage.cfg|2 +- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 25 + include/configs/mx6qsabrelite.h |9 + 3 files changed, 35

[U-Boot] [PATCH 2/6] mx6q: Add support for ECSPI through mxc_spi driver

2012-01-17 Thread Eric Nelson
Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- arch/arm/include/asm/arch-mx6/imx-regs.h | 44 ++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h index

[U-Boot] mxc_spi refactoring (for mx6q)

2012-01-17 Thread Eric Nelson
This patch set refactors mxc_spi as described in http://lists.denx.de/pipermail/u-boot/2010-March/068791.html and requested in http://lists.denx.de/pipermail/u-boot/2012-January/116023.html in order to add support for the MX6Q in general and the mx6qsabrelite specifically. Patch 1

[U-Boot] [PATCH 6/6] mx6q: mx6qsabrelite: Provide defaults for placing environment in serial flash

2012-01-17 Thread Eric Nelson
Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- include/configs/mx6qsabrelite.h | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h index 44b028a..160894c 100644 ---

[U-Boot] [PATCH 5/6] mx6q: mx6qsabrelite: Provide default chip-select for serial flash

2012-01-17 Thread Eric Nelson
Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- include/configs/mx6qsabrelite.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h index 8dd6e39..44b028a 100644 ---

Re: [U-Boot] [PATCH] arm, davinci: add PLL0 prediv to da850 lowlevel setup

2012-01-17 Thread Tom Rini
On Mon, Jan 16, 2012 at 10:43 AM, Ben Gardiner bengardi...@nanometrics.ca wrote: The OMAP-L138 has a pre-divider available on PLL0. Add support to da850_lowlevel.c for configuring PLL0's pre-divider. This is to achieve certain OPP's -- e.g. the 372MHz OPP used also by Linux. Signed-off-by:

Re: [U-Boot] mxc_spi refactoring (for mx6q)

2012-01-17 Thread Marek Vasut
This patch set refactors mxc_spi as described in http://lists.denx.de/pipermail/u-boot/2010-March/068791.html and requested in http://lists.denx.de/pipermail/u-boot/2012-January/116023.html in order to add support for the MX6Q in general and the mx6qsabrelite specifically. Patch 1

Re: [U-Boot] [PATCH 2/6] mx6q: Add support for ECSPI through mxc_spi driver

2012-01-17 Thread Marek Vasut
Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- arch/arm/include/asm/arch-mx6/imx-regs.h | 44 ++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h

Re: [U-Boot] [PATCH 2/6] mx6q: Add support for ECSPI through mxc_spi driver

2012-01-17 Thread Eric Nelson
On 01/17/2012 04:19 PM, Marek Vasut wrote: Signed-off-by: Eric Nelsoneric.nel...@boundarydevices.com --- arch/arm/include/asm/arch-mx6/imx-regs.h | 44 ++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h

Re: [U-Boot] [PATCH 2/6] mx6q: Add support for ECSPI through mxc_spi driver

2012-01-17 Thread Marek Vasut
On 01/17/2012 04:19 PM, Marek Vasut wrote: Signed-off-by: Eric Nelsoneric.nel...@boundarydevices.com --- arch/arm/include/asm/arch-mx6/imx-regs.h | 44 ++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git

Re: [U-Boot] [PATCH 2/6] mx6q: Add support for ECSPI through mxc_spi driver

2012-01-17 Thread Eric Nelson
On 01/17/2012 06:27 PM, Marek Vasut wrote: On 01/17/2012 04:19 PM, Marek Vasut wrote: Signed-off-by: Eric Nelsoneric.nel...@boundarydevices.com +/* ECSPI registers */ +struct cspi_regs { + u32 rxdata; + u32 txdata; + u32 ctrl; + u32 cfg; + u32 intr; + u32

Re: [U-Boot] [PATCH 2/6] mx6q: Add support for ECSPI through mxc_spi driver

2012-01-17 Thread Marek Vasut
On 01/17/2012 06:27 PM, Marek Vasut wrote: On 01/17/2012 04:19 PM, Marek Vasut wrote: Signed-off-by: Eric Nelsoneric.nel...@boundarydevices.com +/* ECSPI registers */ +struct cspi_regs { +u32 rxdata; +u32 txdata; +u32 ctrl; +u32 cfg; +u32

Re: [U-Boot] [PATCH 2/6] mx6q: Add support for ECSPI through mxc_spi driver

2012-01-17 Thread Eric Nelson
On 01/17/2012 06:47 PM, Marek Vasut wrote: On 01/17/2012 06:27 PM, Marek Vasut wrote: I'll defer to Stefano on this one, since I did this in response to his request: Right - and we already discussed in the past how to avoid to put specific SOC code inside the driver. In fact, the cspi_regs

Re: [U-Boot] [PATCH V2] imx6: mx6qarm2: updated board_mmc_getcd() to the new prototype

2012-01-17 Thread Jason Hui
On Tue, Jan 17, 2012 at 9:15 PM, Stefano Babic sba...@denx.de wrote: Commit 314284b1567f1ce29c19060641e7f213146f7ab8 has changed board_mmc_getcd() function prototype, while mx6qarm2 has still the old one. Signed-off-by: Stefano Babic sba...@denx.de CC: Jason Liu jason@linaro.org

[U-Boot] U-Boot not auto booting

2012-01-17 Thread Michael Aldridge
the autobooting function of uboot is not functioning properly on my sheevaplug with debian. I have set the bootcmd and bootdelay variables, but I still can't get it to work. I can watch the countdown hit zero, and I do not hit any buttons and then the whole process just stops at the prompt. If

[U-Boot] [PATCH 3/3 v3] common, menu: show menu on startup if CONFIG_MENU_SHOW is defined

2012-01-17 Thread Heiko Schocher
show a menu on startup instead running the shell. Signed-off-by: Heiko Schocher h...@denx.de Acked-by: Jason Hobbs jason.ho...@calxeda.com Cc: Mike Frysinger vap...@gentoo.org --- - changes for v2: - add comments from Mike Frysinger vap...@gentoo.org - pass current bootdelay to menu_show -

Re: [U-Boot] [PATCH] common, menu: do not trigger timeout again, if a line is read

2012-01-17 Thread Heiko Schocher
Hello Mike, Mike Frysinger wrote: On Tuesday 17 January 2012 03:24:29 Heiko Schocher wrote: --- a/common/menu.c +++ b/common/menu.c choice_item = menu_item_by_key(m, cbuf); -if (!choice_item) +if (!choice_item) {

[U-Boot] [PATCH v2] common, menu: do not timeout again if an item was selected but not found

2012-01-17 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de Acked-by: Jason Hobbs jason.ho...@calxeda.com Cc: Mike Frysinger vap...@gentoo.org --- - changes for v2: - add Acked-by from Jason Hobbs jason.ho...@calxeda.com - add comment from Mike Frysinger: - respell summary text --- common/menu.c |4

[U-Boot] [PATCH] nand_util: correct YAFFS image write function

2012-01-17 Thread Liu, Wentao
In function nand_write_skip_bad(),for YAFFS filesystem part, write_oob() will return 0 when success, so when rval equals 0, it should continue to write the next page, and no break. Signed-off-by: Wentao, Liu wentao@intel.com diff --git a/drivers/mtd/nand/nand_util.c

Re: [U-Boot] [PATCH v5 0/3] ARMV7: Exynos4: Add support for TRATS board

2012-01-17 Thread Minkyu Kang
Dear HeungJun, Kim On 17 January 2012 16:13, HeungJun, Kim riverful@samsung.com wrote: This patch series support for Samsung TRATS board, and add the headers of watchdog and power, and current version is 4. I missed logs of v2 on this thread, so I'm going to add this:

Re: [U-Boot] [PATCH v3 0/6] Introduce generic relocation feature

2012-01-17 Thread Albert ARIBAUD
Hi Simon, Le 26/12/2011 19:24, Simon Glass a écrit : (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