Re: [U-Boot] [PATCH 1/3] usb: tegra: fix PHY selection code

2014-05-09 Thread Stephen Warren
On 05/01/2014 10:47 PM, Marek Vasut wrote: > On Thursday, May 01, 2014 at 06:56:24 PM, Stephen Warren wrote: >> On 05/01/2014 04:49 AM, Marek Vasut wrote: >>> On Wednesday, April 30, 2014 at 11:09:55 PM, Stephen Warren wrote: From: Stephen Warren The TRM for Tegra30 and later all st

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

2014-05-09 Thread Simon Glass
Hi Tom, This collects together the patches in my queue. I have taken the liberty of also adding 'Make 'run' use run_command_list() instead of run_command()' which is here: http://patchwork.ozlabs.org/patch/286250/ - Simon The following changes since commit 146b468eb0203c9b1aa1de93723ffc82c85d1d

[U-Boot] idirafter causes host sha256.h to be included

2014-05-09 Thread Jeroen Hofstee
Hello, tools/Makefile uses the following substitution HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.h \ $(patsubst -I%,-idirafter%, $(UBOOTINCLUDE)) \ ... Which adds -idirafterinclude when compiling image-fit.c. Since mentioned file includes sha256.h,

Re: [U-Boot] [PATCH v5 8/8] sunxi: non-FEL SPL boot support for sun7i

2014-05-09 Thread Tom Rini
On Fri, May 09, 2014 at 09:14:20PM +0100, Ian Campbell wrote: > On Fri, 2014-05-09 at 13:54 -0400, Tom Rini wrote: > > On Mon, May 05, 2014 at 11:52:30AM +0100, Ian Campbell wrote: > > > > > Add support for booting from an MMC card. > > > > > > Signed-off-by: Stefan Roese > > > Signed-off-by: He

Re: [U-Boot] [PATCH v5 8/8] sunxi: non-FEL SPL boot support for sun7i

2014-05-09 Thread Ian Campbell
On Fri, 2014-05-09 at 13:54 -0400, Tom Rini wrote: > On Mon, May 05, 2014 at 11:52:30AM +0100, Ian Campbell wrote: > > > Add support for booting from an MMC card. > > > > Signed-off-by: Stefan Roese > > Signed-off-by: Henrik Nordström > > Signed-off-by: Ian Campbell > > Reviewed-by: Marek Vasu

[U-Boot] [PATCH 3/3] configs: am43xx_evm: make sure to set devtype correctly

2014-05-09 Thread Felipe Balbi
if we don't set devtype properly 'load' will fail. Signed-off-by: Felipe Balbi --- include/configs/am43xx_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index d7866ff..e661c9c 100644 --- a/include/configs/am43xx_evm.h +++ b/i

[U-Boot] [PATCH 2/3] board: ti: am43xx: add support for AM43xx Starter Kit

2014-05-09 Thread Felipe Balbi
AM43xx Starter Kit is a new board based on AM437x line of SoCs. Being a low-cost EVM and small size EVM are intended to provide an entry level development platform on a full fledged Hardware System. Signed-off-by: Felipe Balbi --- board/ti/am43xx/board.c | 7 +-- board/ti/am43xx/board.h

[U-Boot] [PATCH 0/3] add support for am43xx-sk

2014-05-09 Thread Felipe Balbi
Hi, First patch prints out the board name because I really didn't want to keep going back to design documents to find out what's written on the EEPROM. Second patch adds support for am43xx-sk. Thir patch fixes mmcboot so that it actually tries to load images from mmc. cheers Felipe Balbi (3):

[U-Boot] [PATCH 1/3] board: ti: am43xx: print unsupported board name

2014-05-09 Thread Felipe Balbi
when porting u-boot to a new am43xx board, it helps to know the name of the current unsupported board so we don't have to hunt for design documents to figure out what's written in the EEPROM. Signed-off-by: Felipe Balbi --- board/ti/am43xx/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti

Re: [U-Boot] [PATCH 3/4] lib, fdt: move fdtdec_get_int() out of lib/fdtdec.c

2014-05-09 Thread Simon Glass
Hi Heiko, On 8 May 2014 05:05, Heiko Schocher wrote: > move fdtdec_get_int() out of lib/fdtdec.c into lib/fdtdec_common.c > as this function is also used, if CONFIG_OF_CONTROL is not > used. Poped up on the ids8313 board using signed FIT images, > and activating CONFIG_SYS_GENERIC_BOARD. Without

Re: [U-Boot] [PATCH 1/4] bootm: allow to disable legacy image format

2014-05-09 Thread Tom Rini
On Fri, May 09, 2014 at 12:47:44PM -0600, Simon Glass wrote: > Hi Wolfgang, > > On 9 May 2014 07:35, Wolfgang Denk wrote: > > Dear Simon, > > > > In message > > you > > wrote: > >> > >> I agree that it might be dangerous to allow legacy boot when signature > >> verification is used. It would b

Re: [U-Boot] [PATCH 1/4] bootm: allow to disable legacy image format

2014-05-09 Thread Simon Glass
Hi Wolfgang, On 9 May 2014 07:35, Wolfgang Denk wrote: > Dear Simon, > > In message > you > wrote: >> >> I agree that it might be dangerous to allow legacy boot when signature >> verification is used. It would be nice to fix that. > > I think there is general agreement on this point. > >> This

Re: [U-Boot] [PATCH] env_eeprom: Assign default environment during board_init_f

2014-05-09 Thread Tom Rini
On Fri, Apr 25, 2014 at 03:49:04PM +0200, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Assign default environment and set env valid during board_init_f > before relocation as the actual environment will be read from > eeprom later. > > Signed-off-by: Siva Durga Prasad Paladugu >

Re: [U-Boot] [PATCH v5 4/8] sunxi: add sun7i cpu, board and start of day support

2014-05-09 Thread Tom Rini
On Mon, May 05, 2014 at 11:52:26AM +0100, Ian Campbell wrote: > This patch adds generic board, start of day and basic build system support for > the Allwinner A20 (sun7i) processor. This code will not been compiled until > the > build is hooked up in a later patch. It has been split out to keep t

Re: [U-Boot] [PATCH v5 6/8] sunxi: add gmac Ethernet support

2014-05-09 Thread Tom Rini
On Mon, May 05, 2014 at 11:52:28AM +0100, Ian Campbell wrote: > Add support for the GMAC Ethernet controller on Allwinner A20 (sun7i) > processors. Enable for the Cubietruck. > > Signed-off-by: Chen-Yu Tsai > Signed-off-by: Jens Kuske > Signed-off-by: Ian Campbell > Reviewed-by: Marek Vasut

Re: [U-Boot] [linux-sunxi] [PATCH v5 7/8] sunxi: mmc support

2014-05-09 Thread Tom Rini
On Mon, May 05, 2014 at 02:42:31PM +0100, Ian Campbell wrote: [snip] > From 20704e35a41664de5f516ed0e02981ac06085102 Mon Sep 17 00:00:00 2001 > From: Ian Campbell > Date: Fri, 7 Mar 2014 04:29:39 + > Subject: [PATCH v5.1 7/8] sunxi: mmc support > > This adds support for the MMC controller on

Re: [U-Boot] [PATCH v5 8/8] sunxi: non-FEL SPL boot support for sun7i

2014-05-09 Thread Tom Rini
On Mon, May 05, 2014 at 11:52:30AM +0100, Ian Campbell wrote: > Add support for booting from an MMC card. > > Signed-off-by: Stefan Roese > Signed-off-by: Henrik Nordström > Signed-off-by: Ian Campbell > Reviewed-by: Marek Vasut > Cc: Tom Cubie Reviewed-by: Tom Rini -- Tom signature.as

Re: [U-Boot] [PATCH v5 3/8] sunxi: add sun7i dram setup support

2014-05-09 Thread Tom Rini
On Mon, May 05, 2014 at 11:52:25AM +0100, Ian Campbell wrote: > This patch adds DRAM initialisation support for the Allwinner A20 (sun7i) > processor. This code will not been compiled until the build is hooked up in a > later patch. It has been split out to keep the patches manageable. > > Signed

Re: [U-Boot] [PATCH v5 1/8] sunxi: add sun7i clocks and timer support.

2014-05-09 Thread Tom Rini
On Mon, May 05, 2014 at 11:52:23AM +0100, Ian Campbell wrote: > This patch adds the basic clocks and timer support for the Allwinner A20 > (sun7i) processor. This code will not been compiled until the build is hooked > up in a later patch. It has been split out to keep the patches manageable. > >

Re: [U-Boot] [PATCH v5 2/8] sunxi: add sun7i pinmux and gpio support

2014-05-09 Thread Tom Rini
On Mon, May 05, 2014 at 11:52:24AM +0100, Ian Campbell wrote: > This patch adds the basic pinmux and gpio support for the Allwinner A20 > (sun7i) > processor. This code will not been compiled until the build is hooked up in a > later patch. It has been split out to keep the patches manageable. >

Re: [U-Boot] [RFC PATCH v2 0/13] Enable driver model for GPIOs on Tegra

2014-05-09 Thread Simon Glass
Hi, On 9 May 2014 11:28, Simon Glass wrote: > Now that driver model is part of U-Boot, the task of converting drivers over > to it begins. GPIO is one of the easiest to convert, since it already has a > sandbox driver and a uclass driver. > > The Tegra GPIO driver is relatively simple since it ha

[U-Boot] [RFC PATCH v2 12/13] tegra: Enable driver model

2014-05-09 Thread Simon Glass
Enable driver model for Tegra boards. Signed-off-by: Simon Glass --- Changes in v3: - Enable dm command in this patch instead of the next Changes in v2: - Split out a separate patch to enable driver model for tegra include/configs/tegra-common.h | 3 +++ 1 file changed, 3 insertions(+) diff

[U-Boot] [RFC PATCH v2 10/13] dm: Allow driver model tests only for sandbox

2014-05-09 Thread Simon Glass
The GPIO tests require the sandbox GPIO driver, so cannot be run on other platforms. Similarly for the 'dm test' command. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Add new patch to allow driver model tests only for sandbox test/dm/Makefile | 2 ++ test/dm/cmd_dm.c |

[U-Boot] [RFC PATCH v2 11/13] dm: Fix printf() strings in the 'dm' command

2014-05-09 Thread Simon Glass
The values here are int, but the map_to_sysmem() call can return a long. Add a cast to deal with this. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Add new patch to fix printf() strings in the 'dm' command test/dm/cmd_dm.c | 8 1 file changed, 4 insertions(+), 4

[U-Boot] [RFC PATCH v2 01/13] Add an I/O tracing feature

2014-05-09 Thread Simon Glass
When debugging drivers it is useful to see what I/O accesses were done and in what order. Even if the individual accesses are of little interest it can be useful to verify that the access pattern is consistent each time an operation is performed. In this case a checksum can be used to characterise

[U-Boot] [RFC PATCH v2 13/13] tegra: Convert tegra GPIO driver to use driver model

2014-05-09 Thread Simon Glass
This is an implementation of GPIOs for Tegra that uses driver model. It has been tested on trimslice and also using the new iotrace feature. The implementation uses a top-level GPIO device (which has no actual GPIOS). Under this all the banks are created as separate GPIO devices. The GPIOs are na

[U-Boot] [RFC PATCH v2 09/13] dm: Cast away the const-ness of the global_data pointer

2014-05-09 Thread Simon Glass
In a very few cases we need to adjust the driver model root device, such as when setting it up at initialisation. Add a macro to make this easier. Signed-off-by: Simon Glass --- Changes in v3: - Fix typo in commit subject Changes in v2: - Add new patch to deal with const-ness of the global_data

[U-Boot] [RFC PATCH v2 08/13] dm: Add missing header files in lists and root

2014-05-09 Thread Simon Glass
These files don't compile in some architectures. Fix it by adding the missing headers. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Add new patch to add missing header files in lists and root drivers/core/lists.c | 1 + drivers/core/root.c | 1 + 2 files changed, 2 inse

[U-Boot] [RFC PATCH v2 07/13] dm: Use case-insensitive comparison for GPIO banks

2014-05-09 Thread Simon Glass
We want 'N0' and 'n0' to mean the same thing, so ensure that case is not considered when naming GPIO banks. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Add new patch to use case-insensitive comparison for GPIO banks drivers/gpio/gpio-uclass.c | 2 +- 1 file changed, 1 i

[U-Boot] [RFC PATCH v2 04/13] Makefile: Support include files for .dts files

2014-05-09 Thread Simon Glass
Linux supports this, and if we are to have compatible device tree files, U-Boot should also. Avoid giving the device tree files access to U-Boot's include/ directory. Only include/dt-bindings is accessible. Signed-off-by: Simon Glass --- Changes in v3: - Create a symlink for each arch to dt-bin

[U-Boot] [RFC PATCH v2 03/13] sandbox: Support iotrace feature

2014-05-09 Thread Simon Glass
Support the iotrace feature for sandbox, and enable it, using some dummy I/O access methods. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Add a new patch to enable iotrace for sandbox arch/sandbox/include/asm/io.h | 10 ++ include/configs/sandbox.h | 3 +++

[U-Boot] [RFC PATCH v2 05/13] tegra: dts: Bring in GPIO bindings from linux

2014-05-09 Thread Simon Glass
These files are taken from Linux 3.14. Signed-off-by: Simon Glass --- Changes in v3: - Bring in GPIO bindings for tegra{30,114,124} also Changes in v2: - Add new patch to bring in Tegra device tree files from linux arch/arm/dts/tegra114.dtsi | 21 + arch/arm/dt

[U-Boot] [RFC PATCH v2 02/13] arm: Support iotrace feature

2014-05-09 Thread Simon Glass
Support the iotrace feature for ARM, when enabled. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Add a new patch to enable iotrace for arm arch/arm/include/asm/io.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.

[U-Boot] [RFC PATCH v2 06/13] dm: Update README to encourage conversion to driver model

2014-05-09 Thread Simon Glass
Add a note to encourage people to convert drivers to use driver model. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Update README to encourage conversion to driver model README | 5 + 1 file changed, 5 insertions(+) diff --git a/README b/README index b226458..16485c

[U-Boot] [RFC PATCH v2 0/13] Enable driver model for GPIOs on Tegra

2014-05-09 Thread Simon Glass
Now that driver model is part of U-Boot, the task of converting drivers over to it begins. GPIO is one of the easiest to convert, since it already has a sandbox driver and a uclass driver. The Tegra GPIO driver is relatively simple since it has a linear numbering and already uses the generic GPIO

Re: [U-Boot] [PATCH 2/2] omap3_beagle: xM A/B validate new dtb exits in file system

2014-05-09 Thread Tom Rini
On Fri, May 02, 2014 at 03:17:59PM -0500, Robert Nelson wrote: > On Fri, May 2, 2014 at 3:15 PM, robertcnelson wrote: > > From: Robert Nelson > > > > Fall back to previous dtb used when omap3-beagle-xm-ab.dtb doesn't exist in > > file system > > > > Signed-off-by: Robert Nelson > > CC: Tom Rini

Re: [U-Boot] Why is u-boot SPL reading u-boot.img twice [Zynq z7c02]?

2014-05-09 Thread Tom Rini
On Fri, May 09, 2014 at 07:56:21PM +0530, Heshsham Abdul Basit wrote: > Hi, > > Target: Zynq z7c02 > > Whenever I run boot.bin generated in TOPDIR/u-boot source after > compiling u-boot source, > > I observe it reads u-boot.img twice: > > U-Boot SPL printing from common/spl/spl.c 2014.01-dirt

[U-Boot] [PATCH v4] mx6sabred: Add PFUZE100 PMIC support

2014-05-09 Thread Fabio Estevam
From: Fabio Estevam mx6sabresd boards have a PFUZE100 PMIC connected to I2C2 bus. Add support for it Signed-off-by: Fabio Estevam --- Changes since v3: - Rebase against latest u-boot.imx and call 'power_pfuze100_init' Changes since v2: - Remove uneeded CONFIG_BOARD_LATE_INI inside mx6sabresd.h

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

2014-05-09 Thread Tom Rini
On Fri, May 09, 2014 at 11:56:56AM +0200, Albert ARIBAUD wrote: > Hello Tom, > > The following changes since commit > 173d294b94cfec10063a5be40934d6d8fb7981ce: > > Merge branch 'serial' of git://www.denx.de/git/u-boot-microblaze > (2014-05-06 14:55:45 -0400) > > are available in the git rep

Re: [U-Boot] [sparc] Pull request

2014-05-09 Thread Daniel Hellstrom
On 05/09/2014 05:12 PM, Tom Rini wrote: Applied to u-boot/master, thanks! Thanks! That said, I don't see the patches having been posted to the ML first, which is required. I did a git diff and everything looks fine, and I want to put sparc back into my loop so I've applied it however. You ar

Re: [U-Boot] [sparc] Pull request

2014-05-09 Thread Tom Rini
On Thu, May 08, 2014 at 09:55:16PM +0200, Daniel Hellstrom wrote: > Hello Tom, > > Please pull from u-boot-sparc.git, thanks! One of the fixes enables > the SPARC platform to build again, sorry for the long delay and > thanks for informing me about the problem. > > The following changes since co

Re: [U-Boot] Building under Cygwin - "-ansi" flag?

2014-05-09 Thread Tom Rini
On Thu, May 08, 2014 at 02:49:35PM +0300, Vasili Galka wrote: > Hi, > > I'm building u-boot (am335x_evm config) using arm-none-eabi toolchain > under Cygwin. When trying to build unmodified v2014.04 tag I get some > errors. However, if I remove the "-ansi" flag from the Makefile, > everything buil

Re: [U-Boot] [PATCH] zynq: add empty xil_io.h to avoid compile error

2014-05-09 Thread Tom Rini
On Thu, May 08, 2014 at 10:29:25AM +0200, Michal Simek wrote: > On 05/08/2014 10:13 AM, Masahiro Yamada wrote: > > ps7_init.c exported by hw project has #include "xil_io.h" line > > but U-Boot does not have "xil_io.h". > > > > So we get an error on SPL build: > > ps7_init.c:12581:20: fatal error

Re: [U-Boot] [i2c] Pull request

2014-05-09 Thread Tom Rini
On Thu, May 08, 2014 at 07:05:40AM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c.git, thanks! > > The following changes since commit 173d294b94cfec10063a5be40934d6d8fb7981ce: > > Merge branch 'serial' of git://www.denx.de/git/u-boot-microblaze > (2014-05-06 14:55:

[U-Boot] [PATCH v2] dfu: mmc: Provide support for eMMC boot partition access

2014-05-09 Thread Lukasz Majewski
Before this patch it was only possible to access the default eMMC HW partition. By partition selection I mean the access to eMMC via the ext_csd[179] register programming. It sometimes happens that it is necessary to write to other partitions. This patch adds extra attribute to "raw" sub type of t

[U-Boot] Why is u-boot SPL reading u-boot.img twice [Zynq z7c02]?

2014-05-09 Thread Heshsham Abdul Basit
Hi, Target: Zynq z7c02 Whenever I run boot.bin generated in TOPDIR/u-boot source after compiling u-boot source, I observe it reads u-boot.img twice: U-Boot SPL printing from common/spl/spl.c 2014.01-dirty (May 06 2014 - 16:48:05) mmc boot, reading file arch/arm/cpu/armv7/zynq/spl.c reading u

Re: [U-Boot] [PATCH 1/4] bootm: allow to disable legacy image format

2014-05-09 Thread Wolfgang Denk
Dear Simon, In message you wrote: > > I agree that it might be dangerous to allow legacy boot when signature > verification is used. It would be nice to fix that. I think there is general agreement on this point. > This means that legacy is on by default, unless signature verification > is en

Re: [U-Boot] [PATCH v3 2/2] wandboard: Pass video kernel arguments for HDMI and LCD

2014-05-09 Thread Stefano Babic
On 02/05/2014 00:02, Otavio Salvador wrote: > This checks if the 7" WVGA produced by Future Eletronics is detected > and pass the needed kernel arguments for it to work. > > Signed-off-by: Otavio Salvador > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ==

Re: [U-Boot] [PATCH v3 1/2] wandboard: add Future Eletronics 7" WVGA LCD extension board

2014-05-09 Thread Stefano Babic
On 02/05/2014 00:02, Otavio Salvador wrote: > This adds support for the 7" WVGA produced by Future Eletronics and > make it dynamically detect if it is connected or not based on the > touchscreen controller. > > Signed-off-by: Otavio Salvador > --- > Applied after fixing the following compiler

Re: [U-Boot] [PATCH] imx: ventana: Convert to generic board

2014-05-09 Thread Stefano Babic
On 26/04/2014 00:17, Tim Harvey wrote: > Enable CONFIG_SYS_GENERIC_BOARD on ventana. > > Signed-off-by: Tim Harvey > --- > include/configs/gw_ventana.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h > index b984f27..335f2ff

Re: [U-Boot] [PATCH] imx6: ventana: fix system-serial dt property

2014-05-09 Thread Stefano Babic
On 25/04/2014 18:18, Tim Harvey wrote: > Fix typo in setting of system-serial property causing the prop len to be > off by 1. > > Signed-off-by: Tim Harvey > --- > board/gateworks/gw_ventana/gw_ventana.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/board/gateworks/gw

Re: [U-Boot] [PATCH 1/4] bootm: allow to disable legacy image format

2014-05-09 Thread Simon Glass
Hi, On 8 May 2014 23:12, Heiko Schocher wrote: > Hello Mike, > > Am 08.05.2014 15:02, schrieb mike: > >> Hi Heiko, >> >> Did you see my last email? The one that bounced with a mime header and >> where I attached a patch file. > > > Seems I missed this EMail ... > > >> I just wonder if its not bet

Re: [U-Boot] [PATCH] imx: ventana: add HDMI and LVDS display capability

2014-05-09 Thread Stefano Babic
On 26/04/2014 00:39, Tim Harvey wrote: > Signed-off-by: Tim Harvey > --- Applied after fixing the following checkpatch errors: ERROR: return is not a function, parentheses are not required #45: FILE: board/gateworks/gw_ventana/gw_ventana.c:383: + return ((0 == i2c_set_bus_num(dev->bus))

Re: [U-Boot] [PATCH 2/4] video: Add support for imx25 lcd controller

2014-05-09 Thread Stefano Babic
On 23/04/2014 07:52, die...@gmx.de wrote: > From: Thomas Diener > > This patch adds support for the imx25 lcd display controller. > > Signed-off-by: Thomas Diener > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH 1/4] imx25: Add new hardware registers

2014-05-09 Thread Stefano Babic
On 23/04/2014 07:52, die...@gmx.de wrote: > From: Thomas Diener > > Signed-off-by: Thomas Diener > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk

Re: [U-Boot] [PATCH v2] iomux-v3: Add support for mx6sl LVE bit

2014-05-09 Thread Stefano Babic
On 29/04/2014 15:15, Fabio Estevam wrote: > On mx6sl there is a LVE (Low Voltage Enable) bit in the IOMUXC_SW_PAD_CTL > register that can enable or disable low voltage on the pad. > > LVE is bit 22 of IOMUXC_SW_PAD_CTL register, but in order to make the > calculation easier we can define it as a

Re: [U-Boot] [PATCH 1/4] power: make pfuze100 be able to coexist with other pmics

2014-05-09 Thread Stefano Babic
On 23/04/2014 06:53, Tim Harvey wrote: > Avoid uding pmic_init() as this forces the model of only allowing a > single PMIC driver to be built at a time. > > Signed-off-by: Tim Harvey > --- > drivers/power/pmic/pmic_pfuze100.c | 2 +- > include/power/pfuze100_pmic.h | 1 + > 2 files changed,

Re: [U-Boot] [PATCH 2/4] ventana: use non-generic pfuze100 init

2014-05-09 Thread Stefano Babic
On 23/04/2014 06:53, Tim Harvey wrote: > Signed-off-by: Tim Harvey > --- > board/gateworks/gw_ventana/gw_ventana.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/board/gateworks/gw_ventana/gw_ventana.c > b/board/gateworks/gw_ventana/gw_ventana.c > index c130e2c..4

Re: [U-Boot] [PATCH 3/4] power: Add support for LTC3676 PMIC

2014-05-09 Thread Stefano Babic
Hi Tim, On 23/04/2014 06:53, Tim Harvey wrote: > The LTC3676 PMIC includes four DC/DC converters, and three 300mA > LDO Regulators (two Adjustable). The DC/DC converters are adjustable based > on a resistor devider (board-specific). > > This adds support for the LTC3676 by creating a namespace un

Re: [U-Boot] [PATCH 4/4] [PATCH] ventana: Add support for the LTC3676 PMIC

2014-05-09 Thread Stefano Babic
On 05/05/2014 17:22, Tim Harvey wrote: > The LTC3676 PMIC is used instead of the PFUZE100 PMIC on the > GW51xx/GW52xx/GW53xx Ventana baseboards. In order to support the IMX6Q SoC > at 1GHz on those baseboards, we need to adjust the voltage scaling for the SW1 > and SW3 DC/DC converters on the LTC36

[U-Boot] [PATCH] powerpc/t2080qds: add fdt_fixup_dma3

2014-05-09 Thread Shengzhou Liu
On T2080 the 3rd DMA is not functional if SRIO2 is chosen in SerDes2. we add fdt_fixup_dma3() to disable the 3rd DMA if SRIO2 is chosen. Signed-off-by: Shengzhou Liu --- board/freescale/t208xqds/t208xqds.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/board/fre

[U-Boot] Booting using intiramfs isnetad of uramdisk (Zynq)

2014-05-09 Thread Heshsham Abdul Basit
Hi, I have taken boot.bin and u-boot.img from teh TOPDIR after compiling teh u-boot source code from master-next branch. I have my own uImage that expect a initramfs. When I am trying to boot, I observed that u-boot is expecting ramdsik and not initramfs. In the same SD card I have a uramdisk.

Re: [U-Boot] [RFC] POWER framework v3 - wish list

2014-05-09 Thread Przemyslaw Marczak
Hello, Some time ago I had a pleasure to work on some kind of a simple charger manager for u-boot. For checking battery charge level, cable state, and some more info I made a common calls which were implemented in board files, so actually it didn't base directly on PMIC framework. This allowed

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

2014-05-09 Thread Albert ARIBAUD
Hello Tom, The following changes since commit 173d294b94cfec10063a5be40934d6d8fb7981ce: Merge branch 'serial' of git://www.denx.de/git/u-boot-microblaze (2014-05-06 14:55:45 -0400) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to

Re: [U-Boot] Pull request for u-boot-arm -> u-boot?

2014-05-09 Thread Albert ARIBAUD
Hi Tom, On Mon, 5 May 2014 13:46:54 -0400, Tom Rini wrote: > On Mon, May 05, 2014 at 10:46:36AM -0600, Stephen Warren wrote: > > > Albert, > > > > I was wondering when the next pull request for u-boot-arm/master -> > > u-boot/master was likely to be? > > > > I asked because some changes to th

Re: [U-Boot] [PATCH v3] dfu: Introduction of the "dfu_hash_algo" env variable for checksum method setting

2014-05-09 Thread Lukasz Majewski
Hi Wolfgang, > Dear Lukasz, > > In message <20140509085203.31133238@amdc2363> you wrote: > > > > For automated tests I use MD5 and compare this value before sending > > data to target via DFU and after I read it. This testing is done > > purely on HOST machine. > > This is unsufficient. You sh

Re: [U-Boot] Pull request for u-boot-arm -> u-boot?

2014-05-09 Thread Albert ARIBAUD
Hi Marek, On Mon, 5 May 2014 19:46:13 +0200, Marek Vasut wrote: > On Monday, May 05, 2014 at 06:46:36 PM, Stephen Warren wrote: > > Albert, > > > > I was wondering when the next pull request for u-boot-arm/master -> > > u-boot/master was likely to be? > > > > I asked because some changes to th

Re: [U-Boot] [PATCH v4 1/3] usb:gadget:f_thor: code cleanup in function download_tail()

2014-05-09 Thread Lukasz Majewski
Hi Przemyslaw, Marek, > Hello Marek, > > On 04/28/2014 06:57 PM, Przemyslaw Marczak wrote: > > In thor's download_tail() function, dfu_get_entity() is called > > before each dfu_write() call and the returned entity pointers > > are the same. So dfu_get_entity() can be called just once and > > thi

Re: [U-Boot] [PATCH v3] dfu: Introduction of the "dfu_hash_algo" env variable for checksum method setting

2014-05-09 Thread Wolfgang Denk
Dear Lukasz, In message <20140509085203.31133238@amdc2363> you wrote: > > For automated tests I use MD5 and compare this value before sending > data to target via DFU and after I read it. This testing is done purely > on HOST machine. This is unsufficient. You should always verify the image on

Re: [U-Boot] [PATCH v4 1/3] usb:gadget:f_thor: code cleanup in function download_tail()

2014-05-09 Thread Przemyslaw Marczak
Hello Marek, On 04/28/2014 06:57 PM, Przemyslaw Marczak wrote: In thor's download_tail() function, dfu_get_entity() is called before each dfu_write() call and the returned entity pointers are the same. So dfu_get_entity() can be called just once and this patch changes this. Signed-off-by: Przem