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

2015-11-30 Thread Albert ARIBAUD
Hello Tom, On Mon, 30 Nov 2015 11:28:53 -0500, Tom Rini wrote: > 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 f

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

2015-11-30 Thread Sjoerd Simons
Hey Simon, On Mon, 2015-11-30 at 16:17 -0700, Simon Glass wrote: > Hi Sjeord, > Yes. Maybe some #ifdefs for each subsystem in > rk3288_pinctrl_request() > would help. > > But in general it is too close to the limit. With the bug-fixed gcc > it > is fine, but we are stuck with the bug for a while.

Re: [U-Boot] [PATCH] dm: core: Enable SPL_SIMPLE_BUS by default

2015-11-30 Thread Stefan Roese
Hi Michal, On 01.12.2015 08:39, Michal Simek wrote: This option is needed for all SoCs which have nodes on bus. Without enabling this drivers are not found and probed. Issue was found on Zynq MMC probe. Enable this option by default. Signed-off-by: Michal Simek --- drivers/core/Kconfig | 2

[U-Boot] [PATCH] ARM: zynq: Enable debug console for zc702

2015-11-30 Thread Michal Simek
Signed-off-by: Michal Simek --- configs/zynq_zc702_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/zynq_zc702_defconfig b/configs/zynq_zc702_defconfig index 5f7637a26492..8c216c9f8dc4 100644 --- a/configs/zynq_zc702_defconfig +++ b/configs/zynq_zc702_defconfig @@ -17,4

[U-Boot] [PATCH] dm: core: Enable SPL_SIMPLE_BUS by default

2015-11-30 Thread Michal Simek
This option is needed for all SoCs which have nodes on bus. Without enabling this drivers are not found and probed. Issue was found on Zynq MMC probe. Enable this option by default. Signed-off-by: Michal Simek --- drivers/core/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

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

2015-11-30 Thread Sinan Akman
Hi Yuan On 01/12/15 01:41 AM, Yuantian Tang wrote: Hi Sinan Akman, -Original Message- From: Sinan Akman [mailto:si...@writeme.com] Sent: Tuesday, December 01, 2015 2:29 PM To: Tang Yuantian-B29983 ; Sun York-R58495 Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH v4] arm: Add

Re: [U-Boot] [PATCH 2/2] altera_qspi: fix erase and write error code

2015-11-30 Thread Chin Liang See
On Sun, 2015-11-29 at 19:38 +0800, Thomas Chou wrote: > Fix erase and write error code, which should be "protected". > > Signed-off-by: Thomas Chou > --- > drivers/mtd/altera_qspi.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Acked-by: Chin Liang See Thanks Chin Liang _

Re: [U-Boot] [PATCH v2] common: board_f: Dont relocate FDT incase of CONFIG_OF_EMBED

2015-11-30 Thread Michal Simek
On 1.12.2015 00:17, Simon Glass wrote: > Hi Michal, > > On 27 November 2015 at 00:28, Michal Simek wrote: >> From: Siva Durga Prasad Paladugu >> >> Don't relocate fdt in case of CONFIG_OF EMBED as the fdt is >> already embedded with u-boot image. Also update the fdt_blob >> correctly in this cas

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

2015-11-30 Thread Michal Simek
Hi Simon, On 1.12.2015 00:17, Simon Glass wrote: > Hi Michal, > ... >> diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c >> index e169b774932a..5ea992a3ce65 100644 >> --- a/drivers/mmc/zynq_sdhci.c >> +++ b/drivers/mmc/zynq_sdhci.c >> @@ -33,6 +33,23 @@ int zynq_sdhci_init(phys_a

Re: [U-Boot] [PATCH 1/2] altera_qspi: add lock unlock ops

2015-11-30 Thread Chin Liang See
On Sun, 2015-11-29 at 19:38 +0800, Thomas Chou wrote: > Add lock() and unlock() mtd ops to altera_qspi. > > Signed-off-by: Thomas Chou > --- > drivers/mtd/altera_qspi.c | 82 > +++ > 1 file changed, 82 insertions(+) > Acked-by: Chin Liang See As ag

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

2015-11-30 Thread Sinan Akman
Hi Yuan On 01/12/15 01:16 AM, Yuantian Tang wrote: Hi Sinan Akman, Please see my explanation inline. -Original Message- From: Sinan Akman [mailto:si...@writeme.com] Sent: Tuesday, December 01, 2015 1:28 AM To: Tang Yuantian-B29983 ; Sun York-R58495 Cc: u-boot@lists.denx.de Subject

Re: [U-Boot] [PATCH 1/2] rockchip: add CONFIG_SPL_ROCKCHIP_SERIAL

2015-11-30 Thread hl
Hi Simon, On 27/11/15 11:37, Simon Glass wrote: Hi Lin, On 26 November 2015 at 19:35, Simon Glass wrote: Hi Lin, On 19 November 2015 at 22:58, Lin Huang wrote: we can use this config to disable rockchip serial driver in SPL stage, since some rockchip soc sram size is small(rk3036 etc), so

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

2015-11-30 Thread Yuantian Tang
Hi Sinan Akman, > -Original Message- > From: Sinan Akman [mailto:si...@writeme.com] > Sent: Tuesday, December 01, 2015 2:29 PM > To: Tang Yuantian-B29983 ; Sun York-R58495 > > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH v4] arm: Add sata support on Layerscape > ARMv8 board >

Re: [U-Boot] [PATCH v3 00/16] device model bring-up of ti-qspi on dra72, dra74 and am437x-sk evm

2015-11-30 Thread Mugunthan V N
Jagan On Thursday 19 November 2015 12:35 PM, Mugunthan V N wrote: > This patch series enables ti_qspi to adopt driver model. This has > been tested on dra72, dra74 and am437x-sk evms (logs [1]). > Also pushed a branch for testing [2] > > [1]: http://pastebin.ubuntu.com/13341771/ > [2]: git://git.

Re: [U-Boot] [PATCH 1/1] stm32: Convert serial driver to DM

2015-11-30 Thread Kamil Lulko
Hi Simon, On Monday, November 30, 2015 04:17:07 PM you wrote: > > + > > + if (((u32)usart & STM32_BUS_MASK) == STM32_APB1PERIPH_BASE) > > + setbits_le32(&STM32_RCC->apb1enr, > > +usart_port_rcc_pairs[usart_port][1]); > > + else if (((u32)usart

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

2015-11-30 Thread Yuantian Tang
Hi Sinan Akman, Please see my explanation inline. > -Original Message- > From: Sinan Akman [mailto:si...@writeme.com] > Sent: Tuesday, December 01, 2015 1:28 AM > To: Tang Yuantian-B29983 ; Sun York-R58495 > > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH v4] arm: Add sata supp

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-11-30 Thread Stefan Roese
Hi Simon, On 01.12.2015 00:17, Simon Glass wrote: Hi Stefan, On 29 November 2015 at 23:52, Stefan Roese wrote: Hi Simon, On 27.11.2015 19:36, Simon Glass wrote: On 27 November 2015 at 02:22, Stefan Roese wrote: This patch adds the additional platform_translate_address() call to dev_get_ad

Re: [U-Boot] [PATCH 2/3] mmc: dwmmc: socfpga: Convert to DM

2015-11-30 Thread Simon Glass
On 30 November 2015 at 11:48, Marek Vasut wrote: > Convert the SoCFPGA shim for registering the DWMMC driver to DM. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Pantelis Antoniou > Cc: Simon Glass > Cc: Tom Rini > --- > drivers/mmc/socfpga_dw_mmc.c | 119 ++

Re: [U-Boot] [PATCH 3/3] arm: socfpga: Enable CONFIG_DM_MMC

2015-11-30 Thread Chin Liang See
On Mon, 2015-11-30 at 20:48 +0100, Marek Vasut wrote: > Enable driver model MMC support on SoCFPGA. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Pantelis Antoniou > Cc: Simon Glass > Cc: Tom Rini > --- > configs/socfpga_arria5_defconfig | 1 + > configs/

Re: [U-Boot] [PATCH 2/3] mmc: dwmmc: socfpga: Convert to DM

2015-11-30 Thread Chin Liang See
Hi Marek, On Mon, 2015-11-30 at 20:48 +0100, Marek Vasut wrote: > Convert the SoCFPGA shim for registering the DWMMC driver to DM. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Pantelis Antoniou > Cc: Simon Glass > Cc: Tom Rini > --- > drivers/mmc/socfpga_dw_m

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Remove cpu_mmc_init()

2015-11-30 Thread Chin Liang See
On Mon, 2015-11-30 at 20:48 +0100, Marek Vasut wrote: > This function triggers the registration of the dwmmc driver on > SoCFPGA, > but this is not needed in case the driver is correctly probed from > DT. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Pantelis Anton

[U-Boot] [PATCH 6/6] dm: x86: Drop the weak cpu_irq_init() function

2015-11-30 Thread Simon Glass
There are no callers now. Platforms which need to set up interrupts their own way can implement an interrupt driver. Drop this function. Signed-off-by: Simon Glass --- arch/x86/cpu/irq.c | 7 --- arch/x86/include/asm/irq.h | 10 -- 2 files changed, 17 deletions(-) diff --g

[U-Boot] [PATCH 3/6] dm: x86: Add a common PIRQ init function

2015-11-30 Thread Simon Glass
Most x86 interrupt drivers will want to use the standard PIRQ routing and table setup. Put this code in a common function so it can be used by those drivers that want it. Signed-off-by: Simon Glass --- arch/x86/cpu/irq.c | 7 ++- arch/x86/include/asm/irq.h | 7 +++ 2 files chang

[U-Boot] [PATCH 5/6] dm: x86: queensbay: Add an interrupt driver

2015-11-30 Thread Simon Glass
Add a driver for interrupts on queensbay and move the code currently in cpu_irq_init() into its probe() method. Signed-off-by: Simon Glass --- arch/x86/cpu/queensbay/Makefile | 2 +- arch/x86/cpu/queensbay/irq.c| 65 + arch/x86/cpu/queensbay/tnc.c

[U-Boot] [PATCH 1/6] dm: x86: Create a driver for x86 interrupts

2015-11-30 Thread Simon Glass
It seems likely that at some point we will want a generic interrupt uclass. But this is a big undertaking as it involves unifying code across multiple architectures. As a first step, create a simple IRQ uclass and a driver for x86. This can be generalised later as required. Adjust pirq_init() to

[U-Boot] [PATCH 0/6] dm: x86: Remove pirq_init() and cpu_irq_init()

2015-11-30 Thread Simon Glass
This series adds an interrupt driver for x86. Since different platforms can implement this in their own way, we no-longer need the platform-specific weak function. We can also dispense with the arch_misc_init() call in some cases. Simon Glass (6): dm: x86: Create a driver for x86 interrupts d

[U-Boot] [PATCH 4/6] dm: x86: quark: Add an interrupt driver

2015-11-30 Thread Simon Glass
Add a driver for interrupts on quark and move the code currently in cpu_irq_init() into its probe() method. Signed-off-by: Simon Glass --- arch/x86/cpu/quark/Makefile | 2 +- arch/x86/cpu/quark/irq.c| 49 + arch/x86/cpu/quark/quark.c | 25 --

[U-Boot] [PATCH 2/6] dm: x86: Set up interrupt routing from interrupt_init()

2015-11-30 Thread Simon Glass
At present interrupt routing is set up from arch_misc_init(). We can do it a little later instead, in interrupt_init(). This removes the manual pirq_init() call. Where the platform does not have an interrupt router defined in its device tree, no error is generated. Some platforms do not have this.

Re: [U-Boot] [PATCH v3] arm: ls2080a: Add sata support on qds and rdb board

2015-11-30 Thread Yuantian Tang
I have sent the newer version of this patch: http://patchwork.ozlabs.org/patch/549883/ Please have a review. Regards, Yuantian > -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: Tuesday, December 01, 2015 3:41 AM > To: Tang Yuantian-B29983 > Cc: u-boot@lists.d

[U-Boot] [PATCH 4/7] dm: Expand the uclass for Peripheral Controller Hubs (PCH)

2015-11-30 Thread Simon Glass
A Peripheral Controller Hub is an Intel concept - it is like the peripherals on an SoC and is often in a separate chip from the CPU. Even when it is not it is addressed and used differently. The chip is typically found on the first PCI device. We have a very simple uclass to support PCHs. Add a fe

[U-Boot] [PATCH 6/7] dm: x86: Add a driver for Intel PCH9

2015-11-30 Thread Simon Glass
At some point we may need to distinguish between different types of PCHs, but for existing supported platforms we only need to worry about version 7 and version 9 bridges. Add a driver for the PCH9. Signed-off-by: Simon Glass --- drivers/pch/Makefile | 1 + drivers/pch/pch9.c | 41 ++

[U-Boot] [PATCH 7/7] dm: x86: spi: Convert ICH SPI driver to driver model PCI API

2015-11-30 Thread Simon Glass
At present this SPI driver works by searching the PCI buses for its peripheral. It also uses the legacy PCI API. In addition the driver has code to determine the type of Intel PCH that is used (version 7 or version 9). Now that we have proper PCH drivers we can use those to obtain the information

[U-Boot] [PATCH 2/7] dm: pci: Add a function to write a BAR

2015-11-30 Thread Simon Glass
Add a driver-model version of the pci_write_bar32 function so that this is supported in the new API. Signed-off-by: Simon Glass --- drivers/pci/pci-uclass.c | 8 include/pci.h| 11 +++ 2 files changed, 19 insertions(+) diff --git a/drivers/pci/pci-uclass.c b/drive

[U-Boot] [PATCH 5/7] dm: x86: Add a driver for Intel PCH7

2015-11-30 Thread Simon Glass
At some point we may need to distinguish between different types of PCHs, but for existing supported platforms we only need to worry about version 7 and version 9 bridges. Add a driver for the PCH7. Signed-off-by: Simon Glass --- drivers/pch/Makefile | 1 + drivers/pch/pch7.c | 30 ++

[U-Boot] [PATCH 3/7] dm: pci: Avoid using pci_bus_to_hose() in the uclass

2015-11-30 Thread Simon Glass
This function is only available for compatibility with old code. Avoid using it in the uclass. Signed-off-by: Simon Glass --- drivers/pci/pci_auto.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c index 842eafc..

[U-Boot] [PATCH 1/7] dm: pci: Move pci_bus_to_hose() to compatibility

2015-11-30 Thread Simon Glass
This function should not be used by driver-model code, so move it to the compatibility portion. Signed-off-by: Simon Glass --- drivers/pci/pci-uclass.c | 16 +--- drivers/pci/pci_compat.c | 15 +++ drivers/pci/pci_internal.h | 11 +++ 3 files changed, 27 inse

[U-Boot] [PATCH 0/7] dm: x86: Convert ICH driver fully to driver model PCI API

2015-11-30 Thread Simon Glass
This is a small series to move the ICH driver over to use the driver model PCI API. It involves creating PCH drivers which the ICH driver can use to find out its base address. At present irq-router is the 'PCH' node in most device tree files. This is not really correct since the router is just one

[U-Boot] [PATCH] drivers: remoteproc: rproc-uclass: Fix check for NULL pointers

2015-11-30 Thread Nishanth Menon
Neither uc_pdata->name nor check_name are supposed to be NULL in _rproc_name_is_unique(). if uc_pdata->name is NULL, we are not intialized yet, however if check_data is NULL, we do not have proper data. Further, if either were NULL, strlen will crap out while attempting to derefence NULL. Instead,

[U-Boot] [PATCH] board: atmel: sama5d2_xplained: add SPL support

2015-11-30 Thread Wenyou Yang
The sama5d2 Xplained SPL supports the boot medias: spi flash and SD Card. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/Kconfig |1 + arch/arm/mach-at91/Makefile |1 + arch/arm/mach-at91/include/mach/sama5d2.h | 32 +++ board/atme

[U-Boot] [PATCH v2 3/3] arm: at91/spl: mpddrc: use IP version to check configuration

2015-11-30 Thread Wenyou Yang
To remove the unnecessary #ifdef-endif, use the mpddrc IP version to check whether or not the interleaved decoding type is supported. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v2: - add Reviewed-by from Andreas. arch/arm/mach-at91/mpddrc.c | 12 1

[U-Boot] [PATCH v2 2/3] arm: at91/spl: mpddrc: add mpddrc DDR3-SDRAM initialization

2015-11-30 Thread Wenyou Yang
The DDR3-SDRAM initialization sequence is implemented in accordance with the DDR3-SRAM/DDR3L-SDRAM initialization section described in the SAMA5D2 datasheet. Add registers and definitions of mpddrc controller, which is used to support DDR3 devices. Signed-off-by: Wenyou Yang --- Changes in v2:

[U-Boot] [PATCH v2 1/3] arm: at91/spl: mpddrc: add struct atmel_mpddrc_config

2015-11-30 Thread Wenyou Yang
Add struct atmel_mpddrc_config to accommodate the mpddrc register configurations, not using the mpddrc register map structure, struct atmel_mpddrc, in order to increase readability and reduce run-time memory use. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v2: - add

[U-Boot] [PATCH v2 0/3] arm: at91/spl: add DDR3-SDRAM initialization support

2015-11-30 Thread Wenyou Yang
This patch series is to add DDR3-SDRAM initialzation sequence support. The DDR3-SDRAM initialization sequence is implemented in accordance with the DDR3-SRAM/DDR3L-SDRAM initialization section described in the SAMA5D2 datasheet. Changes in v2: - add Reviewed-by from Andreas. - remove comment acc

Re: [U-Boot] [PATCH 02/19] dm: timer: uclass: add timer init to add timer device

2015-11-30 Thread Bin Meng
Hi Mugunthan, On Sun, Nov 29, 2015 at 9:16 PM, Mugunthan V N wrote: > On Saturday 28 November 2015 05:16 PM, Bin Meng wrote: >> Yes, but your patch 01 will break x86. I can prepare a patch for x86 >> if you like > > Can you send the patch so that I can include it on my next series. > Sure, I wil

Re: [U-Boot] [U-Boot, v2, 1/5] arm: at91/spl: matrix: move matrix init to separate file

2015-11-30 Thread Yang, Wenyou
Dear Andreas, Thank you for your review and apply for series. > -Original Message- > From: Andreas Bießmann [mailto:andreas.de...@googlemail.com] > Sent: 2015年12月1日 5:29 > To: u-boot@lists.denx.de; Yang, Wenyou > Subject: Re: [U-Boot, v2, 1/5] arm: at91/spl: matrix: move matrix init to >

Re: [U-Boot] MX6ULEVK does not boot

2015-11-30 Thread Fabio Estevam
On Mon, Nov 30, 2015 at 11:34 PM, Peng Fan wrote: > My is revA. I just tried on revB board using one Sandisk 8GB micro SDHC I > card, > it boots ok. > > " > U-Boot SPL 2016.01-rc1-00190-g90447ef (Dec 01 2015 - 09:29:18) > Trying to boot from MMC > > > U-Boot 2016.01-rc1-00190-g90447ef (Dec 01 20

Re: [U-Boot] MX6ULEVK does not boot

2015-11-30 Thread Peng Fan
Hi Fabio, On Mon, Nov 30, 2015 at 12:54:37PM -0200, Fabio Estevam wrote: >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.

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2015-11-30 Thread Tom Rini
On Mon, Nov 30, 2015 at 11:32:33AM -0800, York Sun wrote: > 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: > > > git:

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

2015-11-30 Thread Tom Rini
On Mon, Nov 30, 2015 at 10:30:48PM +0100, Andreas Bießmann wrote: > Hi Tom, > > please pull the following changes into u-boot/master > > Andreas > > The following changes since commit fa8883a1e39a20e72aaa5093af0c80062cb95757: > > Merge branch 'master' of git://git.denx.de/u-boot-i2c (2015-11

Re: [U-Boot] [PATCH 2/3] arm: at91/spl: mpddrc: add mpddrc DDR3-SDRAM initialization

2015-11-30 Thread Yang, Wenyou
Hi Andreas, Thank you very much for your review. > -Original Message- > From: Andreas Bießmann [mailto:andreas.de...@googlemail.com] > Sent: 2015年11月28日 5:37 > To: Yang, Wenyou; U-Boot Mailing List > Subject: Re: [PATCH 2/3] arm: at91/spl: mpddrc: add mpddrc DDR3-SDRAM > initialization >

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

2015-11-30 Thread Jeroen Hofstee
Hello Heiko, On 30-11-15 11:03, Heiko Schocher wrote: 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 f

Re: [U-Boot] [PATCH 3/3] net: mvneta: Convert to driver model

2015-11-30 Thread Joe Hershberger
On Fri, Nov 27, 2015 at 4:29 AM, Stefan Roese wrote: > Update this driver to support driver model. As all MVEBU boards using > this driver are converted with this patch, the non-driver-model code > can be removed completely. This is also the reason why this patch > is quite big and includes a) the

Re: [U-Boot] [PATCH] arm: mx6: Reduce SPL malloc pool size

2015-11-30 Thread Marek Vasut
On Monday, November 30, 2015 at 07:56:55 PM, Tim Harvey wrote: > On Wed, Nov 25, 2015 at 5:32 AM, Marek Vasut wrote: > > On Wednesday, November 25, 2015 at 02:15:13 PM, Przemyslaw Marczak wrote: > >> On 11/25/2015 01:16 PM, Marek Vasut wrote: > >> > On Wednesday, November 25, 2015 at 01:00:41 PM,

Re: [U-Boot] [PATCH 3/3] net: mvneta: Convert to driver model

2015-11-30 Thread Joe Hershberger
On Mon, Nov 30, 2015 at 4:23 PM, Joe Hershberger wrote: > On Fri, Nov 27, 2015 at 4:29 AM, Stefan Roese wrote: >> Update this driver to support driver model. As all MVEBU boards using >> this driver are converted with this patch, the non-driver-model code >> can be removed completely. This is als

Re: [U-Boot] [PATCH 18/25] dm: net: Convert rtl8169 to use DM PCI API

2015-11-30 Thread Simon Glass
Hi Joe, On 23 November 2015 at 16:32, Joe Hershberger wrote: > Hi Simon, > > On Mon, Nov 16, 2015 at 9:53 PM, Simon Glass wrote: >> Update this driver to use the proper driver-model PCI API functions. >> >> Signed-off-by: Simon Glass >> --- >> >> drivers/net/rtl8169.c | 88 >>

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

2015-11-30 Thread Simon Glass
On 30 November 2015 at 08:05, Michal Simek wrote: > 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 - >

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

2015-11-30 Thread Simon Glass
Hi Michal, On 30 November 2015 at 08: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-of

Re: [U-Boot] [PATCH v7 00/34] sf: MTD support

2015-11-30 Thread Simon Glass
Hi Jagan, On 27 November 2015 at 02:21, Jagan Teki wrote: > Hi Bin, > > On 27 November 2015 at 07:55, Bin Meng wrote: >> Hi Jagan, >> >> On Fri, Nov 27, 2015 at 2:54 AM, Jagan Teki wrote: >>> Hi Simon, >>> >>> Some how I'm unclear about your comments in previous series probably I >>> my misunde

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-11-30 Thread Simon Glass
Hi Stefan, On 29 November 2015 at 23:52, Stefan Roese wrote: > Hi Simon, > > On 27.11.2015 19:36, Simon Glass wrote: >> On 27 November 2015 at 02:22, Stefan Roese wrote: >>> This patch adds the additional platform_translate_address() call to >>> dev_get_addr(). A weak default with a 1-to-1 trans

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

2015-11-30 Thread Simon Glass
Hi Sjeord, On 30 November 2015 at 01: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 s

Re: [U-Boot] [PATCH] ns16550: change reg-shift property default to zero

2015-11-30 Thread Simon Glass
On 29 November 2015 at 23:07, Mugunthan V N wrote: > On Sunday 29 November 2015 11:31 AM, Thomas Chou wrote: >> Change reg-shift property default to zero. When the integer property >> is missing, it should be taken as zero. This is consistent to Linux >> drivers/tty/serial/of_serial.c. >> >> The x

Re: [U-Boot] [PATCH 1/1] stm32: Convert serial driver to DM

2015-11-30 Thread Simon Glass
Hi Kamil, On 29 November 2015 at 03:38, Kamil Lulko wrote: > Signed-off-by: Kamil Lulko > --- > arch/arm/Kconfig | 2 + > arch/arm/include/asm/arch-stm32f4/stm32.h | 10 +- > board/st/stm32f429-discovery/stm32f429-discovery.c | 13 +- > doc/driver-

Re: [U-Boot] [PATCH v2] common: board_f: Dont relocate FDT incase of CONFIG_OF_EMBED

2015-11-30 Thread Simon Glass
Hi Michal, On 27 November 2015 at 00:28, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Don't relocate fdt in case of CONFIG_OF EMBED as the fdt is > already embedded with u-boot image. Also update the fdt_blob > correctly in this case > > Signed-off-by: Siva Durga Prasad Paladugu >

Re: [U-Boot] [PATCH v2 16/26] dm: tegra: net: Convert tegra boards to driver model for Ethernet

2015-11-30 Thread Joe Hershberger
On Sun, Nov 29, 2015 at 2:18 PM, Simon Glass wrote: > Adjust all Tegra boards to use driver model for Ethernet, now that the > required drivers are converted. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Acked-by: Joe Hershberger ___ U-Boot

Re: [U-Boot] [PATCH v2 19/26] dm: net: Convert rtl8169 to use DM PCI API

2015-11-30 Thread Joe Hershberger
Hi Simon, On Sun, Nov 29, 2015 at 2:18 PM, Simon Glass wrote: > Update this driver to use the proper driver-model PCI API functions. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v2: > - Drop unnecessary and confusing '#ifdef CONFIG_DM_ETH' in rtl8169_eth_probe() >

Re: [U-Boot] [PATCH 3/3] net: mvneta: Convert to driver model

2015-11-30 Thread Joe Hershberger
On Fri, Nov 27, 2015 at 4:29 AM, Stefan Roese wrote: > Update this driver to support driver model. As all MVEBU boards using > this driver are converted with this patch, the non-driver-model code > can be removed completely. This is also the reason why this patch > is quite big and includes a) the

Re: [U-Boot] [PATCH 1/4] eth-raw-os.c: Add cast to bind(2) call

2015-11-30 Thread Joe Hershberger
On Sat, Nov 28, 2015 at 7:04 AM, Tom Rini wrote: > With more recent gcc versions we otherwise get an error like: > note: expected 'const struct sockaddr *' but argument is of type > 'struct sockaddr_in *' > > and the common solution here is to cast, rather than re-work the code. > > Cc: Joe Hershb

Re: [U-Boot] [PATCH v2 2/2] usb: eth: add Realtek RTL8152B/RTL8153 driver

2015-11-30 Thread Joe Hershberger
Hi Ted, On Tue, Nov 24, 2015 at 11:30 PM, Ted Chen wrote: > From: Ted Chen > > This patch adds driver support for the Realtek RTL8152B/RTL8153 USB > network adapters. > > Signed-off-by: Ted Chen > [swarren, fixed a few compiler warnings] > [swarren, with permission, converted license header to

[U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2015-11-30 Thread Andreas Bießmann
Hi Tom, please pull the following changes into u-boot/master Andreas 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-

Re: [U-Boot] [U-Boot, v2, 5/5] arm: at91/spl: atmel_sfr: move saic redirect to separate file

2015-11-30 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >To make saic redirect code sharing with other SoCs, move the >saic redirect code from SAMA5D4 particular file, >mach-at91/armv7/sama5d4_devices.c to a separate file, >mach-at91/atmel_sfr.c > >Move ATMEL_SFR_AICREDIR_KEY definition to sama5d4.h, because each

Re: [U-Boot] [U-Boot, v2, 4/5] arm: at91/spl: matrix: use matrix slave id macros

2015-11-30 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >To make matrix initialization code sharing with others, >use the matrix slave id macros, instead of hard-coding. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > >Changes in v2: None > > arch/arm/mach-at91/include/mach/sama5d4.h | 25 +

Re: [U-Boot] [U-Boot, v2, 3/5] arm: at91/spl: matrix: remove security peripheral select code

2015-11-30 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Remove the security peripheral select code, keep the default value >in these registers, that is, the peripheral address space is >configured as "Secured" access, it is suitable for SPL. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > >C

Re: [U-Boot] [U-Boot, v2, 2/5] arm: at91/spl: matrix: remove matrix write protection code

2015-11-30 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >On processor reset, the matrix write protection is disabled, >so no need to disable/enable write protection when writing >the matrix registers. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > >Changes in v2: None > > arch/arm/mach-at91/

Re: [U-Boot] [U-Boot, v2, 1/5] arm: at91/spl: matrix: move matrix init to separate file

2015-11-30 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >To make the matrix initialization code sharing with other SoCs, >move it from SAMA5D4 particular file, >mach-at91/armv7/sama5d4_devices.c to a separate file, >mach-at91/matrix.c > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > >Changes i

Re: [U-Boot] [U-Boot,v6] arm: atmel: Add SAMA5D2 Xplained board

2015-11-30 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >The board supports following features: > - Boot media support: SD card/e.MMC/SPI flash, > - Support LCD display (optional, disabled by default), > - Support ethernet, > - Support USB mass storage. > >Signed-off-by: Wenyou Yang >[fix checkpatch warnings] >Si

Re: [U-Boot] [U-Boot,v3] gpio: atmel: Add the PIO4 driver support

2015-11-30 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >The PIO4 is introduced from SAMA5D2, as a new version >for Atmel PIO controller. > >Signed-off-by: Wenyou Yang >--- > >Changes in v3: > 1./ add return to atmel_pio4_set_pio_output() to avoid compilation > warning. > >Changes in v2: > 1./ update the macr

Re: [U-Boot] [PATCH] net: gem: Enable CTRL+C in wait_for_bit

2015-11-30 Thread Joe Hershberger
Hi Michal, On Thu, Nov 26, 2015 at 3:46 AM, Michal Simek wrote: > Enable to break waiting loop at any time. > > Signed-off-by: Michal Simek > --- > > drivers/net/zynq_gem.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c > index 8580

Re: [U-Boot] [PATCH] common: miiphyutil: avoid memory leak

2015-11-30 Thread Joe Hershberger
Hi Peng On Wed, Nov 25, 2015 at 8:26 PM, Peng Fan wrote: > The following code will alloc memory for new_dev and ldev: > " > new_dev = mdio_alloc(); > ldev = malloc(sizeof(*ldev)); > " > Either new_dev or ldev is NULL, directly return, but this may leak memory. > So before return, using free(ldev)

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

2015-11-30 Thread Tom Rini
On Mon, Nov 30, 2015 at 01:02:56PM +0100, Stefan Roese wrote: > 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 avai

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

2015-11-30 Thread Tom Rini
On Mon, Nov 30, 2015 at 12:56:45PM +0100, Stefan Roese wrote: > 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 a

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

2015-11-30 Thread Tom Rini
On Mon, Nov 30, 2015 at 01:31:12PM +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] please pull u-boot-samsung master

2015-11-30 Thread Tom Rini
On Mon, Nov 30, 2015 at 05:33:14PM +0900, Minkyu Kang wrote: > 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: > >

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

2015-11-30 Thread Tom Rini
On Mon, Nov 30, 2015 at 09:28:03AM +0100, Anatolij Gustschin wrote: > 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: > >

Re: [U-Boot] Please pull u-boot-marvell master

2015-11-30 Thread Tom Rini
On Sun, Nov 29, 2015 at 09:20:05PM +, Luka Perkov wrote: > Hi Tom, > > please pull the queued changes below from Marvell tree. Additional work from > Stefan will be sent later on. > > The following changes since commit fa8883a1e39a20e72aaa5093af0c80062cb95757: > > Merge branch 'master' of

Re: [U-Boot] [PATCH] Enable console log from earlyconsole in Linux bootargs

2015-11-30 Thread York Sun
On 10/31/2015 03:20 AM, Pratiyush Mohan Srivastava wrote: > Remove 115200 from "earlycon" to avoid loss of initial > log messages during linux kernel 4.1 bootup > > Signed-off-by: Pratiyush Mohan Srivastava > --- > include/configs/ls2080a_common.h | 2 +- > include/configs/ls2080ardb.h |

[U-Boot] [PATCH 1/3] arm: socfpga: Remove cpu_mmc_init()

2015-11-30 Thread Marek Vasut
This function triggers the registration of the dwmmc driver on SoCFPGA, but this is not needed in case the driver is correctly probed from DT. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pantelis Antoniou Cc: Simon Glass Cc: Tom Rini --- arch/arm/mach-socfpga/misc.c |

[U-Boot] [PATCH 3/3] arm: socfpga: Enable CONFIG_DM_MMC

2015-11-30 Thread Marek Vasut
Enable driver model MMC support on SoCFPGA. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pantelis Antoniou Cc: Simon Glass Cc: Tom Rini --- configs/socfpga_arria5_defconfig | 1 + configs/socfpga_cyclone5_defconfig | 1 + configs/socfpga_de0_nano_soc_defconfig

[U-Boot] [PATCH 2/3] mmc: dwmmc: socfpga: Convert to DM

2015-11-30 Thread Marek Vasut
Convert the SoCFPGA shim for registering the DWMMC driver to DM. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pantelis Antoniou Cc: Simon Glass Cc: Tom Rini --- drivers/mmc/socfpga_dw_mmc.c | 119 --- 1 file changed, 56 insertions

Re: [U-Boot] [PATCH v3] arm: ls2080a: Add sata support on qds and rdb board

2015-11-30 Thread York Sun
On 10/23/2015 12:16 AM, Tang Yuantian wrote: > Freescale ARM-based Layerscape LS2080A contain 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 and ls2080ardb boards. > > Signed-off-by: Tang Yuant

[U-Boot] Please pull u-boot-fsl-qoriq master

2015-11-30 Thread York Sun
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: git://git.denx.de/u-boot-fsl-qoriq.git master for you to fetch changes up to 3785f57

Re: [U-Boot] [PATCH v2] armv8: fsl-layerscape: Fix early MMU table for nand boot

2015-11-30 Thread York Sun
On 11/25/2015 08:41 PM, York Sun wrote: > The early MMU table doesn't enable all addresses. Unused addresses > are marked as invalid, as introduced by commit 9979922. An entry > was missing for NAND flash space, causing nand boot failure. > > Signed-off-by: York Sun > CC: Alison Wang > CC: Pra

Re: [U-Boot] [PATCH] arm: mx6: Reduce SPL malloc pool size

2015-11-30 Thread Tim Harvey
On Wed, Nov 25, 2015 at 5:32 AM, Marek Vasut wrote: > On Wednesday, November 25, 2015 at 02:15:13 PM, Przemyslaw Marczak wrote: >> On 11/25/2015 01:16 PM, Marek Vasut wrote: >> > On Wednesday, November 25, 2015 at 01:00:41 PM, Przemyslaw Marczak wrote: >> >> Hello Marek, >> >> >> >> On 11/25/2015

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

2015-11-30 Thread Marek Vasut
On Monday, November 30, 2015 at 07:13:30 PM, Alexey Brodkin wrote: > Hi Marek, Hi! > On Mon, 2015-11-30 at 19:05 +0100, Marek Vasut wrote: > > On Monday, November 30, 2015 at 06:47:45 PM, Alexey Brodkin wrote: > > > From: Alexey Brodkin > > > > > > +config USB_EHCI_GENERIC > > > + bool "Support

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

2015-11-30 Thread Alexey Brodkin
Hi Marek, On Mon, 2015-11-30 at 19:05 +0100, Marek Vasut wrote: > On Monday, November 30, 2015 at 06:47:45 PM, Alexey Brodkin wrote: > > From: Alexey Brodkin > > +config USB_EHCI_GENERIC > > + bool "Support for generic EHCI USB controller" > > + depends on OF_CONTROL > > + default n > > +

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

2015-11-30 Thread Marek Vasut
On Monday, November 30, 2015 at 06:53:25 PM, Alexey Brodkin wrote: > This commit adds support of USB 2.0 storage media on AXS10x boards. > > Signed-off-by: Alexey Brodkin > Cc: Marek Vasut > Cc: Simon Glass > --- Ad subject -- It's EHCI, not ECHI ;-) [...] > diff --git a/configs/axs101_defco

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

2015-11-30 Thread Marek Vasut
On Monday, November 30, 2015 at 06:47:45 PM, Alexey Brodkin wrote: > From: Alexey Brodkin > > 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 controller or PHY's power mode via > GPIOs etc. > > Si

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

2015-11-30 Thread Sinan Akman
Hi Yuan On 30/11/15 02:44 AM, yuantian.t...@freescale.com wrote: 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 ls1043

[U-Boot] [PATCH v2] 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 Cc: Marek Vasut Cc: Simon Glass --- Changes compared to v1: * Explicitly enable CONFIG_USB_EHCI_GENERIC arch/arc/dts/axs10x.dts | 6 ++ configs/axs101_defconfig | 6 ++ configs/axs103_

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

2015-11-30 Thread Alexey Brodkin
Hi Marek, On Mon, 2015-11-30 at 20:47 +0300, Alexey Brodkin wrote: > From: Alexey Brodkin > > 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 controller or PHY's power mode via > GPIOs etc. > > S

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

2015-11-30 Thread Alexey Brodkin
From: Alexey Brodkin 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 controller or PHY's power mode via GPIOs etc. Signed-off-by: Alexey Brodkin Reviewed-by: Simon Glass Reviewed-by: Marek Vasut Cc

  1   2   3   >