[U-Boot] [PATCH] driver/mtd/IFC:Wait tWB time, poll R/B before command execution

2012-11-08 Thread Prabhakar Kushwaha
IFC_FIR_OP_CMD0 issues command for execution without checking flash readiness. It may cause problem if flash is not ready. Instead use IFC_FIR_OP_CW0 which Wait for tWB time and poll R/B to return high or time-out, before issuing command. NAND_CMD_READID command implemention does not fulfill

[U-Boot] [PATCH v4] video: atmel: implement lcd_setcolreg funtion

2012-11-08 Thread Bo Shen
implement the common api lce_setcolreg in include/lcd.h Signed-off-by: Bo Shen voice.s...@atmel.com --- since v3: * add magic number since v2: * add this single patch --- drivers/video/atmel_hlcdfb.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

[U-Boot] [PATCH 0/8 v3] Add TMU support for Exynos5250 based SMDK5250

2012-11-08 Thread Hatim Ali
This patch series adds support for TMU driver using device tree for Exynos5250 based SMDK5250 board. This patch series is dependent on the patch series Add DT based ethernet driver for SMDK5250 by Hatim Ali Changes since v2: - Replaced THERMAL with TMU in guards of tmu.h and exynos-tmu.h

[U-Boot] [PATCH 2/8 v3] EXYNOS5: TMU: Add driver for Thermal Management Unit

2012-11-08 Thread Hatim Ali
From: Akshay Saraswat aksha...@samsung.com Adding Exynos Thermal Management Unit driver to monitor SOC temperature and take actions corresponding to states of TMU. System will shutdown if tripping temperature is reached. Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass

[U-Boot] [PATCH 3/8 v3] EXYNOS5: Power down API for Thermal Management Unit

2012-11-08 Thread Hatim Ali
From: Akshay Saraswat aksha...@samsung.com Adding API in power for system shutdown when tripping value is reached in Exynos Thermal Management Unit. Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v2: - None

[U-Boot] [PATCH 4/8 v3] Add a poll function to monitor events

2012-11-08 Thread Hatim Ali
From: Akshay Saraswat aksha...@samsung.com Adding a generic polling function to continuously monitor events and trigger actions corresponding to them. Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v2: - None README

[U-Boot] [PATCH 5/8 v3] EXYNOS5: TMU: Add TMU status polling

2012-11-08 Thread Hatim Ali
From: Akshay Saraswat aksha...@samsung.com This adds call to tmu_init() and TMU status polling in board_poll_devices() funtion to monitor temperature change of the SOC. Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v2: -

[U-Boot] [PATCH 6/8 v3] EXYNOS5: Config: Enable support for Exynos TMU driver

2012-11-08 Thread Hatim Ali
From: Akshay Saraswat aksha...@samsung.com Enables TMU driver support for exynos5250 Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v2: - None include/configs/exynos5250-dt.h |6 ++ 1 files changed, 6 insertions(+),

[U-Boot] [PATCH 7/8 v3] TMU: Add u-boot command to read current temp

2012-11-08 Thread Hatim Ali
From: Alim Akhtar alim.akh...@samsung.com Adds a new u-boot command to read current temprature from tmu driver. Signed-off-by: Alim Akhtar alim.akh...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v2: - Updated Monitor Commands in README README |1

[U-Boot] [PATCH 8/8 v3] EXYNOS5: Config: Enable tmu command

2012-11-08 Thread Hatim Ali
From: Alim Akhtar alim.akh...@samsung.com This enables the tmu command to read the current SOC temperature with the help of TMU Signed-off-by: Alim Akhtar alim.akh...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v2: - None include/configs/exynos5250-dt.h |1

[U-Boot] [PATCH 1/8 v3] EXYNOS5: FDT: Add TMU device node values

2012-11-08 Thread Hatim Ali
From: Akshay Saraswat aksha...@samsung.com Fdt entry for Exynos TMU driver specific pre-defined values used for calibration of current temperature and defining threshold values. Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v2:

Re: [U-Boot] [PATCH v2 3/8] am33xx: NAND support

2012-11-08 Thread Peter Korsgaard
Ilya == Ilya Yanok ilya.ya...@cogentembedded.com writes: Ilya TI AM33XX has the same GPMC controller as OMAP3 so we could just use the Ilya existing omap_gpmc driver. This patch adds adds required Ilya definitions/intialization. Ilya Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com

Re: [U-Boot] S-o-b entries for bcm2708 SDHCI driver in the downstream R.Pi Linux kernel

2012-11-08 Thread Oleksandr Tymoshenko
On 2012-11-07, at 9:38 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 11/07/2012 01:47 PM, Oleksandr Tymoshenko wrote: On 11/6/2012 6:58 PM, Stephen Warren wrote: On 10/26/2012 10:54 PM, Stephen Warren wrote: (Sorry for the resend; I sent this to the wrong U-Boot mailing list the first

Re: [U-Boot] [PATCH v5 06/26] pmic: Enable power_board_init() support at TRATS

2012-11-08 Thread Minkyu Kang
On 06/11/12 02:28, Lukasz Majewski wrote: Enable support for power_board_init() method at TRATS board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - None Changes for v3: - Remove CONFIG_POWER_INIT flag

Re: [U-Boot] [PATCH v5 15/26] arm:trats:pmic: Enable MUIC (MAX8997) at Samsung's TRATS board

2012-11-08 Thread Minkyu Kang
On 06/11/12 02:28, Lukasz Majewski wrote: MUIC IC built into the MAX8997 device is enabled at TRATS. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - None Changes for

Re: [U-Boot] [PATCH v5 16/26] arm:trats:pmic: Enable fuel-gauge (MAX17042) at Samsung's TRATS board

2012-11-08 Thread Minkyu Kang
On 06/11/12 02:28, Lukasz Majewski wrote: FG IC built into the MAX8997 device (compliant to MAX17042) is enabled at TRATS. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v2:

Re: [U-Boot] [PATCH v5 17/26] arm:trats:pmic: Enable battery support at Samsung's TRATS board

2012-11-08 Thread Minkyu Kang
On 06/11/12 02:28, Lukasz Majewski wrote: Support for TRATS battery has been added. It is treated as a normal power related device and thereof controlled by pmic/power subsystem. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc:

Re: [U-Boot] [PATCH v5 20/26] arm:trats:pmic: Support for charging battery at Samsung's TRATS board

2012-11-08 Thread Minkyu Kang
On 06/11/12 02:28, Lukasz Majewski wrote: The battery connected to Samsung's Trats development board is now charged when voltage drops below threshold. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang

Re: [U-Boot] [PATCH v5 14/26] arm:trats:pmic: Default PMIC(MAX8997) initialization for Samsung's TRATS board

2012-11-08 Thread Minkyu Kang
On 06/11/12 02:28, Lukasz Majewski wrote: Default PMIC (MAX8997) initialization for Samsung's TRATS development board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: -

Re: [U-Boot] [PATCH v5 25/26] arm:goni:pmic: Adjust GONI target platform board to new PMIC framework

2012-11-08 Thread Minkyu Kang
On 06/11/12 02:28, Lukasz Majewski wrote: Move pmic_init() function call from board_init() to power_init_board() to work with new PMIC/POWER framework. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang

Re: [U-Boot] [PATCH v5 26/26] arm:universal_c210:pmic: Adjust C210 Universal target platform board to new PMIC framework

2012-11-08 Thread Minkyu Kang
On 06/11/12 02:28, Lukasz Majewski wrote: Move pmic_init() function call from board_init() to power_init_board() to work with new PMIC/POWER framework. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang

[U-Boot] Signing Images - was: TPM: remove dead code

2012-11-08 Thread Wolfgang Denk
[Note: Subject changed, Threading restarted]. Dear Simon, In message CAPnjgZ11wScsnvPG29CFDRYz7Xbtp=wb+tl0umgvnvhmhmj...@mail.gmail.com you wrote: Comment for 1. (but not relateds to this thread, just a note while we are at it): I imagine such functionality should be integrated with the

Re: [U-Boot] [PATCH v5 19/26] arm:trats:pmic: Power consumption reduction state for Samsung's TRATS board

2012-11-08 Thread Minkyu Kang
On 06/11/12 02:28, Lukasz Majewski wrote: When charging battery is necessary, the development board needs to be turned into low power mode for better efficiency. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang

Re: [U-Boot] [PATCH 14/17] console: Call overwrite_console before searching for console devices

2012-11-08 Thread Wolfgang Denk
Dear Simon, In message capnjgz1mmjh7xd3zaqznjfge2uvg_km1j0pwf4xsl3pry23...@mail.gmail.com you wrote: Move the overwrite_console function call to before the search for the console devices. This lets the board specific function replace the environment variables and have that picked up by

Re: [U-Boot] [PATCH] common: fix help command breakage

2012-11-08 Thread Wolfgang Denk
Dear Kim Phillips, In message 20121105195111.8a326673862d0552354e2...@freescale.com you wrote: commit 199adb601ff34bdbbd0667fac80dfe0a87bffc2b common/misc: sparse fixes broke the help command trying to fix the sparse error command.c:44:38: error: bad constant expression. As Henrik points

Re: [U-Boot] [PATCH v2 09/25] common/cmd_*.c: sparse fixes

2012-11-08 Thread Wolfgang Denk
Dear Kim Phillips, In message 1351553687-12469-10-git-send-email-kim.phill...@freescale.com you wrote: ... Signed-off-by: Kim Phillips kim.phill...@freescale.com Has anybody tested the impact of this change on the memory footprint? I object against the implementation. The whole idea of the

Re: [U-Boot] [PATCH v5 20/26] arm:trats:pmic: Support for charging battery at Samsung's TRATS board

2012-11-08 Thread Lukasz Majewski
Hi Minkyu, On 06/11/12 02:28, Lukasz Majewski wrote: The battery connected to Samsung's Trats development board is now charged when voltage drops below threshold. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu

Re: [U-Boot] [PATCH v5 19/26] arm:trats:pmic: Power consumption reduction state for Samsung's TRATS board

2012-11-08 Thread Lukasz Majewski
Hi Minkyu, On 06/11/12 02:28, Lukasz Majewski wrote: When charging battery is necessary, the development board needs to be turned into low power mode for better efficiency. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

Re: [U-Boot] [PATCH] common: fix help command breakage

2012-11-08 Thread Anatolij Gustschin
On Wed, 7 Nov 2012 23:23:50 +0100 Anatolij Gustschin ag...@denx.de wrote: ... Applied to staging/ag...@denx.de. Thanks! I'll drop this patch as requested by Wolfgang. Thanks, Anatolij ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v2 13/25] lib/zlib: sparse fixes

2012-11-08 Thread Wolfgang Denk
Dear Kim Phillips, In message 1351553687-12469-14-git-send-email-kim.phill...@freescale.com you wrote: define Z_NULL to (void *)0 include/u-boot/zlib.h to get rid of most of the NULL pointer warnings. ... -#define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ +#define Z_NULL (void

Re: [U-Boot] [PATCH] common: fix help command breakage

2012-11-08 Thread Wolfgang Denk
Dear Anatolij, In message 20121108120224.3b377929@wker you wrote: On Wed, 7 Nov 2012 23:23:50 +0100 Anatolij Gustschin ag...@denx.de wrote: ... Applied to staging/ag...@denx.de. Thanks! I'll drop this patch as requested by Wolfgang. But we have also to revert the other commit, to make

[U-Boot] [PATCH] common/command.c: revert chanches from commit 199adb60

2012-11-08 Thread Anatolij Gustschin
commit 199adb601ff34bdbbd0667fac80dfe0a87bffc2b common/misc: sparse fixes broke the help command trying to fix the sparse error command.c:44:38: error: bad constant expression. As Henrik points out, the fix was bad because the commit used CONFIG_SYS_MAXARGS whereas the code intended to use the

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

2012-11-08 Thread Anatolij Gustschin
Hello Tom, Wolfgang, please pull urgent fix for help command. The following changes since commit 1cc619be8b73abbee2fd6faf2cd4ade27b516531: Merge branch 'master' of git://git.denx.de/u-boot-avr32 (2012-11-05 09:46:45 -0700) are available in the git repository at:

Re: [U-Boot] [PATCH] common/command.c: revert chanches from commit 199adb60

2012-11-08 Thread Anatolij Gustschin
On Thu, 8 Nov 2012 12:52:13 +0100 Anatolij Gustschin ag...@denx.de wrote: commit 199adb601ff34bdbbd0667fac80dfe0a87bffc2b common/misc: sparse fixes broke the help command trying to fix the sparse error command.c:44:38: error: bad constant expression. As Henrik points out, the fix was bad

Re: [U-Boot] [PATCH v4] video: atmel: implement lcd_setcolreg funtion

2012-11-08 Thread Marek Vasut
Dear Bo Shen, [...] +/* + * the CLUT register map as following + * RCLUT(24 ~ 16), GCLUT(15 ~ 8), BCLUT(7 ~ 0) + */ +void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue) +{ + lcdc_writel((red 16) 0xff | (green 8) 0xff00 | + blue 0xff,

Re: [U-Boot] PCIe on the i.MX6?

2012-11-08 Thread Greg Topmiller
Carolyn, It contains 0x4960. Yes we did change the code to clear LVDSCLK2_IBEN and then set the LVDS_CLK2 to SATA then set LVDSCLK2_OBEN. BTW, I made a mistake in the binary value to select SATA in the message below. It should be 01011b. Regards, Greg Topmiller Staff Software Engineer

[U-Boot] Kirkwood register and interrupt issues

2012-11-08 Thread Bernhard Schuster
Dear mailinglist subscribers, I am currently trying to write a suspend (via wait-for-interrupt, cp15 instruction) function in the u-boot context which will recover on a gpio edge event. Thus I am trying to enable interrupts via the interrupt function the linux kernel uses (see end of this

Re: [U-Boot] [PATCH v2 0/2] Factorize ARM startup code as mush as possible.

2012-11-08 Thread Sughosh Ganu
hi Albert, On Mon Nov 05, 2012 at 01:09:25PM +0530, Sughosh Ganu wrote: On Sun Nov 04, 2012 at 10:38:32AM -0700, Tom Rini wrote: On Sun, Nov 04, 2012 at 12:43:12PM +0100, Albert ARIBAUD wrote: Hi Tom, On Sun, 4 Nov 2012 12:32:03 +0100, Albert ARIBAUD albert.u.b...@aribaud.net

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

2012-11-08 Thread Tom Rini
On Thu, Nov 08, 2012 at 01:39:47PM +0100, Anatolij Gustschin wrote: Hello Tom, Wolfgang, please pull urgent fix for help command. The following changes since commit 1cc619be8b73abbee2fd6faf2cd4ade27b516531: Merge branch 'master' of git://git.denx.de/u-boot-avr32 (2012-11-05

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

2012-11-08 Thread Tom Rini
On Mon, Nov 05, 2012 at 12:45:42PM -0700, Stephen Warren wrote: On 11/05/2012 09:54 AM, Tom Rini wrote: On Sun, Nov 04, 2012 at 10:51:23PM +0100, Albert ARIBAUD wrote: Hello Tom, The following changes since commit b68d6712c379735e886ef9c01b946bc36f295273: ARM: fix u-boot.lds

Re: [U-Boot] [PATCH 2/2] WIP: tegra: i2c: Enable new CONFIG_SYS_I2C framework

2012-11-08 Thread Stephen Warren
On 11/07/2012 11:47 PM, Heiko Schocher wrote: On 01.11.2012 18:03, Stephen Warren wrote: ... I'd suggest having a CONFIG_SYS_I2C_DRIVERS variable at most, and each driver registers an arbitrary number of adapters and/or buses during its initialization. Why should an i2c driver register

Re: [U-Boot] [PATCH 2/2] WIP: tegra: i2c: Enable new CONFIG_SYS_I2C framework

2012-11-08 Thread Simon Glass
Hi Heiko, On Wed, Nov 7, 2012 at 11:02 PM, Heiko Schocher h...@denx.de wrote: Hello Simon, On 05.11.2012 21:39, Simon Glass wrote: Hi, On Thu, Nov 1, 2012 at 10:03 AM, Stephen Warrenswar...@wwwdotorg.org wrote: On 11/01/2012 01:42 AM, Heiko Schocher wrote: Hello Stephen, On

[U-Boot] U-Boot NAND-Access

2012-11-08 Thread Peter Niklas
Hello, We are using a Zynq SoC on a custom Board. We are trying to use a NAND-Flash (MT29F8G08ABABAWP-IT) to store the Xilinx First Stage Boot Loader, U-Boot, Kernel We are having trouble to use the NAND-Flash in U-Boot. Currently we are using U-Boot 2012.04.01-00304-g7639205-dirty. and I

[U-Boot] where would i find the u-boot repo with TI DM8148 support?

2012-11-08 Thread Robert P. J. Day
might be playing with a TI DM8148-based dev kit so i'm looking for the git repo that matches the instructions here: http://processors.wiki.ti.com/index.php/DM814x_AM387x_PSP_U-Boot the instructions there clearly refer to a tree with support for the ti8148_evm, but i can't find that in the

[U-Boot] [PATCH 2/2] hush: Prevent pipe errors from being silently ignored

2012-11-08 Thread Joe Hershberger
Disallow commands like true and false || true Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/hush.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/common/hush.c b/common/hush.c index 43edcfa..1427557 100644 --- a/common/hush.c +++

[U-Boot] [PATCH 1/2] hush: Treat trailing || and as incomplete statements

2012-11-08 Thread Joe Hershberger
A || or at the end of a command should behave just like an if statment that is not complete. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/hush.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/common/hush.c b/common/hush.c index

Re: [U-Boot] U-Boot NAND-Access

2012-11-08 Thread Wolfgang Denk
Dear Peter Niklas, In message ofcb5b87ef.d3caaefe-onc1257ab0.005101e8-c1257ab0.00551...@tttech.com you wrote: We are using a Zynq SoC on a custom Board. We are trying to use a NAND-Flash (MT29F8G08ABABAWP-IT) to store the Xilinx First Stage Boot ... Currently we are using U-Boot

[U-Boot] [PATCH] Allow CONFIG_BOARD_SIZE_LIMIT to be specified in hex

2012-11-08 Thread Joe Hershberger
Use the printf command to convert the number in any valid format into the expected decimal format. The resulting errors should be printed to stderr. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Makefile | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH v2 01/13] mx31: Move EHCI definitions to ehci-fsl.h

2012-11-08 Thread Benoît Thébaudeau
The EHCI definitions in i.MX31's imx-regs.h are MXC-generic, so move them to ehci-fsl.h so that all MXC SoCs can use them. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de --- Changes for v2: None.

[U-Boot] [PATCH v2 02/13] ehci-mxc: Clean up

2012-11-08 Thread Benoît Thébaudeau
Clean up ehci-mxc: - Remove useless #if's. - Fix identation. - Issue a #error if used with an unsupported platform. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de --- Changes for v2: None.

[U-Boot] [PATCH v2 03/13] ehci-mx5: Clean up

2012-11-08 Thread Benoît Thébaudeau
Clean up ehci-mx5: - Fix column alignments. - Fix comments. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de --- Changes for v2: None. .../drivers/usb/host/ehci-mx5.c| 34 ++--

[U-Boot] [PATCH v2 04/13] ehci-mx5: Fix OC_DIS usage

2012-11-08 Thread Benoît Thébaudeau
MXC_OTG_PHYCTRL_OC_DIS_BIT disables the oc pin if set, like MXC_H1_OC_DIS_BIT, not the opposite. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de --- Changes for v2: None. .../drivers/usb/host/ehci-mx5.c

[U-Boot] [PATCH v2 05/13] ehci-mx5: Fix OPM usage

2012-11-08 Thread Benoît Thébaudeau
MXC_OTG_UCTRL_OPM_BIT disables (masks) the power/oc pins if set, like MXC_H1_UCTRL_H1PM_BIT and MXC_H2_UCTRL_H2PM_BIT, not the opposite. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de --- Changes for v2: None.

[U-Boot] [PATCH v2 06/13] ehci-mx5: Fix *PM usage for i.MX53

2012-11-08 Thread Benoît Thébaudeau
The MXC_*_UCTRL_*PM_BIT bits are available only on i.MX51. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de --- Changes for v2: None. .../drivers/usb/host/ehci-mx5.c |6 ++ 1

[U-Boot] [PATCH v2 07/13] ehci-mx5: Add missing OC_DIS for i.MX53

2012-11-08 Thread Benoît Thébaudeau
The i.MX53 has MXC_H*_UCTRL_H*_OC_DIS_BIT bits to disable the oc pin. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de --- Changes for v2: None. .../drivers/usb/host/ehci-mx5.c| 25

[U-Boot] [PATCH v2 08/13] ehci-mxc: Make EHCI power/oc polarities configurable

2012-11-08 Thread Benoît Thébaudeau
Make EHCI power and overcurrent polarities configurable. If not set, these new configurartions keep the default register values so that existing board files do not have to be changed. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic

[U-Boot] [PATCH v2 09/13] ehci-mxc: Make i.MX25 EHCI configurable

2012-11-08 Thread Benoît Thébaudeau
Use EHCI MXC configuration options for i.MX25. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Matthias Weisser weiss...@arcor.de --- Changes for v2: None. .../drivers/usb/host/ehci-mxc.c|

[U-Boot] [PATCH v2 10/13] ehci-mxc: Define host offsets

2012-11-08 Thread Benoît Thébaudeau
Some MXC SoCs like the i.MX35 have hosts located at unusual offsets, so prepare to the introduction of i.MX35 support by defining the ehci-mxc hosts offsets at SoC level. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de

[U-Boot] [PATCH v2 11/13] ehci-mxc: Add support for i.MX35

2012-11-08 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de --- Changes for v2: None. .../arch/arm/include/asm/arch-mx35/imx-regs.h |2 + .../drivers/usb/host/ehci-mxc.c| 68 2

[U-Boot] [PATCH v2 12/13] mx35pdk: Add support for OTG

2012-11-08 Thread Benoît Thébaudeau
Add support for the OTG port on the mx35pdk Personality board. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Tested-by: Stefano Babic sba...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Marek Vasut ma...@denx.de --- Changes for v2: - Tested by Stefano.

[U-Boot] [PATCH v2 13/13] ehci-mx5/6: Make board_ehci_hcd_init() optional

2012-11-08 Thread Benoît Thébaudeau
A custom board_ehci_hcd_init() may be unneeded, so add a weak default implementation doing nothing. By the way, use simple __weak from linux/compiler.h for board_ehci_hcd_postinit() instead of weak alias with full attribute. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc:

Re: [U-Boot] where would i find the u-boot repo with TI DM8148 support?

2012-11-08 Thread Alexandre Belloni
Hi, On Thu, Nov 08, 2012 at 10:27:31AM -0500, Robert P. J. Day wrote : can someone point me at the appropriate u-boot source? thanks. I don't think much of the DM81xx BSPs is mainlined, you are basically stuck with the ezsdk. Grab it at: http://www.ti.com/tool/linuxezsdk-davinci

Re: [U-Boot] where would i find the u-boot repo with TI DM8148 support?

2012-11-08 Thread John Rigby
On Thu, Nov 8, 2012 at 8:27 AM, Robert P. J. Day rpj...@crashcourse.ca wrote: might be playing with a TI DM8148-based dev kit so i'm looking for the git repo that matches the instructions here: http://processors.wiki.ti.com/index.php/DM814x_AM387x_PSP_U-Boot the instructions there clearly

[U-Boot] [PATCH] powerpc/mpc85xx: Fix a bug introduced by CONFIG_PPC_SPINTABLE_COMPATIBLE

2012-11-08 Thread York Sun
Fix a bug introduced by this patch powerpc/mpc85xx: Temporary fix for spin table backward compatibility Should have checked both CONFIG_PPC_SPINTABLE_COMPATIBLE and CONFIG_MP in cpu_init.c. Signed-off-by: York Sun york...@freescale.com --- Please squash this patch with the earlier one when

Re: [U-Boot] [PATCH 0/8 v3] Add TMU support for Exynos5250 based SMDK5250

2012-11-08 Thread Simon Glass
Hi Hatim, On Thu, Nov 8, 2012 at 1:14 AM, Hatim Ali hatim...@samsung.com wrote: This patch series adds support for TMU driver using device tree for Exynos5250 based SMDK5250 board. This patch series is dependent on the patch series Add DT based ethernet driver for SMDK5250 by Hatim Ali

Re: [U-Boot] [PATCH 1/2] hush: Treat trailing || and as incomplete statements

2012-11-08 Thread Wolfgang Denk
Dear Joe, In message 1352405756-401-1-git-send-email-joe.hershber...@ni.com you wrote: A || or at the end of a command should behave just like an if statment that is not complete. Signed-off-by: Joe Hershberger joe.hershber...@ni.com I really appreciate your patches. But after having

Re: [U-Boot] [PATCH 1/2] hush: Treat trailing || and as incomplete statements

2012-11-08 Thread Joe Hershberger
Hi Wolfgang, On Thu, Nov 8, 2012 at 5:04 PM, Wolfgang Denk w...@denx.de wrote: Dear Joe, In message 1352405756-401-1-git-send-email-joe.hershber...@ni.com you wrote: A || or at the end of a command should behave just like an if statment that is not complete. Signed-off-by: Joe Hershberger

Re: [U-Boot] PCIe on the i.MX6?

2012-11-08 Thread Carolyn Smith
Greg, Thanks for the info. Unfortunately when I made that change to the PMU_MISC1 register, my PCIe link did not come up at all which is a bit mystifying given it worked for you. Are you using an i.MX6 Solo or a Dual/Quad? I think I have got my BARs working though. The latest reference manual I

Re: [U-Boot] [PATCH 1/6] EXYNOS5: FDT: Add I2C device node data

2012-11-08 Thread Simon Glass
On Wed, Nov 7, 2012 at 9:29 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: Add I2C device node data for exynos Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org --- arch/arm/dts/exynos5250.dtsi | 64

Re: [U-Boot] [PATCH 2/6] EXYNOS5 : FDT: Add Aliases for I2C device

2012-11-08 Thread Simon Glass
On Wed, Nov 7, 2012 at 9:29 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch adds aliases for I2C. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Acked-by: Simon Glass s...@chromium.org board/samsung/dts/exynos5250-smdk5250.dts | 11 +++ 1 files

Re: [U-Boot] [PATCH 3/6] EXYNOS5: FDT: Add compatible string for I2C

2012-11-08 Thread Simon Glass
On Wed, Nov 7, 2012 at 9:30 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: Add required compatible information for I2C driver. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org --- include/fdtdec.h |1 + lib/fdtdec.c |1 +

Re: [U-Boot] [PATCH 4/6] FDT: Api to find compatible id for a given node

2012-11-08 Thread Simon Glass
On Wed, Nov 7, 2012 at 9:30 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch adds api to find compatible id for a given FDT node Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org ___

Re: [U-Boot] [PATCH 5/6] I2C: Driver changes for FDT support

2012-11-08 Thread Simon Glass
Hi Rajeshwari, On Wed, Nov 7, 2012 at 9:30 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: Functions added to get the I2C bus number and reset I2C bus using FDT node. Signed-off-by: Simon Glass s...@chromium.org Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com ---

Re: [U-Boot] [PATCH v2 09/25] common/cmd_*.c: sparse fixes

2012-11-08 Thread Kim Phillips
On Thu, 8 Nov 2012 11:48:54 +0100 Wolfgang Denk w...@denx.de wrote: In message 1351553687-12469-10-git-send-email-kim.phill...@freescale.com you wrote: ... Signed-off-by: Kim Phillips kim.phill...@freescale.com Has anybody tested the impact of this change on the memory footprint?

Re: [U-Boot] [PATCH 6/6] SMDK5250: Populate I2C data using FDT.

2012-11-08 Thread Simon Glass
Hi Rajeshwari, On Wed, Nov 7, 2012 at 9:30 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- board/samsung/smdk5250/smdk5250.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH 1/5] EXYNOS5: FDT: Add sound device node data

2012-11-08 Thread Simon Glass
Hi Rajeshwari, On Wed, Nov 7, 2012 at 9:37 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: Add sound device node data for exynos Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com I presume the kernel has no such driver so we cannot copy their binding? You should add the fdt

Re: [U-Boot] [PATCH 2/5] EXYNOS5: FDT: Add sound and codec device node informations

2012-11-08 Thread Simon Glass
Hi, On Wed, Nov 7, 2012 at 9:37 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: Adds sound and codec device node parameters Signed-off-by: R. Chandrasekar rcse...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com The binding for all of this should be in the previous

Re: [U-Boot] [PATCH 3/5] EXYNOS5: FDT: Add compatible strings for sound

2012-11-08 Thread Simon Glass
Hi Rajeshwari, On Wed, Nov 7, 2012 at 9:37 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: Add required compatible information for sound driver. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- include/fdtdec.h |3 +++ lib/fdtdec.c |2 ++ 2 files changed, 5

Re: [U-Boot] [PATCH 4/5] Sound: Add FDT support to driver

2012-11-08 Thread Simon Glass
Hi Rajeshwari, On Wed, Nov 7, 2012 at 9:37 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch adds FDT support to the driver. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- drivers/sound/sound.c | 228 +++--

Re: [U-Boot] [PATCH 5/5] Sound: Add FDT support to CMD.

2012-11-08 Thread Simon Glass
Hi Rajeshwari, On Wed, Nov 7, 2012 at 9:37 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch adds FDT support to sound init. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- common/cmd_sound.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff

Re: [U-Boot] [PATCH v2 13/25] lib/zlib: sparse fixes

2012-11-08 Thread Kim Phillips
On Thu, 8 Nov 2012 12:20:51 +0100 Wolfgang Denk w...@denx.de wrote: In message 1351553687-12469-14-git-send-email-kim.phill...@freescale.com you wrote: define Z_NULL to (void *)0 include/u-boot/zlib.h to get rid of most of the NULL pointer warnings. ... -#define Z_NULL 0 /* for

Re: [U-Boot] [PATCH 1/2] libfdt: Add support for appending the values to a existing property

2012-11-08 Thread Kim Phillips
On Sat, 15 Sep 2012 10:36:28 -0400 Jerry Van Baren gvb.ub...@gmail.com wrote: On 08/27/2012 08:38 PM, Kim Phillips wrote: From: Minghuan Lian minghuan.l...@freescale.com Some properties may contain multiple values, these values may need to be added to the property respectively. this

Re: [U-Boot] [PATCH 1/2] libfdt: Add support for appending the values to a existing property

2012-11-08 Thread Simon Glass
On Thu, Nov 8, 2012 at 5:41 PM, Kim Phillips kim.phill...@freescale.com wrote: On Sat, 15 Sep 2012 10:36:28 -0400 Jerry Van Baren gvb.ub...@gmail.com wrote: On 08/27/2012 08:38 PM, Kim Phillips wrote: From: Minghuan Lian minghuan.l...@freescale.com Some properties may contain multiple

Re: [U-Boot] PCIe on the i.MX6?

2012-11-08 Thread Greg Topmiller
Carolyn, It's an i.MX6 Quad. Sorry the clock fix didn't help. The clocks in the Freescale processors that we've used, i.MX51 and i.MX6, are not well documented in the reference manual so we depend on the BSP we're given. Regards, Greg From: Carolyn

Re: [U-Boot] ping failed; host 192.168.1.101 is not alive

2012-11-08 Thread akdas75
Hi Anatolij and Wolfgang Denk I have solved the problem. There are some must changes in omap3_spi.c to make it working. Otherwise it will not be behave in the expected way. There are also few changes in enc28j60.c file to make it more stable. I have attached the snapshot of both ping and tftp.

Re: [U-Boot] [PATCH v4] video: atmel: implement lcd_setcolreg funtion

2012-11-08 Thread Bo Shen
Hi Marek Vasut, On 11/8/2012 21:08, Marek Vasut wrote: Dear Bo Shen, [...] +/* + * the CLUT register map as following + * RCLUT(24 ~ 16), GCLUT(15 ~ 8), BCLUT(7 ~ 0) + */ +void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue) +{ + lcdc_writel((red 16) 0xff |

[U-Boot] [Patch v5] video: atmel: implement lcd_setcolreg function

2012-11-08 Thread Bo Shen
implement the common api lce_setcolreg in include/lcd.h Signed-off-by: Bo Shen voice.s...@atmel.com --- since v4: * using define for these magic number since v3: * add magic number since v2: * add this single patch --- drivers/video/atmel_hlcdfb.c | 12 include/atmel_hlcdc.h

[U-Boot] [PATCH v6 01/26] pmic:i2c: Handle PMIC I2C transmission comprising of two bytes

2012-11-08 Thread Lukasz Majewski
This patch adds support for proper handling of a PMIC I2C transmission comprising of two bytes. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Stefano Babic sba...@denx.de --- Changes for v2: - None Changes for v3: - None Changes

[U-Boot] [PATCH v6 00/26] pmic: Redesign PMIC framework to support multiple instances of devices

2012-11-08 Thread Lukasz Majewski
PMIC framework has been redesigned to support multiple instances of power related devices (e.g. fuel gauge, PMICs, chargers, micro USB IC, battery). Due to that, code at other architectures and boards have been adjusted properly. New power_init_board() method at ./lib/board.c file has been

[U-Boot] [PATCH v6 02/26] pmic:i2c: Add I2C sensor byte order (big/little) to PMIC framework

2012-11-08 Thread Lukasz Majewski
Since the pmic_reg_read is the u32 value, the order in which bytes are placed to form u32 value is important. Support for big and little sensor endianess is added. Moreover calls to [leXX|beXX]_to_cpu have been added to support little and big endian SoCs. Signed-off-by: Lukasz Majewski

[U-Boot] [PATCH v6 03/26] pmic:max8997: Switch the MAX8997 PMIC to be used with multibus I2C

2012-11-08 Thread Lukasz Majewski
PMIC MAX8997 is now ready to work with single and multibus soft I2C implementation. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None Changes

[U-Boot] [PATCH v6 05/26] pmic: Introduce power_init_board() method at ./lib/board.c file

2012-11-08 Thread Lukasz Majewski
It is necessary to introduce a new system wide function- power_init_board() It turns out, that power initialization must be done as early as possible. In the case of PMIC framework redesign, which aims to support multiple instances of PMIC devices the initialization shall be performed just after

[U-Boot] [PATCH v6 04/26] pmic: Extend PMIC framework to support multiple instances of PMIC devices

2012-11-08 Thread Lukasz Majewski
The PMIC framework has been extended to support multiple instances of the variety of devices responsible for power management. This change allows supporting of e.g. fuel gauge, charger, MUIC (Micro USB Interface Circuit). Power related includes have been moved to ./include/power directory. This is

[U-Boot] [PATCH v6 06/26] pmic: Enable power_board_init() support at TRATS

2012-11-08 Thread Lukasz Majewski
Enable support for power_board_init() method at TRATS board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - None Changes for v3: - Remove CONFIG_POWER_INIT flag Changes

[U-Boot] [PATCH v6 07/26] pmic:chrg: Common information about charger and battery (power_chrg.h)

2012-11-08 Thread Lukasz Majewski
New power_chrg.h file has been added to bind together common information about charging battery available in the system. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Stefano Babic sba...@denx.de --- Changes for v2: - Move struct

[U-Boot] [PATCH v6 08/26] pmic: Move pmic related code to ./drivers/power directory

2012-11-08 Thread Lukasz Majewski
The PMIC framework has been moved to its more natural place ./drivers/power from ./drivers/misc directory. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - New patch for v2 Changes for v3: - None Changes for v4: -

[U-Boot] [PATCH v6 09/26] pmic: Extend struct pmic to support battery and charger related operations

2012-11-08 Thread Lukasz Majewski
Now it is possible to provide specific function per PMIC/power device instance. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - New at patch v2 Changes for v3: - separate power_{battery|chrg|fg} structures to

[U-Boot] [PATCH v6 10/26] pmic:battery: Support for Trats Battery at PMIC framework

2012-11-08 Thread Lukasz Majewski
Trats battery is now treated in the same way as other power related devices. This approach allows for more unified handling of all devices responsible for power management. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Stefano

[U-Boot] [PATCH v6 11/26] pmic:muic: Support for MUIC built into MAX8997 device

2012-11-08 Thread Lukasz Majewski
Support for MUIC (Micro USB Integrated Circuit) built into the MAX8997 power management device. The MUIC device will work with redesigned PMIC framework. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Stefano Babic sba...@denx.de

[U-Boot] [PATCH v6 12/26] pmic:fuel-gauge: Support for MAX17042 fuel-gauge

2012-11-08 Thread Lukasz Majewski
Support for MAX17042 fuel-gauge (FG), which is built into the MAX8997 power management device. Special file - fg_battery_cell_params.h with cells characteristics added. The FG device will work with redesigned PMIC framework. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by:

  1   2   >