Re: [U-Boot] spi and block bits

2015-04-17 Thread Michael Walle
Am 2015-04-16 20:32, schrieb Jagan Teki: On 9 February 2015 at 04:57, Michael Walle wrote: Hi there, I stumbled across a situation where the SPI flash on my board was write protected and i could not unlock it in the bootloader. This is especially unfortunate because the recovery mechanism re

Re: [U-Boot] [ANN] U-Boot v2015.04 released

2015-04-17 Thread Wolfgang Denk
Dear Tom, In message <20150413172047.GG16702@bill-the-cat> you wrote: > > I've pushed v2015.04 out to the repository and tarballs should exist > soon. Thanks. Raeball is out now, sorry for the delay. Here is the usual release statistics (full, unabbreviated lists as usual on the web site); one

Re: [U-Boot] [PATCH] video, ipu: make ldb clock frequenz overwriteable through board code

2015-04-17 Thread Heiko Schocher
Hello Eric, Am 16.04.2015 02:27, schrieb Eric Nelson: Hi Heiko, On 04/12/2015 01:19 AM, Heiko Schocher wrote: the ldb clock can be setup in board code (for example set through PLL5). Update the ldb_clock rate also through board code. This should be removed, if a clock framework is availiable.

Re: [U-Boot] [PATCH 4/6] zynqmp: Add SPI driver support for ZynqMP

2015-04-17 Thread Jagan Teki
On 17 April 2015 at 11:02, Michal Simek wrote: > On 04/16/2015 08:13 PM, Jagan Teki wrote: >> On 15 April 2015 at 19:03, Michal Simek wrote: >>> From: Siva Durga Prasad Paladugu >>> >>> Added the SPI driver support for ZynqMP >>> The controller is same as zynq SPI controller >>> >>> Signed-off-b

Re: [U-Boot] [PATCH v3 1/9] sf: Update SST flash params

2015-04-17 Thread Jagan Teki
Hi Bin, On 17 April 2015 at 07:14, Bin Meng wrote: > Hi Jagan, > > On Fri, Apr 17, 2015 at 2:09 AM, Jagan Teki wrote: >> Hi Bin, >> >> I think you have a different interpretation of sector size here- >> >> /* The size listed here is what works with SPINOR_OP_SE, which isn't >> * necessarily cal

Re: [U-Boot] [PATCH v3 7/7] colibri_vf: Enable USB support for Colibri Vybrid

2015-04-17 Thread maitysanchayan
Hello, On 15-04-16 22:21:11, Marek Vasut wrote: > On Wednesday, April 15, 2015 at 12:54:28 PM, Sanchayan Maity wrote: > > Enable USB support on Toradex Colibri Vybrid Modules. > > > > Signed-off-by: Sanchayan Maity > > --- > > board/toradex/colibri_vf/colibri_vf.c | 25 +-- >

Re: [U-Boot] [PATCH v3 7/7] colibri_vf: Enable USB support for Colibri Vybrid

2015-04-17 Thread Marek Vasut
On Friday, April 17, 2015 at 11:21:03 AM, maitysancha...@gmail.com wrote: > Hello, > > On 15-04-16 22:21:11, Marek Vasut wrote: > > On Wednesday, April 15, 2015 at 12:54:28 PM, Sanchayan Maity wrote: > > > Enable USB support on Toradex Colibri Vybrid Modules. > > > > > > Signed-off-by: Sanchayan

Re: [U-Boot] [PATCH 1/2] armv8: caches: Disable dcache after flush

2015-04-17 Thread Mark Rutland
> > > Now in the flush_dcache_all we are invoking the actual asm call to > > > flush dcache which may wipeout the stored return value in stack with > > > cahe contents(main memory). Hence the return from the flush_dcahe_all > > > will fail. > > > > > > To confirm this I modified the dcache_disable

Re: [U-Boot] [PATCH 07/10] sunxi: Fix end of kernel memory alignment for A33

2015-04-17 Thread Mark Rutland
On Thu, Apr 16, 2015 at 08:12:31PM +0100, Hans de Goede wrote: > Hi, > > On 16-04-15 19:35, Mark Rutland wrote: > > On Thu, Apr 16, 2015 at 08:32:03AM +0100, Hans de Goede wrote: > >> Hi, > >> > >> On 15-04-15 21:57, Ian Campbell wrote: > >>> On Tue, 2015-04-14 at 18:06 +0200, Hans de Goede wrote:

Re: [U-Boot] [PATCH 1/2] armv8: caches: Disable dcache after flush

2015-04-17 Thread Siva Durga Prasad Paladugu
Hi Mark, > -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Friday, April 17, 2015 3:36 PM > To: Siva Durga Prasad Paladugu > Cc: Michal Simek; u-boot@lists.denx.de; Tom Rini; Varun Sethi; Arnab Basu; > York Sun > Subject: Re: [U-Boot] [PATCH 1/2] armv8: caches

[U-Boot] [PATCH v1] dm: sf: Add Atmel DataFlash spi flash driver

2015-04-17 Thread Haikun Wang
Atmel DataFlash chips have commands different from common spi flash commands. Atmel DataFlash also have special page-size. This driver add support for accessing Atmel DataFlash. It is based on the Driver Model. Signed-off-by: Haikun Wang --- drivers/mtd/spi/Makefile| 1 + drivers/mtd/s

Re: [U-Boot] [PATCH 03/10] sunxi: Introduce a hidden ARCH_SUN6I Kconfig bool

2015-04-17 Thread Ian Campbell
On Thu, 2015-04-16 at 09:23 +0200, Hans de Goede wrote: > Hi, > > On 15-04-15 21:47, Ian Campbell wrote: > > On Wed, 2015-04-15 at 10:45 +0200, Michal Suchanek wrote: > >> It is not obvious which MACH_SUN?I are ARCH_SUN6I derived. So if you > >> can come up with a descriptive name for 'a number of

Re: [U-Boot] [PATCH 08/10] sunxi: Add basic A33 basic support

2015-04-17 Thread Ian Campbell
On Thu, 2015-04-16 at 09:35 +0200, Hans de Goede wrote: > Hi, > > On 15-04-15 22:00, Ian Campbell wrote: > > On Tue, 2015-04-14 at 18:06 +0200, Hans de Goede wrote: > >> From: Vishnu Patekar > > > > A quick comment on what "basic" here means, i.e. "prcm, rsb, clocks as > > per sun6i", etc would b

Re: [U-Boot] [PATCH] zynq: spi: Remove unnecessary error condition

2015-04-17 Thread Jagan Teki
On 15 April 2015 at 16:43, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Removed the unnecessary error check from spi_xfer > as the bitlen zero is possible now to deassert the > chip select for which no data is required to be transfered. > > Signed-off-by: Siva Durga Prasad Paladugu

Re: [U-Boot] [PATCH] sf: Correct the macros as per new array fast read command

2015-04-17 Thread Jagan Teki
On 11 March 2015 at 14:52, Siva Durga Prasad Paladugu wrote: > Correct the macros as per insertion of array fast read > command CMD_READ_ARRAY_FAST in spi_read_cmds_array in file > sf_probe.c > > Signed-off-by: Siva Durga Prasad Paladugu > --- > include/spi.h | 11 ++- > 1 file changed,

Re: [U-Boot] [PATCH] sf: Poll both the read status and flag status

2015-04-17 Thread Jagan Teki
On 10 April 2015 at 17:43, Jagan Teki wrote: > Hi Siva Durga Prasad, > > On 11 March 2015 at 14:47, Siva Durga Prasad Paladugu > wrote: >> Poll both the Read status and Flag status registers >> for sucessful erase and program operations for the >> Micron devices with E_FSR flag set in params tabl

Re: [U-Boot] [PATCH RESEND 1/3] driver/ddr/altera: Add DDR driver for Altera's SDRAM controller

2015-04-17 Thread Pavel Machek
Hi! > +#ifndef _SDRAM_H_ > +#define _SDRAM_H_ > + > +#ifndef __ASSEMBLY__ > + > +/* function declaration */ You can delete this comment. > +#define \ > +SDR_CTRLGRP_MPTHRESHOLDRST_0_THRESHOLDRSTCYCLES_31_0_LSB 0 > +#define \ > +SDR_CTRLGRP_MPTHRESHOLDRST_0_THRESHOLDRSTCYCLES_31_0_MASK

Re: [U-Boot] Commit d3cfcb3 breaks beagle_x15 build

2015-04-17 Thread Lokesh Vutla
Hi Albert, On Thursday 16 April 2015 02:20 PM, Albert ARIBAUD wrote: > Hello, > > Commit d3cfcb3 (ARM: DRA7: Enable clocks for USB OTGSS and USB PHY) > breaks beagle_x15 build: > > Building current source for 1 boards (1 thread, 8 jobs per thread) >arm: + beagle_x15 > +board/ti

[U-Boot] [PATCH v4 7/7] colibri_vf: Enable USB support for Colibri Vybrid

2015-04-17 Thread Sanchayan Maity
Enable USB support on Toradex Colibri Vybrid Modules. Signed-off-by: Sanchayan Maity --- board/toradex/colibri_vf/colibri_vf.c | 24 +++ include/configs/colibri_vf.h | 37 +++ 2 files changed, 61 insertions(+) diff --git a/board/torad

Re: [U-Boot] [PATCH v6 00/15] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-04-17 Thread Stephen Warren
On 04/17/2015 12:47 AM, Jan Kiszka wrote: On 2015-04-14 16:30, Ian Campbell wrote: On Tue, 2015-04-14 at 16:12 +0200, Jan Kiszka wrote: On 2015-04-14 16:06, Stephen Warren wrote: On 04/14/2015 07:46 AM, Tom Rini wrote: On Mon, Apr 13, 2015 at 06:48:05AM +0200, Jan Kiszka wrote: Changes in v

Re: [U-Boot] [PATCH v6 00/15] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-04-17 Thread Jan Kiszka
On 2015-04-17 15:57, Stephen Warren wrote: > On 04/17/2015 12:47 AM, Jan Kiszka wrote: >> On 2015-04-14 16:30, Ian Campbell wrote: >>> On Tue, 2015-04-14 at 16:12 +0200, Jan Kiszka wrote: On 2015-04-14 16:06, Stephen Warren wrote: > On 04/14/2015 07:46 AM, Tom Rini wrote: >> On Mon, Ap

Re: [U-Boot] [PATCH v6 00/15] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-04-17 Thread Ian Campbell
On Fri, 2015-04-17 at 07:57 -0600, Stephen Warren wrote: > On 04/17/2015 12:47 AM, Jan Kiszka wrote: > > On 2015-04-14 16:30, Ian Campbell wrote: > >> Would enabling it in the compile but adding "bootm_boot_mode=sec" to the > >> default environment (so it isn't used by default) be considered > >> s

Re: [U-Boot] [PATCH v6 00/15] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-04-17 Thread Stephen Warren
On 04/17/2015 08:02 AM, Jan Kiszka wrote: On 2015-04-17 15:57, Stephen Warren wrote: On 04/17/2015 12:47 AM, Jan Kiszka wrote: On 2015-04-14 16:30, Ian Campbell wrote: On Tue, 2015-04-14 at 16:12 +0200, Jan Kiszka wrote: On 2015-04-14 16:06, Stephen Warren wrote: On 04/14/2015 07:46 AM, Tom

[U-Boot] [PATCH] ahci: mmio_base is a virtual address

2015-04-17 Thread Scott Wood
Don't store it in a u32. Don't dereference the bus address as if it were a virtual address (fixes 284231e49a2b4 ("ahci: Support splitting of read transactions into multiple chunks")). Fixes crash on boot in MPC8641HPCN_36BIT target. Signed-off-by: Scott Wood Cc: Vadim Bendebury Cc: York Sun -

Re: [U-Boot] [PATCH v6 00/15] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-04-17 Thread Jan Kiszka
On 2015-04-17 16:12, Stephen Warren wrote: > On 04/17/2015 08:02 AM, Jan Kiszka wrote: >> On 2015-04-17 15:57, Stephen Warren wrote: >>> On 04/17/2015 12:47 AM, Jan Kiszka wrote: On 2015-04-14 16:30, Ian Campbell wrote: > On Tue, 2015-04-14 at 16:12 +0200, Jan Kiszka wrote: >> On 2015-

Re: [U-Boot] Compile minnowboard max error

2015-04-17 Thread Simon Glass
Hi, On 13 April 2015 at 22:39, li yuqian wrote: > Hi Simon > >> Can you please put your response below my reply? This thread is all >> over the place >> >> This looks right to me. Can you post the entire build output >> somewhere, built with V=1 so I can see everything? There must be >> somet

Re: [U-Boot] [PATCH v6 00/15] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-04-17 Thread Stephen Warren
On 04/17/2015 08:20 AM, Jan Kiszka wrote: On 2015-04-17 16:12, Stephen Warren wrote: On 04/17/2015 08:02 AM, Jan Kiszka wrote: On 2015-04-17 15:57, Stephen Warren wrote: On 04/17/2015 12:47 AM, Jan Kiszka wrote: On 2015-04-14 16:30, Ian Campbell wrote: On Tue, 2015-04-14 at 16:12 +0200, Jan

Re: [U-Boot] [PATCH RESEND 1/3] driver/ddr/altera: Add DDR driver for Altera's SDRAM controller

2015-04-17 Thread Dinh Nguyen
Hi Pavel, On 04/17/2015 07:31 AM, Pavel Machek wrote: > Hi! > >> +#ifndef _SDRAM_H_ >> +#define _SDRAM_H_ >> + >> +#ifndef __ASSEMBLY__ >> + >> +/* function declaration */ > > You can delete this comment. > Ok... >> +#define \ >> +SDR_CTRLGRP_MPTHRESHOLDRST_0_THRESHOLDRSTCYCLES_31_0_L

Re: [U-Boot] [PATCH] video, ipu: make ldb clock frequenz overwriteable through board code

2015-04-17 Thread Eric Nelson
Hi Heiko, On 04/17/2015 12:53 AM, Heiko Schocher wrote: >>> +int ipu_set_ldb_clock(int rate); >>> #endif >>> diff --git a/drivers/video/ipu_common.c b/drivers/video/ipu_common.c >>> index 1a209d4..dc054bc 100644 >>> --- a/drivers/video/ipu_common.c >>> +++ b/drivers/video/ipu_common.c >>> @@ -1

Re: [U-Boot] [PATCH] ahci: mmio_base is a virtual address

2015-04-17 Thread York Sun
On 04/17/2015 07:19 AM, Scott Wood wrote: > Don't store it in a u32. > > Don't dereference the bus address as if it were a virtual address > (fixes 284231e49a2b4 ("ahci: Support splitting of read transactions > into multiple chunks")). > > Fixes crash on boot in MPC8641HPCN_36BIT target. > > S

[U-Boot] U-Boot

2015-04-17 Thread wehner . junior
Hello, I want to add a fixed phy connection to describe the rgmii interface between a cpu and an ethernet switch. What is the recommended way over the phylib? Kind regards, Mark ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailma

[U-Boot] [PATCH 1/1] mmc: bcm2835_sdhci: Use calloc to allocate bcm2835_sdhci_host

2015-04-17 Thread Alexander Stein
We need to clear the allocated memory explicitly as the included struct sdhci_host has function pointers. Those are compared to NULL to test if this (optional) feature is supported. Leaving them undefined let u-boot jump to arbitrary memory. Signed-off-by: Alexander Stein --- drivers/mmc/bcm2835

Re: [U-Boot] [PATCH v2 1/4] mmc: fsl_esdhc: Add adapter card type identification support

2015-04-17 Thread York Sun
+Pantelis On 04/16/2015 09:51 PM, Yangbo Lu wrote: > Add adapter card type identification support by reading > FPGA STAT_PRES1 register SDHC Card ID[0:2] bits. To use this function, > define CONFIG_FSL_ESDHC_ADAPTER_IDENT. > > Signed-off-by: Yangbo Lu > Cc: York Sun > --- > Changes for v2: >

[U-Boot] Clock tree in U-Boot

2015-04-17 Thread Eric Nelson
Hi all, Heiko's recent patch set [1] to control the LDB clock on i.MX5/6 boards makes it painfully obvious that some semblance of clock tree is needed, even if it starts off as a shell. We currently have routines declared in [2] that should be moved into a more common spot: void clk_enab

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-17 Thread Tom Rini
On Thu, Apr 16, 2015 at 09:15:26PM -0600, Simon Glass wrote: > Hi Tom, > > As mentioned I reverted this patch as it conflicted with the dm tree > and I suspect it might be buggy: > > cd749658 usb_storage : scan all interfaces to find a storage device > > Assuming this is OK and applies successf

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-17 Thread Simon Glass
Hi Tom, On 17 April 2015 at 10:27, Tom Rini wrote: > > On Thu, Apr 16, 2015 at 09:15:26PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > As mentioned I reverted this patch as it conflicted with the dm tree > > and I suspect it might be buggy: > > > > cd749658 usb_storage : scan all interfaces to

Re: [U-Boot] [PATCH v3] usb_storage : scan all interfaces to find a storage device

2015-04-17 Thread Simon Glass
+Tom Hi Franck, On 4 March 2015 at 13:07, wrote: > From: Franck Jullien > > Mass storage is not necessary present on interface 0. This > patch allow usb_stor_scan to look in every available interface. > > Signed-off-by: Franck Jullien > --- > > v2: create a new function to improve indentation

Re: [U-Boot] [PATCH 01/10] Move board_init_f_mem() into a common location

2015-04-17 Thread Masahiro Yamada
Hi Simon, 2015-04-16 10:14 GMT+09:00 Simon Glass : > This function will be used by both SPL and U-Boot proper. So move it into > a common place. > > Signed-off-by: Simon Glass > --- > > Makefile | 1 + > common/board_f.c | 22 +- > common/init/Make

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-17 Thread Tom Rini
On Fri, Apr 17, 2015 at 10:30:36AM -0600, Simon Glass wrote: > Hi Tom, > > On 17 April 2015 at 10:27, Tom Rini wrote: > > > > On Thu, Apr 16, 2015 at 09:15:26PM -0600, Simon Glass wrote: > > > > > Hi Tom, > > > > > > As mentioned I reverted this patch as it conflicted with the dm tree > > > and I

[U-Boot] CONFIG_SPL vs CONFIG_SYS_EXTRA_OPTIONS

2015-04-17 Thread Nikolay Dimitrov
Hi guys, Why is required to add "SPL" to CONFIG_SYS_EXTRA_OPTIONS, when we have also CONFIG_SPL? I found the following mx6 boards are doing it: configs/mx6sabresd_spl_defconfig configs/cm_fx6_defconfig configs/mx6cuboxi_spl_defconfig Thanks and regards, Nikolay _

Re: [U-Boot] CONFIG_SPL vs CONFIG_SYS_EXTRA_OPTIONS

2015-04-17 Thread Fabio Estevam
Hi Nikolay, On Fri, Apr 17, 2015 at 1:48 PM, Nikolay Dimitrov wrote: > Hi guys, > > Why is required to add "SPL" to CONFIG_SYS_EXTRA_OPTIONS, when we have > also CONFIG_SPL? I found the following mx6 boards are doing it: > > configs/mx6sabresd_spl_defconfig Yes, not needed. I will remove it. >

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-17 Thread Simon Glass
Hi Tom, On 17 April 2015 at 10:46, Tom Rini wrote: > On Fri, Apr 17, 2015 at 10:30:36AM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 17 April 2015 at 10:27, Tom Rini wrote: >> > >> > On Thu, Apr 16, 2015 at 09:15:26PM -0600, Simon Glass wrote: >> > >> > > Hi Tom, >> > > >> > > As mentioned I re

Re: [U-Boot] CONFIG_SPL vs CONFIG_SYS_EXTRA_OPTIONS

2015-04-17 Thread Nikolay Dimitrov
Hi Fabio, On 04/17/2015 07:50 PM, Fabio Estevam wrote: Hi Nikolay, On Fri, Apr 17, 2015 at 1:48 PM, Nikolay Dimitrov wrote: Hi guys, Why is required to add "SPL" to CONFIG_SYS_EXTRA_OPTIONS, when we have also CONFIG_SPL? I found the following mx6 boards are doing it: configs/mx6sabresd_spl_

Re: [U-Boot] CONFIG_SPL vs CONFIG_SYS_EXTRA_OPTIONS

2015-04-17 Thread Fabio Estevam
Hi Nikolay, On Fri, Apr 17, 2015 at 2:03 PM, Nikolay Dimitrov wrote: > Sorry if you felt like this, but I wasn't pointing at you specifically. No problem. Just to clarify: during the hummingboard patch submission Tom Rini suggested me to remove the 'SPL'. So I did it (among other things) and s

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-17 Thread Hans de Goede
Hi Tom and Simon, On 17-04-15 18:54, Simon Glass wrote: Hi Tom, On 17 April 2015 at 10:46, Tom Rini wrote: On Fri, Apr 17, 2015 at 10:30:36AM -0600, Simon Glass wrote: Hi Tom, On 17 April 2015 at 10:27, Tom Rini wrote: On Thu, Apr 16, 2015 at 09:15:26PM -0600, Simon Glass wrote: Hi Tom

Re: [U-Boot] [PATCH v3] powerpc/t1040qds: Add support of SD boot for T1040QDS Board

2015-04-17 Thread York Sun
On 02/13/2015 07:25 AM, Vijay Rai wrote: > Add support of 2 stage SD boot loader using SPL framework. > here, PBL initialise the internal SRAM and copy SPL(160KB). This further > initialise DDR using SPD environment and copy u-boot(768 KB) from NAND to DDR. > Finally SPL transer control to u-boot.

Re: [U-Boot] [PATCH] board/p2020rdb: fix the FDT_ERR_NOTFOUND issue

2015-04-17 Thread York Sun
On 03/24/2015 12:48 AM, ying.zh...@freescale.com wrote: > From: Ying Zhang > > Because the function ft_board_setup() delete the USB2 device node, it > leads to can't find the device node and hung up. > > In fact only P1020RDB needs to delete the USB2 node, this patch fixes > this issue. > > S

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-17 Thread Tom Rini
On Fri, Apr 17, 2015 at 10:54:21AM -0600, Simon Glass wrote: > Hi Tom, > > On 17 April 2015 at 10:46, Tom Rini wrote: > > On Fri, Apr 17, 2015 at 10:30:36AM -0600, Simon Glass wrote: > >> Hi Tom, > >> > >> On 17 April 2015 at 10:27, Tom Rini wrote: > >> > > >> > On Thu, Apr 16, 2015 at 09:15:26P

Re: [U-Boot] u-boot for Snow problem

2015-04-17 Thread Michal Suchanek
On 15 April 2015 at 19:01, Michal Suchanek wrote: > On 15 April 2015 at 17:00, Simon Glass wrote: >> Hi Michal, >> >> On 14 April 2015 at 16:10, Michal Suchanek wrote: >>> Hello, >>> >>> On 4 March 2015 at 00:46, Simon Glass wrote: Hi Michal, On 2 March 2015 at 04:25, Michal Such

Re: [U-Boot] u-boot for Snow problem

2015-04-17 Thread Simon Glass
Hi Michal, On 17 April 2015 at 12:49, Michal Suchanek wrote: > On 15 April 2015 at 19:01, Michal Suchanek wrote: >> On 15 April 2015 at 17:00, Simon Glass wrote: >>> Hi Michal, >>> >>> On 14 April 2015 at 16:10, Michal Suchanek wrote: Hello, On 4 March 2015 at 00:46, Simon Glass

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-17 Thread Hans de Goede
Hi, On 17-04-15 19:53, Tom Rini wrote: On Fri, Apr 17, 2015 at 10:54:21AM -0600, Simon Glass wrote: Hi Tom, On 17 April 2015 at 10:46, Tom Rini wrote: On Fri, Apr 17, 2015 at 10:30:36AM -0600, Simon Glass wrote: Hi Tom, On 17 April 2015 at 10:27, Tom Rini wrote: On Thu, Apr 16, 2015 at

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-17 Thread Hans de Goede
Hi, On 17-04-15 21:28, Hans de Goede wrote: Hi, On 17-04-15 19:53, Tom Rini wrote: On Fri, Apr 17, 2015 at 10:54:21AM -0600, Simon Glass wrote: Hi Tom, On 17 April 2015 at 10:46, Tom Rini wrote: On Fri, Apr 17, 2015 at 10:30:36AM -0600, Simon Glass wrote: Hi Tom, On 17 April 2015 at 10:2

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-17 Thread Tom Rini
On Fri, Apr 17, 2015 at 09:28:20PM +0200, Hans de Goede wrote: > Hi, > > On 17-04-15 19:53, Tom Rini wrote: > >On Fri, Apr 17, 2015 at 10:54:21AM -0600, Simon Glass wrote: > >>Hi Tom, > >> > >>On 17 April 2015 at 10:46, Tom Rini wrote: > >>>On Fri, Apr 17, 2015 at 10:30:36AM -0600, Simon Glass wr

Re: [U-Boot] u-boot for Snow problem

2015-04-17 Thread Michal Suchanek
On 17 April 2015 at 20:57, Simon Glass wrote: > Hi Michal, > > On 17 April 2015 at 12:49, Michal Suchanek wrote: >> >> Ok, I did the chainload dance and I am running u-boot master patched >> so it prints the IO address in mmc list and now >> >> 1) both mmc interfaces work >> 2) I can see the cor

Re: [U-Boot] [PATCH v4 7/7] colibri_vf: Enable USB support for Colibri Vybrid

2015-04-17 Thread Marek Vasut
On Friday, April 17, 2015 at 03:26:42 PM, Sanchayan Maity wrote: > Enable USB support on Toradex Colibri Vybrid Modules. > > Signed-off-by: Sanchayan Maity Acked-by: Marek Vasut Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de h

[U-Boot] [PATCH] dm: usb: Make usb_lowlevel_init set the default ops pointer

2015-04-17 Thread Tom Rini
In order to switch to a set of function pointers for certain operations we need to ensure that the defaults are first set so that they can be overriden as needed by SoC/board specific code. Signed-off-by: Tom Rini --- drivers/usb/host/ehci-hcd.c | 10 +++--- 1 file changed, 7 insertions(+)

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-17 Thread Tom Rini
On Fri, Apr 17, 2015 at 09:39:50PM +0200, Hans de Goede wrote: > Hi, > > On 17-04-15 21:28, Hans de Goede wrote: > >Hi, > > > >On 17-04-15 19:53, Tom Rini wrote: > >>On Fri, Apr 17, 2015 at 10:54:21AM -0600, Simon Glass wrote: > >>>Hi Tom, > >>> > >>>On 17 April 2015 at 10:46, Tom Rini wrote: > >

Re: [U-Boot] [PATCH RESEND 1/3] driver/ddr/altera: Add DDR driver for Altera's SDRAM controller

2015-04-17 Thread Pavel Machek
Hi! > >> +#define \ > >> +SDR_CTRLGRP_MPTHRESHOLDRST_0_THRESHOLDRSTCYCLES_31_0_LSB 0 > >> +#define \ > >> +SDR_CTRLGRP_MPTHRESHOLDRST_0_THRESHOLDRSTCYCLES_31_0_MASK \ > >> +0x > >> +/* Register template: sdr::ctrlgrp::mpthresholdrst::mpthresholdrst_1 > >> */ > >> +#define \ > >> +S

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-17 Thread Tom Rini
On Fri, Apr 17, 2015 at 09:39:50PM +0200, Hans de Goede wrote: > Hi, > > On 17-04-15 21:28, Hans de Goede wrote: > >Hi, > > > >On 17-04-15 19:53, Tom Rini wrote: > >>On Fri, Apr 17, 2015 at 10:54:21AM -0600, Simon Glass wrote: > >>>Hi Tom, > >>> > >>>On 17 April 2015 at 10:46, Tom Rini wrote: > >

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-17 Thread Simon Glass
Hi Tom, On 17 April 2015 at 15:13, Tom Rini wrote: > > On Fri, Apr 17, 2015 at 09:39:50PM +0200, Hans de Goede wrote: > > Hi, > > > > On 17-04-15 21:28, Hans de Goede wrote: > > >Hi, > > > > > >On 17-04-15 19:53, Tom Rini wrote: > > >>On Fri, Apr 17, 2015 at 10:54:21AM -0600, Simon Glass wrote: >

Re: [U-Boot] [PATCH] dm: usb: Make usb_lowlevel_init set the default ops pointer

2015-04-17 Thread Simon Glass
Hi Tom, On 17 April 2015 at 14:31, Tom Rini wrote: > In order to switch to a set of function pointers for certain operations > we need to ensure that the defaults are first set so that they can be > overriden as needed by SoC/board specific code. > > Signed-off-by: Tom Rini > --- > drivers/usb/

Re: [U-Boot] [PATCH] dm: usb: Make usb_lowlevel_init set the default ops pointer

2015-04-17 Thread Tom Rini
On Fri, Apr 17, 2015 at 03:28:30PM -0600, Simon Glass wrote: > Hi Tom, > > On 17 April 2015 at 14:31, Tom Rini wrote: > > In order to switch to a set of function pointers for certain operations > > we need to ensure that the defaults are first set so that they can be > > overriden as needed by So

Re: [U-Boot] [PATCH] dm: usb: Make usb_lowlevel_init set the default ops pointer

2015-04-17 Thread Simon Glass
Hi Tom. On 17 April 2015 at 16:02, Tom Rini wrote: > On Fri, Apr 17, 2015 at 03:28:30PM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 17 April 2015 at 14:31, Tom Rini wrote: >> > In order to switch to a set of function pointers for certain operations >> > we need to ensure that the defaults are

Re: [U-Boot] [PATCH] dm: usb: Make usb_lowlevel_init set the default ops pointer

2015-04-17 Thread Tom Rini
On Fri, Apr 17, 2015 at 04:38:19PM -0600, Simon Glass wrote: > Hi Tom. > > On 17 April 2015 at 16:02, Tom Rini wrote: > > On Fri, Apr 17, 2015 at 03:28:30PM -0600, Simon Glass wrote: > >> Hi Tom, > >> > >> On 17 April 2015 at 14:31, Tom Rini wrote: > >> > In order to switch to a set of function

Re: [U-Boot] [PATCH] dm: usb: Make usb_lowlevel_init set the default ops pointer

2015-04-17 Thread Simon Glass
Hi Tom, On 17 April 2015 at 16:43, Tom Rini wrote: > On Fri, Apr 17, 2015 at 04:38:19PM -0600, Simon Glass wrote: >> Hi Tom. >> >> On 17 April 2015 at 16:02, Tom Rini wrote: >> > On Fri, Apr 17, 2015 at 03:28:30PM -0600, Simon Glass wrote: >> >> Hi Tom, >> >> >> >> On 17 April 2015 at 14:31, Tom

Re: [U-Boot] Clock tree in U-Boot

2015-04-17 Thread Simon Glass
Hi Eric, On 17 April 2015 at 10:12, Eric Nelson wrote: > Hi all, > > Heiko's recent patch set [1] to control the LDB clock on i.MX5/6 boards > makes it painfully obvious that some semblance of clock tree is needed, > even if it starts off as a shell. > > We currently have routines declared in [2]

Re: [U-Boot] [PATCH 01/10] Move board_init_f_mem() into a common location

2015-04-17 Thread Simon Glass
Hi Masahiro, On 17 April 2015 at 10:37, Masahiro Yamada wrote: > Hi Simon, > > > 2015-04-16 10:14 GMT+09:00 Simon Glass : >> This function will be used by both SPL and U-Boot proper. So move it into >> a common place. >> >> Signed-off-by: Simon Glass >> --- >> >> Makefile | 1

Re: [U-Boot] [PATCH 01/10] Move board_init_f_mem() into a common location

2015-04-17 Thread Simon Glass
Hi Jeroen, On 16 April 2015 at 03:32, Jeroen Hofstee wrote: > Hello Simon, > > On 16-04-15 03:14, Simon Glass wrote: >> >> + >> +DECLARE_GLOBAL_DATA_PTR; >> + >> +ulong board_init_f_mem(ulong top) >> +{ >> + /* TODO(s...@chromium.org): Figure out how x86 can use this */ >> +#ifndef CONFIG_X

Re: [U-Boot] [PATCH] dm: usb: Make usb_lowlevel_init set the default ops pointer

2015-04-17 Thread Tom Rini
On Fri, Apr 17, 2015 at 04:45:18PM -0600, Simon Glass wrote: > Hi Tom, > > On 17 April 2015 at 16:43, Tom Rini wrote: > > On Fri, Apr 17, 2015 at 04:38:19PM -0600, Simon Glass wrote: > >> Hi Tom. > >> > >> On 17 April 2015 at 16:02, Tom Rini wrote: > >> > On Fri, Apr 17, 2015 at 03:28:30PM -0600

[U-Boot] [PATCH] powerpc/mpc85xx: Don't deref NULL if qman portal lacks cell-index

2015-04-17 Thread Scott Wood
Signed-off-by: Scott Wood Cc: Madalin-Cristian Bucur --- arch/powerpc/cpu/mpc85xx/portals.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/portals.c b/arch/powerpc/cpu/mpc85xx/portals.c index ec3b292..3777c6f 100644 --- a/arch/powerpc/cpu/m

Re: [U-Boot] [PATCH v3] usb_storage : scan all interfaces to find a storage device

2015-04-17 Thread Franck Jullien
Hi Simon, 2015-04-17 18:33 GMT+02:00 Simon Glass : > +Tom > > Hi Franck, > > On 4 March 2015 at 13:07, wrote: >> From: Franck Jullien >> >> Mass storage is not necessary present on interface 0. This >> patch allow usb_stor_scan to look in every available interface. >> >> Signed-off-by: Franck J