Re: [U-Boot] [PATCH v5 1/7] powerpc: Extract EPAPR_MAGIC constants into processor.h

2012-10-30 Thread Stefan Roese
Hi Tom, On 10/29/2012 09:55 PM, Tom Rini wrote: On Tue, Oct 23, 2012 at 10:28:29AM +0200, Stefan Roese wrote: By extracting these defines into a header, they can be re-used by other C sources as well. This will be done by the SPL framework OS boot support. Signed-off-by: Stefan Roese

Re: [U-Boot] [PATCH] powerpc/esdhc: force the bus width to 4bit

2012-10-30 Thread Jaehoon Chung
On 10/23/2012 06:50 PM, Marek Vasut wrote: Dear Huang Changming-R66093, Best Regards Jerry Huang -Original Message- From: Marek Vasut [mailto:ma...@denx.de] Sent: Tuesday, October 23, 2012 3:24 PM To: Huang Changming-R66093 Cc: u-boot@lists.denx.de; Andy Fleming Subject: Re:

[U-Boot] [PATCH 1/8] tegra: usb: convert USB_PORTS_MAX to be a define

2012-10-30 Thread Lucas Stach
No point in having this as an enum. Also while at it set it to the real hardware maximum for both Tegra 2 and Tegra 3. If new Tegra hardware includes more USB controllers we can always bump the limit then. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/cpu/armv7/tegra20/usb.c | 4 +---

[U-Boot] [PATCH 2/8] tegra: usb: make controller init functions more self contained

2012-10-30 Thread Lucas Stach
There is no need to pass around all those parameters. The init functions are able to easily extract all the needed setup info on their own. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/cpu/armv7/tegra20/usb.c | 24 1 Datei geändert, 12 Zeilen hinzugefügt(+),

[U-Boot] [PATCH 6/8] tegra: usb: various small cleanups

2012-10-30 Thread Lucas Stach
Remove unneeded headers, function prototype and stale comment. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/cpu/armv7/tegra20/usb.c| 13 + arch/arm/include/asm/arch-tegra20/usb.h | 3 --- 2 Dateien geändert, 1 Zeile hinzugefügt(+), 15 Zeilen entfernt(-) diff

[U-Boot] [PATCH 3/8] tegra: usb: fold initial pll setup into board_usb_init

2012-10-30 Thread Lucas Stach
The setup is trivial, no need to split this out into a separate function. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/cpu/armv7/tegra20/usb.c | 15 +-- 1 Datei geändert, 5 Zeilen hinzugefügt(+), 10 Zeilen entfernt(-) diff --git a/arch/arm/cpu/armv7/tegra20/usb.c

[U-Boot] [PATCH 4/8] tegra: usb: remove unneeded function parameter

2012-10-30 Thread Lucas Stach
Just a dead parameter, never actually used. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/cpu/armv7/tegra20/usb.c | 6 ++ 1 Datei geändert, 2 Zeilen hinzugefügt(+), 4 Zeilen entfernt(-) diff --git a/arch/arm/cpu/armv7/tegra20/usb.c b/arch/arm/cpu/armv7/tegra20/usb.c index

[U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Lucas Stach
There is no need to init a USB controller before the upper layers indicate that they are actually going to use it. board_usb_init now only parses the device tree and sets up the common pll. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/cpu/armv7/tegra20/usb.c | 47

[U-Boot] [PATCH 8/8] tegra: usb: move [start|stop]_port into ehci_hcd_[init|stop]

2012-10-30 Thread Lucas Stach
The ehci_hcd entry points were just calling into the Tegra USB functions. Now that they are in the same file we can just move over the implementation. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/include/asm/arch-tegra20/usb.h | 19 --- drivers/usb/host/ehci-tegra.c | 93

[U-Boot] [PATCH 7/8] tegra: usb: move implementation into right directory

2012-10-30 Thread Lucas Stach
This moves the Tegra USB implementation into the drivers/usb/host directory. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/cpu/armv7/tegra20/Makefile| 2 - .../tegra20/usb.c = drivers/usb/host/ehci-tegra.c | 60 -- 2 Dateien geändert, 55 Zeilen

Re: [U-Boot] [PATCH v2 03/22] powerpc/mpc85xx: move debug tlb entry after TLB is in known state

2012-10-30 Thread Prabhakar Kushwaha
On 10/30/2012 07:34 AM, Scott Wood wrote: Previously, in many if not all configs we were creating overlapping TLB entries which is illegal. This caused a crash during boot when moving p2020rdb NAND SPL into L2 SRAM. Signed-off-by: Scott Wood scottw...@freescale.com Cc: Prabhakar Kushwaha

[U-Boot] [PATCH v6 1/7] powerpc: Extract EPAPR_MAGIC constants into processor.h

2012-10-30 Thread Stefan Roese
By extracting these defines into a header, they can be re-used by other C sources as well. This will be done by the SPL framework OS boot support. Signed-off-by: Stefan Roese s...@denx.de --- Changes in v6: - Fix compile warning: release.S:354:0: warning: EPAPR_MAGIC redefined

Re: [U-Boot] [PATCH] cmd_fdt.c: Use %p when printing pointers

2012-10-30 Thread Wolfgang Denk
Dear Tom Rini, In message 1351558398-6902-1-git-send-email-tr...@ti.com you wrote: When putting pointers into a format string use %p to ensure that they are printed correctly regardless of bitsize. This fixes warnings on sandbox on 64bit systems. Cc: Joe Hershberger joe.hershber...@ni.com

Re: [U-Boot] [PATCH v6 1/7] powerpc: Extract EPAPR_MAGIC constants into processor.h

2012-10-30 Thread Wolfgang Denk
Dear Stefan Roese, In message 1351590321-20368-1-git-send-email...@denx.de you wrote: By extracting these defines into a header, they can be re-used by other C sources as well. This will be done by the SPL framework OS boot support. Signed-off-by: Stefan Roese s...@denx.de --- Changes in

Re: [U-Boot] [PATCH v6 1/7] powerpc: Extract EPAPR_MAGIC constants into processor.h

2012-10-30 Thread Stefan Roese
Hi Wolfgang, On 10/30/2012 11:04 AM, Wolfgang Denk wrote: By extracting these defines into a header, they can be re-used by other C sources as well. This will be done by the SPL framework OS boot support. Signed-off-by: Stefan Roese s...@denx.de --- Changes in v6: - Fix compile warning:

[U-Boot] [PATCH V2] M68K: eb_cpu5282: general update and enhanced board support

2012-10-30 Thread Jens Scharsig (BuS Elektronik)
From: Jens Scharsig (BuS Elektronik) e...@bus-elektronik.de - update clock settings for higher perfomance - change standard baud rate to 115200 - fix flash base address - remove unused defines - add I2C support - switch form board dependent flash to cfi - remove board dependent flash code - use

Re: [U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Marek Vasut
Dear Lucas Stach, There is no need to init a USB controller before the upper layers indicate that they are actually going to use it. board_usb_init now only parses the device tree and sets up the common pll. Signed-off-by: Lucas Stach d...@lynxeye.de ---

Re: [U-Boot] [PATCH v6 1/7] powerpc: Extract EPAPR_MAGIC constants into processor.h

2012-10-30 Thread Wolfgang Denk
Dear Stefan Roese, In message 508fa904.4070...@denx.de you wrote: --- Changes in v6: - Fix compile warning: release.S:354:0: warning: EPAPR_MAGIC redefined ... As you know this patch is part of a patch-series. And this is the first time that this patch has a change. So this summary

Re: [U-Boot] [PATCH V4 3/3] fs: add filesystem switch libary, implement ls and fsload commands

2012-10-30 Thread Andreas Bießmann
Dear all, On 22.10.2012 18:43, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Implement ls and fsload commands that act like {fat,ext2}{ls,load}, and transparently handle either file-system. This scheme could easily be extended to other filesystem types; I only didn't do it

[U-Boot] analyze/change assembly code

2012-10-30 Thread Gerlando Falauto
Hi all, we recently to had face some nasty issues, where for some reason two (functionally identical) versions of some code behave very differently. Namely, one version works and the other doesn't always work. It was clear from the beginning this was because of HW- (or compiler-) related

[U-Boot] [PATCH v3] fs/fs.c: do_fsload: measure throughput

2012-10-30 Thread Andreas Bießmann
This patch adds time measurement and throughput calculation for all supported fsload commands. The output of ext2load changes from ---8--- 1830666 bytes read ---8--- to ---8--- 1830666 bytes read in 237 ms (7.4 MiB/s) ---8--- Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com ---

Re: [U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Lucas Stach
Hello Marek, Am Dienstag, den 30.10.2012, 11:59 +0100 schrieb Marek Vasut: Dear Lucas Stach, There is no need to init a USB controller before the upper layers indicate that they are actually going to use it. board_usb_init now only parses the device tree and sets up the common pll.

Re: [U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Marek Vasut
Dear Lucas Stach, [...] -static int add_port(struct fdt_usb *config) Fix the comment instead of removing it? I don't think that this comment adds any real value. The whole function which this comment refers to is removed and it's content split between board_usb_init and

Re: [U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Lucas Stach
Hi Marek, Am Dienstag, den 30.10.2012, 13:33 +0100 schrieb Marek Vasut: Dear Lucas Stach, [...] -static int add_port(struct fdt_usb *config) Fix the comment instead of removing it? I don't think that this comment adds any real value. The whole function which this comment

Re: [U-Boot] [PATCH 2/8] tegra: usb: make controller init functions more self contained

2012-10-30 Thread Simon Glass
Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: There is no need to pass around all those parameters. The init functions are able to easily extract all the needed setup info on their own. Signed-off-by: Lucas Stach d...@lynxeye.de ---

Re: [U-Boot] [PATCH 1/8] tegra: usb: convert USB_PORTS_MAX to be a define

2012-10-30 Thread Simon Glass
Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: No point in having this as an enum. Also while at it set it to the real hardware maximum for both Tegra 2 and Tegra 3. If new Tegra hardware includes more USB controllers we can always bump the limit then.

Re: [U-Boot] [PATCH 1/8] tegra: usb: convert USB_PORTS_MAX to be a define

2012-10-30 Thread Marek Vasut
Dear Simon Glass, Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: No point in having this as an enum. Also while at it set it to the real hardware maximum for both Tegra 2 and Tegra 3. If new Tegra hardware includes more USB controllers we can always bump

Re: [U-Boot] [PATCH 2/8] tegra: usb: make controller init functions more self contained

2012-10-30 Thread Lucas Stach
Hello Simon, Am Dienstag, den 30.10.2012, 06:03 -0700 schrieb Simon Glass: Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: There is no need to pass around all those parameters. The init functions are able to easily extract all the needed setup info on their

Re: [U-Boot] [PATCH 4/8] tegra: usb: remove unneeded function parameter

2012-10-30 Thread Simon Glass
Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: Just a dead parameter, never actually used. Signed-off-by: Lucas Stach d...@lynxeye.de Acked-by: Simon Glass s...@chromium.org --- arch/arm/cpu/armv7/tegra20/usb.c | 6 ++ 1 Datei geändert, 2 Zeilen

Re: [U-Boot] [PATCH 3/8] tegra: usb: fold initial pll setup into board_usb_init

2012-10-30 Thread Simon Glass
Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: The setup is trivial, no need to split this out into a separate function. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/cpu/armv7/tegra20/usb.c | 15 +-- 1 Datei geändert, 5 Zeilen

Re: [U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Simon Glass
Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: There is no need to init a USB controller before the upper layers indicate that they are actually going to use it. board_usb_init now only parses the device tree and sets up the common pll. Signed-off-by: Lucas

Re: [U-Boot] [PATCH 6/8] tegra: usb: various small cleanups

2012-10-30 Thread Simon Glass
Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: Remove unneeded headers, function prototype and stale comment. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/cpu/armv7/tegra20/usb.c| 13 + arch/arm/include/asm/arch-tegra20/usb.h |

Re: [U-Boot] [PATCH 3/8] tegra: usb: fold initial pll setup into board_usb_init

2012-10-30 Thread Lucas Stach
Am Dienstag, den 30.10.2012, 06:23 -0700 schrieb Simon Glass: Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: The setup is trivial, no need to split this out into a separate function. Signed-off-by: Lucas Stach d...@lynxeye.de ---

Re: [U-Boot] [PATCH v6 1/7] powerpc: Extract EPAPR_MAGIC constants into processor.h

2012-10-30 Thread Stefan Roese
Hi Wolfgang, On 10/30/2012 12:05 PM, Wolfgang Denk wrote: As you know this patch is part of a patch-series. And this is the first time that this patch has a change. So this summary covers the complete history for this patch. But exactly this is information which I do not have, and which is

Re: [U-Boot] [PATCH 7/8] tegra: usb: move implementation into right directory

2012-10-30 Thread Simon Glass
Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: This moves the Tegra USB implementation into the drivers/usb/host directory. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/cpu/armv7/tegra20/Makefile| 2 - .../tegra20/usb.c =

Re: [U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Lucas Stach
Am Dienstag, den 30.10.2012, 06:27 -0700 schrieb Simon Glass: Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: There is no need to init a USB controller before the upper layers indicate that they are actually going to use it. board_usb_init now only parses

Re: [U-Boot] [PATCH 7/8] tegra: usb: move implementation into right directory

2012-10-30 Thread Lucas Stach
Am Dienstag, den 30.10.2012, 06:33 -0700 schrieb Simon Glass: Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: This moves the Tegra USB implementation into the drivers/usb/host directory. Signed-off-by: Lucas Stach d...@lynxeye.de ---

Re: [U-Boot] [PATCH 8/8] tegra: usb: move [start|stop]_port into ehci_hcd_[init|stop]

2012-10-30 Thread Simon Glass
Hi, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: The ehci_hcd entry points were just calling into the Tegra USB functions. Now that they are in the same file we can just move over the implementation. Seems reasonable - the original approach was to put SOC-specific code

Re: [U-Boot] [PATCH 1/8] tegra: usb: convert USB_PORTS_MAX to be a define

2012-10-30 Thread Simon Glass
Hi Marek, On Tue, Oct 30, 2012 at 6:11 AM, Marek Vasut ma...@denx.de wrote: Dear Simon Glass, Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: No point in having this as an enum. Also while at it set it to the real hardware maximum for both Tegra 2 and Tegra

Re: [U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Simon Glass
Hi Lucas, On Tue, Oct 30, 2012 at 6:37 AM, Lucas Stach d...@lynxeye.de wrote: Am Dienstag, den 30.10.2012, 06:27 -0700 schrieb Simon Glass: Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: There is no need to init a USB controller before the upper layers

Re: [U-Boot] [PATCH 7/8] tegra: usb: move implementation into right directory

2012-10-30 Thread Simon Glass
Hi Lucas, On Tue, Oct 30, 2012 at 6:38 AM, Lucas Stach d...@lynxeye.de wrote: Am Dienstag, den 30.10.2012, 06:33 -0700 schrieb Simon Glass: Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: This moves the Tegra USB implementation into the drivers/usb/host

Re: [U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Lucas Stach
Am Dienstag, den 30.10.2012, 06:48 -0700 schrieb Simon Glass: Hi Lucas, On Tue, Oct 30, 2012 at 6:37 AM, Lucas Stach d...@lynxeye.de wrote: Am Dienstag, den 30.10.2012, 06:27 -0700 schrieb Simon Glass: Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote:

Re: [U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Simon Glass
Hi Lucas, On Tue, Oct 30, 2012 at 6:54 AM, Lucas Stach d...@lynxeye.de wrote: Am Dienstag, den 30.10.2012, 06:48 -0700 schrieb Simon Glass: Hi Lucas, On Tue, Oct 30, 2012 at 6:37 AM, Lucas Stach d...@lynxeye.de wrote: Am Dienstag, den 30.10.2012, 06:27 -0700 schrieb Simon Glass: Hi Lucas,

Re: [U-Boot] [PATCH 7/8] tegra: usb: move implementation into right directory

2012-10-30 Thread Lucas Stach
Am Dienstag, den 30.10.2012, 06:53 -0700 schrieb Simon Glass: Hi Lucas, On Tue, Oct 30, 2012 at 6:38 AM, Lucas Stach d...@lynxeye.de wrote: Am Dienstag, den 30.10.2012, 06:33 -0700 schrieb Simon Glass: Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote:

Re: [U-Boot] OK6410 board uboot

2012-10-30 Thread Kaushal Billore
Hello, I am working on LCD module for ARM11 ok6410 board, uboot1.1.6 source code is available but I didn't find support for lcd for smdk6410_config configuration file. anyone having knowledge about this. Thanks Kaushal billore Moschip Semiconductor  

Re: [U-Boot] [PATCH 2/8] tegra: usb: make controller init functions more self contained

2012-10-30 Thread Simon Glass
Hi Lucas, On Tue, Oct 30, 2012 at 6:16 AM, Lucas Stach d...@lynxeye.de wrote: Hello Simon, Am Dienstag, den 30.10.2012, 06:03 -0700 schrieb Simon Glass: Hi Lucas, On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach d...@lynxeye.de wrote: There is no need to pass around all those parameters. The

Re: [U-Boot] [PATCH v6 1/7] powerpc: Extract EPAPR_MAGIC constants into processor.h

2012-10-30 Thread Simon Glass
Hi Wolfgang, Stefan, On Tue, Oct 30, 2012 at 6:33 AM, Stefan Roese s...@denx.de wrote: Hi Wolfgang, On 10/30/2012 12:05 PM, Wolfgang Denk wrote: As you know this patch is part of a patch-series. And this is the first time that this patch has a change. So this summary covers the complete

Re: [U-Boot] [PATCH 7/8] tegra: usb: move implementation into right directory

2012-10-30 Thread Tom Warren
Simon, et al, -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: Tuesday, October 30, 2012 6:34 AM To: Lucas Stach Cc: Marek Vasut; u-boot@lists.denx.de; Stephen Warren; Tom Warren Subject: Re: [PATCH 7/8] tegra: usb: move implementation

[U-Boot] [PATCH] patman: Issue empty change logs for unchanged patches

2012-10-30 Thread Simon Glass
Often a particular patch may change only for some versions of a series. For versions where there is no change, issue a change log indicating that (for example 'Changes in v4: None'). For such lines, don't add a blank line afterwards, to conserve space. Use list.insert() instead of list = [item] +

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

2012-10-30 Thread akdas75
Hi As per your suggestion I tried 2012.10 Still the result is same. But it shows receive length is zero. I have attached the logs I have attached the changes to make ethernet work. As I am new to this forum I hope you said me to reply to this mailing list. Ajoy

Re: [U-Boot] [PATCH 7/8] tegra: usb: move implementation into right directory

2012-10-30 Thread Simon Glass
Hi Tom, On Tue, Oct 30, 2012 at 9:11 AM, Tom Warren twar...@nvidia.com wrote: Simon, et al, [snip] Please apply/develop all Tegra patches on tegra/next. That's where I'll be applying new patches as they come in. /master is usually behind /next until a pull request occurs (which just happens

Re: [U-Boot] x86: Anyone willing to take over the reigns

2012-10-30 Thread Simon Glass
Hi Graeme, On Sun, Oct 28, 2012 at 4:44 AM, Graeme Russ graeme.r...@gmail.com wrote: Hi All, I think it's finally time I admitted that I simply have too much on my plate and need to give a few things up. Work and family life have got to the point where I can only manage to grab a quick hour

Re: [U-Boot] [PATCH v6 1/7] powerpc: Extract EPAPR_MAGIC constants into processor.h

2012-10-30 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/30/12 06:33, Stefan Roese wrote: Hi Wolfgang, On 10/30/2012 12:05 PM, Wolfgang Denk wrote: [snip] 2) Versioning is done on a per-series base. One problem here is that it becomes difficult to keep track if what is what when only single

Re: [U-Boot] [PATCH V4 3/3] fs: add filesystem switch libary, implement ls and fsload commands

2012-10-30 Thread Tom Rini
On Tue, Oct 30, 2012 at 12:05:37PM +0100, Andreas Bie?mann wrote: Dear all, On 22.10.2012 18:43, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Implement ls and fsload commands that act like {fat,ext2}{ls,load}, and transparently handle either file-system. This scheme

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

2012-10-30 Thread Stephen Warren
On 10/29/2012 11:57 PM, Heiko Schocher wrote: Hello Stephen, On 29.10.2012 16:34, Stephen Warren wrote: ... If there are e.g. 4 I2C controllers in an SoC, the driver needs to know which one is in use. Passing that information directly to the driver functions is much simple than requiring

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

2012-10-30 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 v4 01/24] pmic:i2c: Handle PMIC I2C transmission comprising of two bytes

2012-10-30 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 v4 03/24] pmic:max8997: Switch the MAX8997 PMIC to be used with multibus I2C

2012-10-30 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 ---

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

2012-10-30 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 v4 04/24] pmic: Extend PMIC framework to support multiple instances of PMIC devices

2012-10-30 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 v4 05/24] pmic: Introduce power_init_board() method at ./lib/board.c file

2012-10-30 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 v4 06/24] pmic: Enable power_board_init() support at TRATS

2012-10-30 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 --- Changes for v2: - None Changes for v3: - Remove CONFIG_POWER_INIT flag Changes for v4: - None ---

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

2012-10-30 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 v4 09/24] pmic: Extend struct pmic to support battery and charger related operations

2012-10-30 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 v4 10/24] pmic:battery: Support for Trats Battery at PMIC framework

2012-10-30 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 v4 08/24] pmic: Move pmic related code to ./drivers/power directory

2012-10-30 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 v4 11/24] pmic:muic: Support for MUIC built into MAX8997 device

2012-10-30 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 v4 12/24] pmic:fuel-gauge: Support for MAX17042 fuel-gauge

2012-10-30 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:

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

2012-10-30 Thread Lukasz Majewski
Function for calculating LDO internal register value from passed micro Volt. 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: - MAX8997_LDO_MAX_VAL defined Changes for v3: - None

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

2012-10-30 Thread Lukasz Majewski
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: - None Changes for v3: - None Changes for v4: - None

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

2012-10-30 Thread Lukasz Majewski
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: - None Changes for v3: - None Changes for v4: -

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

2012-10-30 Thread Lukasz Majewski
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 v3: - None Changes for v4: - None ---

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

2012-10-30 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 l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes

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

2012-10-30 Thread Lukasz Majewski
Support for MAX8997 built-in charger. 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: - power_init_battery() method added to be called from MAX8997 struct pmic instance Changes for

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

2012-10-30 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 l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - None

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

2012-10-30 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 l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - Define separate

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

2012-10-30 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

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

2012-10-30 Thread Lukasz Majewski
Rename pmic/power related files at ./drivers/power directory 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 v3: - New patch at v3. Changes for v4: - None --- drivers/power/Makefile

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

2012-10-30 Thread Lukasz Majewski
Rename all CONFIG_PMIC* defines to CONFIG_POWER* 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 v3: - New patch at v3. Changes for v4: - None --- board/samsung/goni/goni.c

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

2012-10-30 Thread Lukasz Majewski
Rename CONFIG_DIALOG_PMIC to CONFIG_DIALOG_POWER 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 v3: - New patch at v3. Changes for v4: - None --- drivers/power/Makefile |2 +-

Re: [U-Boot] [PATCH v2 00/22] Convert p1_p2_rdb_pc to new spl

2012-10-30 Thread Tom Rini
On Mon, Oct 29, 2012 at 09:04:48PM -0500, Scott Wood wrote: Tested on p2020rdb-pca and p1020rdb-pc. Jos?? Miguel Gon??alves (1): Add u-boot-pad.bin target to the Makefile Scott Wood (21): [snip] spl: rename u-boot-pad.bin to u-boot-with-spl.bin OK, one thing I'm missing is where is

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

2012-10-30 Thread Simon Glass
Hi, On Tue, Oct 30, 2012 at 9:50 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 10/29/2012 11:57 PM, Heiko Schocher wrote: Hello Stephen, On 29.10.2012 16:34, Stephen Warren wrote: ... If there are e.g. 4 I2C controllers in an SoC, the driver needs to know which one is in use. Passing

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

2012-10-30 Thread Simon Glass
(just for illustration, please don't merge) This enables CONFIG_SYS_I2C on Tegra, updating existing boards and the Tegra i2c driver to support this. Signed-off-by: Simon Glass s...@chromium.org --- drivers/i2c/i2c_core.c |3 ++ drivers/i2c/tegra_i2c.c | 64

[U-Boot] [PATCH 1/2] tegra: i2c: Add function to know about current bus

2012-10-30 Thread Simon Glass
Rather than using a variable in various places, add a single function, tegra_i2c_get_bus(), which returns a pointer to information about a bus. This will make it easier to move to the new i2c framework. Signed-off-by: Simon Glass s...@chromium.org --- drivers/i2c/tegra_i2c.c | 78

Re: [U-Boot] [PATCH] powerpc/esdhc: force the bus width to 4bit

2012-10-30 Thread Lukasz Majewski
Hi Jaehoon, On 10/23/2012 06:50 PM, Marek Vasut wrote: Dear Huang Changming-R66093, Best Regards Jerry Huang -Original Message- From: Marek Vasut [mailto:ma...@denx.de] Sent: Tuesday, October 23, 2012 3:24 PM To: Huang Changming-R66093 Cc: u-boot@lists.denx.de; Andy

[U-Boot] Custodian branch base commits

2012-10-30 Thread Stephen Warren
The instructions at: http://www.denx.de/wiki/U-Boot/CustodianGitTrees ... indicate that downstream branches should be rebased onto ${upstream}/master immediately prior to sending a pull request. I'm not sure this is correct any more, given that upstream master branches now pull in downstream

Re: [U-Boot] [PATCH] cmd_fdt.c: Use %p when printing pointers

2012-10-30 Thread Joe Hershberger
Hi Wolfgang, On Tue, Oct 30, 2012 at 4:59 AM, Wolfgang Denk w...@denx.de wrote: Dear Tom Rini, In message 1351558398-6902-1-git-send-email-tr...@ti.com you wrote: When putting pointers into a format string use %p to ensure that they are printed correctly regardless of bitsize. This fixes

[U-Boot] [PATCH] fs: handle CONFIG_NEEDS_MANUAL_RELOC

2012-10-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Without this, fstypes[].probe points at the wrong place, so calling the function results in undefined behaviour. Signed-off-by: Stephen Warren swar...@nvidia.com --- Note: I have compile-tested this with the relocation code forcibly enabled, but have no

[U-Boot] Linker errors from .u_boot_list in powerpc

2012-10-30 Thread Joe Hershberger
Hi Marek, Not sure if you were already aware of this, but I ran across these errors with MAKEALL on PPC. alpr: powerpc-linux-gnu-ld: section .bootpg loaded at [f000,f27f] overlaps section .u_boot_list loaded at [ee8c,f3cb] powerpc-linux-gnu-ld:

Re: [U-Boot] Linker errors from .u_boot_list in powerpc

2012-10-30 Thread Tom Rini
On Tue, Oct 30, 2012 at 01:00:06PM -0500, Joe Hershberger wrote: Hi Marek, Not sure if you were already aware of this, but I ran across these errors with MAKEALL on PPC. alpr: powerpc-linux-gnu-ld: section .bootpg loaded at [f000,f27f] overlaps section

Re: [U-Boot] [PATCH] cmd_fdt.c: Use %p when printing pointers

2012-10-30 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/30/12 05:44, Jerry Van Baren wrote: On 10/30/2012 05:59 AM, Wolfgang Denk wrote: Dear Tom Rini, [snip] 2) Fix the root cause: given that we have valid situations where we may want to dereference a pointer pointing to address 0x, I

Re: [U-Boot] Linker errors from .u_boot_list in powerpc

2012-10-30 Thread Joe Hershberger
Hi Tom, On Tue, Oct 30, 2012 at 1:08 PM, Tom Rini tr...@ti.com wrote: On Tue, Oct 30, 2012 at 01:00:06PM -0500, Joe Hershberger wrote: Hi Marek, Not sure if you were already aware of this, but I ran across these errors with MAKEALL on PPC. alpr: powerpc-linux-gnu-ld: section .bootpg

[U-Boot] [PATCH] fs/fs.c: fix fs_set_blk_dev() for manual relocation

2012-10-30 Thread Andreas Bießmann
Commit 045fa1e1142552799ad3203e9e0bc22a11e866ea introduce an array with filesystem accessors. On arches which need manual reloc this is broken cause the function pointers still pointing to the privious location, fix it. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com Cc:

Re: [U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Stephen Warren
On 10/30/2012 06:44 AM, Lucas Stach wrote: Hi Marek, Am Dienstag, den 30.10.2012, 13:33 +0100 schrieb Marek Vasut: Dear Lucas Stach, [...] -static int add_port(struct fdt_usb *config) Fix the comment instead of removing it? I don't think that this comment adds any real value. The

Re: [U-Boot] Linker errors from .u_boot_list in powerpc

2012-10-30 Thread Joe Hershberger
Hi Andy, On Tue, Oct 30, 2012 at 1:00 PM, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Marek, Not sure if you were already aware of this, but I ran across these errors with MAKEALL on PPC. alpr: powerpc-linux-gnu-ld: section .bootpg loaded at [f000,f27f]

Re: [U-Boot] [PATCH 7/8] tegra: usb: move implementation into right directory

2012-10-30 Thread Stephen Warren
On 10/30/2012 03:22 AM, Lucas Stach wrote: This moves the Tegra USB implementation into the drivers/usb/host directory. diff --git a/arch/arm/cpu/armv7/tegra20/usb.c b/drivers/usb/host/ehci-tegra.c + * Copyright (c) 2009-2012 NVIDIA Corporation * Copyright (c) 2011 The Chromium OS

Re: [U-Boot] [PATCH] fs/fs.c: fix fs_set_blk_dev() for manual relocation

2012-10-30 Thread Stephen Warren
On 10/30/2012 12:29 PM, Andreas Bießmann wrote: Commit 045fa1e1142552799ad3203e9e0bc22a11e866ea introduce an array with filesystem accessors. On arches which need manual reloc this is broken cause the function pointers still pointing to the privious location, fix it. We found the same code

Re: [U-Boot] [PATCH 7/8] tegra: usb: move implementation into right directory

2012-10-30 Thread Lucas Stach
Am Dienstag, den 30.10.2012, 12:38 -0600 schrieb Stephen Warren: On 10/30/2012 03:22 AM, Lucas Stach wrote: This moves the Tegra USB implementation into the drivers/usb/host directory. diff --git a/arch/arm/cpu/armv7/tegra20/usb.c b/drivers/usb/host/ehci-tegra.c + * Copyright (c)

Re: [U-Boot] Custodian branch base commits

2012-10-30 Thread Wolfgang Denk
Dear Stephen Warren, In message 50900fed.6040...@wwwdotorg.org you wrote: # (in u-boot-tegra.git, assuming everything is merged already) git checkout master git reset --hard u-boot/master What would this specific command sequence be good for? [And what exactly is u-boot/master supposed to

Re: [U-Boot] [PATCH 7/8] tegra: usb: move implementation into right directory

2012-10-30 Thread Stephen Warren
On 10/30/2012 12:45 PM, Lucas Stach wrote: Am Dienstag, den 30.10.2012, 12:38 -0600 schrieb Stephen Warren: On 10/30/2012 03:22 AM, Lucas Stach wrote: This moves the Tegra USB implementation into the drivers/usb/host directory. diff --git a/arch/arm/cpu/armv7/tegra20/usb.c

  1   2   >