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

2012-11-08 Thread Lukasz Majewski
Move pmic_init() function call from board_init() to power_init_board() to work with new PMIC/POWER framework. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Acked-by: Minkyu Kang --- Changes for v5: - New patch at v5. Changes for v6: - None --- board/samsung/universal_c210/univers

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

2012-11-08 Thread Lukasz Majewski
Move pmic_init() function call from board_init() to power_init_board() to work with new PMIC/POWER framework. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Acked-by: Minkyu Kang --- Changes for v5: - New patch at v5. Changes for v6: - None --- board/samsung/goni/goni.c |7 +++

[U-Boot] [PATCH v6 22/26] power:pmic: Rename ./drivers/power/pmic_* to ./drivers/power/power_* files

2012-11-08 Thread Lukasz Majewski
Rename pmic/power related files at ./drivers/power directory Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v3: - New patch at v3. Changes for v4: - None Changes for v5: - None Changes for v6: - None --- drivers/power/Makefile

[U-Boot] [PATCH v6 24/26] power:pmic: Rename CONFIG_DIALOG_PMIC defines to CONFIG_DIALOG_POWER

2012-11-08 Thread Lukasz Majewski
Rename CONFIG_DIALOG_PMIC to CONFIG_DIALOG_POWER Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v3: - New patch at v3. Changes for v4: - None Changes for v5: - None Changes for v6: - None --- drivers/power/Makefile |2 +- include/configs/m

[U-Boot] [PATCH v6 23/26] power:pmic: Rename CONFIG_PMIC* defines to CONFIG_POWER

2012-11-08 Thread Lukasz Majewski
Rename all CONFIG_PMIC* defines to CONFIG_POWER* Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v3: - New patch at v3. Changes for v4: - None Changes for v5: - None Changes for v6: - None --- board/samsung/goni/goni.c|2 +- boa

[U-Boot] [PATCH v6 21/26] pmic: Extend PMIC framework to support battery related commands

2012-11-08 Thread Lukasz Majewski
Two extra commands: "pmic name bat state" and "pmic name bat charge" has been added to pmic framework. Those provides state display and charge capabilities to named batteries. The pmic_core.c file has been refactored to more consistent name scheme. Signed-off-by: Lukasz Majewski Signed-off-by: K

[U-Boot] [PATCH v6 18/26] pmic:max8997: Support for MAX8997 internal charger control

2012-11-08 Thread Lukasz Majewski
Support for MAX8997 built-in charger. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v2: - power_init_battery() method added to be called from MAX8997 struct pmic instance Changes for v3: - change code according to struct pmic redesign Changes fo

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

2012-11-08 Thread Lukasz Majewski
The battery connected to Samsung's Trats development board is now charged when voltage drops below threshold. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Acked-by: Minkyu Kang --- Changes for v2: - Define separate *p_{} pointer instances for each power device available at Trat

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

2012-11-08 Thread Lukasz Majewski
FG IC built into the MAX8997 device (compliant to MAX17042) is enabled at TRATS. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Acked-by: Minkyu Kang --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None Changes for v6: - None --- board/s

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

2012-11-08 Thread Lukasz Majewski
When charging battery is necessary, the development board needs to be turned into low power mode for better efficiency. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None Cha

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

2012-11-08 Thread Lukasz Majewski
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 Signed-off-by: Kyungmin Park Acked-by: Minkyu Kang --- Changes for v2: - New patch for v2. Changes for v3: - None Changes fo

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

2012-11-08 Thread Lukasz Majewski
MUIC IC built into the MAX8997 device is enabled at TRATS. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Acked-by: Minkyu Kang --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None Changes for v6: - None --- board/samsung/trats/trats.c |

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

2012-11-08 Thread Lukasz Majewski
Default PMIC (MAX8997) initialization for Samsung's TRATS development board. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Acked-by: Minkyu Kang --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None Changes for v6: - None --- board/samsu

[U-Boot] [PATCH v6 13/26] pmic:max8997: Function for calculating LDO internal register value

2012-11-08 Thread Lukasz Majewski
Function for calculating LDO internal register value from passed micro Volt. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v2: - MAX8997_LDO_MAX_VAL defined Changes for v3: - None Changes for v4: - None Changes for v5: - None Changes for v6: - Non

[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 Signed-off-by: Kyungmin Park Cc: Stefan

[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 Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v2: - power_init_battery now available as a c

[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 Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v2: - New patch at v2. Chang

[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 Signed-off-by: Kyungmin Park --- Changes for v2: - New at patch v2 Changes for v3: - separate power_{battery|chrg|fg} structures to provide battery ops - struct pmic *parent pointer add

[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 Signed-off-by: Kyungmin Park --- Changes for v2: - New patch for v2 Changes for v3: - None Changes for v4: - Move PMIC related code (max8997.c and max8998.c)

[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 Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v2: - Move struct battery elements to a separate file Changes for v3: - None C

[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 Signed-off-by: Kyungmin Park Acked-by: Minkyu Kang --- Changes for v2: - None Changes for v3: - Remove CONFIG_POWER_INIT flag Changes for v4: - None Changes for v5: - None Changes for v6: - None --- boa

[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 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 m

[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 Signed-off-by: Kyungmin Park --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None Changes for v6: - None --- drivers/misc/pmic_max8997.c

[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 Signed-o

[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 intro

[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 Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None Changes for v6: - None --

[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 --- 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|7 ++

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 | (g

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] 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 Smi

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 wrote: > On Sat, 15 Sep 2012 10:36:28 -0400 > Jerry Van Baren wrote: > >> On 08/27/2012 08:38 PM, Kim Phillips wrote: >> > From: Minghuan Lian >> > >> > Some properties may contain multiple values, these values may need >> > to be added to the propert

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 wrote: > On 08/27/2012 08:38 PM, Kim Phillips wrote: > > From: Minghuan Lian > > > > Some properties may contain multiple values, these values may need > > to be added to the property respectively. this patch provides this > > functionality. Th

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 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 initiali

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 wrote: > This patch adds FDT support to sound init. > > Signed-off-by: Rajeshwari Shinde > --- > common/cmd_sound.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/common/cmd_sound.c b/common/cmd_s

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 wrote: > This patch adds FDT support to the driver. > > Signed-off-by: Rajeshwari Shinde > --- > drivers/sound/sound.c | 228 > +++-- > include/sound.h |9 ++ > 2 files chang

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 wrote: > Add required compatible information for sound driver. > > Signed-off-by: Rajeshwari Shinde > --- > include/fdtdec.h |3 +++ > lib/fdtdec.c |2 ++ > 2 files changed, 5 insertions(+), 0 deletions(-) > > diff --g

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 wrote: > Adds sound and codec device node parameters > > Signed-off-by: R. Chandrasekar > Signed-off-by: Rajeshwari Shinde The binding for all of this should be in the previous patch as mentioned. > --- > board/samsung/dts/exynos5250-smdk

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 wrote: > Add sound device node data for exynos > > Signed-off-by: Rajeshwari Shinde I presume the kernel has no such driver so we cannot copy their binding? You should add the fdt bindings file here for sound - see doc/device-tree

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 wrote: > Signed-off-by: Rajeshwari Shinde > --- > board/samsung/smdk5250/smdk5250.c |7 +-- > 1 files changed, 5 insertions(+), 2 deletions(-) > > diff --git a/board/samsung/smdk5250/smdk5250.c > b/board/samsung/smdk5250/

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 wrote: > In message <1351553687-12469-10-git-send-email-kim.phill...@freescale.com> > you wrote: > > > ... > > Signed-off-by: Kim Phillips > > Has anybody tested the impact of this change on the memory > footprint? without this commit, a P4080DS

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 wrote: > Functions added to get the I2C bus number and reset I2C bus using > FDT node. > > Signed-off-by: Simon Glass > Signed-off-by: Rajeshwari Shinde > --- > drivers/i2c/s3c24x0_i2c.c | 89 >

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 wrote: > This patch adds api to find compatible id for a given > FDT node > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/ma

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 wrote: > Add required compatible information for I2C driver. > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > include/fdtdec.h |1 + > lib/fdtdec.c |1 + > 2 files changed, 2 insertions(+), 0 deletions(-) > > diff

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 wrote: > This patch adds aliases for I2C. > > Signed-off-by: Rajeshwari Shinde > --- Acked-by: Simon Glass > board/samsung/dts/exynos5250-smdk5250.dts | 11 +++ > 1 files changed, 11 insertions(+), 0 deletions(-) > > diff --git a/boa

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 wrote: > Add I2C device node data for exynos > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > arch/arm/dts/exynos5250.dtsi | 64 > ++ > 1 files changed, 64 insertions(+), 0 deletions

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 g

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 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 Hershberg

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 I really appreciate your patches. But after having spent some time on

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 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 > > Changes since v2:

[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 --- Please squash this patch with the earlier one when applying. arch/powerpc/cp

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 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 refer to a tre

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 Regar

[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 Cc: Marek Vasut Cc: Stefano Babic --

[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 Tested-by: Stefano Babic Cc: Stefano Babic Cc: Marek Vasut --- Changes for v2: - Tested by Stefano. .../board/freescale/mx35pdk/lowlevel_init.S |4 .../board/freescale/mx35pdk/mx

[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 Cc: Marek Vasut Cc: Stefano Babic --- Changes for v2: None. .../arch/arm/include/asm/arch-mx35/imx-regs.h |2 + .../drivers/usb/host/ehci-mxc.c| 68 2 files changed, 70 insertions(+) diff --git u-boot-usb-764

[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 Cc: Marek Vasut Cc: Stefano Babic --- Changes for v2: None. .../arch/arm/include/asm/arch

[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 Cc: Marek Vasut Cc: Stefano Babic Cc: Matthias Weisser --- Changes for v2: None. .../drivers/usb/host/ehci-mxc.c| 71 +--- .../include/configs/zmx25.h

[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 Cc: Marek Vasut Cc: Stefano Babic --- Changes for v2: None. .../drivers/usb/

[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 Cc: Marek Vasut Cc: Stefano Babic --- Changes for v2: None. .../drivers/usb/host/ehci-mx5.c| 25 1 file changed, 25 insertions(+) diff --git u-boo

[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 Cc: Marek Vasut Cc: Stefano Babic --- Changes for v2: None. .../drivers/usb/host/ehci-mx5.c |6 ++ 1 file changed, 6 insertions(+) diff --git u-boot-usb-76454b

[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 Cc: Marek Vasut Cc: Stefano Babic --- Changes for v2: None. .../drivers/usb/host/ehci-mx5.c

[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 Cc: Marek Vasut Cc: Stefano Babic --- Changes for v2: None. .../drivers/usb/host/ehci-mx5.c |6 +++--- 1 file changed, 3 inser

[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 Cc: Marek Vasut Cc: Stefano Babic --- Changes for v2: None. .../drivers/usb/host/ehci-mx5.c| 34 ++-- 1 file changed, 17 insertions(+), 17 deletions(-) diff --

[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 Cc: Marek Vasut Cc: Stefano Babic --- Changes for v2: None. .../drivers/usb/host/ehci-mxc.c| 86 +--- 1

[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 Cc: Marek Vasut Cc: Stefano Babic --- Changes for v2: None. .../arch/arm/include/asm/arch-mx31/imx-regs.h | 26 ---

[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 --- Makefile | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile ind

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

2012-11-08 Thread Wolfgang Denk
Dear Peter Niklas, In message 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 2012.04.01-00304-g7639205-dirty. Commmit 7639205 is not known in mainline

[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 --- common/hush.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/common/hush.c b/common/hush.c index 4c84c2f..43edcfa 100644 --- a

[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 --- 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 +++ b/common/hush.c @@ -1805

[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 mast

[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 g

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 wrote: > Hello Simon, > > > On 05.11.2012 21:39, Simon Glass wrote: >> >> Hi, >> >> On Thu, Nov 1, 2012 at 10:03 AM, Stephen Warren >> wrote: >>> >>> On 11/01/2012 01:42 AM, Heiko Schocher wrote: Hello Stephen, On 31.10

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 regis

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: > >> > >>

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] [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 > > > wrote: >

[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 mail)

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 2

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 & 0x

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 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 becaus

[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: ssh://gu-stag...@git.de

[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

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 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 "help"

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

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 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 http://lists.denx.de/mailman/listi

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 > > Signed-off-by: Kyungmin Park > > Cc: Minkyu Kang > > --- > > Changes

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 > > Signed-off-by: Kyungmin Park > > Cc: Minkyu Kang > > --- > > Changes for v2: >

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 Has anybody tested the impact of this change on the memory footprint? I object against the implementation. The whole idea of the U_BOOT_CMD() macro was

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

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 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 the > >> console code. > > > > Can you please explain wha

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 > Signed-off-by: Kyungmin Park > Cc: Minkyu Kang > --- > Changes for v2: > - None > Changes fo

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

2012-11-08 Thread Wolfgang Denk
[Note: Subject changed, Threading restarted]. Dear Simon, In message 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 > > FIT image handling, i. e. like we are today able to verify

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 > Signed-off-by: Kyungmin Park > Cc: Minkyu Kang > > Changes for v5: > - New patch at v5. > --- > boar

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 > Signed-off-by: Kyungmin Park > Cc: Minkyu Kang > > Changes for v5: > - New patch at v5. > ---

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 > Signed-off-by: Kyungmin Park > Cc: Minkyu Kang > > --- > Changes for v2: > - None > Changes for v3: > - None > Changes for v4: > - None

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 > Signed-off-by: Kyungmin Park > Cc: Minkyu Kang > --- > Changes for v2: > - Define separate *p_{} point

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 > Signed-off-by: Kyungmin Park > Cc: Minkyu Kang > --- > Changes for v2: >

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 > Signed-off-by: Kyungmin Park > Cc: Minkyu Kang > --- > Changes for v2: > - None > Changes for v3: > - None > Changes for v4: > - No

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 > Signed-off-by: Kyungmin Park > Cc: Minkyu Kang > --- > Changes for v2: > - None > Changes for v3: > - None > Changes for v4: > - None > Changes for v5: > -

  1   2   >