Re: [U-Boot] [PATCH v2 00/51] x86: Add support for samus

2016-03-14 Thread Bin Meng
Hi Simon, On Sat, Mar 12, 2016 at 1:06 PM, Simon Glass wrote: > This series adds support for samus, the Chromebook Pixel 2015. Since it is > only the second board added that does not use an FSP, there is quite a bit > of refactoring involved to avoid code duplication. > > Samus uses roughly the s

Re: [U-Boot] [PATCH 3/3] armv8/ls1043a: move CONFIG_MTD to defconfig

2016-03-14 Thread Qianyu Gong
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Saturday, March 12, 2016 1:37 AM > To: Qianyu Gong > Cc: york sun ; Mingkai Hu ; u- > b...@lists.denx.de > Subject: Re: [U-Boot] [PATCH 3/3] armv8/ls1043a: move CONFIG_MTD to > defconfig > > On Ma

Re: [U-Boot] Olimex-A20-EVB ethernet stops working with latest U-boot, works with tag v2016.01

2016-03-14 Thread Hans de Goede
Hi, On 13-03-16 12:14, Karsten Merker wrote: On Wed, Mar 09, 2016 at 02:39:11PM -0700, Simon Glass wrote: On 9 March 2016 at 14:04, Karsten Merker wrote: [Olimex A20-SOM-EVB: ethernet non-functional with current u-boot git head, but no problems with v2016.01] [...] I a

Re: [U-Boot] BayTrail I2C support

2016-03-14 Thread Bin Meng
Hi Stefan, On Sun, Mar 13, 2016 at 10:52 AM, Simon Glass wrote: > Hi Stefan, > > On 11 March 2016 at 10:33, Stefan Roese wrote: >> Hi Simon, Hi Bin, >> >> could you please let me know, what the status of I2C support for >> BayTrail in U-Boot is? Is this driver generic enough to handle >> BayTrai

[U-Boot] [PATCH 2/2] armv8/ls1043aqds: use configuarable clock for non-QSPI boot

2016-03-14 Thread Gong Qianyu
For QSPI boot and SD boot with QSPI, we could only read from FPGA through I2C to get the system clock and DDR clock info. However in U-Boot booting flow, I2C is not initialized when get_clocks() is called and thus it couldn't get correct value of the clocks. So the configuarable clock is only suppo

[U-Boot] [PATCH 1/2] armv8/ls1043aqds: fix print info for QSPI boot

2016-03-14 Thread Gong Qianyu
according to the Reference manual. Signed-off-by: Gong Qianyu --- board/freescale/ls1043aqds/ls1043aqds.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/board/freescale/ls1043aqds/ls1043aqds.c b/board/freescale/ls1043aqds/ls1043aqds.c index a72fe52..bd73e4f 100644 -

[U-Boot] [PATCH 1/2] armv8/ls1043aqds: fix to get boot device info from FPGA

2016-03-14 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- board/freescale/ls1043aqds/ls1043aqds.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/board/freescale/ls1043aqds/ls1043aqds.c b/board/freescale/ls1043aqds/ls1043aqds.c index a72fe52..bd73e4f 100644 --- a/board/freescale/ls1043aqds/ls10

Re: [U-Boot] [PATCH 1/2] armv8/ls1043aqds: fix print info for QSPI boot

2016-03-14 Thread Qianyu Gong
Please ignore this patch.. sent out for mistake:( > -Original Message- > From: Gong Qianyu [mailto:qianyu.g...@nxp.com] > Sent: Monday, March 14, 2016 5:57 PM > To: u-boot@lists.denx.de; york sun ; Mingkai Hu > > Cc: o...@buserror.net; Qianyu Gong > Subject: [PATCH 1/2] armv8/ls1043aqds:

[U-Boot] [PATCH v3 2/4] usb: Remove 200 ms delay in usb_hub_port_connect_change()

2016-03-14 Thread Stefan Roese
This patch removes 2 mdelay(200) calls from usb_hub_port_connect_change(). These delays don't seem to be necessary. At least not in my tests. Here the number for a custom x86 Bay Trail board (not in mainline yet) with a quite large and complex USB hub infrastructure. Without this patch: starting U

[U-Boot] [PATCH v3 1/4] usb: legacy_hub_port_reset(): Speedup hub reset handling

2016-03-14 Thread Stefan Roese
Start with a short USB hub reset delay of 20ms. This can be enough for some configurations. The 2nd delay at the of the loop is completely removed. Since the delay hasn't been long enough, a longer delay time of 200ms is assigned. And will be used in the next loop round. This hub reset handling i

[U-Boot] [PATCH v3 0/4] usb: Reduce USB scanning time

2016-03-14 Thread Stefan Roese
My current x86 platform (Bay Trail, not in mainline yet) has a quite complex USB infrastructure with many USB hubs. Here the USB scan takes an incredible huge amount of time: starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 9 USB Device(s) found time: 28.415 seconds This is o

[U-Boot] [PATCH v3 4/4] usb: Change power-on / scanning timeout handling

2016-03-14 Thread Stefan Roese
This patch changes the USB port scanning procedure and timeout handling in the following ways: a) The power-on delay in usb_hub_power_on() is now reduced to a value of max(100ms, "hub->desc.bPwrOn2PwrGood * 2"). The code does not wait using mdelay in this usb_hub_power_on() will wait before queryi

[U-Boot] [PATCH v3 3/4] usb: Don't reset the USB hub a 2nd time

2016-03-14 Thread Stefan Roese
Debugging has shown, that all USB hubs are being resetted twice while USB scanning. This introduces additional delays and makes USB scanning even more slow. Testing has shown that this 2nd USB hub reset doesn't seem to be necessary. This patch now removes this 2nd USB hub reset. Resulting in faste

[U-Boot] fdt problem

2016-03-14 Thread Safa Hamza
i'm trying to run xen on omap5 ..but i get a problem while doing this libfdt fdt_setprop(): FDT_ERR_NOSPACE ** U-Boot# setenv dtb_addr_r 0x825f U-Boot# setenv xen_addr_r 0x9000 U-Boot# setenv kernel_ad

[U-Boot] [PATCH] drivers: net: vsc9953: Do not configure disabled ports

2016-03-14 Thread Codrin Ciubotariu
Some SerDes protocols might not enable all l2switch ports. In this case, these ports should not be configured to perform Rx/Tx operations. This also fixes an issue when flooded frames were also switched to disabled ports and frames start to accumulate, consuming memory and eventually causing head-o

Re: [U-Boot] [PATCH] ti: k2g: increase phy autoneg timeout

2016-03-14 Thread Vitaly Andrianov
On 03/11/2016 12:14 PM, Tom Rini wrote: On Fri, Mar 11, 2016 at 08:23:04AM -0500, Vitaly Andrianov wrote: After power cycle of a K2G EVM dhcp fails due to a auto-negotiation timeout. This commit increases the timeout to fix the issue. Signed-off-by: Vitaly Andrianov --- board/ti/ks2_evm/bo

Re: [U-Boot] [PATCH] ti: k2g: increase phy autoneg timeout

2016-03-14 Thread Tom Rini
On Mon, Mar 14, 2016 at 08:19:56AM -0400, Vitaly Andrianov wrote: > On 03/11/2016 12:14 PM, Tom Rini wrote: > >On Fri, Mar 11, 2016 at 08:23:04AM -0500, Vitaly Andrianov wrote: > > > >>After power cycle of a K2G EVM dhcp fails due to a auto-negotiation > >>timeout. This commit increases the timeout

[U-Boot] [PATCH] powerpc: t1040qds: Use generic ethsw commands

2016-03-14 Thread Codrin Ciubotariu
The commands for the VSC9953 l2 switch from T1040 became generic in patch https://patchwork.ozlabs.org/patch/499748/ and the define was renamed. Signed-off-by: Codrin Ciubotariu --- include/configs/T1040QDS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/T10

Re: [U-Boot] BayTrail I2C support

2016-03-14 Thread Stefan Roese
Hi Bin, On 14.03.2016 09:56, Bin Meng wrote: On Sun, Mar 13, 2016 at 10:52 AM, Simon Glass wrote: Hi Stefan, On 11 March 2016 at 10:33, Stefan Roese wrote: Hi Simon, Hi Bin, could you please let me know, what the status of I2C support for BayTrail in U-Boot is? Is this driver generic enoug

Re: [U-Boot] [PATCH] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.

2016-03-14 Thread Daniel Schwierzeck
2016-03-10 14:12 GMT+01:00 Purna Chandra Mandal : > PIC32 embedded flash banks are memory mapped, directly read by CPU, > and programming (erase followed by write) operation on them are > handled by on-chip NVM controller. > > Signed-off-by: Purna Chandra Mandal > > --- > > drivers/mtd/Kconfig

Re: [U-Boot] [PATCH v3 4/4] usb: Change power-on / scanning timeout handling

2016-03-14 Thread Hans de Goede
Hi, On 14-03-16 11:18, Stefan Roese wrote: This patch changes the USB port scanning procedure and timeout handling in the following ways: a) The power-on delay in usb_hub_power_on() is now reduced to a value of max(100ms, "hub->desc.bPwrOn2PwrGood * 2"). The code does not wait using mdelay in t

Re: [U-Boot] [PATCH v3 4/4] usb: Change power-on / scanning timeout handling

2016-03-14 Thread Stefan Roese
Hi Hans, On 14.03.2016 13:45, Hans de Goede wrote: On 14-03-16 11:18, Stefan Roese wrote: This patch changes the USB port scanning procedure and timeout handling in the following ways: a) The power-on delay in usb_hub_power_on() is now reduced to a value of max(100ms, "hub->desc.bPwrOn2PwrGood

Re: [U-Boot] [PATCH] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.

2016-03-14 Thread Purna Chandra Mandal
On 03/14/2016 06:13 PM, Daniel Schwierzeck wrote: > 2016-03-10 14:12 GMT+01:00 Purna Chandra Mandal : >> PIC32 embedded flash banks are memory mapped, directly read by CPU, >> and programming (erase followed by write) operation on them are >> handled by on-chip NVM controller. >> >> Signed-off-by:

Re: [U-Boot] Olimex-A20-EVB ethernet stops working with latest U-boot, works with tag v2016.01

2016-03-14 Thread Ing. Damiano Bolla
Just to say that I am back on this board now and can test a new U-Boot version, when available Thanks you all In data 14 marzo 2016 alle ore 08:46:18, Hans de Goede ha scritto: Hi, On 13-03-16 12:14, Karsten Merker wrote: On Wed, Mar 09, 2016 at 02:39:11PM -0700, Simon Glass wrote: On 9

Re: [U-Boot] [PATCH] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.

2016-03-14 Thread Jagan Teki
On Monday 14 March 2016 07:00 PM, Purna Chandra Mandal wrote: On 03/14/2016 06:13 PM, Daniel Schwierzeck wrote: 2016-03-10 14:12 GMT+01:00 Purna Chandra Mandal : PIC32 embedded flash banks are memory mapped, directly read by CPU, and programming (erase followed by write) operation on them are

Re: [U-Boot] [PATCH] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.

2016-03-14 Thread Purna Chandra Mandal
Jagan. On 03/14/2016 07:16 PM, Jagan Teki wrote: > On Monday 14 March 2016 07:00 PM, Purna Chandra Mandal wrote: >> On 03/14/2016 06:13 PM, Daniel Schwierzeck wrote: >>> 2016-03-10 14:12 GMT+01:00 Purna Chandra Mandal >>> : PIC32 embedded flash banks are memory mapped, directly read by CPU,

Re: [U-Boot] [PATCH v2 5/9] Drop command-processing code when CONFIG_CMDLINE is disabled

2016-03-14 Thread Tom Rini
On Sun, Mar 13, 2016 at 07:07:31PM -0600, Simon Glass wrote: > Command parsing and processing code is not needed when the command line is > disabled. Remove this code in that case. > > Signed-off-by: Simon Glass [snip] > @@ -102,7 +104,11 @@ int run_command_list(const char *cmd, int len, int fla

Re: [U-Boot] [PATCH v2 6/9] Panic when no command line processing can be performed

2016-03-14 Thread Tom Rini
On Sun, Mar 13, 2016 at 07:07:32PM -0600, Simon Glass wrote: > Normally board_run_command() will handle command processed. But if for some > reason it returns then we should panic to avoid further processing. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Descrip

[U-Boot] [ANN] U-Boot v2016.03 released

2016-03-14 Thread Tom Rini
Hey all, So we've come to the first release in our two month rather than three month release cycle. I think things are going well so far, at least in part since it feels easier to say "it's too late in the release now, I'll pick this up soon" for things that I hoped to get in, but weren't quite r

Re: [U-Boot] [PATCH v2] serial: pl01x: Add support for devices with the rate pre-configured.

2016-03-14 Thread Tom Rini
On Sun, Mar 13, 2016 at 06:16:54PM -0700, Eric Anholt wrote: > For Raspberry Pi, we had the input clock rate to the pl011 fixed in > the rpi.c file, but it may be changed by firmware due to user changes > to config.txt. Since the firmware always sets up the uart (default > 115200 output unless th

Re: [U-Boot] [ANN] U-Boot v2016.03 released

2016-03-14 Thread Wolfgang Denk
Dear Tom, In message <20160314152545.GD23166@bill-the-cat> you wrote: > > So we've come to the first release in our two month rather than three > month release cycle. I think things are going well so far, at least in > part since it feels easier to say "it's too late in the release now, > I'll p

Re: [U-Boot] [PATCH v2 2/3] buildman: Add a way to specific a full toolchain prefix

2016-03-14 Thread Stephen Warren
On 03/12/2016 06:50 PM, Simon Glass wrote: At present buildman allows you to specify the directory containing the toolchain, but not the actual toolchain prefix. If there are multiple toolchains in a single directory, this can be inconvenient. Add a new 'toolchain-prefix' setting to the settings

Re: [U-Boot] [PATCH v2 3/3] buildman: Clarify the use of -V

2016-03-14 Thread Stephen Warren
On 03/12/2016 06:50 PM, Simon Glass wrote: This option outputs to the log file, not to the terminal. Clarify that in the help, and add a mention of it in the README. Reviewed-by: Stephen Warren ___ U-Boot mailing list U-Boot@lists.denx.de http://list

Re: [U-Boot] [PATCH v3 2/4] usb: Remove 200 ms delay in usb_hub_port_connect_change()

2016-03-14 Thread Stephen Warren
On 03/14/2016 04:18 AM, Stefan Roese wrote: This patch removes 2 mdelay(200) calls from usb_hub_port_connect_change(). These delays don't seem to be necessary. At least not in my tests. Here the number for a custom x86 Bay Trail board (not in mainline yet) with a quite large and complex USB hub i

[U-Boot] [PATCH v6 1/3] spi: omap3: Move headers code inside the driver

2016-03-14 Thread Jagan Teki
Header file have macro's and register definition and some unneeded function proto types which becomes tunned further in future patches and entire driver code resides in one file for more readability. Cc: Tom Rini Cc: Simon Glass Signed-off-by: Jagan Teki [Fixes on code styles, Remove omap3_spi_

[U-Boot] [PATCH v6 2/3] spi: omap3: Make local functions as static

2016-03-14 Thread Jagan Teki
Attach static on local defined functions. Cc: Tom Rini Cc: Simon Glass Signed-off-by: Jagan Teki Signed-off-by: Christophe Ricard --- Changes for v6: - None. drivers/spi/omap3_spi.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/spi/omap3_spi.c b/dri

[U-Boot] [PATCH v6 3/3] spi: omap3: Convert to driver model

2016-03-14 Thread Jagan Teki
After this conversion the driver will able to support both dm and non-dm and code is more extensible like we can remove the non-dm part simply without touching anycode if all the boards which are using this driver become dm driven. Cc: Tom Rini Reviewed-by: Simon Glass Acked-by: Christophe Ricar

Re: [U-Boot] [PATCH v3 4/4] usb: Change power-on / scanning timeout handling

2016-03-14 Thread Stephen Warren
On 03/14/2016 04:18 AM, Stefan Roese wrote: This patch changes the USB port scanning procedure and timeout handling in the following ways: A few nits/typos in the description, and some review comments below. a) The power-on delay in usb_hub_power_on() is now reduced to a value of max(100ms, "

Re: [U-Boot] buildman: arm: undefined reference to `__aeabi_ldivmod'

2016-03-14 Thread Jagan Teki
Hi Simon, On 12 March 2016 at 06:02, Simon Glass wrote: > +Stephen > > Hi Jagan, > > On 11 March 2016 at 01:00, Jagan Teki wrote: >> >> Hi, >> >> Did anyone encounter this issue? please let me know for any inputs. >> >>arm: + venice2 >> +drivers/mtd/spi-nor/built-in.o: In function `sp

Re: [U-Boot] [PATCH v3 07/21] usb: ulpi: Fix viewport_addr type

2016-03-14 Thread Marek Vasut
On 03/13/2016 10:36 PM, Mateusz Kulikowski wrote: > viewport_addr is address of memory mapped ULPI viewport. > It is used only as argument to readl/writel later > causing compile warnings on 64-bit devices. > > This fix changes its type to match pointer size. > > Signed-off-by: Mateusz Kulikowski

Re: [U-Boot] [PATCH v2 25/32] dm: usb: Convert USB storage to use driver-model for block devs

2016-03-14 Thread Marek Vasut
On 03/13/2016 02:53 AM, Simon Glass wrote: > Hi Marek, > > On 29 February 2016 at 16:04, Marek Vasut wrote: >> On 02/29/2016 11:25 PM, Simon Glass wrote: >>> Update this code to support CONFIG_BLK. Each USB storage device can have >>> one or more block devices as children, each one representing a

Re: [U-Boot] [PATCH v3 05/21] usb: ulpi: Add Kconfig options for ULPI

2016-03-14 Thread Marek Vasut
On 03/13/2016 10:36 PM, Mateusz Kulikowski wrote: > The following options can be now enabled via defconfig: > - CONFIG_USB_ULPI > - CONFIG_USB_ULPI_VIEWPORT > - CONFIG_USB_ULPI_VIEWPORT_OMAP > > Signed-off-by: Mateusz Kulikowski > Reviewed-by: Simon Glass Acked-by: Marek Vasut Best regards, Ma

Re: [U-Boot] [PATCH v3 08/21] usb: ulpi: Fix compile warning in read/write on 64-bit machines.

2016-03-14 Thread Marek Vasut
On 03/13/2016 10:36 PM, Mateusz Kulikowski wrote: > ulpi_read and ulpi_write are used to read/write registers via ULPI bus. > Code generates compilation warnings on 64-bit machines where pointer > is cast to u32. > > This patch drops all but last 8 bits of register address. > It is possible, becau

Re: [U-Boot] [PATCH v3 09/21] eth: asix88179: Print packet length properly

2016-03-14 Thread Marek Vasut
On 03/13/2016 10:36 PM, Mateusz Kulikowski wrote: > Debug printf used '%u' to print size_t variable. > This caused warnings on 64-bit machines. > > Signed-off-by: Mateusz Kulikowski Acked-by: Marek Vasut Best regards, Marek Vasut ___ U-Boot mailing l

Re: [U-Boot] [U-BOOT.V2] usb: xhci: Fix vendor command error if the request

2016-03-14 Thread Marek Vasut
On 03/13/2016 10:53 AM, Anand Moon wrote: > Hi Marek Hi! > Sorry for late replay. > > On 6 March 2016 at 13:14, Marek Vasut wrote: >> On 03/05/2016 06:53 PM, Anand Moon wrote: >>> Hi Marek, >> >> Hi! >> >>> On 5 March 2016 at 18:00, Marek Vasut wrote: On 03/05/2016 09:43 AM, Anand Moon wr

Re: [U-Boot] [PATCH v3 4/4] usb: Change power-on / scanning timeout handling

2016-03-14 Thread Stephen Warren
On 03/14/2016 04:18 AM, Stefan Roese wrote: This patch changes the USB port scanning procedure and timeout handling in the following ways: >.. Tested-by: Stephen Warren (including some tests with a 7-port (i.e. 2 nested 4-port) USB hub maxed out with devices). _

Re: [U-Boot] [PATCH v2 25/32] dm: usb: Convert USB storage to use driver-model for block devs

2016-03-14 Thread Stephen Warren
On 02/29/2016 03:25 PM, Simon Glass wrote: Update this code to support CONFIG_BLK. Each USB storage device can have one or more block devices as children, each one representing a LUN (logical unit) of the USB device. Note that I accidentally tested some other patches in the wrong place today,

Re: [U-Boot] buildman: arm: undefined reference to `__aeabi_ldivmod'

2016-03-14 Thread Stephen Warren
On 03/14/2016 11:32 AM, Jagan Teki wrote: Hi Simon, On 12 March 2016 at 06:02, Simon Glass wrote: +Stephen Hi Jagan, On 11 March 2016 at 01:00, Jagan Teki wrote: Hi, Did anyone encounter this issue? please let me know for any inputs. arm: + venice2 +drivers/mtd/spi-nor/built-

Re: [U-Boot] [PATCH v3 4/4] usb: Change power-on / scanning timeout handling

2016-03-14 Thread Hans de Goede
Hi, On 14-03-16 18:31, Stephen Warren wrote: On 03/14/2016 04:18 AM, Stefan Roese wrote: @@ -120,7 +121,21 @@ static void usb_hub_power_on(struct usb_hub_device *hub) pgood_delay = max(pgood_delay, (unsigned)simple_strtol(env, NULL, 0)); debug("pgood_

[U-Boot] [PATCH 2/2] sunxi: Add defconfig and dts for the Polaroid MID2809PXE4 tablet

2016-03-14 Thread Hans de Goede
The Polaroid MID2809PXE4 is a 9" tablet which is clearly marked Polaroid MID2809PXE4 on the back. It features a 9" 16:9 800x480 LCD, A23 Soc, 1GB RAM, 8GB NAND, gsl3670 touchscreen and esp8089 wifi. The dts file is identical to the one submitted to the upstream kernel. Signed-off-by: Hans de Goed

Re: [U-Boot] [PATCH] fdt: Try to read #address-cells/size-cells from parent

2016-03-14 Thread Michal Simek
On 13.3.2016 02:54, Simon Glass wrote: > Hi Michal, > > On 16 February 2016 at 09:10, Michal Simek wrote: >> Hi Simon, >> >> On 16.2.2016 17:00, Simon Glass wrote: >>> Hi Michal, >>> >>> On 15 February 2016 at 02:58, Michal Simek wrote: Hi Simon, On 10.2.2016 13:04, Michal Simek w

Re: [U-Boot] [PATCH v3 0/6] Add LVDS support for rk3288

2016-03-14 Thread Anatolij Gustschin
Hi, On Mon, 14 Mar 2016 11:20:13 +0800 Jacob Chen jacob-c...@iotwrt.com wrote: > This series patches add LVDS support for rk3288. > > Changes in v3: > - Use fdtdec_get_int instead fdtdec_get_uint in rk_lvds_ofdata_to_platdata > > Changes in v2: > - Add binding file > - Add comments to struct rk

Re: [U-Boot] [PATCH 1/3] video: ipu: avoid overflow issue

2016-03-14 Thread Anatolij Gustschin
Hi, On Wed, 9 Mar 2016 16:07:21 +0800 Peng Fan van.free...@gmail.com wrote: > Multiplication, as "clk->parent->rate * 16" may overflow. So use > do_div to avoid such issue. > > Signed-off-by: Peng Fan > Signed-off-by: Sandor Yu > Cc: Anatolij Gustschin > Cc: Stefano Babic > Cc: Fabio Esteva

Re: [U-Boot] [PATCH 2/3] imx: mx6: correct IPU clock

2016-03-14 Thread Anatolij Gustschin
On Wed, 9 Mar 2016 16:07:22 +0800 Peng Fan van.free...@gmail.com wrote: > The CONFIG_IPUV3_CLK should be 26400, to i.MX6DL, it should be > 19800. > > Signed-off-by: Peng Fan > Signed-off-by: Sandor Yu > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: Peter Robinson > --- > include/conf

Re: [U-Boot] [PATCH 3/3] imx: mx6: hdmi: handle overflow condition

2016-03-14 Thread Anatolij Gustschin
On Wed, 9 Mar 2016 16:07:23 +0800 Peng Fan van.free...@gmail.com wrote: > If HDMI_IH_FC_STAT2_OVERFLOW_MASK is set, we need to > do TMDS software reset and write to clear fc_invidconf register. > We need minimum 3 times to write to clear the fc_invidconf > register, so choose 5 loops here. > > S

Re: [U-Boot] [PATCH 0/4] ARM: sheevaplug: misc fixes

2016-03-14 Thread Peter Korsgaard
> "Luka" == Luka Perkov writes: Hi, > On Sun, Jan 17, 2016 at 06:23:41PM +0100, Peter Korsgaard wrote: >> The following patch series fixes a number of issues I noticed while updating >> a sheevaplug from 2013.10 to 2016.01: >> >> Peter Korsgaard (4): >> ARM: sheevaplug: unbreak defaul

Re: [U-Boot] [PATCH 0/4] ARM: sheevaplug: misc fixes

2016-03-14 Thread Peter Korsgaard
> "Luka" == Luka Perkov writes: Hi, >> What happened to this? I don't see it 2016.03 or in >> http://git.denx.de/?p=u-boot/u-boot-marvell.git for that matter. > I think we lost these by accident when Stefan joined the team as well. > I'll send the pull request shortly. Thanks! -- Ve

Re: [U-Boot] [PATCH 0/4] ARM: sheevaplug: misc fixes

2016-03-14 Thread Luka Perkov
Hi Peter, On Mon, Mar 14, 2016 at 11:08:55PM +0100, Peter Korsgaard wrote: > > "Luka" == Luka Perkov writes: > > Hi, > > > On Sun, Jan 17, 2016 at 06:23:41PM +0100, Peter Korsgaard wrote: > >> The following patch series fixes a number of issues I noticed while > updating > >> a sheevapl

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

2016-03-14 Thread Luka Perkov
Hi Tom, please pull these missed patches from Peter for which I should have sent pull request a while back. The following changes since commit df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa: Prepare v2016.03 (2016-03-14 10:20:21 -0400) are available in the git repository at: git://git.denx.de/u-

[U-Boot] Please pull u-boot-dm

2016-03-14 Thread Simon Glass
Hi Tom, This includes driver-model support for block devices, refactoring of the partition code as well as some some fixes for serial, the debug UART, buildman and fdtgrep. The following changes since commit df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa: Prepare v2016.03 (2016-03-14 10:20:21 -0400)

Re: [U-Boot] [PATCH] fdt: Try to read #address-cells/size-cells from parent

2016-03-14 Thread David Gibson
On Mon, Mar 14, 2016 at 10:10:58PM +0100, Michal Simek wrote: > On 13.3.2016 02:54, Simon Glass wrote: > > Hi Michal, > > > > On 16 February 2016 at 09:10, Michal Simek wrote: > >> Hi Simon, > >> > >> On 16.2.2016 17:00, Simon Glass wrote: > >>> Hi Michal, > >>> > >>> On 15 February 2016 at 02:58

Re: [U-Boot] BayTrail I2C support

2016-03-14 Thread Bin Meng
Hi Stefan, On Mon, Mar 14, 2016 at 8:30 PM, Stefan Roese wrote: > Hi Bin, > > On 14.03.2016 09:56, Bin Meng wrote: >> >> On Sun, Mar 13, 2016 at 10:52 AM, Simon Glass wrote: >>> >>> Hi Stefan, >>> >>> On 11 March 2016 at 10:33, Stefan Roese wrote: Hi Simon, Hi Bin, could you

Re: [U-Boot] fdt problem

2016-03-14 Thread Peng Fan
Hi Safa, Cc Xen experts, Ian. On Mon, Mar 14, 2016 at 10:21:15AM +0100, Safa Hamza wrote: >i'm trying to run xen on omap5 ..but i get a problem while doing this >libfdt fdt_setprop(): FDT_ERR_NOSPACE > >** >U-

[U-Boot] [PATCH 1/2] dm: gpio: mxc: fix mxc_gpio_bank_get_value

2016-03-14 Thread Peng Fan
When configured a gpio to output direction, directly reading PSR register can not return the output value, since we did not set SION bit for gpio iomux. So, we can use data register to reflect what value is outputed. If not, "regulator status" always return disabled, even if already "regulator ena

[U-Boot] [PATCH 2/2] dm: gpio: mxc: implement xlate function

2016-03-14 Thread Peng Fan
To i.MX controller, we use such as "<&gpio1 3 GPIO_ACTIVE_LOW>" for a device to refer a gpio pin in device tree. So need to implement xlate function, to correctly handle gpio flags and offset. Signed-off-by: Peng Fan Cc: Simon Glass Cc: Stefano Babic Cc: Fabio Estevam --- drivers/gpio/mxc_gpi

Re: [U-Boot] [PATCH v6 1/3] spi: omap3: Move headers code inside the driver

2016-03-14 Thread Jagan Teki
On 14 March 2016 at 22:57, Jagan Teki wrote: > Header file have macro's and register definition and some unneeded > function proto types which becomes tunned further in future patches > and entire driver code resides in one file for more readability. > > Cc: Tom Rini > Cc: Simon Glass > Signed-o

Re: [U-Boot] [PATCH v6 2/3] spi: omap3: Make local functions as static

2016-03-14 Thread Jagan Teki
On 14 March 2016 at 22:58, Jagan Teki wrote: > Attach static on local defined functions. > > Cc: Tom Rini > Cc: Simon Glass > Signed-off-by: Jagan Teki > Signed-off-by: Christophe Ricard > --- > Changes for v6: > - None. Applied to u-boot-spi/master -- Jagan. ___

Re: [U-Boot] [PATCH v6 3/3] spi: omap3: Convert to driver model

2016-03-14 Thread Jagan Teki
On 14 March 2016 at 22:58, Jagan Teki wrote: > After this conversion the driver will able to support both dm and non-dm > and code is more extensible like we can remove the non-dm part simply > without touching anycode if all the boards which are using this driver > become dm driven. > > Cc: Tom R

[U-Boot] [PATCH 0/5] Add QSPI support for LS2080A

2016-03-14 Thread Yuan Yao
From: Yuan Yao There is the spansion S25FS-S family flash: s25fs256s1 on LS2080QDS QSPI. Haikun Wang (3): spi: fsl_qspi: Fix issues on arm64 spi: fsl_qspi: Assign AMBA mem according CS num in dts spi: fsl_qspi: Enable Spansion S25FS-S family flashes Yuan Yao (2): sf: Disable 4-KB erase

[U-Boot] [PATCH 0/5] Add QSPI support for LS2080A

2016-03-14 Thread Yuan Yao
From: Yuan Yao There is the spansion S25FS-S family flash: s25fs256s1 on LS2080QDS QSPI. Yuan Yao (5): spi: fsl_qspi: Fix issues on arm64 spi: fsl_qspi: Assign AMBA mem according CS num in dts spi: fsl_qspi: Enable Spansion S25FS-S family flashes sf: Disable 4-KB erase command for SPANSI

[U-Boot] [PATCH 4/5] sf: Disable 4-KB erase command for SPANSION S25FS-S family

2016-03-14 Thread Yuan Yao
From: Yuan Yao The S25FS-S family physical sectors may be configured as a hybrid combination of eight 4-kB parameter sectors at the top or bottom of the address space with all but one of the remaining sectors being uniform size. The default status of the flash is in this hybrid architecture. The

[U-Boot] [PATCH 5/5] armv8/ls1043a: update the node for QSPI support

2016-03-14 Thread Yuan Yao
From: Yuan Yao The address value and size value set for QSPI dts node "reg" property have type of u64 on arm64. Signed-off-by: Yuan Yao --- arch/arm/dts/fsl-ls1043a.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls

[U-Boot] [PATCH 2/5] spi: fsl_qspi: Assign AMBA mem according CS num in dts

2016-03-14 Thread Yuan Yao
From: Yuan Yao QSPI controller automatic enable the chipselect signal according the dest AMBA memory address. Now we distribute the AMBA memory zone averagely to every chipselect slave device according chipselect numbers got from dts node. Signed-off-by: Yuan Yao Signed-off-by: Prabhakar Kushwa

[U-Boot] [PATCH 3/5] spi: fsl_qspi: Enable Spansion S25FS-S family flashes

2016-03-14 Thread Yuan Yao
From: Yuan Yao The flash type of LS2085AQDS QSPI is S25FS256S. It has special write any device register command and read any device register command. This patch enable support for those commands. Signed-off-by: Yuan Yao Signed-off-by: Prabhakar Kushwaha Signed-off-by: Yuan Yao --- drivers/mt

[U-Boot] [PATCH 1/4] spi: fsl_qspi: Fix issues on arm64

2016-03-14 Thread Yuan Yao
From: Yuan Yao The address value and size value get from dts "reg" property have type of u64 on arm64. If we assign those values to "u32" variables, driver can't work correctly. Converting the type of those variables to fdt_xxx_t. Signed-off-by: Yuan Yao Signed-off-by: Prabhakar Kushwaha Signe