Re: [U-Boot] [PATCH] Do not mux and setup SPI if disabled in the config

2015-08-05 Thread Clemens Gruber
Hi Stefan, On Wed, Aug 05, 2015 at 07:19:02AM +0200, Stefan Roese wrote: > (added Stefano as imx custodian) Thanks. > > On 04.08.2015 19:28, Clemens Gruber wrote: > > This allows baseboards without SPI to compile. > > > > Signed-off-by: Clemens Gruber > > Cc: Markus Niebel > > Cc: Tom Rini

Re: [U-Boot] [PATCH v3 2/4] ARM: cache: add an empty stub function for invalidate/flush dcache

2015-08-05 Thread Josh Wu
Hi, York On 8/4/2015 11:30 PM, York Sun wrote: On 07/26/2015 08:40 PM, Josh Wu wrote: Since some driver like ohci, lcd used dcache functions. But some ARM cpu don't implement the invalidate_dcache_range()/flush_dcache_range() functions. To avoid compiling errors this patch adds an weak empty

Re: [U-Boot] [PATCH v3 09/28] x86: Add EFI board code

2015-08-05 Thread Bin Meng
On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: > From: Ben Stoltz > > Add support for the efi-x86 board, which supports running U-Boot as an > EFI 32-bit application. > > Signed-off-by: Ben Stoltz > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v3: None > Changes

Re: [U-Boot] [PATCH v3 10/28] x86: dts: Add a device tree file for EFI

2015-08-05 Thread Bin Meng
On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: > This contains just enough to bring up the serial UART. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v3: None > Changes in v2: > - Remove extraneous '+' in comment > - Use "efi,app" instead of "efi,payload" for th

[U-Boot] [PATCH] udoo: Switch to SPL support

2015-08-05 Thread Peter Vicman
Currently we need to build one U-boot image for each of the udoo variants: quad and dual-lite. By switching to SPL we can support all two variants with a single binary. Based on the SPL for wandboard. Tested with OpenELEC (Open Embedded Linux Entertainment Center) on both boards. Signed-off-by

Re: [U-Boot] [PATCH v3 01/28] Add a way to skip relocation

2015-08-05 Thread Bin Meng
On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: > When running U-Boot as an EFI application we cannot relocate since we do not > have relocation information. U-Boot has already been relocated to a suitable > address. > > Add a global_data flag to control skipping relocation. > > Signed-off-by:

Re: [U-Boot] [PATCH v3 05/28] efi: Support building a u-boot-app.efi executable

2015-08-05 Thread Bin Meng
On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: > Add support for building U-Boot as an EFI application with a .efi suffix. > This can be loaded by EFI provided that EFI has the same bit width (32- > or 64-bit) as U-Boot. This unfortunate limitation is imposed by EFI. > > Signed-off-by: Simon G

Re: [U-Boot] [PATCH v3 04/28] x86: Set up toolchain flags for running as EFI application

2015-08-05 Thread Bin Meng
On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: > From: Ben Stoltz > > Adjust the toolchain flags to build U-Boot as a relocatable shared library, > as required by EFI. > > Signed-off-by: Ben Stoltz > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Add spaces around EFIARCH= > - Drop

Re: [U-Boot] [PATCH v3 08/28] x86: Add support for U-Boot as an EFI application

2015-08-05 Thread Bin Meng
On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: > From: Ben Stoltz > > Add the required x86 glue code. This includes the initial start-up, > relocation and jumping to efi_main(). We also need to avoid fiddling with > interrupts. > > Signed-off-by: Ben Stoltz > Signed-off-by: Simon Glass > --

Re: [U-Boot] [PATCH v3 06/28] x86: Support skipping relocation for EFI

2015-08-05 Thread Bin Meng
On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: > When running as an EFI application we must skip relocation. Add support for > this in the x86 relocation code. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: > - Return early in copy_uboot_to_ram() and clear_bbs()

Re: [U-Boot] [PATCH 1/5] sunxi: display: Replace #ifdef-ery with helper functions

2015-08-05 Thread Ian Campbell
On Mon, 2015-08-03 at 23:54 +0200, Hans de Goede wrote: > All the #ifdef-ery in selecting the default and fallback monitor type > is > becoming unyielding and makes the code hard to read, replace it with > a few > helper functions. > > This will also be useful with the upcoming CHIP board which

Re: [U-Boot] [PATCH 2/5] sunxi: display: Correct clk_delay calculations for lcd displays

2015-08-05 Thread Ian Campbell
On Mon, 2015-08-03 at 23:54 +0200, Hans de Goede wrote: > We should only substract 2 from the vblank time when using tcon1. "subtract" > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.de

Re: [U-Boot] [PATCH 3/5] sunxi: display: Add a few extra register and constant defines

2015-08-05 Thread Ian Campbell
On Mon, 2015-08-03 at 23:54 +0200, Hans de Goede wrote: > Add a few extra sunxi display registers and constant defines. + "Also rename some existing defines (e.g. dropping _GCTRL) and make some more generic (e.g. dropping the 2x scaling from SUNXI_LCDC_TCON1_TIMING_V_TOTAL)." > This is a preparat

Re: [U-Boot] [PATCH] udoo: Switch to SPL support

2015-08-05 Thread Stefano Babic
Hi Peter, On 05/08/2015 09:40, Peter Vicman wrote: > Currently we need to build one U-boot image for each of the udoo > variants: quad and dual-lite. > > By switching to SPL we can support all two variants with a single binary. > > Based on the SPL for wandboard. > > Tested with OpenELEC (Open

Re: [U-Boot] [PATCH v3 14/28] efi: Add support for loading U-Boot through an EFI stub

2015-08-05 Thread Bin Meng
On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: > It is useful to be able to load U-Boot onto a board even if is it already > running EFI. This can allow access to the U-Boot command interface, flexible > booting options and easier development. > > The easiest way to do this is to build U-Boot

Re: [U-Boot] [PATCH v3 18/28] efi: Add 64-bit payload support

2015-08-05 Thread Bin Meng
On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: > Most EFI implementations use 64-bit. Add a way to build U-Boot as a 64-bit > EFI payload. The payload unpacks a (32-bit) U-Boot and starts it. This can > be enabled for x86 boards at present. > > Signed-off-by: Simon Glass > Improvements to how

Re: [U-Boot] [PATCH] Do not mux and setup SPI if disabled in the config

2015-08-05 Thread Stefan Roese
Hi Clemens, On 05.08.2015 09:28, Clemens Gruber wrote: On 04.08.2015 19:28, Clemens Gruber wrote: This allows baseboards without SPI to compile. Signed-off-by: Clemens Gruber Cc: Markus Niebel Cc: Tom Rini --- board/tqc/tqma6/tqma6.c | 6 ++ 1 file changed, 6 insertions(+) diff --

Re: [U-Boot] [PATCH 4/5] sunxi: display: Add support for interlaced modes

2015-08-05 Thread Ian Campbell
On Mon, 2015-08-03 at 23:54 +0200, Hans de Goede wrote: > @@ -775,13 +781,18 @@ static void sunxi_lcdc_tcon1_mode_set(const > struct ctfb_res_modes *mode, > > clk_delay = sunxi_lcdc_get_clk_delay(mode, 1); > writel(SUNXI_LCDC_TCON1_CTRL_ENABLE | > +SUNXI_LCDC_TCON1_CTRL_IN

Re: [U-Boot] [PATCH 5/5] sunxi: display: Add composite video out support

2015-08-05 Thread Ian Campbell
On Mon, 2015-08-03 at 23:54 +0200, Hans de Goede wrote: > Add composite video out support. > > This only gets enabled on the Mele M3 for now, since that is were it > was tested. It will be enabled on more boards after testing. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell __

Re: [U-Boot] [PATCH v3 28/28] Allow device tree relocation to be disabled

2015-08-05 Thread Bin Meng
Hi Simon, On Wed, Aug 5, 2015 at 11:38 AM, Simon Glass wrote: > Hi Bin, > > On 4 August 2015 at 12:34, Simon Glass wrote: >> This was missed in the patch 'Add a way to skip relocation'. Add it in now. >> >> I hope to squash this patch into the earlier one before sending to mainline. >> >> Signed

Re: [U-Boot] [PATCH] sunxi: Enable musb in host mode on the Jesurun Q5

2015-08-05 Thread Ian Campbell
On Tue, 2015-08-04 at 23:51 +0200, Hans de Goede wrote: > The Jesurun Q5 has the musb hooked up to an usb-a receptacle, enable it > in host-only mode. > > Signed-off-by: Hans de Goede [..] > @@ -2,6 +2,7 @@ CONFIG_ARM=y > CONFIG_ARCH_SUNXI=y > CONFIG_MACH_SUN4I=y > CONFIG_DRAM_CLK=312 > +CONFI

Re: [U-Boot] [PATCH] Do not mux and setup SPI if disabled in the config

2015-08-05 Thread Jagan Teki
On 5 August 2015 at 13:35, Stefan Roese wrote: > Hi Clemens, > > > On 05.08.2015 09:28, Clemens Gruber wrote: >>> >>> On 04.08.2015 19:28, Clemens Gruber wrote: This allows baseboards without SPI to compile. Signed-off-by: Clemens Gruber Cc: Markus Niebel Cc: Tom Ri

Re: [U-Boot] [PATCH] Do not mux and setup SPI if disabled in the config

2015-08-05 Thread Clemens Gruber
Hi Stefan, On Wed, Aug 05, 2015 at 10:05:10AM +0200, Stefan Roese wrote: > How about this patch: > > diff --git a/board/tqc/tqma6/tqma6.c b/board/tqc/tqma6/tqma6.c > index 29db838..345930f 100644 > --- a/board/tqc/tqma6/tqma6.c > +++ b/board/tqc/tqma6/tqma6.c > @@ -28,6 +28,13 @@ > > #include "

Re: [U-Boot] [PATCH v3 25/28] x86: qemu: Support operation as an EFI payload

2015-08-05 Thread Bin Meng
On Wed, Aug 5, 2015 at 2:34 AM, Simon Glass wrote: > Disable a few things which interfere with the EFI init. This allows QEMU to > to boot into EFI, load a U-Boot payload then boot to the U-Boot prompt. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v3: None > Change

Re: [U-Boot] [PATCH] sf: Make 4K sector support configurable

2015-08-05 Thread Jagan Teki
On 3 August 2015 at 04:58, Marek Vasut wrote: > Make the support for 4K subpage I/O on a SPI NOR flash configurable. > A board which requires the SPI NOR to be accessed in larger 32KiB > or 64KiB pages can disable the 4K subpage support, but by default, > the support for 4K subpage I/O is enabled.

Re: [U-Boot] [PATCH] Do not mux and setup SPI if disabled in the config

2015-08-05 Thread Clemens Gruber
On Wed, Aug 05, 2015 at 01:46:42PM +0530, Jagan Teki wrote: > On 5 August 2015 at 13:35, Stefan Roese wrote: > > How about this patch: > > > > diff --git a/board/tqc/tqma6/tqma6.c b/board/tqc/tqma6/tqma6.c > > index 29db838..345930f 100644 > > --- a/board/tqc/tqma6/tqma6.c > > +++ b/board/tqc/tqma

Re: [U-Boot] [PATCH] Tegra: spi: Move TEGRA114_SPI switch to defconfigs

2015-08-05 Thread Jagan Teki
On 31 July 2015 at 03:03, Simon Glass wrote: > On 30 July 2015 at 14:57, Tom Warren wrote: >> All T114+ Tegra boards should be using the Kconfig >> TEGRA114_SPI switch. Remove it from include/config >> and put it into defconfig. Also removed unused >> TEGRA114_SPI_CTRLS from T114+ configs. >> >>

Re: [U-Boot] [PATCH] sf: Make 4K sector support configurable

2015-08-05 Thread Jagan Teki
On 5 August 2015 at 13:50, Jagan Teki wrote: > On 3 August 2015 at 04:58, Marek Vasut wrote: >> Make the support for 4K subpage I/O on a SPI NOR flash configurable. >> A board which requires the SPI NOR to be accessed in larger 32KiB >> or 64KiB pages can disable the 4K subpage support, but by de

Re: [U-Boot] [PATCH] Do not mux and setup SPI if disabled in the config

2015-08-05 Thread Stefan Roese
Hi Clemens, On 05.08.2015 10:17, Clemens Gruber wrote: On Wed, Aug 05, 2015 at 10:05:10AM +0200, Stefan Roese wrote: How about this patch: diff --git a/board/tqc/tqma6/tqma6.c b/board/tqc/tqma6/tqma6.c index 29db838..345930f 100644 --- a/board/tqc/tqma6/tqma6.c +++ b/board/tqc/tqma6/tqma6.c @@

Re: [U-Boot] [PATCH] Do not mux and setup SPI if disabled in the config

2015-08-05 Thread Stefan Roese
On 05.08.2015 10:33, Clemens Gruber wrote: On Wed, Aug 05, 2015 at 01:46:42PM +0530, Jagan Teki wrote: On 5 August 2015 at 13:35, Stefan Roese wrote: How about this patch: diff --git a/board/tqc/tqma6/tqma6.c b/board/tqc/tqma6/tqma6.c index 29db838..345930f 100644 --- a/board/tqc/tqma6/tqma6.

Re: [U-Boot] [PATCH 1/6] spi: omap3_spi: add am43xx support to omap3_spi

2015-08-05 Thread Jagan Teki
On 31 July 2015 at 02:26, Nikita Kiryanov wrote: > Add support for AM43XX to the omap3_spi driver. > > Cc: Jagan Teki > Cc: Igor Grinberg > Signed-off-by: Nikita Kiryanov > --- > drivers/spi/omap3_spi.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/spi/omap3_

Re: [U-Boot] [PATCH 2/6] arm: am43xx: enable spi clock

2015-08-05 Thread Jagan Teki
On 31 July 2015 at 02:26, Nikita Kiryanov wrote: > Add spi clock to the list of am43xx basic clocks to make the SPI > subsystem available on am43xx systems. > > Cc: Albert Aribaud > Cc: Igor Grinberg > Signed-off-by: Nikita Kiryanov > --- > arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 1 + > 1 f

Re: [U-Boot] driver model is not smp safe

2015-08-05 Thread Bin Meng
Hi Simon, Tom, On Tue, Aug 4, 2015 at 3:27 AM, Simon Glass wrote: > Hi Tom, > > On 3 August 2015 at 13:06, Tom Rini wrote: >> On Mon, Aug 03, 2015 at 12:52:19PM -0600, Simon Glass wrote: >>> Hi Tom, >>> >>> On 31 July 2015 at 08:31, Tom Rini wrote: >>> > On Thu, Jul 30, 2015 at 12:12:03PM +0800

[U-Boot] [PATCH] arm: mx6: Remove SPI support from WRU-IV baseboard

2015-08-05 Thread Stefan Roese
This patch removes the SPI support from the WRU-IV baseboard as its not used at all. Signed-off-by: Stefan Roese Cc: Clemens Gruber Cc: Markus Niebel Cc: Stefano Babic --- board/tqc/tqma6/tqma6.c | 1 + configs/tqma6s_wru4_mmc_defconfig | 3 --- include/configs/tqma6_wru4.h | 8

Re: [U-Boot] [PATCH] ddr: altera: sequencer: add RW_MGR_MEM_NUMBER_OF_RANKS

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 05:12:32 AM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Fix build error for socfpga_cyclone5_defconfig: > > board/altera/socfpga/wrap_sdram_config.c:245:26: error: > ‘RW_MGR_MEM_NUMBER_OF_RANKS’ undeclared here (not in a function) make[2]: > *

Re: [U-Boot] [PATCH] arm: mx6: Remove SPI support from WRU-IV baseboard

2015-08-05 Thread Stefano Babic
Hi Stefan, Clemens, On 05/08/2015 10:50, Stefan Roese wrote: > This patch removes the SPI support from the WRU-IV baseboard as its > not used at all. > > Signed-off-by: Stefan Roese > Cc: Clemens Gruber > Cc: Markus Niebel > Cc: Stefano Babic > --- > board/tqc/tqma6/tqma6.c | 1 + >

Re: [U-Boot] [PATCH] arm: mx6: Remove SPI support from WRU-IV baseboard

2015-08-05 Thread Clemens Gruber
Hi Stefano, Hi Stefan, On Wed, Aug 05, 2015 at 11:00:56AM +0200, Stefano Babic wrote: > Hi Stefan, Clemens, > > I read the thread - Clemens, can you send your Tested-by after you > tested with success the patch ? I will apply it, then.. > > Best regards, > Stefano Babic Although I am not convin

Re: [U-Boot] [PATCH 1/5] sf: sf_dataflash: Remove inline property of function dataflash_status

2015-08-05 Thread Jagan Teki
On 20 July 2015 at 11:26, Wang Haikun wrote: > On 7/2/2015 5:17 PM, Haikun Wang wrote: >> Signed-off-by: Haikun Wang >> --- >> drivers/mtd/spi/sf_dataflash.c | 3 +-- >> 1 file changed, 1 insertion(+), 2 deletions(-) >> >> diff --git a/drivers/mtd/spi/sf_dataflash.c b/drivers/mtd/spi/sf_datafl

Re: [U-Boot] [PATCH] arm: mx6: Remove SPI support from WRU-IV baseboard

2015-08-05 Thread Stefano Babic
Hi Clemens, On 05/08/2015 11:28, Clemens Gruber wrote: > Hi Stefano, Hi Stefan, > > On Wed, Aug 05, 2015 at 11:00:56AM +0200, Stefano Babic wrote: >> Hi Stefan, Clemens, >> >> I read the thread - Clemens, can you send your Tested-by after you >> tested with success the patch ? I will apply it, th

Re: [U-Boot] [PATCH] arm: mx6: Remove SPI support from WRU-IV baseboard

2015-08-05 Thread Jagan Teki
On 5 August 2015 at 14:20, Stefan Roese wrote: > This patch removes the SPI support from the WRU-IV baseboard as its > not used at all. > > Signed-off-by: Stefan Roese > Cc: Clemens Gruber > Cc: Markus Niebel > Cc: Stefano Babic Reviewed-by: Jagan Teki > --- > board/tqc/tqma6/tqma6.c

Re: [U-Boot] [PATCH] arm: mx6: Remove SPI support from WRU-IV baseboard

2015-08-05 Thread Jagan Teki
On 5 August 2015 at 15:06, Stefano Babic wrote: > Hi Clemens, > > On 05/08/2015 11:28, Clemens Gruber wrote: >> Hi Stefano, Hi Stefan, >> >> On Wed, Aug 05, 2015 at 11:00:56AM +0200, Stefano Babic wrote: >>> Hi Stefan, Clemens, >>> >>> I read the thread - Clemens, can you send your Tested-by after

[U-Boot] [PATCH] udoo: Remove SPL fat support

2015-08-05 Thread Peter Vicman
Use dd'ed SPL and u-boot.img by default. Signed-off-by: Peter Vicman Cc: Fabio Estevam Cc: Stefano Babic --- include/configs/udoo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/udoo.h b/include/configs/udoo.h index f93b67a..8ec073d 100644 --- a/include/co

Re: [U-Boot] [PATCH] udoo: Remove SPL fat support

2015-08-05 Thread Stefano Babic
On 05/08/2015 12:37, Peter Vicman wrote: > Use dd'ed SPL and u-boot.img by default. > > Signed-off-by: Peter Vicman > Cc: Fabio Estevam > Cc: Stefano Babic > --- > include/configs/udoo.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/configs/udoo.h b/include/

Re: [U-Boot] [PATCH v4 5/5] usb: lpc32xx: add host USB driver

2015-08-05 Thread LEMIEUX, SYLVAIN
Hi Marek, Is it OK to only submit the patch that need to be update as a new version or I always have to resubmit the complete set of patches? See comments and question below. Sylvain > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > > On Tuesday, August 04, 2015 at 11:0

Re: [U-Boot] [PATCH v4 1/5] dma: lpc32xx: add DMA driver

2015-08-05 Thread LEMIEUX, SYLVAIN
Hi Marek, See comment and question below. > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: 4-Aug-15 5:32 PM > > On Tuesday, August 04, 2015 at 11:04:38 PM, slemieux.t...@gmail.com wrote: > > From: Sylvain Lemieux > > > > Incorporate DMA driver from legacy LPCLinux

Re: [U-Boot] [PATCH] udoo: Remove SPL fat support

2015-08-05 Thread Fabio Estevam
On Wed, Aug 5, 2015 at 7:37 AM, Peter Vicman wrote: > Use dd'ed SPL and u-boot.img by default. > > Signed-off-by: Peter Vicman > Cc: Fabio Estevam > Cc: Stefano Babic Acked-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.

Re: [U-Boot] [PATCH v3 15/28] x86: Support building the EFI stub

2015-08-05 Thread Bin Meng
On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: > Add support for building a 32/64-bit EFI stub for x86. This involves > building the startup and relocation code for either i386 or x86_64. > > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Move 64-bit comment to just above the 64-bit

[U-Boot] [PATCH] ARM: zynqmp: Add platform specific arch_get_page_table

2015-08-05 Thread Michal Simek
Based on the patch: "armv8: caches: Added routine to set non cacheable region" (sha1: dad17fd51027ad02ac8f02deed186d08109d61fd) it is necessary to add platform specific hook. Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/zynqmp/cpu.c | 5 + 1 file changed, 5 insertions(+) diff --git a

Re: [U-Boot] [PATCH v4 1/5] dma: lpc32xx: add DMA driver

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 01:00:03 PM, LEMIEUX, SYLVAIN wrote: > Hi Marek, Hi! > See comment and question below. > > > -Original Message- > > From: Marek Vasut [mailto:ma...@denx.de] > > Sent: 4-Aug-15 5:32 PM > > > > On Tuesday, August 04, 2015 at 11:04:38 PM, slemieux.t...@gmai

Re: [U-Boot] [PATCH v4 5/5] usb: lpc32xx: add host USB driver

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 12:54:38 PM, LEMIEUX, SYLVAIN wrote: > Hi Marek, > > Is it OK to only submit the patch that need to be update as a new > version or I always have to resubmit the complete set of patches? It's OK to submit just the patch, see "Sending updated patch versions" at htt

Re: [U-Boot] [PATCH] ddr: altera: sequencer: add RW_MGR_MEM_NUMBER_OF_RANKS

2015-08-05 Thread Dinh Nguyen
On 8/5/15 3:57 AM, Marek Vasut wrote: > > btw. did you have time to skim through [PATCH 00/28] socfpga: sdram.c cleanups > please ? I'd like to apply that to master, put on the sequencer cleanups and > this patch and then submit a PR :) > Oh, I didn't see this series come in. You've been so qu

Re: [U-Boot] [PATCH] ddr: altera: sequencer: add RW_MGR_MEM_NUMBER_OF_RANKS

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 03:22:04 PM, Dinh Nguyen wrote: > On 8/5/15 3:57 AM, Marek Vasut wrote: > > btw. did you have time to skim through [PATCH 00/28] socfpga: sdram.c > > cleanups please ? I'd like to apply that to master, put on the sequencer > > cleanups and this patch and then submit

Re: [U-Boot] [PATCH] usb: Fix device detection code

2015-08-05 Thread Hans de Goede
Hi, On 05-08-15 03:19, Marek Vasut wrote: The code in question polls an USB port status via USB_REQ_GET_STATUS to determine whether there is a device on the port or not. The way to figure that out is to check two bits. Those are wPortChange[0] and wPortStatus[0]. The wPortChange[0] indicates wh

Re: [U-Boot] [PATCH] sf: Make 4K sector support configurable

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 10:36:31 AM, Jagan Teki wrote: > On 5 August 2015 at 13:50, Jagan Teki wrote: > > On 3 August 2015 at 04:58, Marek Vasut wrote: > >> Make the support for 4K subpage I/O on a SPI NOR flash configurable. > >> A board which requires the SPI NOR to be accessed in larg

Re: [U-Boot] [PATCH v2 07/19] dm: pmic: max77686: Support all BUCK regulators

2015-08-05 Thread Przemyslaw Marczak
Hello Simon, On 08/03/2015 04:19 PM, Simon Glass wrote: Add support for all BUCK regulators, now that the correct register is accessed for each. Signed-off-by: Simon Glass --- Changes in v2: - Add a comment about DVS in the driver drivers/power/regulator/max77686.c | 18 ++

Re: [U-Boot] [PATCH v2 09/19] exynos: Add common board code for exynos5 boards that use device tree

2015-08-05 Thread Przemyslaw Marczak
Hello Simon, On 08/03/2015 04:19 PM, Simon Glass wrote: Some boards use device tree for almost all board-specific configuration. They therefore do not need their own separate board code, but can all use the same version. Add a common version of the board code. It uses the PMIC, regulator and vid

Re: [U-Boot] [PATCH v2 00/19] dm: exynos: Driver model improvements leading to spring support

2015-08-05 Thread Przemyslaw Marczak
Hello Simon, On 08/03/2015 04:19 PM, Simon Glass wrote: This series adds a number of fixes and improvements to driver model as well as two new uclasses (video bridges and I2c muxes). The series is aimed at adding support for spring (HP 11 Chromebook). Since it is very similar to other ARM Chrom

Re: [U-Boot] [PATCH 2/2] Tegra: PLL: use per-SoC pllinfo table instead of PLL_DIVM/N/P, etc.

2015-08-05 Thread Marcel Ziswiler
On Tue, 2015-08-04 at 15:36 +, Tom Warren wrote: > Thanks. My T20/T30 boards are moth-balled, so I don't test on them. > T210 USB is fine. > If you can provide CAR register dumps (0x60006000 - 0x60006FFF) on > T20 I can take a look. I had a look at it. Looks like you missed the cpcon stuff

Re: [U-Boot] [PATCH 2/4] net: fec: do not access reserved register for i.MX6UL

2015-08-05 Thread Nikolay Dimitrov
Hi Peng, On 08/03/2015 01:06 PM, Peng Fan wrote: The MIB RAM and FIFO receive start register does not exist on i.MX6UL. Accessing these register will cause enet not work well. Signed-off-by: Peng Fan Signed-off-by: Fugang Duan Cc: Joe Hershberger --- drivers/net/fec_mxc.c | 4 1 file

[U-Boot] [PATCH] tegra: pll: fix pllx cpcon in pllinfo table for t20/t30

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix CPCON mask and shift of PLLX for T20 as well as T30. While the former's PLLX did not even lock any more resulting is super slow operation the later seemed to still lock OK. Nonetheless I this patch fixes it for both. Signed-off-by: Marcel Ziswiler --- Note: This patch

Re: [U-Boot] [PATCH v2 1/3] common: Display >=4GiB memory bank size

2015-08-05 Thread Simon Glass
On 2 August 2015 at 21:33, Bin Meng wrote: > bd->bi_dram[] has both start address and size defined as 32-bit, > which is not the case on some platforms where >=4GiB memory bank > is used. Change them to support such memory banks. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - Drop pat

Re: [U-Boot] [PATCH 1/2] gpio: Add DW APB GPIO driver

2015-08-05 Thread Simon Glass
Hi Marek, On 2 August 2015 at 18:16, Marek Vasut wrote: > On Monday, August 03, 2015 at 01:38:28 AM, Simon Glass wrote: >> Hi Marek, > > Hi Simon, > > [...] > >> >> > + if (!fdtdec_get_bool(blob, node, "gpio-controller")) >> >> > + continue; >> >> > + >> >> > +

Re: [U-Boot] [PATCH 3/5] x86: queensbay: Support pre-relocation dm pci

2015-08-05 Thread Simon Glass
Hi Bin, On 2 August 2015 at 19:52, Bin Meng wrote: > Hi Simon, > > On Mon, Aug 3, 2015 at 6:31 AM, Simon Glass wrote: >> Hi Bin, >> >> On 27 July 2015 at 01:33, Bin Meng wrote: >>> Increase CONFIG_MALLOC_F_LEN so that dm pci does not fail with -ENOMEM >>> before relocation. This makes pci uart

Re: [U-Boot] [PATCH 4/5] x86: Explicitly trigger pci bus configuration with driver model

2015-08-05 Thread Simon Glass
Hi Bin, On 2 August 2015 at 19:54, Bin Meng wrote: > Hi Simon, > > On Mon, Aug 3, 2015 at 6:31 AM, Simon Glass wrote: >> Hi Bin, >> >> On 27 July 2015 at 01:33, Bin Meng wrote: >>> With driver model, probing pci bus is all done on a lazy basis, >>> as needed. On x86, pci bus is the fundamental

Re: [U-Boot] [PATCH v2 2/3] pci: Remove DEBUG from pci_compat.c

2015-08-05 Thread Simon Glass
On 2 August 2015 at 21:33, Bin Meng wrote: > Remove DEBUG in drivers/pci/pci_compat.c. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - New patch to remove DEBUG from pci_compat.c > > drivers/pci/pci_compat.c | 1 - > 1 file changed, 1 deletion(-) Acked-by: Simon Glass __

Re: [U-Boot] [PATCH v2 25/47] efi: Support building a u-boot.efi executable

2015-08-05 Thread Simon Glass
Hi Bin, On 3 August 2015 at 09:51, Bin Meng wrote: > Hi Simon, > > On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote: >> Add support for building U-Boot as an EFI application with a .efi suffix. >> This can be loaded by EFI provided that EFI has the same bit width (32- >> or 64-bit) as U-Boot.

Re: [U-Boot] [PATCH V3 1/2] ARM: tegra: Add e2220-1170 board

2015-08-05 Thread Simon Glass
On 31 July 2015 at 17:21, Stephen Warren wrote: > > From: Stephen Warren > > E2220-1170 is a Tegra210 bringup board with onboard SoC, DRAM, > eMMC, SD card slot, HDMI, USB micro-B port, and sockets for various > expansion modules. > > Signed-off-by: Stephen Warren > --- > v3: > * More descriptio

Re: [U-Boot] [PATCH v2 3/3] x86: Document how to write PIRQ information in the device tree

2015-08-05 Thread Simon Glass
On 2 August 2015 at 21:33, Bin Meng wrote: > Document the development flow on figuring out PIRQ information > during the U-Boot porting. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - New patch to document how to write PIRQ information in the device tree > > doc/README.x86 | 41 +

Re: [U-Boot] [PATCH V3 2/2] ARM: tegra: Add p2371-0000 board

2015-08-05 Thread Simon Glass
Hi Stephen, On 31 July 2015 at 17:21, Stephen Warren wrote: > From: Stephen Warren > > P2371- is a P2581 or P2530 CPU board married to a P2595 I/O > board. The combination contains SoC, DRAM, eMMC, SD card slot, > HDMI, USB micro-B port, Ethernet via USB3, USB3 host port, SATA, > a GPIO expa

[U-Boot] [PATCH v2] dm: usb: fix USB Ethernet without CONFIG_DM_ETH regression

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler The following commit enforces CONFIG_DM_ETH for USB Ethernet which breaks any board using CONFIG_USB_HOST_ETHER without CONFIG_DM_ETH which this patch fixes. commit 69559093f6173dcfcb041df0995063bdbd07d49b dm: usb: Avoid using USB ethernet with CONFIG_DM_USB and no DM_ETH

Re: [U-Boot] [PATCH] sunxi: Enable musb in host mode on the Jesurun Q5

2015-08-05 Thread Hans de Goede
Hi, On 05-08-15 10:09, Ian Campbell wrote: On Tue, 2015-08-04 at 23:51 +0200, Hans de Goede wrote: The Jesurun Q5 has the musb hooked up to an usb-a receptacle, enable it in host-only mode. Signed-off-by: Hans de Goede [..] @@ -2,6 +2,7 @@ CONFIG_ARM=y CONFIG_ARCH_SUNXI=y CONFIG_MACH_SU

Re: [U-Boot] [PATCH 3/5] sunxi: display: Add a few extra register and constant defines

2015-08-05 Thread Hans de Goede
Hi, On 05-08-15 09:57, Ian Campbell wrote: On Mon, 2015-08-03 at 23:54 +0200, Hans de Goede wrote: Add a few extra sunxi display registers and constant defines. + "Also rename some existing defines (e.g. dropping _GCTRL) and make some more generic (e.g. dropping the 2x scaling from SUNXI_LCDC

Re: [U-Boot] [PATCH 4/5] sunxi: display: Add support for interlaced modes

2015-08-05 Thread Hans de Goede
Hi, On 05-08-15 10:05, Ian Campbell wrote: On Mon, 2015-08-03 at 23:54 +0200, Hans de Goede wrote: @@ -775,13 +781,18 @@ static void sunxi_lcdc_tcon1_mode_set(const struct ctfb_res_modes *mode, clk_delay = sunxi_lcdc_get_clk_delay(mode, 1); writel(SUNXI_LCDC_TCON1_CTRL_ENABLE |

[U-Boot] [RESEND PATCH v5] fs/fs.c: read up to EOF when len would read past EOF

2015-08-05 Thread Marcel Ziswiler
From: Max Krummenacher http://lists.denx.de/pipermail/u-boot/2012-September/134347.html allows for reading files in chunks from the shell. When this feature is used to read past the end of a file an error was returned instead of returning the bytes read up to the end of file. Thus the following

[U-Boot] [RESEND PATCH v5] colibri_vf: remove spurious new line

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove spurious new line in configuration file. Signed-off-by: Marcel Ziswiler Tested-by: Marek Vasut Acked-by: Marek Vasut --- Changes in v5: split up into separate patches to be picked up by the various subsystem maintainers as suggested by Marek include/configs/coli

[U-Boot] [PATCH 2/3] cfbconsole: Add support for stride != width

2015-08-05 Thread Hans de Goede
cfbconsole currently assumes that the width and stride of the framebuffer are the same, in most places where stride matters it uses a VIDEO_LINE_LEN helper macro. This commit changes the few places not using VIDEO_LINE_LEN to also use VIDEO_LINE_LEN, and protects the default VIDEO_LINE_LEN with a

[U-Boot] [PATCH 0/3] sunxi: display: Add overscan correction

2015-08-05 Thread Hans de Goede
Hi Anatolij, Ian, This series sits on top of the composite video out series Ian has just reviewed. The first 2 patches are preparation patches adding support for stride != width to the cfbconsole code. Anatolij, can you either merge these 2 through your tree, or give us your ack for merging these

[U-Boot] [RESEND PATCH v5] mtd/nand/ubi: assortment of alignment fixes

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Various U-Boot adoptions/extensions to MTD/NAND/UBI did not take buffer alignment into account which led to failures of the following form: ERROR: v7_dcache_inval_range - start address is not aligned - 0x1f7f0108 ERROR: v7_dcache_inval_range - stop address is not aligned -

[U-Boot] [PATCH 1/3] cfbconsole: Remove width argument from the logo functions

2015-08-05 Thread Hans de Goede
The passed in width is always VIDEO_COLS. This is a preparation patch for adding stride != width support to the cfbconsole code. Signed-off-by: Hans de Goede --- drivers/video/cfb_console.c | 21 - 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/drivers/video/c

[U-Boot] [PATCH 3/3] sunxi: display: Add overscan correction

2015-08-05 Thread Hans de Goede
Add support for making the visual area of the framebuffer smaller and drawing a black border around it. This is intended for use with overscanning monitors (esp. with composite video out), to avoid part of the picture being invisible. Signed-off-by: Hans de Goede --- doc/README.video

[U-Boot] [RESEND PATCH v5] net: asix: fix operation without eeprom

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler This patch fixes operation of our on-board AX88772B chip without EEPROM but with a ethaddr coming from the regular U-Boot environment. This is a forward port of some remaining parts initially implemented by Antmicro. Signed-off-by: Marcel Ziswiler Acked-by: Marek Vasut --

[U-Boot] [RESEND PATCH v5] image-fdt.c: store returned error value

2015-08-05 Thread Marcel Ziswiler
From: Max Krummenacher This fixes the following warning (and the runtime error reporting): ../common/image-fdt.c:491:4: warning: 'fdt_ret' may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Acked-by: Marek Vasut Ac

[U-Boot] [RESEND PATCH v5] tftp.c: fix CONFIG_TFTP_TSIZE for small files

2015-08-05 Thread Marcel Ziswiler
From: Max Krummenacher CONFIG_TFTP_TSIZE should limit a tftp downloads progress to 50 '#' chars. Make this work also for small files. If the file size is small, i.e. smaller than 2 tftp block sizes the number of '#' can get much larger. i.e. with a 1 byte file 65000 characters are printed, with

Re: [U-Boot] [PATCH v2] dm: usb: fix USB Ethernet without CONFIG_DM_ETH regression

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 04:58:17 PM, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > The following commit enforces CONFIG_DM_ETH for USB Ethernet which > breaks any board using CONFIG_USB_HOST_ETHER without CONFIG_DM_ETH > which this patch fixes. > > commit 69559093f6173dcfcb041df099

Re: [U-Boot] [PATCH] Tegra: spi: Move TEGRA114_SPI switch to defconfigs

2015-08-05 Thread Tom Warren
Jagan, > -Original Message- > From: Jagan Teki [mailto:jt...@openedev.com] > Sent: Wednesday, August 05, 2015 1:35 AM > To: Simon Glass > Cc: Tom Warren; U-Boot Mailing List; Stephen Warren; Tom Warren > Subject: Re: [U-Boot] [PATCH] Tegra: spi: Move TEGRA114_SPI switch to > defconfigs >

Re: [U-Boot] [RESEND PATCH v5] net: asix: fix operation without eeprom

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 05:16:59 PM, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > This patch fixes operation of our on-board AX88772B chip without EEPROM > but with a ethaddr coming from the regular U-Boot environment. This is > a forward port of some remaining parts initially impl

[U-Boot] [RESEND PATCH v5] generic-board: allow showing custom board info

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Allow showing custom board info from a checkboard() function being implemented if CONFIG_CUSTOM_BOARDINFO is specified. Previously the device tree model was always displayed not taking any CONFIG_CUSTOM_BOARDINFO into account. Signed-off-by: Marcel Ziswiler Reviewed-by: S

Re: [U-Boot] [PATCH] tegra: pll: fix pllx cpcon in pllinfo table for t20/t30

2015-08-05 Thread Tom Warren
Marcel, > -Original Message- > From: Marcel Ziswiler [mailto:mar...@ziswiler.com] > Sent: Wednesday, August 05, 2015 7:37 AM > To: u-boot@lists.denx.de > Cc: Tom Warren; Tom Warren; Albert Aribaud; Tom Rini; Thierry Reding; Simon > Glass; Stephen Warren; Masahiro Yamada; Marcel Ziswiler >

Re: [U-Boot] [PATCH v2] dm: usb: fix USB Ethernet without CONFIG_DM_ETH regression

2015-08-05 Thread Simon Glass
Hi Marcel, On 5 August 2015 at 08:58, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > The following commit enforces CONFIG_DM_ETH for USB Ethernet which > breaks any board using CONFIG_USB_HOST_ETHER without CONFIG_DM_ETH > which this patch fixes. > > commit 69559093f6173dcfcb041df0995063bdbd

[U-Boot] [RESEND PATCH v5] logos: add Toradex logo

2015-08-05 Thread Marcel Ziswiler
From: Stefan Agner Use the boot loader splash screen from WinCE which matches our wallpapers position wise. Although the logo is an 8-bit indexed BMP as well colours looked odd at first in U-Boot. After converting to full RGB palette and converting back to an indexed BMP using imagemagick the Log

Re: [U-Boot] [PATCH] tegra: pll: fix pllx cpcon in pllinfo table for t20/t30

2015-08-05 Thread Marcel Ziswiler
On Wed, 2015-08-05 at 15:23 +, Tom Warren wrote: > Do you mind if I just roll this into my pllinfo patch when I apply it > to u-boot-tegra/master and send the PR? I'll be sure to credit your > work! Fine with me and no need for any further credits. Thanks Tom. BTW: We are currently planning

Re: [U-Boot] [PATCH v2] dm: usb: fix USB Ethernet without CONFIG_DM_ETH regression

2015-08-05 Thread Marcel Ziswiler
On Wed, 2015-08-05 at 17:19 +0200, Marek Vasut wrote: > Dumb question -- won't it make more sense to add USB_HOST_ETHER > Kconfig > option and make it depend on CONFIG_DM_USB ? I don't think it depends on this. As I understand currently one would be able to run a) USB_HOST_ETHER either without DM

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

2015-08-05 Thread Marek Vasut
The following changes since commit e22b1a54942d9003b10564325a34e3cf767556ce: Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq (2015-08-04 12:21:45 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git HEAD for you to fetch changes up to dcc7dbc73169bb4e

Re: [U-Boot] [PATCH] usb: Fix device detection code

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 03:42:11 PM, Hans de Goede wrote: > Hi, > > On 05-08-15 03:19, Marek Vasut wrote: > > The code in question polls an USB port status via USB_REQ_GET_STATUS > > to determine whether there is a device on the port or not. The way to > > figure that out is to check two

Re: [U-Boot] [PATCH v2] dm: usb: fix USB Ethernet without CONFIG_DM_ETH regression

2015-08-05 Thread Marcel Ziswiler
On Wed, 2015-08-05 at 09:29 -0600, Simon Glass wrote: > Acked-by: Simon Glass > > What do you think about changing Tegra over to CONFIG_DM_ETH? Sure, once it actually works (;-p). Right now I would just be happy if it works at all again (e.g. reason for this patch). > Do you > have any leads

Re: [U-Boot] [PATCH v2] dm: usb: fix USB Ethernet without CONFIG_DM_ETH regression

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 05:25:35 PM, Marcel Ziswiler wrote: > On Wed, 2015-08-05 at 17:19 +0200, Marek Vasut wrote: > > Dumb question -- won't it make more sense to add USB_HOST_ETHER > > Kconfig > > option and make it depend on CONFIG_DM_USB ? > > I don't think it depends on this. As I u

Re: [U-Boot] [PATCH 16/28] ddr: altera: sdram: Clean up sdram_mmr_init_full() part 4

2015-08-05 Thread Dinh Nguyen
On 8/1/15 4:34 PM, Marek Vasut wrote: > Merge sdr_set_*() functions which are just setting registers among > the sea of register setting in sdram_mmr_init_full(). There is no > need to keep them separate this way, there is nothing special about > them. > > Signed-off-by: Marek Vasut > --- > dr

[U-Boot] [PATCH 1/1] arm: mxs: make inline function compatible for GCC 5

2015-08-05 Thread Jörg Krause
GCC 5 uses C99 inline semantics. To generate external visibility in C99 for the lowlevel_init() function must be declared with extern inline [1]. The GNU89 inline semantic is the same as C99 extern inline. Use the __GNUC_STDC_INLINE__ macro to detect if C99 inline semantic will be used by GCC. F

Re: [U-Boot] [PATCH] Tegra: spi: Move TEGRA114_SPI switch to defconfigs

2015-08-05 Thread Jagan Teki
On 5 August 2015 at 20:50, Tom Warren wrote: > Jagan, > >> -Original Message- >> From: Jagan Teki [mailto:jt...@openedev.com] >> Sent: Wednesday, August 05, 2015 1:35 AM >> To: Simon Glass >> Cc: Tom Warren; U-Boot Mailing List; Stephen Warren; Tom Warren >> Subject: Re: [U-Boot] [PATCH] T

Re: [U-Boot] [PATCH 16/28] ddr: altera: sdram: Clean up sdram_mmr_init_full() part 4

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 05:59:56 PM, Dinh Nguyen wrote: > On 8/1/15 4:34 PM, Marek Vasut wrote: > > Merge sdr_set_*() functions which are just setting registers among > > the sea of register setting in sdram_mmr_init_full(). There is no > > need to keep them separate this way, there is not

  1   2   3   >