Re: [U-Boot] [PATCH 1/2] SPI: Add i.MX ECSPI driver

2012-01-12 Thread Dirk Behme
On 12.01.2012 16:37, Marek Vasut wrote: From: Eric Nelson Signed-off-by: Eric Nelson CC: Jason Liu CC: Stefano Babic --- ... + if (max_hz < imx_spi_slave->freq) + imx_spi_slave->freq = max_hz ; " ;" <-- fix globally ... run tools/checkpatch.pl before submitting First, m

Re: [U-Boot] [PATCH 7/7] tegra: Enable I2C on Seaboard

2012-01-12 Thread Heiko Schocher
Hello Simon, Simon Glass wrote: > +U-Boot, which I seemed to have dropped by mistake > > Hi Stephen, > > On Thu, Jan 12, 2012 at 10:59 AM, Stephen Warren wrote: >> Simon Glass wrote at Wednesday, January 11, 2012 8:00 PM: >>> On Mon, Jan 9, 2012 at 1:45 PM, Stephen Warren wrote: On 12/26/

Re: [U-Boot] [PATCH v2 4/7] tegra: Add I2C driver

2012-01-12 Thread Heiko Schocher
Hello Simon, Simon Glass wrote: > From: Yen Lin > > Add basic i2c driver for Tegra2 with 8- and 16-bit address support. > The driver requires CONFIG_OF_CONTROL to obtain its configuration > from the device tree. > > (Simon Glass: s...@chromium.org modified for upstream) > > Signed-off-by: Simon

Re: [U-Boot] [PATCH 2/2] i.mx6q: SabreLite: Add SPI NOR support

2012-01-12 Thread Dirk Behme
On 12.01.2012 16:48, Fabio Estevam wrote: On Thu, Jan 12, 2012 at 1:38 PM, Marek Vasut wrote: Also, Do you even need the ecspi thing? Doesn't uboot support some kind of imx spi driver already? Yes, this is the same question I have. Can't drivers/spi/mxc_spi.c be extended to support mx6? E

Re: [U-Boot] u-boot-imx on Freescale MX28EVK

2012-01-12 Thread Matthias Fuchs
Hi Robert, I a patch would be welcome. I only need USB and SPI flash for my application. And USB was easy to setup. Currently I am also jiggling around the SPI / SPI flash support. I only mentioned the 2009.08 u-boot for reference in my initial posting. There was no plan to stay with it - of cour

[U-Boot] [PATCH v3 4/4] zipitz2: fix boot issue introduced by PXA low level init rework

2012-01-12 Thread Vasily Khoruzhick
CONFIG_SYS_INIT_SP_ADDR points to RAM, but it's used before DRAM controller init. Fix it by setting CONFIG_SYS_INIT_SP_ADDR to SRAM Signed-off-by: Vasily Khoruzhick --- v2: no changes v3: introduce PHYS_SRAM, use it for SYS_INIT_SP_ADDR calculation include/configs/zipitz2.h |8 +++- 1 f

[U-Boot] [PATCH v3 3/4] zipitz2: use pxa_mmc_gen as MMC driver

2012-01-12 Thread Vasily Khoruzhick
Signed-off-by: Vasily Khoruzhick --- v2: mmcinfo is necessary to scan card for partitions v3: replace mmcinfo with mmc rescan board/zipitz2/zipitz2.c |8 include/configs/zipitz2.h | 14 -- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/board/zipitz2/

[U-Boot] [PATCH v3 2/4] zipitz2: enable pxa27x_mkp driver

2012-01-12 Thread Vasily Khoruzhick
Signed-off-by: Vasily Khoruzhick --- v2: remove usbtty stuff from EXTRA_ENV_SETTINGS v3: shift+backspace should produce backspace code include/configs/zipitz2.h | 82 ++--- 1 files changed, 77 insertions(+), 5 deletions(-) diff --git a/include/configs/z

[U-Boot] [PATCH v3 1/4] PXA: PXA27x Matrix keypad driver

2012-01-12 Thread Vasily Khoruzhick
From: Marek Vasut Signed-off-by: Marek Vasut Signed-off-by: Vasily Khoruzhick [vasily: adapted Marek's old version for newer u-boot, fixed multiple keypresses handling] --- v2: use struct-based access to regs, minor cleanup v3: fix multiple keypresses handling, minor cleanup arch/arm

Re: [U-Boot] [PATCH 1/8] powerpc/srio: Correct the register defined errors in the struct ccsr_rio_t

2012-01-12 Thread Liu Gang
Hi, Kumar, On Thu, 2012-01-12 at 10:47 -0600, Kumar Gala wrote: > On Jan 10, 2012, at 5:42 AM, Liu Gang wrote: > > > + u32 didcar; /* 0xc - Device Identity CAR */ > > Drop the '0xc' prefix in the comment, same comment for all registers. Thanks, I'll rewrite this struct. Best Regards,

Re: [U-Boot] [PATCH 4/7] tegra: Add I2C driver

2012-01-12 Thread Heiko Schocher
Hello Stephen, Stephen Warren wrote: > Simon Glass wrote ednesday, January 11, 2012 9:18 PM: >> On Mon, Jan 9, 2012 at 2:07 PM, Stephen Warren wrote: >>> On 12/26/2011 11:11 AM, Simon Glass wrote: From: Yen Lin Add basic i2c driver for Tegra2 with 8- and 16-bit address support. >>

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

2012-01-12 Thread Liu Gang
Dear Wolfgang, On Wed, 2012-01-11 at 08:23 +0100, Wolfgang Denk wrote: > > +#ifdef CONFIG_SRIOBOOT_SLAVE > > + /* > > +* *I*G - SRIOBOOT-SLAVE. 1M space from 0xffe0 for fetching ucode > > +* and ENV from master > > +*/ > > What is this "*I*G - " doing here? This means that the

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

2012-01-12 Thread Liu Gang
Dear Wolfgang, On Wed, 2012-01-11 at 08:31 +0100, Wolfgang Denk wrote: > > 3. Normally boot from local Nor flash. > > Please use "NOR flash" (or "nor flash", if you insist). "Nor" makes > no sense. Please fix globally. Thanks, will modify. > > + printf("SRIOBOOT - MASTER: Master port [ %d

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

2012-01-12 Thread Liu Gang
Dear Wolfgang, On Wed, 2012-01-11 at 08:27 +0100, Wolfgang Denk wrote: > > Where is CONFIG_SYS_QE_FMAN_FW_IN_REMOTE documented? And where is the code > > that uses it? > > [Liu Gang-B34182] Sorry I documented this definition in "[PATCH 6/8] > > powerpc/boot: Slave uploads ucode when boot from S

Re: [U-Boot] [PATCH v2 3/7] tegra: fdt: Add extra I2C bindings for U-Boot

2012-01-12 Thread Heiko Schocher
Hello Simon, Simon Glass wrote: > Add U-Boot's peripheral clock information to the Tegra20 device tree file. > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Adjust definitions to fit new peripheral clock bindings > - Change 'speed' to 'clock-frequency' > - Remove u-boot,pinmux binding

Re: [U-Boot] [PATCH v2 0/7] tegra: Add I2C driver and associated parts

2012-01-12 Thread Heiko Schocher
Hello Simon, Simon Glass wrote: > This series brings in an I2C driver for Tegra which can be > configured by a flat device tree. > > It supports 8- and 16-bit addresses and both the normal I2C ports and > the DVC port (for controlling the power management unit (PMU)). > > Recent Linux bindings a

[U-Boot] [PATCH 2/2] nand/fsl_elbc: Convert to self-init

2012-01-12 Thread Scott Wood
This driver doesn't yet make use of the added flexibility (not that that should stop anyone from converting...), but it will with the in-progress hack to support 4k-page NAND. Signed-off-by: Scott Wood --- drivers/mtd/nand/fsl_elbc_nand.c | 43 + include/nan

[U-Boot] [PATCH 1/2] nand: Introduce CONFIG_SYS_NAND_SELF_INIT

2012-01-12 Thread Scott Wood
This allows a driver to run code between nand_scan_ident() and nand_scan_tail(), among other things. See the additions to doc/README.nand for details. To allow a gradual transition, Boards that don't set CONFIG_SYS_NAND_SELF_INIT will still be initialized the old way, but new drivers should not r

[U-Boot] [PATCH 1/3 v8] arm926ejs: add NXP LPC32x0 cpu series support

2012-01-12 Thread Vladimir Zapolskiy
This change adds initial support for NXP LPC32x0 SoC series. Signed-off-by: Vladimir Zapolskiy Cc: Albert ARIBAUD Cc: Wolfgang Denk --- Changes from v7 to v8: * renamed register structures from *_t to *_regs * renamed clkpwr.c file to clk.c * fixed several macro definitions * various cosmetic f

[U-Boot] [PATCH 3/3 v5] devkit3250: add Timll DevKit3250 board initial support

2012-01-12 Thread Vladimir Zapolskiy
This change adds a basic support for Embest/Timll DevKit3250 board, NOR and UART are the only supported peripherals for a moment. The board doesn't require low-level init, because the initial SDRAM and GPIO configuration is performed during kickstart bootloader execution. Signed-off-by: Vladimir Z

[U-Boot] [PATCH 0/3 v3] devkit3250: add Timll DevKit3250 board initial support

2012-01-12 Thread Vladimir Zapolskiy
This patchset adds generic NXP LPC32XX SoC support and basic support for Embest/Timll DevKit3250 board, which powered by this SoC. The patchset is done on top of u-boot/master branch. The general difference of this resent series from the previous ones is that high speed UART driver was added into

[U-Boot] [PATCH 2/3 v3] serial: add LPC32X0 high-speed UART devices support

2012-01-12 Thread Vladimir Zapolskiy
This change adds an implementation of high-speed UART found on NXP LPC32X0 SoCs. Such UARTs are enumerated as UART1, UART2 and UART7. Signed-off-by: Vladimir Zapolskiy Cc: Albert ARIBAUD Cc: Wolfgang Denk --- Changes from v2 to v3: * renamed struct hsuart_t to hsuart_regs Changes from v1 to v2

Re: [U-Boot] [PATCH 13/14] tegra: Add EMC settings for Seaboard, Harmony

2012-01-12 Thread Simon Glass
Hi Stephen, On Thu, Jan 12, 2012 at 4:10 PM, Stephen Warren wrote: > Simon Glass wrote at Thursday, January 12, 2012 5:06 PM: >> On Thu, Jan 12, 2012 at 4:01 PM, Stephen Warren wrote: >> > Simon Glass wrote at Thursday, January 12, 2012 4:55 PM: >> >> On Thu, Jan 12, 2012 at 3:42 PM, Stephen War

Re: [U-Boot] [PATCH 13/14] tegra: Add EMC settings for Seaboard, Harmony

2012-01-12 Thread Stephen Warren
Simon Glass wrote at Thursday, January 12, 2012 5:06 PM: > On Thu, Jan 12, 2012 at 4:01 PM, Stephen Warren wrote: > > Simon Glass wrote at Thursday, January 12, 2012 4:55 PM: > >> On Thu, Jan 12, 2012 at 3:42 PM, Stephen Warren wrote: > >> > Simon Glass wrote at Thursday, January 12, 2012 4:05 PM

Re: [U-Boot] mx28evk_config integration

2012-01-12 Thread Fabio Estevam
On Thu, Jan 12, 2012 at 8:07 PM, Robert Deliën wrote: > Hi Stefano, > > Can I post a patch for your u-boot-imx tree with my integration of extra > subsystems for the mx28evk board, or should I wait until your work on > mx28evk_config is in the mainline? I think it is OK if you post patches agains

Re: [U-Boot] [PATCH 13/14] tegra: Add EMC settings for Seaboard, Harmony

2012-01-12 Thread Simon Glass
Hi Stephen, On Thu, Jan 12, 2012 at 4:01 PM, Stephen Warren wrote: > Simon Glass wrote at Thursday, January 12, 2012 4:55 PM: >> On Thu, Jan 12, 2012 at 3:42 PM, Stephen Warren wrote: >> > Simon Glass wrote at Thursday, January 12, 2012 4:05 PM: >> >> On Tue, Jan 10, 2012 at 10:46 AM, Stephen Wa

Re: [U-Boot] [PATCH 13/14] tegra: Add EMC settings for Seaboard, Harmony

2012-01-12 Thread Stephen Warren
Simon Glass wrote at Thursday, January 12, 2012 4:55 PM: > On Thu, Jan 12, 2012 at 3:42 PM, Stephen Warren wrote: > > Simon Glass wrote at Thursday, January 12, 2012 4:05 PM: > >> On Tue, Jan 10, 2012 at 10:46 AM, Stephen Warren > >> wrote: > >> > On 12/26/2011 12:33 PM, Simon Glass wrote: > >>

Re: [U-Boot] [PATCH 07/14] tegra: Add PMU to manage power supplies

2012-01-12 Thread Simon Glass
Hi Stephen, On Thu, Jan 12, 2012 at 3:43 PM, Stephen Warren wrote: > Simon Glass wrote at Thursday, January 12, 2012 4:17 PM: >> On Tue, Jan 10, 2012 at 9:56 AM, Stephen Warren wrote: >> > On 12/26/2011 12:33 PM, Simon Glass wrote: >> >> From: Jimmy Zhang >> >> >> >> Power supplies must be adju

Re: [U-Boot] [PATCH 13/14] tegra: Add EMC settings for Seaboard, Harmony

2012-01-12 Thread Simon Glass
Hi Stephen, On Thu, Jan 12, 2012 at 3:42 PM, Stephen Warren wrote: > Simon Glass wrote at Thursday, January 12, 2012 4:05 PM: >> On Tue, Jan 10, 2012 at 10:46 AM, Stephen Warren wrote: >> > On 12/26/2011 12:33 PM, Simon Glass wrote: >> >> From: Jimmy Zhang >> >> >> >> Set Seaboard and Harmony t

Re: [U-Boot] [PATCH 07/14] tegra: Add PMU to manage power supplies

2012-01-12 Thread Stephen Warren
Simon Glass wrote at Thursday, January 12, 2012 4:17 PM: > On Tue, Jan 10, 2012 at 9:56 AM, Stephen Warren wrote: > > On 12/26/2011 12:33 PM, Simon Glass wrote: > >> From: Jimmy Zhang > >> > >> Power supplies must be adjusted in line with clock frequency. This code > >> provides a simple routine

Re: [U-Boot] [PATCH 08/14] tegra: Set up PMU for Nvidia boards

2012-01-12 Thread Simon Glass
Hi Stephen, On Tue, Jan 10, 2012 at 10:02 AM, Stephen Warren wrote: > On 12/26/2011 12:33 PM, Simon Glass wrote: >> Adjust PMU to permit maximum frequency operation. > ... >> diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c > ... >> +#ifdef CONFIG_TEGRA2_I2C >> +     i2c_ini

Re: [U-Boot] [PATCH 13/14] tegra: Add EMC settings for Seaboard, Harmony

2012-01-12 Thread Stephen Warren
Simon Glass wrote at Thursday, January 12, 2012 4:05 PM: > On Tue, Jan 10, 2012 at 10:46 AM, Stephen Warren wrote: > > On 12/26/2011 12:33 PM, Simon Glass wrote: > >> From: Jimmy Zhang > >> > >> Set Seaboard and Harmony to optimal memory settings based on the SOC > >> in use (T20 or T25). ... > >

Re: [U-Boot] [PATCH 07/14] tegra: Add PMU to manage power supplies

2012-01-12 Thread Simon Glass
Hi Stephen, On Tue, Jan 10, 2012 at 9:56 AM, Stephen Warren wrote: > On 12/26/2011 12:33 PM, Simon Glass wrote: >> From: Jimmy Zhang >> >> Power supplies must be adjusted in line with clock frequency. This code >> provides a simple routine to set the voltage to allow operation at maximum >> freq

Re: [U-Boot] [PATCH 13/14] tegra: Add EMC settings for Seaboard, Harmony

2012-01-12 Thread Simon Glass
Hi Stephen, On Tue, Jan 10, 2012 at 10:46 AM, Stephen Warren wrote: > On 12/26/2011 12:33 PM, Simon Glass wrote: >> From: Jimmy Zhang >> >> Set Seaboard and Harmony to optimal memory settings based on the SOC >> in use (T20 or T25). >> >> Signed-off-by: Simon Glass > >> diff --git a/board/nvidi

Re: [U-Boot] [PATCH] cmd_source: introduce run_script()

2012-01-12 Thread Michael Walle
Am Donnerstag 12 Januar 2012, 22:51:48 schrieb Michael Walle: > Am Mittwoch 11 Januar 2012, 00:40:04 schrieb Mike Frysinger: > > although i wonder if it'd be possible to merge this into existing > > run_commands2() ... do we allow newlines now in variables that get run ? > > mh if the hush par

Re: [U-Boot] [PATCH] arm, arm-kirkwood: disable l2c before linux boot

2012-01-12 Thread Albert ARIBAUD
Hi Michael, Le 02/01/2012 19:37, Michael Walle a écrit : Am Mittwoch 21 Dezember 2011, 00:35:46 schrieb Michael Walle: The decompressor expects the L2 cache to be disabled. This fixes booting some kernels, which have CONFIG_ARM_PATCH_PHYS_VIRT enabled. Ping :) Sorry, start of year was hecti

Re: [U-Boot] compile the u-boot

2012-01-12 Thread Albert ARIBAUD
Hi Jilin, Le 12/01/2012 21:42, Jilin Zhou a écrit : Hi there, Today I downloaded u-boot-2011.12. When I tried to build the u-boot for omap4_panda, I go the following error msg: /u-boot-2011.12/include/common.h:744: error: expected declaration specifiers or '...' before 'va_list' In file incl

[U-Boot] mx28evk_config integration

2012-01-12 Thread Robert Deliën
Hi Stefano, Can I post a patch for your u-boot-imx tree with my integration of extra subsystems for the mx28evk board, or should I wait until your work on mx28evk_config is in the mainline? By the way, I have the stranges issue with both your mx28evk_config, Marek's m28evk_config and my combined

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

2012-01-12 Thread Albert ARIBAUD
Hi Tom, Le 04/01/2012 17:19, Tom Rini a écrit : Hi Albert, This replaces the pull request I sent for u-boot-ti/next back around Dec 23rd that wasn't pulled. The following changes since commit a747cc0a8c55d69a56a6db80a35cdb48c853447d: Thierry Reding (1): tegra2: Optimize out-of-tree

[U-Boot] compile the u-boot

2012-01-12 Thread Jilin Zhou
Hi there, Today I downloaded u-boot-2011.12. When I tried to build the u-boot for omap4_panda, I go the following error msg: /u-boot-2011.12/include/common.h:744: error: expected declaration specifiers or '...' before 'va_list' In file included from lib/asm-offsets.c:18: /u-boot-2011.12/include

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx

2012-01-12 Thread Albert ARIBAUD
Hi Stefano, Le 04/01/2012 17:57, Stefano Babic a écrit : Hi Albert, please pull from u-boot-imx, thanks. The following changes since commit a747cc0a8c55d69a56a6db80a35cdb48c853447d: tegra2: Optimize out-of-tree build for Ventana. (2011-12-24 10:23:32 +0100) are available in the git reposi

Re: [U-Boot] u-boot-imx on Freescale MX28EVK

2012-01-12 Thread Robert Deliën
Hi Matthias, I have a fully functional U-Boot for the mx28evk board: - Both Ethernet ports work - Both MMC slots work - NAND works (if configure in, one MMC slot will be configured out, due to shared pins) - USB works - I2C works - Currently working on SPI It's basically an integration of u-boot

Re: [U-Boot] [PATCH] cmd_source: introduce run_script()

2012-01-12 Thread Michael Walle
Am Mittwoch 11 Januar 2012, 00:40:04 schrieb Mike Frysinger: > although i wonder if it'd be possible to merge this into existing > run_commands2() ... do we allow newlines now in variables that get run ? mh if the hush parser is enabled this seems to be true. eg. source() and run_commands2() use t

Re: [U-Boot] [PATCH 06/14] tegra: Add EMC support for optimal memory timings

2012-01-12 Thread Simon Glass
Hi Stephen, On Mon, Jan 9, 2012 at 3:38 PM, Stephen Warren wrote: > On 12/26/2011 12:32 PM, Simon Glass wrote: >> From: Jimmy Zhang >> >> Add support for setting up the memory controller parameters. Boards >> can call tegra_set_emc() with a table containing the required >> parameters. > ... >> d

[U-Boot] [GIT PULL] please pull u-boot-mpc85xx

2012-01-12 Thread Kumar Gala
The following changes since commit 9a4209869bd2c37affd931d627b3c3e72952: Rob Herring (1): ARM: highbank: enable networking and pxe are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master Kyle Moffett (2): eXMeritus HWW-1U-1A: Minor environment va

Re: [U-Boot] [PATCH 05/14] tegra: Add tegra_get_chip_type() to detect SKU

2012-01-12 Thread Stephen Warren
Simon Glass wrote at Thursday, January 12, 2012 12:36 PM: > On Mon, Jan 9, 2012 at 3:24 PM, Stephen Warren wrote: > > On 12/26/2011 12:32 PM, Simon Glass wrote: ... > > I think this should read/validate/switch-on the SoC ID field too; I > > assume the SKU IDs can only be interpreted relative to so

Re: [U-Boot] [PATCH 05/14] tegra: Add tegra_get_chip_type() to detect SKU

2012-01-12 Thread Simon Glass
Hi Stephen, On Mon, Jan 9, 2012 at 3:24 PM, Stephen Warren wrote: > On 12/26/2011 12:32 PM, Simon Glass wrote: >> We want to know which type of chip we are running on - the Tegra >> family has several SKUs. This can be determined by reading a >> fuse register, so add this function to ap20. > ...

[U-Boot] [PATCH] post/Makefile: Only build FP post tests if enabled via CONFIG_SYS_POST_FPU

2012-01-12 Thread Kumar Gala
Signed-off-by: Kumar Gala --- post/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/post/Makefile b/post/Makefile index 200e2f1..55b7d21 100644 --- a/post/Makefile +++ b/post/Makefile @@ -32,7 +32,7 @@ COBJS-$(CONFIG_POST_STD_LIST) += tests.o SPLIB-$(CONFIG_HAS_

Re: [U-Boot] [PATCH 7/7] tegra: Enable I2C on Seaboard

2012-01-12 Thread Simon Glass
Hi Stephen, On Thu, Jan 12, 2012 at 11:21 AM, Stephen Warren wrote: > Simon Glass wrote at Thursday, January 12, 2012 12:10 PM: >> On Thu, Jan 12, 2012 at 10:59 AM, Stephen Warren wrote: >> > Simon Glass wrote at Wednesday, January 11, 2012 8:00 PM: > ... >> >> Also U-Boot tends to call i2c_init

Re: [U-Boot] [PATCH 7/7] tegra: Enable I2C on Seaboard

2012-01-12 Thread Stephen Warren
Simon Glass wrote at Thursday, January 12, 2012 12:10 PM: > On Thu, Jan 12, 2012 at 10:59 AM, Stephen Warren wrote: > > Simon Glass wrote at Wednesday, January 11, 2012 8:00 PM: ... > >> Also U-Boot tends to call i2c_init() before every use of i2c, whereas > >> we just want to init once and be don

Re: [U-Boot] [PATCH 4/7] tegra: Add I2C driver

2012-01-12 Thread Stephen Warren
Simon Glass wrote ednesday, January 11, 2012 9:18 PM: > On Mon, Jan 9, 2012 at 2:07 PM, Stephen Warren wrote: > > On 12/26/2011 11:11 AM, Simon Glass wrote: > >> From: Yen Lin > >> > >> Add basic i2c driver for Tegra2 with 8- and 16-bit address support. > >> The driver supports building both with

Re: [U-Boot] [PATCH 7/7] tegra: Enable I2C on Seaboard

2012-01-12 Thread Simon Glass
+U-Boot, which I seemed to have dropped by mistake Hi Stephen, On Thu, Jan 12, 2012 at 10:59 AM, Stephen Warren wrote: > Simon Glass wrote at Wednesday, January 11, 2012 8:00 PM: >> On Mon, Jan 9, 2012 at 1:45 PM, Stephen Warren wrote: >> > On 12/26/2011 11:11 AM, Simon Glass wrote: >> >> This

[U-Boot] [PATCH v2 4/7] tegra: Add I2C driver

2012-01-12 Thread Simon Glass
From: Yen Lin Add basic i2c driver for Tegra2 with 8- and 16-bit address support. The driver requires CONFIG_OF_CONTROL to obtain its configuration from the device tree. (Simon Glass: s...@chromium.org modified for upstream) Signed-off-by: Simon Glass --- Changes in v2: - Use DIV_ROUND_UP() in

[U-Boot] [PATCH v2 7/7] tegra: Enable I2C on Seaboard

2012-01-12 Thread Simon Glass
This enables I2C on Seaboard. Signed-off-by: Simon Glass --- include/configs/seaboard.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 6937bcc..1494fc0 100644 --- a/include/configs/seaboard.h +++ b/in

[U-Boot] [PATCH v2 2/7] fdt: Add function to allow aliases to refer to multiple nodes

2012-01-12 Thread Simon Glass
Some devices can deal with multiple compatible properties. The devices need to know which nodes to bind to which features. For example an I2C driver which supports two different controller types will want to know which type it is dealing with in each case. The new fdtdec_add_aliases_for_id() funct

[U-Boot] [PATCH v2 6/7] tegra: Select I2C ordering for Seaboard

2012-01-12 Thread Simon Glass
Select the port ordering for I2C on Seaboard. Signed-off-by: Simon Glass Acked-by: Stephen Warren --- Changes in v2: - Disable port 2 as it is not used board/nvidia/dts/tegra2-seaboard.dts | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/board/nvidia/dts/tegra

[U-Boot] [PATCH v2 1/7] tegra: Rename NV_PA_PMC_BASE to TEGRA2_PMC_BASE

2012-01-12 Thread Simon Glass
Change this name to fit with the current convention in the Tegra header file. Signed-off-by: Simon Glass Acked-by: Stephen Warren --- arch/arm/cpu/armv7/tegra2/ap20.c | 10 +- arch/arm/cpu/armv7/tegra2/board.c |2 +- arch/arm/include/asm/arch-tegra2/tegra2.h |

[U-Boot] [PATCH v2 3/7] tegra: fdt: Add extra I2C bindings for U-Boot

2012-01-12 Thread Simon Glass
Add U-Boot's peripheral clock information to the Tegra20 device tree file. Signed-off-by: Simon Glass --- Changes in v2: - Adjust definitions to fit new peripheral clock bindings - Change 'speed' to 'clock-frequency' - Remove u-boot,pinmux binding (sadly) arch/arm/dts/tegra20.dtsi | 10 ++

[U-Boot] [PATCH v2 5/7] tegra: Initialise I2C on Nvidia boards

2012-01-12 Thread Simon Glass
This enables I2C on all Nvidia boards including Seaboard and Harmony. Signed-off-by: Simon Glass --- Changes in v2: - Add build warning if CONFIG_SYS_I2C_INIT_BOARD is not defined board/nvidia/common/board.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/board/nv

[U-Boot] [PATCH v2 0/7] tegra: Add I2C driver and associated parts

2012-01-12 Thread Simon Glass
This series brings in an I2C driver for Tegra which can be configured by a flat device tree. It supports 8- and 16-bit addresses and both the normal I2C ports and the DVC port (for controlling the power management unit (PMU)). Recent Linux bindings are used, based on example .dts files found in b

Re: [U-Boot] [PATCH] kirkwood_spi: correct access to irq_mask register

2012-01-12 Thread Ian Campbell
On Thu, 2012-01-12 at 08:22 -0800, Prafulla Wadaskar wrote: > > > -Original Message- > > From: Ian Campbell [mailto:i...@hellion.org.uk] > > Sent: 12 January 2012 21:40 > > To: u-boot@lists.denx.de > > Cc: Ian Campbell; Prafulla Wadaskar; Albert ARIBAUD > > Subject: [PATCH] kirkwood_spi: c

Re: [U-Boot] [PATCH 1/8] powerpc/srio: Correct the register defined errors in the struct ccsr_rio_t

2012-01-12 Thread Kumar Gala
On Jan 10, 2012, at 5:42 AM, Liu Gang wrote: > + u32 didcar; /* 0xc - Device Identity CAR */ Drop the '0xc' prefix in the comment, same comment for all registers. - k ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailma

Re: [U-Boot] [PATCH] kirkwood_spi: correct access to irq_mask register

2012-01-12 Thread Prafulla Wadaskar
> -Original Message- > From: Ian Campbell [mailto:i...@hellion.org.uk] > Sent: 12 January 2012 21:40 > To: u-boot@lists.denx.de > Cc: Ian Campbell; Prafulla Wadaskar; Albert ARIBAUD > Subject: [PATCH] kirkwood_spi: correct access to irq_mask register > > Problem appears to have been pres

[U-Boot] [PATCH] kirkwood_spi: correct access to irq_mask register

2012-01-12 Thread Ian Campbell
Problem appears to have been present since day one but masked because alignment aborts were not enabled. ca4b55800ed7 "arm, arm926ejs: always do cpu critical inits" turned on alignment aborts and uncovered this latent problem. Signed-off-by: Ian Campbell Acked-By: Jason Cooper Tested-By: Holger

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

2012-01-12 Thread Stephan Linz
Am Donnerstag, den 12.01.2012, 11:53 +0100 schrieb Michal Simek: > Wolfgang Denk wrote: > > Dear Stephan Linz, > > > > >> But what would be the best implementation for unspecified targets here? > > > > The question is actually a very simple one here: is there any board > > configuration in mainl

Re: [U-Boot] [PATCH 2/2] i.mx6q: SabreLite: Add SPI NOR support

2012-01-12 Thread Fabio Estevam
On Thu, Jan 12, 2012 at 1:38 PM, Marek Vasut wrote: > Also, Do you even need the ecspi thing? Doesn't uboot support some kind of imx > spi driver already? Yes, this is the same question I have. Can't drivers/spi/mxc_spi.c be extended to support mx6? Regards, Fabio Estevam

Re: [U-Boot] [PATCH 1/2] SPI: Add i.MX ECSPI driver

2012-01-12 Thread Fabio Estevam
On Thu, Jan 12, 2012 at 1:27 PM, Dirk Behme wrote: > +static s32 spi_reset(struct spi_slave *slave) > +{ > +       u32 clk_src = mxc_get_clock(MXC_CSPI_CLK); > +       u32 pre_div = 0, post_div = 0, reg_ctrl, reg_config; > +       struct imx_spi_dev_t *dev = to_imx_spi_slave(slave); > +       str

Re: [U-Boot] [PATCH 2/2] i.mx6q: SabreLite: Add SPI NOR support

2012-01-12 Thread Marek Vasut
> From: Eric Nelson > > Signed-off-by: Eric Nelson > CC: Jason Liu > CC: Stefano Babic > --- > Note: These two patches are against the recent head of u-boot-imx.git > including the SabreLite support: > > 5b894e4d00ff94a221f8cc23d54d08b889f54190 > i.mx: i.mx6q: add the initial supp

Re: [U-Boot] [PATCH 1/2] SPI: Add i.MX ECSPI driver

2012-01-12 Thread Marek Vasut
> From: Eric Nelson > > Signed-off-by: Eric Nelson > CC: Jason Liu > CC: Stefano Babic > --- > drivers/spi/Makefile|1 + > drivers/spi/imx_ecspi.c | 334 > +++ include/imx_spi.h | > 97 ++ > 3 files changed, 432 insertion

Re: [U-Boot] [PATCH 2/2] i.mx6q: SabreLite: Add SPI NOR support

2012-01-12 Thread Fabio Estevam
On Thu, Jan 12, 2012 at 1:27 PM, Dirk Behme wrote: > +#ifdef CONFIG_CMD_SF > +       #define CONFIG_FSL_SF           1 > +       #define CONFIG_SPI_FLASH       1 > +       #define CONFIG_SPI_FLASH_SST    1 > +       #define CONFIG_SPI_FLASH_CS     1 > +       #define CONFIG_IMX_ECSPI > +       #d

[U-Boot] [PATCH 2/2] i.mx6q: SabreLite: Add SPI NOR support

2012-01-12 Thread Dirk Behme
From: Eric Nelson Signed-off-by: Eric Nelson CC: Jason Liu CC: Stefano Babic --- Note: These two patches are against the recent head of u-boot-imx.git including the SabreLite support: 5b894e4d00ff94a221f8cc23d54d08b889f54190 i.mx: i.mx6q: add the initial support for i.mx6q S

[U-Boot] [PATCH 1/2] SPI: Add i.MX ECSPI driver

2012-01-12 Thread Dirk Behme
From: Eric Nelson Signed-off-by: Eric Nelson CC: Jason Liu CC: Stefano Babic --- drivers/spi/Makefile|1 + drivers/spi/imx_ecspi.c | 334 +++ include/imx_spi.h | 97 ++ 3 files changed, 432 insertions(+), 0 deletions(-)

Re: [U-Boot] v2011.12 and later do not boot on dreamplug.

2012-01-12 Thread Jason
Ian, On Thu, Jan 12, 2012 at 08:01:45AM +, Ian Campbell wrote: > On Sun, 2012-01-08 at 17:54 -0500, Jason wrote: > > On Sun, Jan 08, 2012 at 07:49:05PM +, Ian Campbell wrote: > > > On Sun, 2012-01-08 at 15:30 +, Ian Campbell wrote: > > > diff --git a/drivers/spi/kirkwood_spi.c b/driver

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

2012-01-12 Thread Sughosh Ganu
hi Christian, On Thu Jan 12, 2012 at 03:04:37PM +0100, Christian Riesch wrote: > On Thu, Jan 12, 2012 at 2:53 PM, Sughosh Ganu wrote: > > On Thu Jan 12, 2012 at 01:03:05PM +0100, Christian Riesch wrote: > >> > >> Since all my tests were successful I wonder what issues did you have > >> with th

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

2012-01-12 Thread Christian Riesch
On Thu, Jan 12, 2012 at 2:53 PM, Sughosh Ganu wrote: > On Thu Jan 12, 2012 at 01:03:05PM +0100, Christian Riesch wrote: >> On Tue, Jan 10, 2012 at 7:12 PM, Sughosh Ganu >> wrote: >> > The current implementation invalidates the cache instead of flushing >> > it. This causes problems on platforms

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

2012-01-12 Thread Sughosh Ganu
hi Christian, On Thu Jan 12, 2012 at 01:03:05PM +0100, Christian Riesch wrote: > Hi Sughosh, > > On Tue, Jan 10, 2012 at 7:12 PM, Sughosh Ganu wrote: > > The current implementation invalidates the cache instead of flushing > > it. This causes problems on platforms where the spl/u-boot is already

Re: [U-Boot] u-boot-imx on Freescale MX28EVK

2012-01-12 Thread Matthias Fuchs
On 12.01.2012 11:15, Fabio Estevam wrote: > Hi Matthias, > > On Thu, Jan 12, 2012 at 8:07 AM, Matthias Fuchs wrote: >> Hi Fabio, >> >> thanks for your details. Some of the discrete switches where messed up. >> Boot Mode was fine. So now it's working fine. >> >> Even the power button is not needed

[U-Boot] [PATCH v2 6/6] cm-t35: use the new EEPROM module to read the MAC address

2012-01-12 Thread Igor Grinberg
From: Nikita Kiryanov Switch to the new EEPROM module and fix the problem of MAC address being read from the wrong offset due to lack of distinction between EEPROM layouts. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- Changes in v2: * Make the cm_t3x_eeprom_read_mac_addr()

[U-Boot] [PATCH v3 3/6] cm-t35: add EEPROM module and pass Linux a serial number

2012-01-12 Thread Igor Grinberg
From: Nikita Kiryanov Add board specific EEPROM handling module, read the serial number from the EEPROM and pass it to Linux. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- Changes in v2: * Use CONFIG_SYS_I2C_EEPROM_ADDR instead of a custom define * Fix strange linker warnin

Re: [U-Boot] bootm not taking dtb

2012-01-12 Thread JR Rivers
U-Boot 2009.06 (Apr 19 2011 - 12:54:10) Note that I did not compile or install this uboot version on the system. JR On Jan 11, 2012, at 9:29 PM, Wolfgang Denk wrote: > Dear JR Rivers, > > In message you > wrote: >> >> I am working with a powerpc embedded system where u-boot seems to be pas

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

2012-01-12 Thread Christian Riesch
Hi Sughosh, On Tue, Jan 10, 2012 at 7:12 PM, Sughosh Ganu wrote: > The current implementation invalidates the cache instead of flushing > it. This causes problems on platforms where the spl/u-boot is already > loaded to the RAM, with caches enabled by a first stage bootloader. > > The V bit of th

Re: [U-Boot] [PATCH v3 3/4] EXYNOS: Add SMDK5250 board support

2012-01-12 Thread Wolfgang Denk
Dear Chander Kashyap, In message you wrote: > > > Simon and Wolfgang have been commented to make these files to C. > > So, What is your plan? > I am working on it. If possible please merge these patches. As soon as > I am finished with converting in to c files I will submit the patches > to rep

Re: [U-Boot] [PATCH 2/2 V4] Changes to move hawkboard to the new spl infrastructure

2012-01-12 Thread Christian Riesch
On Thu, Jan 12, 2012 at 10:39 AM, Sughosh Ganu wrote: > hi Christian, > > On Thu Jan 12, 2012 at 10:02:47AM +0100, Christian Riesch wrote: >> Hi Sughosh, >> >> On Wed, Jan 11, 2012 at 6:03 PM, Sughosh Ganu >> wrote: >> > This patch moves hawkboard to the new spl infrastructure from the >> > olde

Re: [U-Boot] [PATCH 1/3 v7] arm926ejs: add NXP LPC32x0 cpu series support

2012-01-12 Thread Marek Vasut
> On 12.01.2012 01:51, Marek Vasut wrote: > >> This change adds initial support for NXP LPC32x0 SoC series. > >> > >> Signed-off-by: Vladimir Zapolskiy > >> Cc: Albert ARIBAUD > >> Cc: Wolfgang Denk > >> --- > >> Changes from v6 to v7: > >> * get use of setbits_le32() and friends > >> * add arch_c

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

2012-01-12 Thread Michal Simek
Wolfgang Denk wrote: Dear Stephan Linz, In message <1325956366.18981.47.camel@keto> you wrote: I'll provide the same way for the Xilinx LL_TEMAC driver as for the Xilinx AXI-EMAC driver. I prepare the microblaze-generic board code to support all potential Ethernet drivers but leave out the spec

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

2012-01-12 Thread Govindraj
On Thu, Jan 12, 2012 at 2:53 PM, Igor Grinberg wrote: > Hi Govindraj, > > On 01/12/12 07:45, Govindraj wrote: >> Hi Igor, >> >> On Wed, Jan 11, 2012 at 8:33 PM, Igor Grinberg >> wrote: >>> Hi Guys, >>> >>> On 01/11/12 16:34, Marek Vasut wrote: > On Wed, Jan 11, 2012 at 6:58 PM, Marek Vasut

Re: [U-Boot] [PATCH 2/2] imx: tt01: add MMC support

2012-01-12 Thread Helmut Raiger
Hi, this is imx related, subject wasn't taken from the compose email. Helmut -- Scanned by MailScanner. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] u-boot-imx on Freescale MX28EVK

2012-01-12 Thread Fabio Estevam
Hi Matthias, On Thu, Jan 12, 2012 at 8:07 AM, Matthias Fuchs wrote: > Hi Fabio, > > thanks for your details. Some of the discrete switches where messed up. > Boot Mode was fine. So now it's working fine. > > Even the power button is not needed ;-) I am glad to know it is working now. I will cre

Re: [U-Boot] u-boot-imx on Freescale MX28EVK

2012-01-12 Thread Matthias Fuchs
Hi Fabio, thanks for your details. Some of the discrete switches where messed up. Boot Mode was fine. So now it's working fine. Even the power button is not needed ;-) I still have to investigate a little to get USB recovery working. This does not work out of the box as with Freescale'S initial

Re: [U-Boot] [PATCH 2/2 V4] Changes to move hawkboard to the new spl infrastructure

2012-01-12 Thread Sughosh Ganu
hi Christian, On Thu Jan 12, 2012 at 10:02:47AM +0100, Christian Riesch wrote: > Hi Sughosh, > > On Wed, Jan 11, 2012 at 6:03 PM, Sughosh Ganu wrote: > > This patch moves hawkboard to the new spl infrastructure from the > > older nand_spl one. > > > > Removed the hawkboard_nand_config build opti

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

2012-01-12 Thread Dirk Behme
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 Signed-off-by: Fabio Estevam CC: Stefano Babic CC: Jason Liu --- doc/README.imximage | 13 +++-- tools/imximage.c|4 +++-

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

2012-01-12 Thread Dirk Behme
i.MX53 is supported, too. Add this to the introduction of the documentation. Signed-off-by: Dirk Behme CC: Fabio Estevam CC: Stefano Babic CC: Jason Liu --- doc/README.imximage |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/README.imximage b/doc/README.imximage

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

2012-01-12 Thread Dirk Behme
Signed-off-by: Dirk Behme CC: Fabio Estevam CC: Stefano Babic CC: Jason Liu --- Note: This was requested by Wolfgang in http://www.mail-archive.com/u-boot@lists.denx.de/msg71842.html tools/imximage.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/imx

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

2012-01-12 Thread Igor Grinberg
Hi Govindraj, On 01/12/12 07:45, Govindraj wrote: > Hi Igor, > > On Wed, Jan 11, 2012 at 8:33 PM, Igor Grinberg > wrote: >> Hi Guys, >> >> On 01/11/12 16:34, Marek Vasut wrote: On Wed, Jan 11, 2012 at 6:58 PM, Marek Vasut wrote: >> On Wed, Jan 11, 2012 at 6:16 PM, Marek Vasut >>

Re: [U-Boot] [PATCH 2/2 V4] Changes to move hawkboard to the new spl infrastructure

2012-01-12 Thread Christian Riesch
Hi Sughosh, On Wed, Jan 11, 2012 at 6:03 PM, Sughosh Ganu wrote: > This patch moves hawkboard to the new spl infrastructure from the > older nand_spl one. > > Removed the hawkboard_nand_config build option -- The spl code now > gets compiled with hawkboard_config, after building the main u-boot >

[U-Boot] [PATCH v2] arm, davinci: Add support for the Calimain board from OMICRON electronics

2012-01-12 Thread Christian Riesch
This patch adds support for the Calimain board from OMICRON electronics GmbH. The board features a Texas Instruments AM1808 SoC, 128 MB DDR2 memory, and 64 MB NOR flash memory connected to CS2 and CS3. Signed-off-by: Christian Riesch --- Changes for v2: - Removed CONFIG_NET_MULTI as suggested by

Re: [U-Boot] [PATCH v2] sdhc_boot: Introduce CONFIG_FSL_FIXED_MMC_LOCATION option

2012-01-12 Thread Stefano Babic
On 11/01/2012 20:20, Fabio Estevam wrote: > Since commit 97039ab98 (env_mmc: Allow board code to override the environment > address) > mmc_get_env_addr is a weak-aliased function in common/env_mmc.c > > The mmc_get_env_addr implementation that exists at > board/freescale/common/sdhc_boot.c is mea

Re: [U-Boot] [PATCH v3 2/4] ARM: EXYNOS: Add support for Exynos5 based SoCs

2012-01-12 Thread Minkyu Kang
Dear Chander Kashyap, On 11 January 2012 22:55, Chander Kashyap wrote: > Samsung's ARM Cortex-A15 based SoCs are known as Exynos5 series of > SoCs. This patch adds the support for Exynos5. > > Signed-off-by: Chander Kashyap > --- > Changes for v2: >        - This patch was part of "EXYNOS: Add S

Re: [U-Boot] [PATCH v3 3/4] EXYNOS: Add SMDK5250 board support

2012-01-12 Thread Chander Kashyap
Dear Minkyu kang, On 12 January 2012 14:06, Minkyu Kang wrote: > Dear Chander Kashyap, > > On 11 January 2012 22:55, Chander Kashyap wrote: >> SMDK5250 board is based on Samsungs EXYNOS5250 SoC. >> >> Signed-off-by: Chander Kashyap >> --- >> Changes for v2: >>        - This patch is bifurcated

Re: [U-Boot] [PATCH v3 3/4] EXYNOS: Add SMDK5250 board support

2012-01-12 Thread Minkyu Kang
Dear Chander Kashyap, On 11 January 2012 22:55, Chander Kashyap wrote: > SMDK5250 board is based on Samsungs EXYNOS5250 SoC. > > Signed-off-by: Chander Kashyap > --- > Changes for v2: >        - This patch is bifurcated into borad support and SoC support >        - Fixed typo: s/EEYNOS/EXYNOS >

  1   2   >