Re: [U-Boot] [PATCH V5 02/10] EXYNOS5: FDT: Add DWMMC device node data

2013-02-14 Thread Amarendra Reddy
Hi Simon, Please find my response below. Thanks & Regards Amarendra On 8 February 2013 22:33, Simon Glass wrote: > Hi Amarendra, > > On Mon, Jan 28, 2013 at 1:20 AM, Amarendra Reddy > wrote: > > Hi Simon, > > > > You mean to add "removable" flag in device node ? > > Yes > > > Are you referrin

Re: [U-Boot] [PATCH V5 04/10] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-02-14 Thread Amarendra Reddy
Hi Simon, Thanks for the response. Please find my response below. Thanks & Regards Amarendra On 9 February 2013 22:24, Simon Glass wrote: > Hi Amarendra, > > On Mon, Jan 28, 2013 at 1:31 AM, Amarendra Reddy > wrote: > > Hi Simon, > > > > Please find the responses below. > > > > Thanks & Regard

[U-Boot] [PATCH V6 10/10] EXYNOS5: I2C: Added FDT and non-FDT support for I2C

2013-02-14 Thread Amar
This patch adds FDT and non-FDT support for I2C, and initialise the I2C channels. Signed-off-by: Amar --- Changes since V4: New patch. Changes since V5: 1)Removed the function call i2c_init() present inside the function board_i2c_init(). drivers/i2c/s3c24x0_i2c.c | 12 +

[U-Boot] [PATCH V6 09/10] COMMON: MMC: Command to support EMMC booting and to resize EMMC boot partition

2013-02-14 Thread Amar
This patch adds commands to access(open/close) and resize boot partitions on EMMC. Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)Combined the common piece of code between 'open' and 'close' operations. Changes since V2: 1)Updation of commit message a

[U-Boot] [PATCH V6 08/10] SMDK5250: Enable EMMC booting

2013-02-14 Thread Amar
This patch adds support for EMMC booting on SMDK5250. Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)Updated spl_boot.c file to maintain irom pointer table instead of using the #define values defined in header file. Changes since V2: 1)Updation of comm

[U-Boot] [PATCH V6 07/10] MMC: APIs to support resize of EMMC boot partition

2013-02-14 Thread Amar
This patch adds APIs to access(open / close) and to resize boot partiton of EMMC. Signed-off-by: Amar --- Changes since V1: New patch. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No change. Changes since V4:

[U-Boot] [PATCH V6 06/10] SMDK5250: Initialise and Enable DWMMC, support FDT and non-FDT

2013-02-14 Thread Amar
This patch enables and initialises DWMMC for SMDK5250. Supports both FDT and non-FDT. This patch creates a new file 'exynos5-dt.c' meant for FDT support. exynos5-dt.c: This file shall contain all code which supports FDT. Any addition of FDT support for any module n

[U-Boot] [PATCH V6 05/10] EXYNOS5: DWMMC: Initialise the local variable to avoid unwanted results.

2013-02-14 Thread Amar
This patch initialises the local variable 'shift' to zero. The uninitialised local variable 'shift' had garbage value and was resulting in unwnated results in the functions exynos5_get_mmc_clk() and exynos4_get_mmc_clk(). Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)

[U-Boot] [PATCH V6 04/10] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-02-14 Thread Amar
This patch adds FDT support for DWMMC, by reading the DWMMC node data from the device tree and initialising DWMMC channels as per data obtained from the node. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)Updated code to have same signatur

[U-Boot] [PATCH V6 03/10] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-02-14 Thread Amar
This patch enumerates dwmci and set auto stop command during dwmci initialisation. EMMC read/write is not happening in current implementation due to improper fifo size computation. Hence modified the fifo size computation to resolve EMMC read write issues. Signed-off-by: Amar Acked-by: Jaehoon Ch

[U-Boot] [PATCH V6 02/10] EXYNOS5: FDT: Add DWMMC device node data

2013-02-14 Thread Amar
This patch adds DWMMC device node data for exynos5. This patch also adds binding file for DWMMC device node. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Jaehoon Chung Acked-by: Simon Glass --- Changes since V1: 1)Added binding file for DWMMC device node at the location

[U-Boot] [PATCH V6 01/10] FDT: Add compatible string for DWMMC

2013-02-14 Thread Amar
Add required compatible information for DWMMC driver. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Jaehoon Chung --- Changes since V1: No change. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No chang

[U-Boot] [PATCH V6 00/10] EXYNOS5: Enable DWMMC, add FDT support for DWMMC and enable EMMC boot

2013-02-14 Thread Amar
This patch set enables and initialises DWMMC for Exynos5250 on SMDK5250. Adds driver changes required for DWMMC. Adds FDT support for DWMMC. Adds EMMC boot support for SMDK5250. This patch set is based on: "EXYNOS: mmc: support DesignWare Controller for Samsung-SoC", which is merged in u-boot-mmc.

[U-Boot] [PATCH 6/6 V4] config: Snow: Enable MAX98095 codec

2013-02-14 Thread Rajeshwari Shinde
This patch enables MAX98095 codec required for Snow Signed-off-by: Rajeshwari Shinde --- Changes in V4 - New patch. include/configs/exynos5250-dt.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h i

[U-Boot] [PATCH 5/6 V4] EXYNOS5: FDT: Add compatible strings for MAX98095

2013-02-14 Thread Rajeshwari Shinde
Add required compatible information for MAX98095 codec Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - None Changes in V3: - None Changes in V4: - None include/fdtdec.h |1 + lib/fdtdec.c |1 + 2 files changed, 2 insertions(+), 0 d

[U-Boot] [PATCH 4/6 V4] EXYNOS5: GPIO to enable MAX98095

2013-02-14 Thread Rajeshwari Shinde
This patch sets high a GPIO to enable the codec MAX98095 Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - None Changes in V3: - None Changes in V4: - None board/samsung/smdk5250/smdk5250.c | 15 +++ 1 files changed, 15 insertions(

[U-Boot] [PATCH 3/6 V4] Sound: Support for MAX98095 codec in driver

2013-02-14 Thread Rajeshwari Shinde
This patchs adds support for MAX98095 codec in sound driver. Signed-off-by: Rajeshwari Shinde --- Changes in V2: - None Chnages in V3: - Removed non DT support for MAX98095 Changes in V4: - None drivers/sound/sound.c |9 +++-- include/sound.h |1 + 2 fil

[U-Boot] [PATCH 2/6 V4] Sound: MAX98095: Add the driver for codec

2013-02-14 Thread Rajeshwari Shinde
This patch adds the driver for codec MAX98095 required by Snow Board Signed-off-by: Rajeshwari Shinde --- Chnages in V2: - None Changes in V3: - None Changes in V4: - None drivers/sound/Makefile |1 + drivers/sound/max98095.c | 550 +

[U-Boot] [PATCH 1/6 V4] EXYNOS5: Add function to enable XXTI clock source

2013-02-14 Thread Rajeshwari Shinde
This patch adds funtion to enable XXTI clock source required by MAX98095 codec. Signed-off-by: Rajeshwari Shinde --- Changes in V2: - Corrected multi-line comment style Changes in V3: - None Changes in V4: - Modified XXTI clock source function as per Exynos naming conventi

[U-Boot] [PATCH 0/6 V4] EXYNOS5: Add audio support for Snow

2013-02-14 Thread Rajeshwari Shinde
Driver for MAX98095 is added and support for same is incorporated in sound driver and Snow Board. This patchset is based on top of "EXYNOS5: SNOW: Add initial dts and config file" Changes in V2: - Corrected multi-line comment style Changes in V3: - Removed non DT support for MAX980

[U-Boot] Please pull u-boot-x86.git

2013-02-14 Thread Simon Glass
Hi Tom, The following changes since commit 9c748e02d99476e6a08d55eadfd8776edffe1e2e: Merge branch 'next' of git://git.denx.de/u-boot-mips (2013-02-12 19:03:59 -0500) are available in the git repository at: git://git.denx.de/u-boot-x86.git master for you to fetch changes up to 96dfc0633aab

Re: [U-Boot] [PATCH v3 5/5] x86: Remove unused real mode code

2013-02-14 Thread Simon Glass
On Thu, Feb 14, 2013 at 7:48 PM, Graeme Russ wrote: > Hi Simon, > > On Fri, Feb 15, 2013 at 2:38 PM, Simon Glass wrote: >> This code is pretty old and we want to support only 32-bit systems now. >> >> Signed-off-by: Simon Glass >> --- >> Changes in v3: >> - Punt the real mode flag altogether >>

Re: [U-Boot] [PATCH v2 4/5] x86: Rename CONFIG_NO_X86_RESET_VECTOR to CONFIG_X86_RESET_VECTOR

2013-02-14 Thread Simon Glass
On Thu, Feb 14, 2013 at 4:02 PM, Gabe Black wrote: > Acked-by: Gabe Black > > > On Thu, Feb 14, 2013 at 6:18 AM, Simon Glass wrote: >> >> Invert the polarity of this option to simplify the Makefile logic. >> >> Signed-off-by: Simon Glass Applied to x86/master. >> --- >> Changes in v2: >> - Ad

Re: [U-Boot] [PATCH v2 3/5] x86: Remove unneeded cruft from main Makefile

2013-02-14 Thread Simon Glass
On Thu, Feb 14, 2013 at 4:00 PM, Gabe Black wrote: > Acked-by: Gabe Black > > > On Thu, Feb 14, 2013 at 6:18 AM, Simon Glass wrote: >> >> These lines are dealt with in the x86 Makefile and link script, so punt >> them. >> >> Signed-off-by: Simon Glass Applied to x86/master. >> --- >> Changes

Re: [U-Boot] [PATCH v2 2/5] x86: Remove sc520 cpu

2013-02-14 Thread Simon Glass
On Thu, Feb 14, 2013 at 3:59 PM, Gabe Black wrote: > Acked-by: Gabe Black > > > On Thu, Feb 14, 2013 at 6:18 AM, Simon Glass wrote: >> >> This x86 CPU variant is no longer required as the boards that use it have >> been removed. >> >> >> Signed-off-by: Simon Glass >> Acked-by: Graeme Russ App

Re: [U-Boot] [PATCH v2 1/5] x86: Remove eNET boards

2013-02-14 Thread Simon Glass
On Thu, Feb 14, 2013 at 3:58 PM, Gabe Black wrote: > Acked-by: Gabe Black > > > On Thu, Feb 14, 2013 at 6:18 AM, Simon Glass wrote: >> >> These are no longer used and should be removed. >> >> >> Signed-off-by: Simon Glass >> Acked-by: Graeme Russ Applied to x86/master. >> --- >> Changes in v

Re: [U-Boot] [PATCH v3 5/5] x86: Remove unused real mode code

2013-02-14 Thread Simon Glass
Hi Graeme, On Thu, Feb 14, 2013 at 7:48 PM, Graeme Russ wrote: > Hi Simon, > > On Fri, Feb 15, 2013 at 2:38 PM, Simon Glass wrote: >> This code is pretty old and we want to support only 32-bit systems now. >> >> Signed-off-by: Simon Glass >> --- >> Changes in v3: >> - Punt the real mode flag al

Re: [U-Boot] [PATCH v2 5/5] x86: Remove unused real mode code

2013-02-14 Thread Simon Glass
Hi Graham, On Thu, Feb 14, 2013 at 7:47 PM, Graeme Russ wrote: > Hi Simon, > > On Fri, Feb 15, 2013 at 2:35 PM, Simon Glass wrote: >> Hi Graeme, >> >> On Thu, Feb 14, 2013 at 2:36 PM, Graeme Russ wrote: >>> Hi Simon, >>> >>> On Fri, Feb 15, 2013 at 1:18 AM, Simon Glass wrote: This code is

Re: [U-Boot] [PATCH v3 5/5] x86: Remove unused real mode code

2013-02-14 Thread Graeme Russ
Hi Simon, On Fri, Feb 15, 2013 at 2:38 PM, Simon Glass wrote: > This code is pretty old and we want to support only 32-bit systems now. > > Signed-off-by: Simon Glass > --- > Changes in v3: > - Punt the real mode flag altogether > > Changes in v2: > - Keep the real mode-to-protected code > > RE

Re: [U-Boot] [PATCH v2 5/5] x86: Remove unused real mode code

2013-02-14 Thread Graeme Russ
Hi Simon, On Fri, Feb 15, 2013 at 2:35 PM, Simon Glass wrote: > Hi Graeme, > > On Thu, Feb 14, 2013 at 2:36 PM, Graeme Russ wrote: >> Hi Simon, >> >> On Fri, Feb 15, 2013 at 1:18 AM, Simon Glass wrote: >>> This code is pretty old and we want to support only 32-bit systems now. >>> Keep the real

Re: [U-Boot] Patches for this merge window

2013-02-14 Thread Simon Glass
Hi Tom, On Mon, Feb 11, 2013 at 12:47 PM, Tom Rini wrote: > [take 2 for me, gmail defaults to reply not reply-all] > > On Sun, Feb 10, 2013 at 11:48 PM, Simon Glass wrote: > >> Hi Tom, >> >> I see quite a lot of non-x86 patches in my todo list - does that mean >> that I should pick them up if I

Re: [U-Boot] [PATCH v2 5/5] x86: Remove unused real mode code

2013-02-14 Thread Simon Glass
Hi Graeme, On Thu, Feb 14, 2013 at 2:36 PM, Graeme Russ wrote: > Hi Simon, > > On Fri, Feb 15, 2013 at 1:18 AM, Simon Glass wrote: >> This code is pretty old and we want to support only 32-bit systems now. >> Keep the real mode-to-protected code in case we want to boot an x86 from >> power-up, b

Re: [U-Boot] [PATCH V5 REPOST 6/7] mmc: add bcm2835 driver

2013-02-14 Thread Stephen Warren
On 02/03/2013 04:27 AM, Albert ARIBAUD wrote: > On Tue, 15 Jan 2013 19:26:58 -0700, Stephen Warren > wrote: > >> This adds a simple driver for the BCM2835's SD controller. >> >> Workarounds are implemented for: >> * Register writes can't be too close to each-other in time, or they will >> be lo

Re: [U-Boot] [PATCH v2 3/5] x86: Remove unneeded cruft from main Makefile

2013-02-14 Thread Gabe Black
Acked-by: Gabe Black On Thu, Feb 14, 2013 at 6:18 AM, Simon Glass wrote: > These lines are dealt with in the x86 Makefile and link script, so punt > them. > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Add new patch to tidy up main Makefile > > Makefile | 6 +- > 1 file change

Re: [U-Boot] [PATCH v2 4/5] x86: Rename CONFIG_NO_X86_RESET_VECTOR to CONFIG_X86_RESET_VECTOR

2013-02-14 Thread Gabe Black
Acked-by: Gabe Black On Thu, Feb 14, 2013 at 6:18 AM, Simon Glass wrote: > Invert the polarity of this option to simplify the Makefile logic. > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Add new patch to invert CONFIG_NO_X86_RESET_VECTOR polarity > > README |

Re: [U-Boot] [PATCH v4 0/4] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Lucas Stach
Am Donnerstag, den 14.02.2013, 14:03 -0700 schrieb Tom Warren: > This patchset adds device-tree support to the Tegra MMC driver. > All device config is done via properties in the DT files instead > of hard-coded config options/function arguments. > > I've tested this on my Seaboard and everything

Re: [U-Boot] [PATCH v3 0/7] Move Tegra EHCI drive to correct place

2013-02-14 Thread Lucas Stach
Am Donnerstag, den 14.02.2013, 17:27 +0100 schrieb Marek Vasut: > Dear Lucas Stach, > > > This moves out the Tegra EHCI driver from a platform specific directory > > to the standard driver/usb/host dir. > > > > This is a preparation needed to share this driver between Tegra20 and > > Tegra30. No

Re: [U-Boot] [PATCH v3 0/3] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Tom Warren
Stephen, On Thu, Feb 14, 2013 at 4:27 PM, Stephen Warren wrote: > On 02/13/2013 02:44 PM, Tom Warren wrote: >> This patchset adds device-tree support to the Tegra MMC driver. >> All device config is done via properties in the DT files instead >> of hard-coded config options/function arguments. >>

[U-Boot] [PATCH v2] tpm: Add TPM command library

2013-02-14 Thread Che-Liang Chiou
TPM command library implements a subset of TPM commands defined in TCG Main Specification 1.2 that are useful for implementing secure boot. More TPM commands could be added out of necessity. You may exercise these commands through the 'tpm' command. However, the raw TPM commands are too primitive

Re: [U-Boot] [PATCH v3 0/3] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Stephen Warren
On 02/13/2013 02:44 PM, Tom Warren wrote: > This patchset adds device-tree support to the Tegra MMC driver. > All device config is done via properties in the DT files instead > of hard-coded config options/function arguments. > > I've tested this on my Seaboard and everything works fine, > includi

Re: [U-Boot] [PATCH v4 4/4] Tegra: MMC: Add DT support to MMC driver for all T20 boards

2013-02-14 Thread Stephen Warren
On 02/14/2013 02:04 PM, Tom Warren wrote: > tegra_mmc_init() now parses the DT info for bus width, WP/CD GPIOs, etc. > Tested on Seaboard, fully functional. > > Tamonten boards (medcom-wide, plutux, and tec) use a different/new > dtsi file w/common settings. > diff --git a/drivers/mmc/tegra_mmc.c

Re: [U-Boot] [PATCH v4 0/4] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Stephen Warren
On 02/14/2013 03:48 PM, Marc Dietrich wrote: > Hi Tom, > > On Thursday 14 February 2013 14:03:57 Tom Warren wrote: >> This patchset adds device-tree support to the Tegra MMC driver. >> All device config is done via properties in the DT files instead >> of hard-coded config options/function argumen

Re: [U-Boot] [PATCH v4 0/4] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Tom Warren
Marc, On Thu, Feb 14, 2013 at 3:48 PM, Marc Dietrich wrote: > Hi Tom, > > On Thursday 14 February 2013 14:03:57 Tom Warren wrote: >> This patchset adds device-tree support to the Tegra MMC driver. >> All device config is done via properties in the DT files instead >> of hard-coded config options/

Re: [U-Boot] [PATCH v4 0/4] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Marc Dietrich
Hi Tom, On Thursday 14 February 2013 14:03:57 Tom Warren wrote: > This patchset adds device-tree support to the Tegra MMC driver. > All device config is done via properties in the DT files instead > of hard-coded config options/function arguments. > > I've tested this on my Seaboard and everythin

Re: [U-Boot] [PATCH v3 00/10] Add Marvell Dove and SolidRun CuBox

2013-02-14 Thread Daniel Stodden
On Thu, 2013-02-14 at 13:38 -0500, Jason Cooper wrote: > On Mon, Feb 11, 2013 at 02:46:57PM -0800, Prafulla Wadaskar wrote: > > > > > > > -Original Message- > > > From: Luka Perkov [mailto:l...@openwrt.org] > > > Sent: 11 February 2013 02:08 > > > To: Sebastian Hesselbarth > > > Cc: Prafu

Re: [U-Boot] [PATCH v3 2/3] Tegra114: fdt: Update DT files with I2C info for T114/Dalmore

2013-02-14 Thread Tom Warren
Stephen/Laxman, On Tue, Feb 12, 2013 at 12:07 PM, Tom Warren wrote: > Stephen, > > On Tue, Feb 12, 2013 at 11:10 AM, Stephen Warren > wrote: >> On 02/12/2013 10:40 AM, Tom Warren wrote: >>> Laxman, >>> >>> On Tue, Feb 12, 2013 at 5:02 AM, Laxman Dewangan >>> wrote: On Friday 08 February

Re: [U-Boot] [PATCH v2 5/5] x86: Remove unused real mode code

2013-02-14 Thread Graeme Russ
Hi Simon, On Fri, Feb 15, 2013 at 1:18 AM, Simon Glass wrote: > This code is pretty old and we want to support only 32-bit systems now. > Keep the real mode-to-protected code in case we want to boot an x86 from > power-up, but invert the polarity of the option. > > Signed-off-by: Simon Glass > -

Re: [U-Boot] [PATCH v6 01/17] nand: mxc: Prepare to add support for i.MX5

2013-02-14 Thread Benoît Thébaudeau
On Thursday, February 14, 2013 10:14:26 PM, Benoît Thébaudeau wrote: > Add some abstraction to NFC defitnitions so that some parts of the current ^ Typo detected. Will fix. > code > can also be used for future i.MX5 code. > > Cle

Re: [U-Boot] [PATCH v6 01/17] nand: mxc: Prepare to add support for i.MX5

2013-02-14 Thread Benoît Thébaudeau
Hi Fabio, On Thursday, February 14, 2013 10:39:43 PM, Fabio Estevam wrote: > Hi Benoît, > > On Thu, Feb 14, 2013 at 7:14 PM, Benoît Thébaudeau > wrote: > > Add some abstraction to NFC defitnitions so that some parts of the current > > code > > can also be used for future i.MX5 code. > > > > Clea

Re: [U-Boot] [PATCH v3 00/10] Add Marvell Dove and SolidRun CuBox

2013-02-14 Thread Jason Cooper
On Thu, Feb 14, 2013 at 01:35:47PM -0800, Daniel Stodden wrote: > On Thu, 2013-02-14 at 13:38 -0500, Jason Cooper wrote: > > On Mon, Feb 11, 2013 at 02:46:57PM -0800, Prafulla Wadaskar wrote: > > > > > > > > > > -Original Message- > > > > From: Luka Perkov [mailto:l...@openwrt.org] > > >

[U-Boot] [PATCH] powerpc/p1022ds: Add support for NAND and NAND boot using SPL

2013-02-14 Thread Matthew McClintock
Add defines needed to access NAND, remove second flash bank that is actually connected to NAND. Add nand booting support for P1022DS with hardcoded DDR config using SPL framework from 2011 Signed-off-by: Matthew McClintock Signed-off-by: Jerry Huang Signed-off-by: Jiang Yutang Signed-off-by: K

Re: [U-Boot] [PATCH 13/14] tegra114: add SPI driver

2013-02-14 Thread Allen Martin
On Thu, Feb 14, 2013 at 06:32:06AM -0800, Simon Glass wrote: > Hi Allen, > > On Wed, Feb 13, 2013 at 2:59 PM, Stephen Warren wrote: > > On 02/12/2013 08:23 PM, Allen Martin wrote: > >> Subject: tegra114: add SPI driver > > > > This really touches the SPI sub-system more than Tegra, and the Tegra

Re: [U-Boot] [PATCH 05/14] spi: add common fdt SPI driver interface

2013-02-14 Thread Allen Martin
On Thu, Feb 14, 2013 at 12:21:34PM -0800, Stephen Warren wrote: > On 02/14/2013 01:07 PM, Allen Martin wrote: > > On Wed, Feb 13, 2013 at 02:40:29PM -0800, Stephen Warren wrote: > >> On 02/12/2013 08:23 PM, Allen Martin wrote: > >>> Add a common interface to fdt based SPI drivers. Each driver is >

Re: [U-Boot] [PATCH v6 01/17] nand: mxc: Prepare to add support for i.MX5

2013-02-14 Thread Fabio Estevam
Hi Benoît, On Thu, Feb 14, 2013 at 7:14 PM, Benoît Thébaudeau wrote: > Add some abstraction to NFC defitnitions so that some parts of the current > code > can also be used for future i.MX5 code. > > Clean up a few things by the way. > > Signed-off-by: Benoît Thébaudeau Do you have a git tree w

[U-Boot] [PATCH v6 11/17] arm: relocate_code(): Use __image_copy_end for end of relocation

2013-02-14 Thread Benoît Thébaudeau
Use __image_copy_end instead of __bss_start for the end of the image to relocate. This is the same as commit 033ca72, but applied to all ARM start.S. Signed-off-by: Benoît Thébaudeau --- Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v6 15/17] nand: mxc: Switch NAND SPL to generic SPL

2013-02-14 Thread Benoît Thébaudeau
This also fixes support for mx31pdk and tx25, which had been broken by commit e05e5de7fae5bec79617e113916dac6631251156. Signed-off-by: Benoît Thébaudeau --- Changes in v6: - Automate 'u-boot.imx' and 'SPL' make targets for all imx processors. - Move board_init_f() to .c. - Get rid of board SPL

[U-Boot] [PATCH v6 10/17] arm: relocate_code(): Remove useless relocation offset computation

2013-02-14 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm1136/start.S |1 - arch/arm/cpu/arm1176/start.S |1 - arch/arm/cpu/arm720t/start.S |1 - arch/arm/cpu/arm920t/start

[U-Boot] [PATCH v6 17/17] arm: Remove unused relocate_code() parameters

2013-02-14 Thread Benoît Thébaudeau
Commit e05e5de7fae5bec79617e113916dac6631251156 made the 2 1st parameters of ARM's relocate_code() useless since it moved the code handling them to crt0.S. So, drop these parameters. Signed-off-by: Benoît Thébaudeau --- Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes

[U-Boot] [PATCH v6 16/17] arm926ejs: Remove deprecated and now unused NAND SPL

2013-02-14 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm926ejs/start.S | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/start.S b/arch/arm/cpu/arm926e

[U-Boot] [PATCH v6 14/17] imx: Fix automatic make targets for imx images

2013-02-14 Thread Benoît Thébaudeau
Automatically build the 'u-boot.imx' (i.e. imx header + u-boot.bin) and 'SPL' (i.e. imx header + u-boot-spl.bin) make targets for all imx processors supporting this header, so for arm926ejs, arm1136 and armv7. Some combinations were missing. At the same time, fix the build of SPL targets not suppo

[U-Boot] [PATCH v6 12/17] arm: crt0.S: Remove bogus .globl

2013-02-14 Thread Benoît Thébaudeau
The purpose of .globl is to export symbols for ld, not to declare external symbols. Signed-off-by: Benoît Thébaudeau --- Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/lib/crt0.S | 21 - 1 file changed

[U-Boot] [PATCH v6 13/17] Makefile: u-boot-with-spl.bin: Fix SPL padding

2013-02-14 Thread Benoît Thébaudeau
PAD_TO is not a generic SPL configuration option, so use CONFIG_SPL_MAX_SIZE instead. We want to use --pad-to with a size, but this option expects an address, so make addresses start at 0 with --change-addresses. This does not affect the binary image. Signed-off-by: Benoît Thébaudeau --- Changes

[U-Boot] [PATCH v6 07/17] arm: start.S: Fix _TEXT_BASE for SPL

2013-02-14 Thread Benoît Thébaudeau
_TEXT_BASE must be set to CONFIG_SPL_TEXT_BASE for generic SPL, and to CONFIG_SYS_TEXT_BASE for non-SPL builds. Signed-off-by: Benoît Thébaudeau --- Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm1136/start.S |

[U-Boot] [PATCH v6 08/17] arm: relocate_code() is no longer noreturn

2013-02-14 Thread Benoît Thébaudeau
Commit e05e5de7fae5bec79617e113916dac6631251156 made ARM's relocate_code() return to its caller, but it did not update its declaration accordingly. Fixing this function declaration fixes dropped C code following calls to relocate_code(). Signed-off-by: Benoît Thébaudeau --- Changes in v6: - New

[U-Boot] [PATCH v6 06/17] nand: mxc: Use appropriate page number in syndrome functions

2013-02-14 Thread Benoît Thébaudeau
The syndrome functions should use the page number passed as argument instead of the page number saved upon NAND_CMD_READ0. This does not make any difference if the NAND_NO_AUTOINCR option is set, but otherwise this fixes accesses to the wrong pages. Signed-off-by: Benoît Thébaudeau --- Changes i

[U-Boot] [PATCH v6 05/17] nand: mxc: Fix debug trace in mxc_nand_read_oob_syndrome()

2013-02-14 Thread Benoît Thébaudeau
The page number indicated in the debug trace of mxc_nand_read_oob_syndrome() did not match the page being worked on. By the way, replace the GCC-specific __FUNCTION__ with __func__. Signed-off-by: Benoît Thébaudeau --- Changes in v6: None Changes in v5: - Replace __FUNCTION__ with __func__. Ch

[U-Boot] [PATCH v6 09/17] arm1136: Remove redundant relocate_code() return

2013-02-14 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v6: - New patch, extracted from "nand: mxc: Switch NAND SPL to generic SPL". Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm1136/start.S |2 -- 1 file changed, 2 deletions(-) diff --git a/arch

[U-Boot] [PATCH v6 04/17] imx: mx53ard: Add support for NAND Flash

2013-02-14 Thread Benoît Thébaudeau
Add support for the Samsung K9LAG08U0M NAND Flash (2-GiB MLC NAND Flash, 2-kiB pages, 256-kiB blocks, 30-ns R/W cycles, 1 CS) on mx53ard. eNFC_CLK_ROOT is set up with a cycle time of 37.5 ns (400 MHz / 3 / 5) for this board, which satisfies the 30-ns NF R/W cycle requirement. Signed-off-by: Benoî

[U-Boot] [PATCH v6 02/17] nand: mxc: Add support for i.MX5

2013-02-14 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - Separate code reformatting from behavioral changes. Changes in v2: None arch/arm/include/asm/arch-mx5/imx-regs.h |9 +++ drivers/mtd/nand/mxc_nand.c | 129 +++

[U-Boot] [PATCH v6 01/17] nand: mxc: Prepare to add support for i.MX5

2013-02-14 Thread Benoît Thébaudeau
Add some abstraction to NFC defitnitions so that some parts of the current code can also be used for future i.MX5 code. Clean up a few things by the way. Signed-off-by: Benoît Thébaudeau --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - Separate code reformatting

[U-Boot] [PATCH v6 03/17] imx: mx5: lowlevel_init: Simplify code

2013-02-14 Thread Benoît Thébaudeau
Don't use several instructions to build constant values. Signed-off-by: Benoît Thébaudeau Acked-by: Stefano Babic --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - New patch. Changes in v2: None arch/arm/cpu/armv7/mx5/lowlevel_init.S |8 ++-- 1 file cha

[U-Boot] [PATCH v4 4/4] Tegra: MMC: Add DT support to MMC driver for all T20 boards

2013-02-14 Thread Tom Warren
tegra_mmc_init() now parses the DT info for bus width, WP/CD GPIOs, etc. Tested on Seaboard, fully functional. Tamonten boards (medcom-wide, plutux, and tec) use a different/new dtsi file w/common settings. Signed-off-by: Tom Warren Signed-off-by: Thierry Reding --- v2: - all boards now call te

[U-Boot] [PATCH v4 3/4] Tegra: fdt: tamonten: Add common tamonten.dtsi file from linux

2013-02-14 Thread Tom Warren
Tamonten boards (medcom-wide, plutux, and tec) use a different/new dtsi file w/common settings. Signed-off-by: Tom Warren Acked-by: Thierry Reding --- v3: new v4: no change board/avionic-design/dts/tegra20-tamonten.dtsi | 489 1 files changed, 489 insertions(+), 0 del

[U-Boot] [PATCH v4 2/4] Tegra: fdt: Add/enhance sdhci (mmc) nodes for all T20 DT files

2013-02-14 Thread Tom Warren
Linux dts files were used for those boards that didn't already have sdhci info populated. Tamonten has their own dtsi file with common sdhci nodes (sourced from Linux). Signed-off-by: Tom Warren Tested-by: Thierry Reding --- v2: - cleanup comments in dts files/match w/kernel files - add sdhci al

[U-Boot] [PATCH v4 1/4] fdt: Add dts/dtsi file include paths to DTC command line

2013-02-14 Thread Tom Warren
This requires a version of dtc that can handle the 'i' argument Signed-off-by: Tom Warren --- v4: new dts/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dts/Makefile b/dts/Makefile index 922c78c..2ef31e9 100644 --- a/dts/Makefile +++ b/dts/Makefile @@ -50,7 +

[U-Boot] [PATCH v4 0/4] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Tom Warren
This patchset adds device-tree support to the Tegra MMC driver. All device config is done via properties in the DT files instead of hard-coded config options/function arguments. I've tested this on my Seaboard and everything works fine, including card detect. For the other T20 boards, I've used th

[U-Boot] break command.

2013-02-14 Thread Sean Omalley
Is there anyway to break back into u-boot after trying to boot from linux (arm)? Similar to Open Firmwares stop-a, ctrl-break? I didn't see anything in the documentation nor poking around online. I am really hoping I missed something, or there is support that just needs to be compiled in. :) Ev

Re: [U-Boot] [PATCH v3 1/3] Tegra: fdt: Add/enhance sdhci (mmc) nodes for all T20 DT files

2013-02-14 Thread Stephen Warren
On 02/14/2013 09:14 AM, Tom Warren wrote: > Stephen, > > On Wed, Feb 13, 2013 at 5:10 PM, Stephen Warren wrote: >> On 02/13/2013 02:44 PM, Tom Warren wrote: >>> Linux dts files were used for those boards that didn't already >>> have sdhci info populated. Tamonten has their own dtsi file with >>>

Re: [U-Boot] [PATCH 05/14] spi: add common fdt SPI driver interface

2013-02-14 Thread Stephen Warren
On 02/14/2013 01:07 PM, Allen Martin wrote: > On Wed, Feb 13, 2013 at 02:40:29PM -0800, Stephen Warren wrote: >> On 02/12/2013 08:23 PM, Allen Martin wrote: >>> Add a common interface to fdt based SPI drivers. Each driver is >>> represented by a table entry in fdt_spi_drivers[]. If there are >>>

[U-Boot] [PATCH] common/main: move set_working_fdt_addr to enable usage of $fdtaddr

2013-02-14 Thread Barak Wasserstrom
When using $fdtaddr in $bootcmd and $bootcmd is automatically called, $fdtaddr is yet not defined. Signed-off-by: Barak Wasserstrom --- common/main.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/main.c b/common/main.c index e2d2e09..77b9076 100644 --- a/comm

Re: [U-Boot] [PATCH 01/14] tegra: spi: rename tegra SPI drivers

2013-02-14 Thread Stephen Warren
On 02/14/2013 12:58 PM, Allen Martin wrote: > On Wed, Feb 13, 2013 at 02:30:26PM -0800, Stephen Warren wrote: >> On 02/12/2013 08:23 PM, Allen Martin wrote: >>> Rename tegra SPI drivers to tegra20_spi and tegra30_spi in preparation >>> for commonization and addition of tegra114_spi. >> >> This isn'

Re: [U-Boot] [PATCH 05/14] spi: add common fdt SPI driver interface

2013-02-14 Thread Allen Martin
On Wed, Feb 13, 2013 at 02:40:29PM -0800, Stephen Warren wrote: > On 02/12/2013 08:23 PM, Allen Martin wrote: > > Add a common interface to fdt based SPI drivers. Each driver is > > represented by a table entry in fdt_spi_drivers[]. If there are > > multiple SPI drivers in the table, the first dr

Re: [U-Boot] [PATCH 01/14] tegra: spi: rename tegra SPI drivers

2013-02-14 Thread Allen Martin
On Wed, Feb 13, 2013 at 02:36:10PM -0800, Stephen Warren wrote: > On 02/12/2013 08:23 PM, Allen Martin wrote: > > Rename tegra SPI drivers to tegra20_spi and tegra30_spi in preparation > > for commonization and addition of tegra114_spi. > > > board/nvidia/common/uart-spi-switch.c |2

Re: [U-Boot] [PATCH 01/14] tegra: spi: rename tegra SPI drivers

2013-02-14 Thread Allen Martin
On Wed, Feb 13, 2013 at 02:30:26PM -0800, Stephen Warren wrote: > On 02/12/2013 08:23 PM, Allen Martin wrote: > > Rename tegra SPI drivers to tegra20_spi and tegra30_spi in preparation > > for commonization and addition of tegra114_spi. > > This isn't logically quite right. Both types (sflash, sli

Re: [U-Boot] [PATCH v3 0/3] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Thierry Reding
On Thu, Feb 14, 2013 at 08:19:54AM +0100, Thierry Reding wrote: > On Wed, Feb 13, 2013 at 02:44:47PM -0700, Tom Warren wrote: > > This patchset adds device-tree support to the Tegra MMC driver. > > All device config is done via properties in the DT files instead > > of hard-coded config options/fun

Re: [U-Boot] [PATCH 2/4] Tegra: Medcom-Wide: Enable NAND and boot script support

2013-02-14 Thread Thierry Reding
On Thu, Feb 14, 2013 at 10:19:28AM -0700, Stephen Warren wrote: > On 02/14/2013 12:54 AM, Thierry Reding wrote: > > Boot script support brings Medcom-Wide in line with other Tegra boards. > > In order to enable booting a Linux kernel with initial ramdisk, also add > > support for the new FIT image

Re: [U-Boot] [PATCH 03/14] tegra: spi: pull register structs out of headers

2013-02-14 Thread Allen Martin
On Wed, Feb 13, 2013 at 02:32:44PM -0800, Stephen Warren wrote: > On 02/12/2013 08:23 PM, Allen Martin wrote: > > Move register structs from headers into .c files and use common name. > > This is in preparation of making common fdt front end for SPI > > drivers. > > Why not move all the register d

Re: [U-Boot] [PATCH v3 00/10] Add Marvell Dove and SolidRun CuBox

2013-02-14 Thread Jason Cooper
On Mon, Feb 11, 2013 at 02:46:57PM -0800, Prafulla Wadaskar wrote: > > > > -Original Message- > > From: Luka Perkov [mailto:l...@openwrt.org] > > Sent: 11 February 2013 02:08 > > To: Sebastian Hesselbarth > > Cc: Prafulla Wadaskar; u-boot@lists.denx.de; Rabeeh Khoury; Albert > > Aribaud;

Re: [U-Boot] [PATCH v2 10/10] mx23_olinuxino: Add ethernet support

2013-02-14 Thread Otavio Salvador
On Thu, Feb 14, 2013 at 2:44 PM, Marek Vasut wrote: > Dear Otavio Salvador, > >> On Wed, Feb 13, 2013 at 7:36 PM, Marek Vasut wrote: >> > Dear Otavio Salvador, >> > >> >> On Wed, Feb 13, 2013 at 7:19 PM, Marek Vasut wrote: >> >> > Dear Otavio Salvador, >> >> > >> >> >> This adds support to the L

Re: [U-Boot] [PATCH v3 0/7] Move Tegra EHCI drive to correct place

2013-02-14 Thread Marek Vasut
Dear Lucas Stach, > This moves out the Tegra EHCI driver from a platform specific directory > to the standard driver/usb/host dir. > > This is a preparation needed to share this driver between Tegra20 and > Tegra30. No functional change in here, so Tegra30 is still not working. > > Patch 6 could

Re: [U-Boot] [PATCH v2 10/10] mx23_olinuxino: Add ethernet support

2013-02-14 Thread Marek Vasut
Dear Otavio Salvador, > On Wed, Feb 13, 2013 at 7:36 PM, Marek Vasut wrote: > > Dear Otavio Salvador, > > > >> On Wed, Feb 13, 2013 at 7:19 PM, Marek Vasut wrote: > >> > Dear Otavio Salvador, > >> > > >> >> This adds support to the LAN9512 chip included in the board and > >> >> extend the envi

Re: [U-Boot] support all dataflash for at91sam9g20ek_2mmc

2013-02-14 Thread John Stile
On Thu, 2013-02-14 at 07:20 -0800, John Stile wrote: > I am using uboot-2013.01, with at91sam9g20ek_2mmc and I am trying to > build for dataflash, using at91bootstrap-1.16, and buildroot-2011.11 > > Initially I built for nand flash, with a patch to boards.cfg and > at91sam9260ek.c > > This was fi

Re: [U-Boot] [PATCH v2 03/10] mx23evk: Adjust DRAM control register to use full 128MB of RAM

2013-02-14 Thread Marek Vasut
Dear Otavio Salvador, > On Wed, Feb 13, 2013 at 7:33 PM, Marek Vasut wrote: > > Dear Otavio Salvador, > > > >> On Wed, Feb 13, 2013 at 7:13 PM, Marek Vasut wrote: > >> > Dear Otavio Salvador, > >> > > >> >> Adjust HW_DRAM_CTL14 to enable the chip selects to allow usage of > >> >> full 128MB of

[U-Boot] usb storage/fatload: Should it work with SmartPhones?

2013-02-14 Thread ANDY KENNEDY
All, I was playing with the USB support within u-boot. I can see various jump-drives just fine. I attempted to plug in my smart phone (a Motorola) and run the 'usb start' command. The command detects that there is something on the USB wire, it even sees that there is a USB storage device, it ju

Re: [U-Boot] [PATCH 2/4] Tegra: Medcom-Wide: Enable NAND and boot script support

2013-02-14 Thread Stephen Warren
On 02/14/2013 12:54 AM, Thierry Reding wrote: > Boot script support brings Medcom-Wide in line with other Tegra boards. > In order to enable booting a Linux kernel with initial ramdisk, also add > support for the new FIT image type. I don't care if you enable FIT on your boards, but I would like t

Re: [U-Boot] [PATCH v2 46/58] avr32: Use generic global_data

2013-02-14 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/14/2013 11:11 AM, Andreas Bie￟mann wrote: > Hi Simon, > > On 02/14/2013 03:25 PM, Simon Glass wrote: >> Hi Andreas, >> >> On Thu, Feb 14, 2013 at 2:29 AM, Andreas Bie￟mann >> wrote: >>> Dear Simon Glass, >>> >>> On 12/14/2012 07:49 AM, Simon

Re: [U-Boot] [PATCH v3 1/3] Tegra: fdt: Add/enhance sdhci (mmc) nodes for all T20 DT files

2013-02-14 Thread Tom Warren
Stephen, On Wed, Feb 13, 2013 at 5:10 PM, Stephen Warren wrote: > On 02/13/2013 02:44 PM, Tom Warren wrote: >> Linux dts files were used for those boards that didn't already >> have sdhci info populated. Tamonten has their own dtsi file with >> common sdhci nodes (sourced from Linux). > >> diff -

Re: [U-Boot] [PATCH v2 46/58] avr32: Use generic global_data

2013-02-14 Thread Andreas Bießmann
Hi Simon, On 02/14/2013 03:25 PM, Simon Glass wrote: > Hi Andreas, > > On Thu, Feb 14, 2013 at 2:29 AM, Andreas Bießmann > wrote: >> Dear Simon Glass, >> >> On 12/14/2012 07:49 AM, Simon Glass wrote: >>> Move avr32 over to use generic global_data. >>> >>> Signed-off-by: Simon Glass >> >> this o

[U-Boot] AM335x : failure to boot SPL from NAND

2013-02-14 Thread Mark Jackson
I'm trying to diagnose why our AM335x based CPU board (based on the AM335x Starter Kit) can boot SPL and U-Boot from an MMC card, but is unable to boot from NAND (connected to CS0). Following the TI wiki (http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide#Flashing_images_to_NAND

Re: [U-Boot] [PATCH v3 3/3] Tegra: MMC: Add DT support to MMC driver for all T20 boards

2013-02-14 Thread Tom Warren
Stephen, On Wed, Feb 13, 2013 at 5:17 PM, Stephen Warren wrote: > On 02/13/2013 02:44 PM, Tom Warren wrote: >> tegra_mmc_init() now parses the DT info for bus width, WP/CD GPIOs, etc. >> Tested on Seaboard, fully functional. >> >> Tamonten boards (medcom-wide, plutux, and tec) use a different/new

  1   2   >