[U-Boot] [PATCH] arm: mvebu: ddr: Fix compilation warning

2015-11-30 Thread Stefan Roese
gcc 5.1 generates this new warning (for Armada 38x platforms): drivers/ddr/marvell/a38x/ddr3_debug.c: In function 'hws_ddr3_tip_read_training_result': drivers/ddr/marvell/a38x/ddr3_debug.c:177:40: warning: 'sizeof' on array function parameter 'result' will return size of 'enum hws_result (*)[1]

[U-Boot] [PATCH] imx: mx6: fix reg base address when runtime usage

2015-11-30 Thread Peng Fan
Should use parenthese to wrap the macro definition, otherwise we will encounter error like the following: " if (base_addr != LCDIF1_BASE_ADDR) { puts("Wrong LCD interface!\n"); return -EINVAL; } " Without this patch, we will always encounter "Wrong LCD interface". Signed-off-by: Peng Fan

Re: [U-Boot] [PATCH v5 00/21] Bring up rk3036 uboot

2015-11-30 Thread Sjoerd Simons
On Fri, 2015-11-27 at 16:21 -0800, Simon Glass wrote: > +a few others who have submitted patches I suspect this is unrelated to the 3036 bringup, but at the moment i can't build the 3288 firefly SPL smaller then 32k :( (iotw small enoug to be used as an SD card image). The image ends up being abou

Re: [U-Boot] [PATCH v2 0/9] basic support for Allwinner A83T SOC.

2015-11-30 Thread Hans de Goede
Hi Vishnu, > This patch v2 of series that adds basic support for Allwinner A83T SOC with > review comments addressed. Can you provide some quick instructions on how to test this on the A83T HomletV2 ? With v1 of these patches I tried to just build them and dd them to the sdcard, but that did no

Re: [U-Boot] [PATCH v2 5/9] sunxi: do not enable smp for A83T

2015-11-30 Thread Hans de Goede
Hi, > When smp is enabled for A83T, intermittent hang is observed after booting kernel. > for now do not enable the smp for CPU0. This has to be fixed. > Also, fixed the space at line start warning at these two lines. Is this still needed now that we bring up only one CPU anyways? Regards, Ha

Re: [U-Boot] [PATCH] video: ipu: fix out of bounds access

2015-11-30 Thread Anatolij Gustschin
Hello, On Fri, 27 Nov 2015 10:00:10 +0800 Peng Fan wrote: > We need to access reg stp_rep9, but not stp_rep[(9 - 1) / 2]. > If using "__raw_writel(0, DI_STP_REP(disp, 9))", this will exceeds > the size of stp_rep array. > > Signed-off-by: Peng Fan > Acked-by: Liu Ying > Cc: Stefano Babic > C

Re: [U-Boot] [PATCH v5 00/21] Bring up rk3036 uboot

2015-11-30 Thread Stefan Roese
Hi Sjoerd, On 30.11.2015 09:12, Sjoerd Simons wrote: > On Fri, 2015-11-27 at 16:21 -0800, Simon Glass wrote: >> +a few others who have submitted patches > > I suspect this is unrelated to the 3036 bringup, but at the moment i > can't build the 3288 firefly SPL smaller then 32k :( (iotw small enou

[U-Boot] [PATCH v4] arm: Add sata support on Layerscape ARMv8 board

2015-11-30 Thread Yuantian.Tang
From: Tang Yuantian Freescale ARM-based Layerscape contains a SATA controller which comply with the serial ATA 3.0 specification and the AHCI 1.3 specification. This patch adds SATA feature on ls2080aqds, ls2080ardb and ls1043aqds boards. Signed-off-by: Tang Yuantian --- v4: - rebase to

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

2015-11-30 Thread Anatolij Gustschin
Hello Tom, The following changes since commit 736d1746fb7b8f7cd70657a4a72db2b6bd8de40e: itest: add missing break statements to evalexp() (2015-11-18 15:29:00 -0500) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to 3dbdb4dd4f8e

Re: [U-Boot] arm: s5pc1xx: move sources to mach-s5pc1xx

2015-11-30 Thread Minkyu Kang
On 20/11/15 18:14, Minkyu Kang wrote: > move arm/arm/cpu/armv7/s5pc1xx to arch/arm/mach-s5pc1xx > > Signed-off-by: Minkyu Kang > --- > MAINTAINERS | 6 > ++ > arch/arm/Kconfig| 2 +- >

[U-Boot] please pull u-boot-samsung master

2015-11-30 Thread Minkyu Kang
Dear Tom, The following changes since commit fa8883a1e39a20e72aaa5093af0c80062cb95757: Merge branch 'master' of git://git.denx.de/u-boot-i2c (2015-11-27 08:41:03 -0500) are available in the git repository at: http://git.denx.de/u-boot-samsung for you to fetch changes up to 225f5eeccd6c0

Re: [U-Boot] [PATCH v5 00/21] Bring up rk3036 uboot

2015-11-30 Thread Sjoerd Simons
On Mon, 2015-11-30 at 09:24 +0100, Stefan Roese wrote: > Hi Sjoerd, > > On 30.11.2015 09:12, Sjoerd Simons wrote: > > On Fri, 2015-11-27 at 16:21 -0800, Simon Glass wrote: > > > +a few others who have submitted patches > > > > I suspect this is unrelated to the 3036 bringup, but at the moment > >

Re: [U-Boot] [PATCH v5 00/21] Bring up rk3036 uboot

2015-11-30 Thread Stefan Roese
On 30.11.2015 09:39, Sjoerd Simons wrote: On Mon, 2015-11-30 at 09:24 +0100, Stefan Roese wrote: Hi Sjoerd, On 30.11.2015 09:12, Sjoerd Simons wrote: On Fri, 2015-11-27 at 16:21 -0800, Simon Glass wrote: +a few others who have submitted patches I suspect this is unrelated to the 3036 bringu

[U-Boot] [PATCH] drivers:usb:fsl: Add T4080 as affected soc for Erratum A007792 sw workaround

2015-11-30 Thread Rajesh Bhagat
Apply Erratum A007792 sw workaround for T4080 Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: Ramneek Mehresh --- include/fsl_usb.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/fsl_usb.h b/include/fsl_usb.h index 8e3dded..187e384 100644 --- a/include/fsl_u

[U-Boot] [PATCH] armv8: README: Update README for DPAA2 commands for MC

2015-11-30 Thread Prabhakar Kushwaha
Update README for DPAA2 commands used to manage MC - Upldate details - Added example Signed-off-by: Prabhakar Kushwaha --- Based upon u-boot-fsl-qoriq.git branch next arch/arm/cpu/armv8/fsl-layerscape/README.lsch3 | 88 +- 1 file changed, 59 insertions(+), 29 deletion

Re: [U-Boot] [PATCH] arm, ubifs: fix gcc5.x compiler warning

2015-11-30 Thread Jeroen Hofstee
Hello Heiko, On 30-11-15 08:47, Heiko Schocher wrote: compiling U-Boot for openrd_base_defconfig with gcc 5.x shows the following warning: CC fs/ubifs/super.o In file included from fs/ubifs/ubifs.h:35:0, from fs/ubifs/super.c:37: fs/ubifs/super.c: In function 'atomic_i

Re: [U-Boot] [PATCH v2 12/26] dm: pci: video: Convert video and pci_rom to use DM PCI API

2015-11-30 Thread Anatolij Gustschin
Hi Simon, On Sun, 29 Nov 2015 13:17:57 -0700 Simon Glass wrote: > Adjust these files to use the driver-model PCI API instead of the legacy > functions. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Rename pci_run_vga_bios() to dm_pci_run_vga_bios() > - Require driver model with

[U-Boot] [PATCH] imx: mx7dsabresd: Add QSPI support

2015-11-30 Thread Peng Fan
Support qspi flashes for mx7dsabresd 1. introduce pin mux settings 2. enable qspi clock 3. introduce related macro definitions Default QSPI is not enabled, since we need hardware rework to use QSPI, see SPF-28590, page 9: " QSPI signals are muxed with EPDC_D[7:0] When using QSPI: de-populate R388-

Re: [U-Boot] [PATCH] arm: imx6: novena, gw_ventana: Fix use of pfuze100 bit definitions

2015-11-30 Thread Przemyslaw Marczak
Hello Stefano, On 11/26/2015 02:08 PM, Marek Vasut wrote: The following patch changed the PFUZE100 swbst register bit definitions and broke PMIC configuration on multiple boards, at least on the novena and gw_ventana. This patch fixes it. commit 8fa46350a4c7dca7710362f6c871098557b934ad Author:

Re: [U-Boot] [PATCH] arm: imx6: novena, gw_ventana: Fix use of pfuze100 bit definitions

2015-11-30 Thread Stefano Babic
On 30/11/2015 10:53, Przemyslaw Marczak wrote: > Hello Stefano, > > On 11/26/2015 02:08 PM, Marek Vasut wrote: >> The following patch changed the PFUZE100 swbst register bit definitions >> and broke PMIC configuration on multiple boards, at least on the novena >> and gw_ventana. This patch fixes i

Re: [U-Boot] [PATCH] imx: mx7dsabresd: Add QSPI support

2015-11-30 Thread Stefano Babic
On 30/11/2015 10:45, Peng Fan wrote: > Support qspi flashes for mx7dsabresd > 1. introduce pin mux settings > 2. enable qspi clock > 3. introduce related macro definitions > > Default QSPI is not enabled, since we need hardware rework to use QSPI, > see SPF-28590, page 9: > " > QSPI signals are mu

Re: [U-Boot] [PATCH] arm, ubifs: fix gcc5.x compiler warning

2015-11-30 Thread Heiko Schocher
Hello Jeroen, Am 30.11.2015 um 10:20 schrieb Jeroen Hofstee: Hello Heiko, On 30-11-15 08:47, Heiko Schocher wrote: compiling U-Boot for openrd_base_defconfig with gcc 5.x shows the following warning: CC fs/ubifs/super.o In file included from fs/ubifs/ubifs.h:35:0, fr

Re: [U-Boot] [PATCH] arm: imx6: novena, gw_ventana: Fix use of pfuze100 bit definitions

2015-11-30 Thread Przemyslaw Marczak
On 11/30/2015 11:00 AM, Stefano Babic wrote: On 30/11/2015 10:53, Przemyslaw Marczak wrote: Hello Stefano, On 11/26/2015 02:08 PM, Marek Vasut wrote: The following patch changed the PFUZE100 swbst register bit definitions and broke PMIC configuration on multiple boards, at least on the novena

Re: [U-Boot] [PATCH] imx: mx6: add missing return value

2015-11-30 Thread Stefano Babic
On 30/11/2015 02:46, Peng Fan wrote: > Hi Jeroen, > On Sun, Nov 29, 2015 at 06:30:34PM +0100, Jeroen Hofstee wrote: >> cc: Peng Fan >> Signed-off-by: Jeroen Hofstee >> --- >> not tested ;) >> >> arch/arm/cpu/armv7/mx6/clock.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/arch/arm/c

Re: [U-Boot] [PATCH] checkpatch.pl: Fix checkpatch.pl warnings with Perl 5.22

2015-11-30 Thread Alexey Brodkin
Hi Joe, On Thu, 2015-09-03 at 15:46 -0500, Joe Hershberger wrote: > Hi Moritz, > > On Thu, Sep 3, 2015 at 2:25 PM, Moritz Fischer > wrote: > > This patch fixes a bunch of deprecation warings that show up when using > > checkpatch.pl with Perl 5.22. > > > > Unescaped left brace in regex is depr

Re: [U-Boot] [PATCH v2] usb: add support for generic EHCI devices

2015-11-30 Thread Alexey Brodkin
Hi Marek, On Fri, 2015-11-20 at 21:48 +0100, Marek Vasut wrote: > On Wednesday, November 18, 2015 at 04:26:21 PM, Alexey Brodkin wrote: > > This driver is meant to be used with any EHCI-compatible host > > controller in case if there's no need for platform-specific > > glue such as setup of contro

Re: [U-Boot] [PATCH] ppc4xx: Remove remnants from ocotea, taishan, ebony and taihu

2015-11-30 Thread Stefan Roese
On 27.10.2015 12:48, Stefan Roese wrote: The removal of some PPC4xx boards did not catch all references to these boards. This patch now removes all remnants still left. Signed-off-by: Stefan Roese Cc: Stefan Roese Applied to u-boot-ppc4xx/master. Thanks, Stefan

Re: [U-Boot] [PATCH v2] PPC4xx: Create "liebherr" vendor directory

2015-11-30 Thread Stefan Roese
On 24.11.2015 20:46, Wolfgang Denk wrote: In preparation of some new Liebherr boards to be added soon, a new "liebherr" vendor directory gets created, and the "lwmon5" board directory is moved into this new vendor directory. cc: Stefan Roese Signed-off-by: Wolfgang Denk Applied to u-boot-ppc

[U-Boot] Please pull u-boot-ppc4xx/master

2015-11-30 Thread Stefan Roese
Hi Tom, please pull those 2 pending patches: The following changes since commit fa8883a1e39a20e72aaa5093af0c80062cb95757: Merge branch 'master' of git://git.denx.de/u-boot-i2c (2015-11-27 08:41:03 -0500) are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git for

Re: [U-Boot] [PATCH] cfi_flash: give default CONFIG_SYS_MAX_FLASH_SECT in flash.h

2015-11-30 Thread Stefan Roese
On 31.10.2015 04:09, Thomas Chou wrote: Give default CONFIG_SYS_MAX_FLASH_SECT in flash.h, so that the header can be included regardless of the present of flash. The value 512 is the most used. Signed-off-by: Thomas Chou Applied to u-boot-cfi-flash/master. Thanks, Stefan ___

[U-Boot] Please pull u-boot-cfi-flash/master

2015-11-30 Thread Stefan Roese
Hi Tom, please pull this small CFI patch: The following changes since commit fa8883a1e39a20e72aaa5093af0c80062cb95757: Merge branch 'master' of git://git.denx.de/u-boot-i2c (2015-11-27 08:41:03 -0500) are available in the git repository at: git://www.denx.de/git/u-boot-cfi-flash.git for

[U-Boot] [PULL] u-boot-socfpga/master

2015-11-30 Thread Marek Vasut
The following changes since commit fa8883a1e39a20e72aaa5093af0c80062cb95757: Merge branch 'master' of git://git.denx.de/u-boot-i2c (2015-11-27 08:41:03 -0500) are available in the git repository at: git://git.denx.de/u-boot-socfpga.git for you to fetch changes up to 486f4fa98c65baa6d70008

[U-Boot] [PULL] u-boot-usb/master

2015-11-30 Thread Marek Vasut
The following changes since commit fa8883a1e39a20e72aaa5093af0c80062cb95757: Merge branch 'master' of git://git.denx.de/u-boot-i2c (2015-11-27 08:41:03 -0500) are available in the git repository at: git://git.denx.de/u-boot-usb.git for you to fetch changes up to b5c6f21bf9761f12b43dfc652e

Re: [U-Boot] [PATCH v2] usb: add support for generic EHCI devices

2015-11-30 Thread Marek Vasut
On Monday, November 30, 2015 at 12:10:23 PM, Alexey Brodkin wrote: > Hi Marek, > > On Fri, 2015-11-20 at 21:48 +0100, Marek Vasut wrote: > > On Wednesday, November 18, 2015 at 04:26:21 PM, Alexey Brodkin wrote: > > > This driver is meant to be used with any EHCI-compatible host > > > controller in

Re: [U-Boot] [PATCH] drivers:usb:fsl: Add T4080 as affected soc for Erratum A007792 sw workaround

2015-11-30 Thread Marek Vasut
On Monday, November 30, 2015 at 08:01:34 AM, Rajesh Bhagat wrote: > Apply Erratum A007792 sw workaround for T4080 > > Signed-off-by: Sriram Dash > Signed-off-by: Rajesh Bhagat > Signed-off-by: Ramneek Mehresh Applied, thanks. I'm somewhat fascinated how this patch has more SoB lines than chan

Re: [U-Boot] [PATCH] dfu: fix possible memory leak in dfu_init_env_entities()

2015-11-30 Thread Lukasz Majewski
Hi Przemyslaw, > The string of environment variable $dfu_alt_info is duplicated > by strdup() before parsing its content. The memory leak occurs, > when dfu fails, because the duplicated variable is freed only > on command success. > > This simple fix allows calling free() always before the retur

Re: [U-Boot] MX6ULEVK does not boot

2015-11-30 Thread Fabio Estevam
Hi Peng, On Mon, Nov 30, 2015 at 5:39 AM, Peng Fan wrote: > Sorry for this late reply. I missed you mail. I tried in my side > with one sandisk 2GB macro sd card and one sandisk SDHC I 8GB card. > > Both boots fine. What card are you using? Also which revision board, RevA B > or C? The card I

[U-Boot] [PATCH 03/14] net: gem: Do not continue if phy is not found

2015-11-30 Thread Michal Simek
Add return value for phy detection algorithm to stop init function when phy is not found. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 858093f0d7e2

[U-Boot] [PATCH 01/14] ARM: zynq: Remove PHYLIB from config to defconfig

2015-11-30 Thread Michal Simek
Move PHYLIB from board config to defconfig Signed-off-by: Michal Simek --- configs/zynq_microzed_defconfig| 1 + configs/zynq_picozed_defconfig | 1 + configs/zynq_zc702_defconfig | 1 + configs/zynq_zc706_defconfig | 1 + configs/zynq_zc770_xm010_defconfig | 1 + configs/zy

[U-Boot] [PATCH 06/14] net: gem: Remove phydev variable

2015-11-30 Thread Michal Simek
Resort code to use priv->phydev variable directly. It will simplify move to DM. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 65ea5deb23c6

[U-Boot] [PATCH 07/14] net: gem: Extract phy init code

2015-11-30 Thread Michal Simek
Move phy init code out of zynq_gem_init. DM drivers are normally calling this code from probe function. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 47 ++- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/drivers/net/zynq_g

[U-Boot] [PATCH 02/14] ARM: zynq: Remove CONFIG_API

2015-11-30 Thread Michal Simek
CONFIG_API is causing compilation error when DM_ETH is enabled because eth_get_dev() is not available. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index a9e6bf046a9

[U-Boot] [PATCH 04/14] net: gem: Change mdio_wait prototype to pass regs

2015-11-30 Thread Michal Simek
Pass regs instead of dev because this will be chagned by driver model. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 1a5a366c9444..7f801d5c4c03 100644 --- a/

[U-Boot] [PATCH 05/14] net: gem: Change mii function not to use eth_device structure

2015-11-30 Thread Michal Simek
Next step to move driver to driver model. Do not use eth_device structure. Use private structure instead. Add iobase to private structure to store gem iobase. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 32 +++- 1 file changed, 19 insertions(+), 13 delet

[U-Boot] [PATCH 08/14] net: gem: Check if priv->phydev is valid

2015-11-30 Thread Michal Simek
Check return value. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 86bb75905071..d5540ec2155c 100644 --- a/drivers/net/zynq_gem.c +++ b/drivers/net/zynq_gem.c @@ -329,6 +329,8 @@

[U-Boot] [PATCH 12/14] net: gem: Move driver to DM

2015-11-30 Thread Michal Simek
- Enable DM_ETH by default for Zynq and ZynqMP - Remove board_eth_init code - Change miiphy_read function to return value instead of error code based on DM requirement - Do not enable EMIO DT support by default Signed-off-by: Michal Simek --- arch/arm/Kconfig | 2 + board/xilin

[U-Boot] [PATCH 09/14] net: gem: Enable MDIO bus earlier

2015-11-30 Thread Michal Simek
Enable access to MDIO before zynq_gem_init is called. It enables read information about phy earlier. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index d5

[U-Boot] [PATCH 10/14] net: gem: Remove zynq_gem_of_init()

2015-11-30 Thread Michal Simek
This function was used for OF init before DM. Remove this function as the part of move to DM. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 42 -- include/netdev.h | 1 - 2 files changed, 43 deletions(-) diff --git a/drivers/net/zynq_ge

[U-Boot] [PATCH 14/14] net: gem: Move gem to Kconfig

2015-11-30 Thread Michal Simek
Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_ep_defconfig | 1 + configs/zynq_microzed_defconfig| 1 + configs/zynq_picozed_defconfig | 1 + configs/zynq_zc702_defconfig | 1 + configs/zynq_zc706_defconfig | 1 + configs/zynq_zc770_xm010_defconfig | 1 + configs/zynq

Re: [U-Boot] [PATCH 12/14] net: gem: Move driver to DM

2015-11-30 Thread Michal Simek
On 30.11.2015 16:05, Michal Simek wrote: > - Enable DM_ETH by default for Zynq and ZynqMP > - Remove board_eth_init code > - Change miiphy_read function to return value instead of error code > based on DM requirement > - Do not enable EMIO DT support by default > > Signed-off-by: Michal Simek >

[U-Boot] [PATCH 13/14] net: gem: Read information about interface from DT

2015-11-30 Thread Michal Simek
Do not set interface via configs. Read information from DT. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index f2a14938036f..6e9d183ad8c9 100644 --

[U-Boot] [PATCH 11/14] net: gem: Fix miiphy_read name

2015-11-30 Thread Michal Simek
Sync it with write function. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index a569c77aeb60..4e93707c7ab1 100644 --- a/drivers/net/zynq_gem.c +++ b/drivers/net/zynq

Re: [U-Boot] [PATCH v2 0/9] basic support for Allwinner A83T SOC.

2015-11-30 Thread Vishnu Patekar
Hello Hans, On Mon, Nov 30, 2015 at 4:13 PM, Hans de Goede wrote: > Hi Vishnu, > >> This patch v2 of series that adds basic support for Allwinner A83T SOC >> with >> review comments addressed. > > Can you provide some quick instructions on how to test this on the > A83T HomletV2 ? > > With v1 o

Re: [U-Boot] [PATCH] checkpatch.pl: Fix checkpatch.pl warnings with Perl 5.22

2015-11-30 Thread Tom Rini
On Mon, Nov 30, 2015 at 10:23:20AM +, Alexey Brodkin wrote: > Hi Joe, > > On Thu, 2015-09-03 at 15:46 -0500, Joe Hershberger wrote: > > Hi Moritz, > > > > On Thu, Sep 3, 2015 at 2:25 PM, Moritz Fischer > > wrote: > > > This patch fixes a bunch of deprecation warings that show up when using

Re: [U-Boot] [PATCH] checkpatch.pl: Fix checkpatch.pl warnings with Perl 5.22

2015-11-30 Thread Alexey Brodkin
Hi Tom, On Mon, 2015-11-30 at 10:56 -0500, Tom Rini wrote: > On Mon, Nov 30, 2015 at 10:23:20AM +, Alexey Brodkin wrote: > > Hi Joe, > > > > On Thu, 2015-09-03 at 15:46 -0500, Joe Hershberger wrote: > > > Hi Moritz, > > > > > > On Thu, Sep 3, 2015 at 2:25 PM, Moritz Fischer > > > wrote: >

Re: [U-Boot] [PATCH] checkpatch.pl: Fix checkpatch.pl warnings with Perl 5.22

2015-11-30 Thread Tom Rini
On Mon, Nov 30, 2015 at 03:57:12PM +, Alexey Brodkin wrote: > Hi Tom, > > On Mon, 2015-11-30 at 10:56 -0500, Tom Rini wrote: > > On Mon, Nov 30, 2015 at 10:23:20AM +, Alexey Brodkin wrote: > > > Hi Joe, > > > > > > On Thu, 2015-09-03 at 15:46 -0500, Joe Hershberger wrote: > > > > Hi Morit

Re: [U-Boot] [PATCH] checkpatch.pl: Fix checkpatch.pl warnings with Perl 5.22

2015-11-30 Thread Alexey Brodkin
Hi Tom, On Mon, 2015-11-30 at 11:02 -0500, Tom Rini wrote: > On Mon, Nov 30, 2015 at 03:57:12PM +, Alexey Brodkin wrote: > > Hi Tom, > > > > On Mon, 2015-11-30 at 10:56 -0500, Tom Rini wrote: > > > On Mon, Nov 30, 2015 at 10:23:20AM +, Alexey Brodkin wrote: > > > > Hi Joe, > > > > > > >

Re: [U-Boot] [PATCH] checkpatch.pl: Fix checkpatch.pl warnings with Perl 5.22

2015-11-30 Thread Joe Perches
On Mon, 2015-11-30 at 10:56 -0500, Tom Rini wrote: > On Mon, Nov 30, 2015 at 10:23:20AM +, Alexey Brodkin wrote: [] > > Similar fix is already in Linus' master tree, see > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/comm > > it/?id=4e5d56bdf892e18832a6540b63ebf709966bce2a >

Re: [U-Boot] [PATCH] arm, ubifs: fix gcc5.x compiler warning

2015-11-30 Thread Tom Rini
On Mon, Nov 30, 2015 at 11:03:53AM +0100, Heiko Schocher wrote: > Hello Jeroen, > > Am 30.11.2015 um 10:20 schrieb Jeroen Hofstee: > >Hello Heiko, > > > >On 30-11-15 08:47, Heiko Schocher wrote: > >>compiling U-Boot for openrd_base_defconfig with > >>gcc 5.x shows the following warning: > >> > >>

Re: [U-Boot] [PATCH] arm: imx6: novena, gw_ventana: Fix use of pfuze100 bit definitions

2015-11-30 Thread Tim Harvey
On Thu, Nov 26, 2015 at 5:08 AM, Marek Vasut wrote: > The following patch changed the PFUZE100 swbst register bit definitions > and broke PMIC configuration on multiple boards, at least on the novena > and gw_ventana. This patch fixes it. > > commit 8fa46350a4c7dca7710362f6c871098557b934ad > Autho

Re: [U-Boot] [PATCH] checkpatch.pl: Fix checkpatch.pl warnings with Perl 5.22

2015-11-30 Thread Tom Rini
On Mon, Nov 30, 2015 at 08:06:45AM -0800, Joe Perches wrote: > On Mon, 2015-11-30 at 10:56 -0500, Tom Rini wrote: > > On Mon, Nov 30, 2015 at 10:23:20AM +, Alexey Brodkin wrote: > [] > > > Similar fix is already in Linus' master tree, see > > > http://git.kernel.org/cgit/linux/kernel/git/torval

Re: [U-Boot] [PULL] u-boot-usb/master

2015-11-30 Thread Tom Rini
On Mon, Nov 30, 2015 at 01:33:56PM +0100, Marek Vasut wrote: > The following changes since commit fa8883a1e39a20e72aaa5093af0c80062cb95757: > > Merge branch 'master' of git://git.denx.de/u-boot-i2c (2015-11-27 08:41:03 > -0500) > > are available in the git repository at: > > git://git.denx

Re: [U-Boot] [PULL] u-boot-usb/master

2015-11-30 Thread Marek Vasut
On Monday, November 30, 2015 at 05:40:11 PM, Tom Rini wrote: > On Mon, Nov 30, 2015 at 01:33:56PM +0100, Marek Vasut wrote: > > The following changes since commit fa8883a1e39a20e72aaa5093af0c80062cb95757: > > Merge branch 'master' of git://git.denx.de/u-boot-i2c (2015-11-27 > > 08:41:03 > > >

Re: [U-Boot] [PATCH] arm: ls1021a: Ensure LS1021 ARM Generic Timer CompareValue Set 64-bit

2015-11-30 Thread York Sun
On 07/15/2015 12:13 AM, Alison Wang wrote: > This patch addresses a problem mentioned recently on this mailing list: > [1]. > > In that posting a LS1021 based system was locking up at about 5 minutes > after boot, but the problem was mysteriously related to the toolchain > used for building u-bo

[U-Boot] [PATCHv1 0/3] Retrieve MAC address from EEPROM

2015-11-30 Thread Olliver Schinagl
From: Olliver Schinagl This patch-series introduces methods to retrieve the MAC address from an onboard EEPROM. I know there is probably a thing or two that might needed to be changed to make the concept apply in a more generic way. The reason we might want to read the MAC address from an EEPROM

[U-Boot] [PATCHv1 3/3] sunxi: net: Enable eeprom on OLinuXino Lime2 boards

2015-11-30 Thread Olliver Schinagl
From: Olliver Schinagl This patch enables the I2C EEPROM to be probed for a MAC address on the OLinuXino board. Signed-off-by: Olliver Schinagl --- configs/A20-OLinuXino-Lime2_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-

Re: [U-Boot] [PATCH] arm: ls1021a: Ensure Generic Timer disabled before jumping into the OS

2015-11-30 Thread York Sun
On 08/03/2015 06:55 PM, Alison Wang wrote: > This patch addresses a problem mentioned recently on this mailing list: > [1]. > > In that posting a LS1021 based system was locking up at about 5 minutes > after boot,but the problem was mysteriously related to the toolchain > used for building u-boo

[U-Boot] [PATCHv1 1/3] net: Add ability to set MAC address via EEPROM to Kconfig

2015-11-30 Thread Olliver Schinagl
From: Olliver Schinagl This patch allows Kconfig to enable and set parameters to make it possible to read the MAC address from an EEPROM. This patch only sets up some environment variables, it is up to the specific boards to actually use these defines. Besides the various tuneables as to how to

[U-Boot] [PATCHv1 2/3] sunxi: net: Allow the sunxi to set the MAC from an EEPROM

2015-11-30 Thread Olliver Schinagl
From: Olliver Schinagl This patch uses the newly introduced Kconfig options to set the MAC address from an EEPROM, this will be especially useful for the Olimex OLinuXino series of sunxi boards as they all have an 2k i2c eeprom chip. The MAC address is in the eeprom is ignored if there is alread

Re: [U-Boot] [PATCH 01/10][v4] armv8: lsch3: Fix lane protocol parsing logic

2015-11-30 Thread York Sun
On 11/03/2015 10:55 PM, Prabhakar Kushwaha wrote: > Current implementation only consider SGMIIs for dpmac initialization. > XFI serdes protocols also uses dpmac. > > Also, fix lane protocol parsing logic to consider both XFIs and SGMIIs. > > Signed-off-by: Prabhakar Kushwaha > --- > Changes f

Re: [U-Boot] [PATCH 02/10][v4] driver: net: fsl-mc: Add create, destroy APIs in flibs

2015-11-30 Thread York Sun
On 11/03/2015 10:55 PM, Prabhakar Kushwaha wrote: > Current Management Complex Flibs does not support APIs for adding and > destroying the objects. > > Add APIs to create and destroy objects for DPBP, DPIO, DPNI and DPRC. > > Signed-off-by: Prabhakar Kushwaha > --- > Changes for v2: Sending a

Re: [U-Boot] [PATCH 04/10][v4] armv8: ls2085aqds: Print function name during SerDes error

2015-11-30 Thread York Sun
On 11/03/2015 10:55 PM, Prabhakar Kushwaha wrote: > Print function name along with SerDes Protocol during SerDes Protocol > not supported error. > > Signed-off-by: Prabhakar Kushwaha > --- > Changes for v2: Sending as it is > Changes for v3: Sending as it is > Changes for v4: Sending as it i

Re: [U-Boot] [PULL] u-boot-usb/master

2015-11-30 Thread Tom Rini
On Mon, Nov 30, 2015 at 05:44:15PM +0100, Marek Vasut wrote: > On Monday, November 30, 2015 at 05:40:11 PM, Tom Rini wrote: > > On Mon, Nov 30, 2015 at 01:33:56PM +0100, Marek Vasut wrote: > > > The following changes since commit > > > fa8883a1e39a20e72aaa5093af0c80062cb95757: > > > Merge branch

Re: [U-Boot] [PATCH 03/10][v4] driver: net: fsl-mc: Add APIs for DPMAC objects in FLIB

2015-11-30 Thread York Sun
On 11/03/2015 10:55 PM, Prabhakar Kushwaha wrote: > DPMAC object of Management complex controls Physical MAC and MDIO controller. > It provides APIs for MDIO and link state updates. It also provides APIs for > PHY/link configuration. > > Signed-off-by: Prabhakar Kushwaha > --- > Changes for v2

Re: [U-Boot] [PATCH 05/10][v4] driver: ldpaa: Add api to return linked PHY ID of DPMAC

2015-11-30 Thread York Sun
On 11/03/2015 10:55 PM, Prabhakar Kushwaha wrote: > DPMAC represents physical line on the board. This physical > line eventually asscociate with on-board PHY. > > So Add an api to return linked PHY ID of DPMAC object. > > Signed-off-by: Prabhakar Kushwaha > --- > Changes for v2: Sending as it

Re: [U-Boot] [PATCH 06/10][v4] driver: net: fsl-mc: Increase MC command timeout

2015-11-30 Thread York Sun
On 11/03/2015 10:55 PM, Prabhakar Kushwaha wrote: > dpni_create API take takes more time as comapred to existing supported > APIs of MC Flib. > So increase MC command timeout. > > Signed-off-by: Prabhakar Kushwaha > --- > Changes for v2: Sending as it is > Changes for v3: Sending as it is >

Re: [U-Boot] [PATCH 07/10][v4] driver: net: fsl-mc: Add DPAA2 commands to manage MC

2015-11-30 Thread York Sun
On 11/03/2015 10:55 PM, Prabhakar Kushwaha wrote: > Management complex Firmware, DPL and DPC are depolyed during u-boot boot > sequence. > > Add new DPAA2 commands to manage Management Complex (MC) i.e. start mc, aiop > and apply DPL from u-boot command prompt. > > Signed-off-by: Prabhakar Kush

Re: [U-Boot] [PATCH 08/10][v4] driver: net: fsl-mc: Create DPAA2 object at run-time

2015-11-30 Thread York Sun
On 11/03/2015 10:55 PM, Prabhakar Kushwaha wrote: > Freescale's DPAA2 ethernet driver depends upon the static DPL for the > DPRC, DPNI, DPBP, DPIO objects. > > Instead of static objects, Create DPNI, DPBP, DPIO objects at run-time. > > Signed-off-by: Prabhakar Kushwaha > --- > Changes for v2:

Re: [U-Boot] [PATCH 09/10][v4] driver: net: ldpaa: Use DPMAC as net device

2015-11-30 Thread York Sun
On 11/03/2015 10:56 PM, Prabhakar Kushwaha wrote: > As per current implementation of DPAA2 ethernet driver DPNI is used as > net device. DPNI is tangible objects can be multiple connected to same > physical lane. > > Use DPMAC as net device where it represents physical lane. > Below modificatio

Re: [U-Boot] [PATCH 10/10][v4] driver: net: ldpaa: Add debug information

2015-11-30 Thread York Sun
On 11/03/2015 10:56 PM, Prabhakar Kushwaha wrote: > Add following debug information in the driver > - Get various DPNI counter values > - Get link status of DPNI objects > - Get information of both ends of connection (DPMAC - DPNI) > > Signed-off-by: Prabhakar Kushwaha > --- > Changes for v

Re: [U-Boot] [PATCH][v2] driver: net: ldpaa: Fix Rx buffer alignment

2015-11-30 Thread York Sun
On 11/03/2015 10:56 PM, Prabhakar Kushwaha wrote: > MC 0.7.1.2 enforces limitation i.e.: "Packets may be corrupted > in several combinations of buffer size and frame offsets. > Workaround: Use buffers that are of size that is a multiple of 256, and > frame offset that is a multiple of 256" > > U

Re: [U-Boot] [PATCH 1/2][v2] armv8: LS2080A: Rename LS2085A to reflect LS2080A

2015-11-30 Thread York Sun
On 11/09/2015 03:12 AM, Prabhakar Kushwaha wrote: > LS2080A is a prime personality of Freescale’s LS2085A. It is a non-AIOP > personality without support of DP-DDR, L2 switch, 1588, PCIe endpoint etc. > So renaming existing LS2085A code base to reflect LS2080A (Prime personality) > > Signed-off-

Re: [U-Boot] [PATCH 2/2][v2] armv8: ls2085a: Add support of LS2085A SoC

2015-11-30 Thread York Sun
On 11/09/2015 03:12 AM, Prabhakar Kushwaha wrote: > Freescale's LS2085A is a another personality of LS2080A SoC with > support of AIOP and DP-DDR. > This Patch adds support of LS2085A Personality. > > Signed-off-by: Pratiyush Mohan Srivastava > Signed-off-by: Prabhakar Kushwaha > --- > Changes

[U-Boot] [PATCH] axs10x: add support of generic ECHI USB 2.0 controller

2015-11-30 Thread Alexey Brodkin
This commit adds support of USB 2.0 storage media on AXS10x boards. Signed-off-by: Alexey Brodkin --- arch/arc/dts/axs10x.dts | 6 ++ configs/axs101_defconfig | 5 + configs/axs103_defconfig | 5 + 3 files changed, 16 insertions(+) diff --git a/arch/arc/dts/axs10x.dts b/arch/arc/dt

Re: [U-Boot] [PATCH] Implement pytest-based test infrastructure

2015-11-30 Thread Stephen Warren
On 11/26/2015 07:52 PM, Simon Glass wrote: Hi Stephen, On 24 November 2015 at 13:28, Stephen Warren wrote: On 11/24/2015 12:04 PM, Simon Glass wrote: Hi Stephen, On 23 November 2015 at 21:44, Stephen Warren wrote: On 11/23/2015 06:45 PM, Simon Glass wrote: On 22 November 2015 at 10:30,

Re: [U-Boot] [Patch V4 2/7] armv8/fsl-layerscape: Remove reference to gdata

2015-11-30 Thread York Sun
On 11/11/2015 01:58 AM, Gong Qianyu wrote: > The global_data pointer (gd) has been set earlier in crt0_64.S. > So there's no need to assign it again. Remove gdata since it is going > away in U-Boot. > > Signed-off-by: Gong Qianyu > --- > V4: > - No change. > V3: > - New Patch. > - Fix dead c

Re: [U-Boot] [Patch V4 1/7] pci/layerscape: add support for LS1043A PCIe LUT register access

2015-11-30 Thread York Sun
On 11/11/2015 01:58 AM, Gong Qianyu wrote: > From: Mingkai Hu > > The endian and base address of PEX LUT register region is different > between Chassis 2 and Chassis 3, so move the base address definition > to chassis specific header file and add pex_lut_* functions to access > LUT register. >

Re: [U-Boot] [Patch V4 3/7] armv8/ls1043ardb: dts: add dtb support

2015-11-30 Thread York Sun
On 11/11/2015 01:58 AM, Gong Qianyu wrote: > Reuse dts files from ls1043a linux kernel. Some parts in dts files > may not be needed by U-Boot. > > Signed-off-by: Gong Qianyu > --- > V4: > - No change. > V3: > - Modified the dts file according to ls1043a upstreaming linux kernel. > V2: > - Ne

Re: [U-Boot] [Patch V4 4/7] armv8/ls1043aqds: add LS1043AQDS board support

2015-11-30 Thread York Sun
On 11/11/2015 01:58 AM, Gong Qianyu wrote: > From: Shaohui Xie > > LS1043AQDS Specification: > - > Memory subsystem: > * 2GByte DDR4 DIMM > * 128 Mbyte NOR flash single-chip memory > * 512 Mbyte NAND flash > * 16 Mbyte high-speed SPI flash > * SD connector to interf

Re: [U-Boot] [Patch V4 5/7] armv8/ls1043aqds: dts: add dtb support

2015-11-30 Thread York Sun
On 11/11/2015 01:58 AM, Gong Qianyu wrote: > Reuse the dts files from ls1043a linux kernel. > > Signed-off-by: Gong Qianyu > --- > V4: > - No change. > V3: > - No change. > V2: > - New Patch. > > arch/arm/dts/Makefile| 3 +- > arch/arm/dts/fsl-ls1043a-qds.dts | 124 > +++

Re: [U-Boot] [Patch V4 6/7] armv8/ls1043ardb: add DSPI support

2015-11-30 Thread York Sun
On 11/11/2015 01:58 AM, Gong Qianyu wrote: > Use the U-Boot Driver Model. Just enable Freescale DSPI driver > and set DSPI related parameters in dts file. > > Signed-off-by: Gong Qianyu > --- > V4: > - No change. > V3: > - New Patch. > - Tested on LS1043ARDB board. > > arch/arm/dts/fsl-ls1

Re: [U-Boot] [Patch V4 7/7] armv8/ls1043ardb: add USB support

2015-11-30 Thread York Sun
On 11/11/2015 01:58 AM, Gong Qianyu wrote: > Add support for the third USB controller for LS1043A. > > Signed-off-by: Gong Qianyu > --- > V4: > - No change. > V3: > - New Patch. Tested on LS1043ARDB board. > > arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 6 +++--- > board/frees

Re: [U-Boot] [PATCH v1] drivers/ddr/fsl: Enable detection of one DDR controller operation for LSCH3

2015-11-30 Thread York Sun
On 11/04/2015 09:53 AM, York Sun wrote: > Freescale LSCH3 platforms use two DDR controlers interleaving mode out of > reset. It can be configured to disable one controller. To support this > operation, the driver needs to detect and skip the disabled controller. > > Signed-off-by: York Sun > >

Re: [U-Boot] [PATCH] armv8/layerscape: Update MMU table with execute-never bits

2015-11-30 Thread York Sun
On 11/04/2015 07:15 PM, Alison Wang wrote: > For most device addresses excution shouldn't be allowed. Revise > the MMU table to enforce execute-never bits. OCRAM, DDR and IFC > are allowed for excution. > > Signed-off-by: York Sun > Signed-off-by: Alison Wang > Reported-by: Zhichun Hua > ---

Re: [U-Boot] [PULL] u-boot-usb/master

2015-11-30 Thread Marek Vasut
On Monday, November 30, 2015 at 05:40:11 PM, Tom Rini wrote: > On Mon, Nov 30, 2015 at 01:33:56PM +0100, Marek Vasut wrote: > > The following changes since commit fa8883a1e39a20e72aaa5093af0c80062cb95757: > > Merge branch 'master' of git://git.denx.de/u-boot-i2c (2015-11-27 > > 08:41:03 > > >

Re: [U-Boot] [PATCH v1] armv8: fsl-layerscape: Fix "cpu release" command

2015-11-30 Thread York Sun
On 11/12/2015 12:38 PM, York Sun wrote: > When one core is released, other cores may not have valid entry > address. Those cores are trapped by "wfe" and wait for further > instruction. When their address is set, they need to be kicked > off by "sev". > > Signed-off-by: York Sun > > --- > >

Re: [U-Boot] [PATCH] drivers/ddr/fsl: Fix typo in BIST test for DDR4

2015-11-30 Thread York Sun
On 11/06/2015 09:58 AM, York Sun wrote: > BIST test code has a typo, resulting the binding registers not > maintained as expected. This typo results BIST runs twice on > the covered memory. > > Signed-off-by: York Sun > Reported-by: Shengzhou Liu > --- > > drivers/ddr/fsl/fsl_ddr_gen4.c |

[U-Boot] [PATCH] usb: zynqmp: Fix build warnings

2015-11-30 Thread Marek Vasut
The driver does "return 0" in function with void type. Signed-off-by: Marek Vasut Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- drivers/usb/host/xhci-zynqmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci-zynqmp.c b/drivers/usb/host/xhci-zynqmp

Re: [U-Boot] [PATCH] axs10x: add support of generic ECHI USB 2.0 controller

2015-11-30 Thread Marek Vasut
On Monday, November 30, 2015 at 06:12:53 PM, Alexey Brodkin wrote: > This commit adds support of USB 2.0 storage media on AXS10x boards. > > Signed-off-by: Alexey Brodkin The generic-ehci driver has issues, so please fix it and repost. I had to drop it from the PR. Best regards, Marek Vasut ___

Re: [U-Boot] [PATCH] board/ls2085qds: Fix typo in README for QSGMII riser card

2015-11-30 Thread York Sun
On 11/04/2015 08:12 PM, Prabhakar Kushwaha wrote: > DPMACx to PHY mapping for SGMII is mentioned as QSGMII. > > So fix typo in README for QSGMII rise card. > > Signed-off-by: Prabhakar Kushwaha > --- > board/freescale/ls2085aqds/README | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

  1   2   3   >