[U-Boot] [PATCH 0/4] Deep sleep patches for Freescale QorIQ platforms

2014-09-28 Thread Yuantian.Tang
From: Tang Yuantian These patches depend on the following patches: https://patchwork.ozlabs.org/patch/389949/ https://patchwork.ozlabs.org/patch/389950/ https://patchwork.ozlabs.org/patch/389951/ https://patchwork.ozlabs.org/patch/389952/ Tang Yuantian (4): Add deep sleep framework support for

[U-Boot] [PATCH 3/4] arm: ls102xa: Fixed a register definition error

2014-09-28 Thread Yuantian.Tang
From: Tang Yuantian There are 8 SCFG_SPARECR registers in SCFG memory block, not one. Signed-off-by: Tang Yuantian --- arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h b/arch

[U-Boot] [PATCH 2/4] ARM: HYP/non-sec: Make armv7_init_nonsec() usable before relocation

2014-09-28 Thread Yuantian.Tang
From: Tang Yuantian Defining variable gic_dist_addr as a globe one prevents function armv7_init_nonsec() from being used before relocation which is the case in the deep sleep resume process on Freescale QorIQ SoC platforms. This patch removes this limitation by adding a extra same meaning local v

[U-Boot] [PATCH 4/4] arm: ls1021qds: Add deep sleep support

2014-09-28 Thread Yuantian.Tang
From: Tang Yuantian Add deep sleep support on Freescale LS1021QDS platform. Signed-off-by: Tang Yuantian --- board/freescale/ls1021aqds/ddr.c| 7 board/freescale/ls1021aqds/ls1021aqds.c | 60 + include/configs/ls1021aqds.h| 4 +++ 3 fi

[U-Boot] [PATCH 1/4] Add deep sleep framework support for Freescale QorIQ platforms

2014-09-28 Thread Yuantian.Tang
From: Tang Yuantian When Freescale QorIQ SoCs wake up from deep sleep, control is passed to the primary core that starts executing uboot. After re-initialized some IP blocks, like DDRC, kernel will take responsibility to continue to restore environment it leaves before. This patch adds the deep

Re: [U-Boot] [PATCH] tools: mkimage can read input on /dev/stdin

2014-09-28 Thread Julien Castets
On Sun, Sep 28, 2014 at 8:49 AM, Wolfgang Denk wrote: > The case where mkimage is taking a single input file is quickly > becoming a rare corner case. > > The recommended way to build U-Boot images is (and has been for years, > even though marketing for this has been poor) to build FIT images. In

Re: [U-Boot] [PATCH v3 03/15] cros_ec: power: Add a tunnelled version of the tps65090 driver

2014-09-28 Thread Minkyu Kang
Dear Simon Glass, On 24 September 2014 03:59, Simon Glass wrote: > Unfortunately on Pit the AP has no direct access to the tps65090 but must > talk through the EC (over SPI) to the EC's I2C bus. > > When driver model supports PMICs this will be relatively easy. In the > meantime the best approac

[U-Boot] [PATCH] sun7i: Add support for Olimex A20-OLinuXino-LIME2

2014-09-28 Thread Iain Paton
This adds support for the Olimex A20-OLinuXino-Lime2 https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME2 Differences to previous Lime boards are 1GB RAM and gigabit ethernet Signed-off-by: Iain Paton --- patch is substantially the same as the one previously posted to linux-sunxi b

[U-Boot] [PATCH 2/4] dm: do not check the existence of uclass operation

2014-09-28 Thread Masahiro Yamada
The function uclass_add() checks uc_drv->ops as follows: if (uc_drv->ops) { dm_warn("No ops for uclass id %d\n", id); return -EINVAL; } It seems odd because it warns "No ops" when uc_drv->ops has non-NULL pointer. (Looks opposite.) Anyway, most of

[U-Boot] [PATCH 3/4] dm: do not check dm_root before searching in uclass_root

2014-09-28 Thread Masahiro Yamada
The function uclass_find() looks for a uclass in the linked list of gd->uclass_root; gd->dm_root has nothing to do with gd->uclass_root. Remove this confusing code. Signed-off-by: Masahiro Yamada --- drivers/core/uclass.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/core/uclass

[U-Boot] [PATCH 1/4] dm: fix comments

2014-09-28 Thread Masahiro Yamada
The struct udevice stands for a device, not a driver. The driver_info.name is a driver's name, which is referenced to bind devices. Signed-off-by: Masahiro Yamada --- include/dm/lists.h| 4 ++-- include/dm/platdata.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc

[U-Boot] [PATCH 0/4] dm: a collection of minor fixes in Driver-Model

2014-09-28 Thread Masahiro Yamada
Masahiro Yamada (4): dm: fix comments dm: do not check the existence of uclass operation dm: do not check dm_root before searching in uclass_root dm: simplify the loop in lists_driver_lookup_name() drivers/core/lists.c | 9 + drivers/core/uclass.c | 6 -- include/dm/lists.

[U-Boot] [PATCH 4/4] dm: simplify the loop in lists_driver_lookup_name()

2014-09-28 Thread Masahiro Yamada
if (strncmp(name, entry->name, len)) continue; /* Full match */ if (len == strlen(entry->name)) return entry; is equivalent to: if (!strcmp(name, entry->name)) return entry; The latter is simpler. Signed-off-by: Ma

[U-Boot] environment expectations of config_distro_bootcmd.h

2014-09-28 Thread Ian Campbell
Is there any documentation as to what environment variables a platform must provide if it uses config_distro_bootcmd.h. ${scriptaddr} seems clear but what about e.g. kernel_addr_r and friends? I suppose the use of the pxe commands has some implicit dependencies (pxe_addr_r?) Along the same lines i

Re: [U-Boot] [PATCH 1/4] dm: fix comments

2014-09-28 Thread Simon Glass
On 28 September 2014 07:52, Masahiro Yamada wrote: > > The struct udevice stands for a device, not a driver. > The driver_info.name is a driver's name, which is referenced > to bind devices. > > Signed-off-by: Masahiro Yamada Acked-by: Simon Glass ___

[U-Boot] Please sync u-boot-arm/master with u-boot/master

2014-09-28 Thread Masahiro YAMADA
Hi Albert, Could you have your u-boot-arm/master branch fast-forwarded against Tom's one, please? I am thinking of sending a pull-req of u-boot-uniphier (probably in a week or so). My upcoming pull-req will depend on some commits that are already on Tom's branch, but that are not on your branch

Re: [U-Boot] [PATCH 2/4] dm: do not check the existence of uclass operation

2014-09-28 Thread Simon Glass
On 28 September 2014 07:52, Masahiro Yamada wrote: > The function uclass_add() checks uc_drv->ops as follows: > > if (uc_drv->ops) { > dm_warn("No ops for uclass id %d\n", id); > return -EINVAL; > } > > It seems odd because it warns "No ops" when uc_

Re: [U-Boot] [PATCH] sun7i: Add support for Olimex A20-OLinuXino-LIME2

2014-09-28 Thread Hans de Goede
Hi, On 09/28/2014 03:18 PM, Iain Paton wrote: > This adds support for the Olimex A20-OLinuXino-Lime2 > https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME2 > > Differences to previous Lime boards are 1GB RAM and gigabit ethernet > > Signed-off-by: Iain Paton Thanks, I've added thi

Re: [U-Boot] [PATCH 3/4] dm: do not check dm_root before searching in uclass_root

2014-09-28 Thread Simon Glass
Hi Masahiro, On 28 September 2014 07:52, Masahiro Yamada wrote: > The function uclass_find() looks for a uclass in the linked > list of gd->uclass_root; gd->dm_root has nothing to do with > gd->uclass_root. Remove this confusing code. > > Signed-off-by: Masahiro Yamada > --- > > drivers/core/u

Re: [U-Boot] [PATCH 4/4] dm: simplify the loop in lists_driver_lookup_name()

2014-09-28 Thread Simon Glass
Hi Masahiro, On 28 September 2014 07:52, Masahiro Yamada wrote: > if (strncmp(name, entry->name, len)) > continue; > > /* Full match */ > if (len == strlen(entry->name)) > return entry; > > is equivalent to: > > if (!strcmp(name, ent

Re: [U-Boot] [PATCH 4/4] dm: simplify the loop in lists_driver_lookup_name()

2014-09-28 Thread Simon Glass
Hi Masahiro, On 28 September 2014 07:52, Masahiro Yamada wrote: > if (strncmp(name, entry->name, len)) > continue; > > /* Full match */ > if (len == strlen(entry->name)) > return entry; > > is equivalent to: > > if (!strcmp(name, ent

Re: [U-Boot] [PATCH 4/7] ARM: sun6i: Add clock support

2014-09-28 Thread Hans de Goede
Hi, On 09/22/2014 02:47 PM, Chen-Yu Tsai wrote: > On Mon, Sep 22, 2014 at 2:35 AM, Ian Campbell wrote: >> On Mon, 2014-09-08 at 21:28 +0800, Chen-Yu Tsai wrote: >> >>> +#ifdef CONFIG_SPL_BUILD >> >> Since there is no SPL support this is dead code right now, correct? > > This was part of Hans' at

Re: [U-Boot] [linux-sunxi] Re: [PATCH 0/7] ARM: sunxi: Add basic support for Allwinner A31 (sun6i)

2014-09-28 Thread Hans de Goede
Hi, On 09/18/2014 05:31 PM, Chen-Yu Tsai wrote: > Hi, > > On Thu, Sep 18, 2014 at 4:31 PM, Hans de Goede wrote: >> Hi, >> >> On 09/18/2014 06:27 AM, Siarhei Siamashka wrote: >>> On Tue, 09 Sep 2014 09:00:57 +0200 >>> Hans de Goede wrote: >>> Hi, On 09/08/2014 03:28 PM, Chen-Yu Ts

Re: [U-Boot] [PATCH v2 10/10] ARM: sun6i: Add Colombus board defconfig

2014-09-28 Thread Ian Campbell
On Thu, 2014-09-25 at 20:09 +0100, Ian Campbell wrote: > On Wed, 2014-09-24 at 16:01 +0800, Chen-Yu Tsai wrote: > > The Colombus board is an A31 evaluation board from WITS Technology. > > > > Signed-off-by: Chen-Yu Tsai > > > --- > > configs/Colombus_defconfig | 4 > > 1 file changed, 4 in

Re: [U-Boot] [u-boot] [PATCH V1 1/1] mmc: sunxi: add SDHC support for sun6i/sun7i/sun8i

2014-09-28 Thread Hans de Goede
Hi, On 09/22/2014 12:26 PM, Wills Wang wrote: > Allwinner A20/A23/A31's SD/MMC host support SDHC High Capacity feature. > > Signed-off-by: Wills Wang Thanks, added to u-boot-sunxi next: http://git.denx.de/?p=u-boot/u-boot-sunxi.git;a=shortlog;h=refs/heads/next I plan to include it in the nex

Re: [U-Boot] [PATCH v2 10/10] ARM: sun6i: Add Colombus board defconfig

2014-09-28 Thread Chen-Yu Tsai
On Sun, Sep 28, 2014 at 11:33 PM, Ian Campbell wrote: > On Thu, 2014-09-25 at 20:09 +0100, Ian Campbell wrote: >> On Wed, 2014-09-24 at 16:01 +0800, Chen-Yu Tsai wrote: >> > The Colombus board is an A31 evaluation board from WITS Technology. >> > >> > Signed-off-by: Chen-Yu Tsai >> >> > --- >> >

Re: [U-Boot] [PATCH 4/7] ARM: sun6i: Add clock support

2014-09-28 Thread Ian Campbell
On Sun, 2014-09-28 at 17:23 +0200, Hans de Goede wrote: > If you take a closer look at the code you will see not all 3 writes are the > same: > > /* Set PLL ldo voltage without this PLL6 does not work properly */ > writel(PRCM_PLL_CTRL_LDO_DIGITAL_EN | PRCM_PLL_CTRL_LDO_ANALOG_EN |

Re: [U-Boot] [PATCH v2 10/10] ARM: sun6i: Add Colombus board defconfig

2014-09-28 Thread Hans de Goede
Hi Ian, On 09/28/2014 05:33 PM, Ian Campbell wrote: > On Thu, 2014-09-25 at 20:09 +0100, Ian Campbell wrote: >> On Wed, 2014-09-24 at 16:01 +0800, Chen-Yu Tsai wrote: >>> The Colombus board is an A31 evaluation board from WITS Technology. >>> >>> Signed-off-by: Chen-Yu Tsai >> >>> --- >>> config

Re: [U-Boot] [PATCH 4/7] ARM: sun6i: Add clock support

2014-09-28 Thread Hans de Goede
Hi, On 09/28/2014 05:37 PM, Ian Campbell wrote: > On Sun, 2014-09-28 at 17:23 +0200, Hans de Goede wrote: >> If you take a closer look at the code you will see not all 3 writes are the >> same: >> >> /* Set PLL ldo voltage without this PLL6 does not work properly */ >> writel(PRCM_

Re: [U-Boot] [PATCH v2 10/10] ARM: sun6i: Add Colombus board defconfig

2014-09-28 Thread Ian Campbell
On Sun, 2014-09-28 at 23:37 +0800, Chen-Yu Tsai wrote: > On Sun, Sep 28, 2014 at 11:33 PM, Ian Campbell wrote: > > On Thu, 2014-09-25 at 20:09 +0100, Ian Campbell wrote: > >> On Wed, 2014-09-24 at 16:01 +0800, Chen-Yu Tsai wrote: > >> > The Colombus board is an A31 evaluation board from WITS Techn

Re: [U-Boot] [PATCH 3/4] dm: do not check dm_root before searching in uclass_root

2014-09-28 Thread Masahiro YAMADA
Simon, 2014-09-29 0:17 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 28 September 2014 07:52, Masahiro Yamada wrote: >> The function uclass_find() looks for a uclass in the linked >> list of gd->uclass_root; gd->dm_root has nothing to do with >> gd->uclass_root. Remove this confusing code. >> >

Re: [U-Boot] [linux-sunxi] [PATCH 5/7] sun4i: Add support for a number of new sun4i boards

2014-09-28 Thread Hans de Goede
Hi, On 09/18/2014 06:07 PM, Siarhei Siamashka wrote: > On Sun, 27 Jul 2014 23:25:21 +0200 > Hans de Goede wrote: > >> Add support for boards which I own and which already have a dts file in the >> upstream kernel. > > Hi Hans, > > It's good to know that you have all this hardware and can take

Re: [U-Boot] [PATCH 3/4] dm: do not check dm_root before searching in uclass_root

2014-09-28 Thread Simon Glass
Hi Masahiro, On 28 September 2014 09:54, Masahiro YAMADA wrote: > Simon, > > > 2014-09-29 0:17 GMT+09:00 Simon Glass : >> Hi Masahiro, >> >> On 28 September 2014 07:52, Masahiro Yamada >> wrote: >>> The function uclass_find() looks for a uclass in the linked >>> list of gd->uclass_root; gd->dm_

Re: [U-Boot] [linux-sunxi] Re: [PATCH v2 10/10] ARM: sun6i: Add Colombus board defconfig

2014-09-28 Thread Ian Campbell
On Sun, 2014-09-28 at 17:40 +0200, Hans de Goede wrote: > Hi Ian, > > On 09/28/2014 05:33 PM, Ian Campbell wrote: > > On Thu, 2014-09-25 at 20:09 +0100, Ian Campbell wrote: > >> On Wed, 2014-09-24 at 16:01 +0800, Chen-Yu Tsai wrote: > >>> The Colombus board is an A31 evaluation board from WITS Tec

[U-Boot] [PATCH 2/5] powerpc: ppc4xx: remove board support for CRAYL1

2014-09-28 Thread Masahiro Yamada
This board has been orphaned for more than 6 months. Signed-off-by: Masahiro Yamada --- arch/powerpc/cpu/ppc4xx/Kconfig | 4 - board/cray/L1/.gitignore| 2 - board/cray/L1/Kconfig | 12 -- board/cray/L1/L1.c | 350 --- board/cray/L

[U-Boot] [PATCH 3/5] powerpc: ppc4xx: remove board support for bluestone

2014-09-28 Thread Masahiro Yamada
This board has been orphaned for more than 6 months. It is the last board defining CONFIG_APM821XX. The code inside #ifdef CONFIG_APM821XX should be removed too. Signed-off-by: Masahiro Yamada --- arch/powerpc/cpu/ppc4xx/Kconfig | 4 - arch/powerpc/cpu/ppc4xx/cpu.c | 14 --

Re: [U-Boot] [PATCH v2 10/10] ARM: sun6i: Add Colombus board defconfig

2014-09-28 Thread Maxime Ripard
On Sun, Sep 28, 2014 at 04:43:30PM +0100, Ian Campbell wrote: > > Actually I don't have this board. I think Maxime has one. Not sure > > if anyone else does. It was kind of a placeholder for all A31 boards. > > > > I suppose you could just drop this patch. I can send another one > > for the A31 Hu

[U-Boot] [PATCH 0/5] powerpc: remove some orphan boards

2014-09-28 Thread Masahiro Yamada
6 months have passed since these boards were moved to Orphan. I built all the other boards to confirm this series has no impact to them. Masahiro Yamada (5): powerpc: ppc4xx: remove board support for KAREF and METROBOX powerpc: ppc4xx: remove board support for CRAYL1 powerpc: ppc4xx: remo

[U-Boot] [PATCH 4/5] powerpc: mpc83xx: remove board support for MERGERBOX and MVBLM7

2014-09-28 Thread Masahiro Yamada
These boards have been orphaned for more than 6 months. Signed-off-by: Masahiro Yamada --- arch/powerpc/cpu/mpc83xx/Kconfig | 8 - board/matrix_vision/mergerbox/Kconfig | 12 - board/matrix_vision/mergerbox/MAINTAINERS | 6 - board/matrix_vision/mergerbox/Makefile| 8 -

[U-Boot] [PATCH 5/5] powerpc: mpc5xxx: remove board support for MVBC_P and MVSMR

2014-09-28 Thread Masahiro Yamada
These boards have been orphaned for more than 6 months. Signed-off-by: Masahiro Yamada --- arch/powerpc/cpu/mpc5xxx/Kconfig | 8 - board/matrix_vision/mvbc_p/Kconfig | 12 -- board/matrix_vision/mvbc_p/MAINTAINERS | 6 - board/matrix_vision/mvbc_p/Makefile

Re: [U-Boot] [linux-sunxi] Re: [PATCH v2 10/10] ARM: sun6i: Add Colombus board defconfig

2014-09-28 Thread Iain Paton
On 28/09/14 17:20, Ian Campbell wrote: > You mean these two? > sun7i: Add support for Olimex A20-OLinuXino-LIME2 > mmc: sunxi: add SDHC support for sun6i/sun7i/sun8i > > The latter seems like a feature to me, or at least the changelog doesn't > give any rationale why it should go

Re: [U-Boot] [PATCH] tools: mkimage can read input on /dev/stdin

2014-09-28 Thread Wolfgang Denk
Dear Julien, In message you wrote: > > > So if we add support to read from stdin instead from a file where we > > pass the file name as an argument, we should probably do this in a > > consistent way. It would be a frustrating experience to the end user > > to learn that he can use stdin here b

Re: [U-Boot] [PATCH] patman: Check commit_match before stripping leading whitespace

2014-09-28 Thread Simon Glass
Hi Scott, On 25 September 2014 13:30, Scott Wood wrote: > True commit lines start at column zero. Anything that is indented > is part of the commit message instead. I noticed this by trying to > run buildman with commit e3a4facdfc07179ebe017a07b8de6224a935a9f3 > as master, which contained a ref

Re: [U-Boot] [linux-sunxi] Re: [PATCH v2 10/10] ARM: sun6i: Add Colombus board defconfig

2014-09-28 Thread Hans de Goede
Hi, On 09/28/2014 06:20 PM, Ian Campbell wrote: > On Sun, 2014-09-28 at 17:40 +0200, Hans de Goede wrote: >> Hi Ian, >> >> On 09/28/2014 05:33 PM, Ian Campbell wrote: >>> On Thu, 2014-09-25 at 20:09 +0100, Ian Campbell wrote: On Wed, 2014-09-24 at 16:01 +0800, Chen-Yu Tsai wrote: > The Co

[U-Boot] [PATCH] sunxi: Fix gmac not working reliable on the Bananapi

2014-09-28 Thread Hans de Goede
In order for the gmac nic to work reliable on the Bananapi, we need to poke these 2 undocumented bits in the gmac clk register. Since these are undocumented, this commit only sets these bits on the Bananapi for now. I'll contact Allwinner to try and get these bits documented, once they are documen

Re: [U-Boot] [PATCH v2 1/2] kconfig: add CONFIG_SUPPORT_SPL

2014-09-28 Thread Simon Glass
Hi Masahiro, On 26 September 2014 03:40, Masahiro Yamada wrote: > CONFIG_SPL should not be enabled for boards that do not have SPL. > CONFIG_SUPPORT_SPL introduced by this commit should be "select"ed > by boards with SPL support and CONFIG_SPL should depend on it. > > Signed-off-by: Masahiro Yama

Re: [U-Boot] [PATCH] kconfig: fix another bug of "make savedefconfig"

2014-09-28 Thread Simon Glass
On 26 September 2014 03:42, Masahiro Yamada wrote: > In some cases, the last lines of SPL or TPL are not output to a file. > The entries remaining in the "unmatched" variable must be flushed. > > Signed-off-by: Masahiro Yamada Acked-by: Simon Glass __

Re: [U-Boot] [PATCH v3 03/15] cros_ec: power: Add a tunnelled version of the tps65090 driver

2014-09-28 Thread Simon Glass
Hi Minkyu, On 28 September 2014 05:58, Minkyu Kang wrote: > Dear Simon Glass, > > On 24 September 2014 03:59, Simon Glass wrote: >> >> Unfortunately on Pit the AP has no direct access to the tps65090 but must >> talk through the EC (over SPI) to the EC's I2C bus. >> >> When driver model supports

Re: [U-Boot] [PATCH 4/4] dm: simplify the loop in lists_driver_lookup_name()

2014-09-28 Thread Igor Grinberg
Hi Masahiro, Simon, On 09/28/14 18:22, Simon Glass wrote: > Hi Masahiro, > > On 28 September 2014 07:52, Masahiro Yamada wrote: >> if (strncmp(name, entry->name, len)) >> continue; >> >> /* Full match */ >> if (len == strlen(entry->name)) >>

[U-Boot] [PATCH] ci_udc: force full-speed operation if !CONFIG_USB_GADGET_DUALSPEED

2014-09-28 Thread Eric Nelson
Signed-off-by: Eric Nelson --- drivers/usb/gadget/ci_udc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c index 2572b34..9f2fd15 100644 --- a/drivers/usb/gadget/ci_udc.c +++ b/drivers/usb/gadget/ci_udc.c @@ -777,6 +777,11 @@ stat

Re: [U-Boot] [PATCH] ci_udc: force full-speed operation if !CONFIG_USB_GADGET_DUALSPEED

2014-09-28 Thread Marek Vasut
On Sunday, September 28, 2014 at 09:12:35 PM, Eric Nelson wrote: > Signed-off-by: Eric Nelson > --- > drivers/usb/gadget/ci_udc.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c > index 2572b34..9f2fd15 100644 > --- a/driver

Re: [U-Boot] [linux-sunxi] Re: [PATCH v2 10/10] ARM: sun6i: Add Colombus board defconfig

2014-09-28 Thread Ian Campbell
On Sun, 2014-09-28 at 20:10 +0200, Hans de Goede wrote: > On 09/28/2014 06:20 PM, Ian Campbell wrote: > > On Sun, 2014-09-28 at 17:40 +0200, Hans de Goede wrote: > >> Before you do that, note that I've just added 2 patches there, which I > >> would > >> like to get into v2014.10. Specifically I'm

Re: [U-Boot] [PATCH] ci_udc: force full-speed operation if !CONFIG_USB_GADGET_DUALSPEED

2014-09-28 Thread Eric Nelson
Hi Marek, On 09/28/2014 01:28 PM, Marek Vasut wrote: > On Sunday, September 28, 2014 at 09:12:35 PM, Eric Nelson wrote: >> Signed-off-by: Eric Nelson >> --- >> drivers/usb/gadget/ci_udc.c | 5 + >> 1 file changed, 5 insertions(+) >> >> diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/g

Re: [U-Boot] [linux-sunxi] [PATCH 5/7] sun4i: Add support for a number of new sun4i boards

2014-09-28 Thread Siarhei Siamashka
On Sun, 28 Sep 2014 21:34:57 +0200 Arnd Gronenberg wrote: > > On 09/28/2014 05:58 PM, Hans de Goede wrote: > > [...] > > > > On 09/18/2014 06:07 PM, Siarhei Siamashka wrote: > >> Which revision of A10-OLinuXino-LIME do you have? Revision A is known > >> to have troubles running stable at 1008MHz

Re: [U-Boot] [PATCH v2 00/40] ARM: tegra: Add PCIe support

2014-09-28 Thread Simon Glass
Hi Thierry, On 26 August 2014 09:33, Thierry Reding wrote: > From: Thierry Reding > > This series adds PCIe support for Tegra20, Tegra30 and Tegra124. The size > is > mostly due to the large number of infrastructure that's added (libfdt, > Tegra > specific drivers required by the PCIe driver).

[U-Boot] [PATCH V2] usb: ci_udc: respect CONFIG_USB_GADGET_DUALSPEED

2014-09-28 Thread Eric Nelson
Force full-speed (12 Mbit/s) operation if CONFIG_USB_GADGET_DUALSPEED is not defined. The controller is capable of high-speed (480 Mbit/s) operation, but some designs may require the use of lower-speed operation. Signed-off-by: Eric Nelson --- drivers/usb/gadget/ci_udc.c | 6 ++ 1 file chan

[U-Boot] [PATCH v4 0/15] samsung: Use common config files with Samsung boards

2014-09-28 Thread Simon Glass
This series tries to unify the Samsung board configs into a few header files for exynos5 and exynos4. The purpose is to make it easier to move to driver model. In that case I would like things like the GPIO drivers and serial drivers to work in a standard way, and not need to support device tree a

[U-Boot] [PATCH v4 01/15] Exynos: Use 900MHz ARM frequency in SPL for peach_pit

2014-09-28 Thread Simon Glass
The device seems to hang in SPL if the full speed is used when booting from USB, perhaps because the PMIC has not been set to the maximum ARM core voltage yet. Slow it down to a reliable speed. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Add new patch

[U-Boot] [PATCH v4 0/15] samsung: Use common config files with Samsung boards

2014-09-28 Thread Simon Glass
This series tries to unify the Samsung board configs into a few header files for exynos5 and exynos4. The purpose is to make it easier to move to driver model. In that case I would like things like the GPIO drivers and serial drivers to work in a standard way, and not need to support device tree a

[U-Boot] [PATCH v4 12/15] config: Move smdkv310 to use common exynos4 file

2014-09-28 Thread Simon Glass
Most of the smdkv310 features are common with other exynos4 boards. To permit easier addition of driver model support, use the common file and add a device tree file. Signed-off-by: Simon Glass --- Changes in v4: - Rebase on top of master (CONFIG_OF settings moved to Kconfig) Changes in v3: Non

[U-Boot] [PATCH v4 11/15] config: Move arndale to use common exynos5250 file

2014-09-28 Thread Simon Glass
Most of the arndale features are common with other exynos5250 boards. To permit easier addition of driver model support, use the common file. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Reduce the number of common elements to avoid needing #undefs late

[U-Boot] [PATCH v4 04/15] cros_ec: exynos: Use the correct tps65090 driver in each case

2014-09-28 Thread Simon Glass
Exynos 5250 boards (snow, spring) use the I2C driver but Exynos 5420 boards cannot due to a hardware design decision. Select the correct driver to use in each case. Signed-off-by: Simon Glass Tested-by: Ajay Kumar --- Changes in v4: None Changes in v3: None Changes in v2: - Don't enable the cro

[U-Boot] [PATCH v4 08/15] exynos: Move common exynos settings into a common file

2014-09-28 Thread Simon Glass
Since exynos4 and exyno5 share many settings, we should move these into a common file to avoid duplication. In effect the changes are that all exynos boards now have EXT4 and FAT write support. This affects exynos5250 and exynos5420 which previously did not. This also disables the ext2 commands wh

[U-Boot] [PATCH v4 06/15] exynos: dts: Add device tree node for cros_ec keyboard

2014-09-28 Thread Simon Glass
Add a keyboard definition so that the keyboard can be used on pit. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Add new patch to enable keyboard on pit arch/arm/dts/exynos5420-peach-pit.dts | 55 +++ 1 file changed, 55

[U-Boot] [PATCH v4 03/15] cros_ec: power: Add a tunnelled version of the tps65090 driver

2014-09-28 Thread Simon Glass
Unfortunately on Pit the AP has no direct access to the tps65090 but must talk through the EC (over SPI) to the EC's I2C bus. When driver model supports PMICs this will be relatively easy. In the meantime the best approach is to duplicate the driver. It will be refactored once driver model support

[U-Boot] [PATCH v4 09/15] exynos: Move common smdk5420 things to common file

2014-09-28 Thread Simon Glass
A few things are common but are not in the common file. Fix this and rename the file to fit with the other exynos*-common files. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Leave CONFIG_SERIAL3 in the individual board files - Reduce the number of commo

[U-Boot] [PATCH v4 05/15] dm: exynos: Split out the cros_ec drivers

2014-09-28 Thread Simon Glass
With the driver model conversion we are going to be using driver model for SPI and not for I2C. This works OK so long as a board doesn't need both dm and non-dm versions of the cros_ec driver. Since pit uses SPI and snow uses I2C we need to split the configs so that only one driver is compiled for

[U-Boot] [PATCH v4 10/15] exynos: config: Move cros_ec and tps65090 out of smdk boards

2014-09-28 Thread Simon Glass
These boards do not in fact have a Chrome OS EC, nor a TPS565090 PMIC, so move the settings into a separate common file to be used by those that need it. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None include/configs/exynos5-common.h| 18 +++-

[U-Boot] [PATCH v4 02/15] exynos5: Enable data cache

2014-09-28 Thread Simon Glass
Things run faster when the data cache is enabled, so turn it on along with the 'dcache' command. Signed-off-by: Simon Glass Tested-by: Ajay Kumar --- Changes in v4: None Changes in v3: None Changes in v2: - Fix 'cashe' typo in commit subject include/configs/exynos5-dt.h | 2 +- 1 file changed

[U-Boot] [PATCH v4 07/15] exynos: Rename -dt config files to -common

2014-09-28 Thread Simon Glass
We want exynos5250-dt.h to be a board which can support any exynos5250 device. This matches the naming used by Linux. As a first step, rename the existing -dt files to -common to make it clear they are common files, and not specific boards. Signed-off-by: Simon Glass --- Changes in v4: None Chan

Re: [U-Boot] [PATCH V2] usb: ci_udc: respect CONFIG_USB_GADGET_DUALSPEED

2014-09-28 Thread Felipe Balbi
On Sun, Sep 28, 2014 at 05:36:56PM -0700, Eric Nelson wrote: > @@ -777,6 +778,11 @@ static int ci_pullup(struct usb_gadget *gadget, int > is_on) > /* select DEVICE mode */ > writel(USBMODE_DEVICE, &udc->usbmode); > > +#if !defined(CONFIG_USB_GADGET_DUALSPEED) && defin

[U-Boot] [PATCH v4 15/15] exynos: Enable pre-relocation malloc()

2014-09-28 Thread Simon Glass
Enable this feature to support driver model before relocation. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None include/configs/exynos-common.h | 5 +++-- include/configs/odroid.h| 2 -- include/configs/s5p_goni.h | 5 +++-- include/config

[U-Boot] [PATCH v4 14/15] samsung: Enable device tree for smdkc100

2014-09-28 Thread Simon Glass
Change this board to add a device tree. Signed-off-by: Simon Glass --- Changes in v4: - Rebase on top of master (CONFIG_OF settings moved to Kconfig) Changes in v3: None Changes in v2: - Avoid using a common file, and just add a device tree - Fix device tree base addresses arch/arm/Kconfig

[U-Boot] [PATCH v4 13/15] samsung: Enable device tree for s5p_goni

2014-09-28 Thread Simon Glass
Change this board to add a device tree. This also adds a pinmux header file although it is not used as yet. Signed-off-by: Simon Glass --- Changes in v4: - Rebase on top of master (CONFIG_OF settings moved to Kconfig) Changes in v3: - Adjust device tree file based on Robert Baldyga's example

Re: [U-Boot] [PATCH V2] usb: ci_udc: respect CONFIG_USB_GADGET_DUALSPEED

2014-09-28 Thread Eric Nelson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/28/2014 06:21 PM, Felipe Balbi wrote: > On Sun, Sep 28, 2014 at 05:36:56PM -0700, Eric Nelson wrote: >> @@ -777,6 +778,11 @@ static int ci_pullup(struct usb_gadget >> *gadget, int is_on) /* select DEVICE mode */ >> writel(USBMODE_DEVICE, &udc->u

[U-Boot] [PATCH] usb: ci_udc: respect CONFIG_USB_GADGET_DUALSPEED

2014-09-28 Thread Eric Nelson
Force full-speed (12 Mbit/s) operation if CONFIG_USB_GADGET_DUALSPEED is not defined. The controller is capable of high-speed (480 Mbit/s) operation, but some designs may require the use of lower-speed operation. Signed-off-by: Eric Nelson --- V2 uses PFSC constant, setbits_le32, and expands co

Re: [U-Boot] [PATCH 3/4] dm: do not check dm_root before searching in uclass_root

2014-09-28 Thread Masahiro Yamada
Hi Simon, On Sun, 28 Sep 2014 10:18:59 -0600 Simon Glass wrote: > Hi Masahiro, > > On 28 September 2014 09:54, Masahiro YAMADA wrote: > > Simon, > > > > > > 2014-09-29 0:17 GMT+09:00 Simon Glass : > >> Hi Masahiro, > >> > >> On 28 September 2014 07:52, Masahiro Yamada > >> wrote: > >>> The

[U-Boot] [PATCH 1/4] Add snoop disable for slave port 0, port 1 and port 2

2014-09-28 Thread Alison Wang
From: Jason Jin Disable the snoop for slave interface 0, 1 and 2 to avoid the interleaving on the CCI400 BUS. Signed-off-by: Jason Jin Signed-off-by: Minghuan Lian --- arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 1 + board/freescale/ls1021aqds/ls1021aqds.c | 7 +++ boa

[U-Boot] [PATCH 2/4] arm: ls102xa: Remove bit reversing for SCFG registers

2014-09-28 Thread Alison Wang
SCFG_SCFGREVCR is SCFG bit reverse register. This register must be written with 0x before writing to any other SCFG register. Then other SCFG register could be written in big-endian mode. Address: 157_h base + 200h offset = 157_0200h Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15|16 17 18

[U-Boot] [PATCH 3/4] ls102xa: ifc: nor: fix the write issue when bytes unaligned.

2014-09-28 Thread Alison Wang
From: Yuan Yao Add define CONFIG_SYS_WRITE_SWAPPED_DATA. For LS1021AQDS and LS1021QTWR nor flash read and write should swap the bytes when handle unaligned tail bytes. Signed-off-by: Yuan Yao --- include/configs/ls1021aqds.h | 1 + include/configs/ls1021atwr.h | 1 + 2 files changed, 2 inserti

[U-Boot] [PATCH 4/4] arm: ls102xa: Add SystemID EEPROM support for LS1021ATWR board

2014-09-28 Thread Alison Wang
SystemID information could be read through I2C1 from EEPROM on LS1021ATWR board. As LS1 is a little-endian processor, getting the version ID by be32_to_cpu() is wrong. Fix it by using e.version directly. This change will be compatible for both ARM and PowerPC. Signed-off-by: Alison Wang --- boa

Re: [U-Boot] [PATCH 3/4] ls102xa: ifc: nor: fix the write issue when bytes unaligned.

2014-09-28 Thread Prabhakar Kushwaha
On 9/29/2014 8:23 AM, Alison Wang wrote: From: Yuan Yao Add define CONFIG_SYS_WRITE_SWAPPED_DATA. For LS1021AQDS and LS1021QTWR nor flash read and write should swap the bytes when handle unaligned tail bytes. Signed-off-by: Yuan Yao Subject and description of patch has mismatch. Subject s

Re: [U-Boot] [PATCH 2/4] arm: ls102xa: Remove bit reversing for SCFG registers

2014-09-28 Thread Prabhakar Kushwaha
On 9/29/2014 8:23 AM, Alison Wang wrote: SCFG_SCFGREVCR is SCFG bit reverse register. This register must be written with 0x before writing to any other SCFG register. Then other SCFG register could be written in big-endian mode. Address: 157_h base + 200h offset = 157_0200h Bit 0 1

Re: [U-Boot] [PATCH] exynos: update maintainer of Snow and SMDK5420 board

2014-09-28 Thread Masahiro Yamada
Hi Akshay, On Fri, 26 Sep 2014 03:29:51 + (GMT) Akshay Saraswat wrote: > > Hi Mr. Masahiro Yamada, > > Rajeshwari has left the organization and probably forgot transferring the > maintainership. > Yes, please transfer both the boards (Snow and SMDK5420) to my name. > > Regards, > Akshay

Re: [U-Boot] [PATCH] exynos: update maintainer of Snow and SMDK5420 board

2014-09-28 Thread Masahiro Yamada
On Mon, 29 Sep 2014 13:01:22 +0900 Masahiro Yamada wrote: > Hi Akshay, > > On Fri, 26 Sep 2014 03:29:51 + (GMT) > Akshay Saraswat wrote: > > > > > Hi Mr. Masahiro Yamada, > > > > Rajeshwari has left the organization and probably forgot transferring the > > maintainership. > > Yes, plea

Re: [U-Boot] [PATCH 2/4] arm: ls102xa: Remove bit reversing for SCFG registers

2014-09-28 Thread Huan Wang
Hi, Prabhakar, > On 9/29/2014 8:23 AM, Alison Wang wrote: > > SCFG_SCFGREVCR is SCFG bit reverse register. This register must be > > written with 0x before writing to any other SCFG register. > > Then other SCFG register could be written in big-endian mode. > > > > Address: 157_h base

Re: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: Fix gmac not working reliable on the Bananapi

2014-09-28 Thread Zoltan HERPAI
On Sun, 28 Sep 2014, Karsten Merker wrote: On Sun, Sep 28, 2014 at 08:13:21PM +0200, Hans de Goede wrote: In order for the gmac nic to work reliable on the Bananapi, we need to poke these 2 undocumented bits in the gmac clk register. Since these are undocumented, this commit only sets these bi

Re: [U-Boot] [linux-sunxi] [PATCH 5/7] sun4i: Add support for a number of new sun4i boards

2014-09-28 Thread Arnd Gronenberg
On 09/28/2014 05:58 PM, Hans de Goede wrote: [...] On 09/18/2014 06:07 PM, Siarhei Siamashka wrote: Which revision of A10-OLinuXino-LIME do you have? Revision A is known to have troubles running stable at 1008MHz CPU clock speed, as confirmed on a sample set of two boards (mine and Oliver Schi

Re: [U-Boot] [linux-sunxi] [PATCH 5/7] sun4i: Add support for a number of new sun4i boards

2014-09-28 Thread Siarhei Siamashka
On Sun, 28 Sep 2014 17:58:41 +0200 Hans de Goede wrote: > Hi, > > On 09/18/2014 06:07 PM, Siarhei Siamashka wrote: > > On Sun, 27 Jul 2014 23:25:21 +0200 > > Hans de Goede wrote: > > > > Which revision of A10-OLinuXino-LIME do you have? Revision A is known > > to have troubles running stable a

Re: [U-Boot] [linux-sunxi] [PATCH 5/7] sun4i: Add support for a number of new sun4i boards

2014-09-28 Thread Siarhei Siamashka
On Mon, 29 Sep 2014 08:38:42 +0300 Siarhei Siamashka wrote: > On Sun, 28 Sep 2014 17:58:41 +0200 > Hans de Goede wrote: > > > Do you have any easy step-by-step document (or ready to use sdcard > > image to download) to do some stress tests on my revision A ? > > The easy step-by-step document

[U-Boot] [PATCH] powerpc/mpc85xx:Update RESET_VECTOR_ADDRESS for 768KB u-boot size

2014-09-28 Thread Ruchika Gupta
U-boot binary size has been increased from 512KB to 768KB. So update CONFIG_RESET_VECTOR_ADDRESS to reflect the same for P1010 SPI Flash Secure boot target. Signed-off-by: Ruchika Gupta --- include/configs/P1010RDB.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/co

Re: [U-Boot] [PATCH 2/2] mpc85xx: configs - Add hash command in freescale platforms

2014-09-28 Thread Ruchika Gupta
Hi York, The patch caused size issues, because the change for uboot image size to 768 K was missing for this target. I have sent a patch which fixes this issue. https://patchwork.ozlabs.org/patch/394275/ Can you pick up this patch before the rest of the patches. That would resolve the size pr

[U-Boot] [PATCH 2/3][v3] mpc85xx: configs - Enable blob command in freescale platforms

2014-09-28 Thread Ruchika Gupta
Enable blob commands for platforms having SEC 4.0 or greater for secure boot scenarios Signed-off-by: Ruchika Gupta --- Changes from v2: Fixed the compilation issue for T208x platform include/configs/B4860QDS.h | 4 include/configs/BSC9132QDS.h | 4 include/configs/P1010RDB.h | 4

[U-Boot] [PATCH 3/3][v3] ls102x: Add support for secure boot and enable blob command

2014-09-28 Thread Ruchika Gupta
Signed-off-by: Ruchika Gupta --- Changes from v2: No changes configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 3 +++ configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 3 +++ include/configs/ls1021aqds.h | 4 include/configs/ls1021atwr.h | 4 4 files changed,

[U-Boot] [PATCH 1/3][v3] crypto/fsl: Add command for encapsulating/decapsulating blobs

2014-09-28 Thread Ruchika Gupta
Freescale's SEC block has built-in Blob Protocol which provides a method for protecting user-defined data across system power cycles. SEC block protects data in a data structure called a Blob, which provides both confidentiality and integrity protection. Encapsulating data as a blob Each time that

Re: [U-Boot] [PATCH v8 08/12] dm: exynos: Move s5p_goni to generic board

2014-09-28 Thread Robert Baldyga
On 09/15/2014 12:29 AM, Simon Glass wrote: > The generic board deadline is approaching, and we need this feature to > enable driver model. Enable CONFIG_SYS_GENERIC_BOARD for s5p_goni. > > Signed-off-by: Simon Glass > --- > > Changes in v8: > - Add new patch to move s5p_goni to generic board >

[U-Boot] [PATCH][v2] powerpc/mpc85xx: SECURE BOOT - Bypass PAMU in case of secure boot

2014-09-28 Thread Ruchika Gupta
By default, PAMU's (IOMMU) are enabled in case of secure boot. Disable/bypass them , once the control reached the bootloader. For non-secure boot, PAMU's are already bypassed in the default SoC configuration Signed-off-by: Ruchika Gupta --- Changes from v1: PAMU is available only in platforms wi

Re: [U-Boot] [linux-sunxi] [PATCH] sunxi: Fix gmac not working reliable on the Bananapi

2014-09-28 Thread Siarhei Siamashka
On Sun, 28 Sep 2014 20:13:21 +0200 Hans de Goede wrote: > In order for the gmac nic to work reliable on the Bananapi, we need to poke > these 2 undocumented bits in the gmac clk register. Since these are > undocumented, this commit only sets these bits on the Bananapi for now. > > I'll contact A

Re: [U-Boot] [PATCH] ORIGEN: Enhance origen config to be more flexible on boot.

2014-09-28 Thread Guillaume Gardet
Ping. Guillaume Le 19/09/2014 15:32, Guillaume GARDET a écrit : This patch enhances the boot of origen board by adding support to ext2, bootz, initrd, bootenv loading and boot script. It still keeps the previous mmc load command if boot script fails. Signed-off-by: Guillaume GARDET Cc: Minky

Re: [U-Boot] [PATCH] ARNDALE: Enhance arndale config to be more flexible on boot.

2014-09-28 Thread Guillaume Gardet
Ping. Guillaume Le 19/09/2014 15:31, Guillaume GARDET a écrit : This patch enhances the boot of arndale board by adding support to bootz, initrd, bootenv loading and boot script. It still keeps the previous mmc load command if boot script fails. Signed-off-by: Guillaume GARDET Cc: Minkyu Ka

  1   2   >