Re: [U-Boot] corrupted tags in git://git.denx.de/u-boot ?

2015-06-26 Thread Wolfgang Denk
Dear Tom, dear Igor, In message 20150625132731.GC28577@bill-the-cat you wrote: It seems that the check for termination with '\n' in tag headers started to be a requirement from git version 2.2.0? ... So apparently the tags LABEL_2006_03_12_0025, LABEL_2006_04_18_1106, and

Re: [U-Boot] [PATCH v3 4/4] arm: ls102xa: Enable Driver Model SPI for ls1021atwr

2015-06-26 Thread Jagan Teki
On 26 June 2015 at 08:43, Wang Haikun haikun.w...@freescale.com wrote: On 6/25/2015 9:24 PM, Jagan Teki wrote: On 19 June 2015 at 13:44, Jagan Teki jt...@openedev.com wrote: On 19 June 2015 at 13:20, Wang Haikun haikun.w...@freescale.com wrote: On 6/19/2015 3:34 PM, Jagan Teki wrote: On 18

Re: [U-Boot] [PATCH v3 4/4] arm: ls102xa: Enable Driver Model SPI for ls1021atwr

2015-06-26 Thread Wang Haikun
On 6/26/2015 2:43 PM, Jagan Teki wrote: On 26 June 2015 at 08:43, Wang Haikun haikun.w...@freescale.com wrote: On 6/25/2015 9:24 PM, Jagan Teki wrote: On 19 June 2015 at 13:44, Jagan Teki jt...@openedev.com wrote: On 19 June 2015 at 13:20, Wang Haikun haikun.w...@freescale.com wrote: On

Re: [U-Boot] [PATCHv4 0/3] drivers/ddr/altera: Add the DDR controller driver for SoCFPGA

2015-06-26 Thread Marek Vasut
On Wednesday, June 03, 2015 at 05:52:47 AM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Hi, This is v4 of the patch series that adds the DDR controller driver for Altera's SoCFPGA platform. v4: - Further cleanup by removing comments that do

[U-Boot] [PATCH v6 1/5] dm: sf: Add Atmel DataFlash spi flash driver

2015-06-26 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. Example: = sf probe 1:0 SPI DataFlash: Detected AT45DB021B with page size 264 Bytes,

[U-Boot] [PATCH v4 4/5] arm: ls102xa: Enable Driver Model SPI for ls1021atwr

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Enable Driver Model SPI for ls1021atwr board. DSPI and QSPI only be enabled when boot from QSPI. DSPI and QSPI are compatible under Driver Model SPI. Signed-off-by: Haikun Wang haikun.w...@freescale.com Change-Id:

Re: [U-Boot] dm-spi: spi_chip_select value

2015-06-26 Thread Simon Glass
Hi Jagan, On 23 June 2015 at 15:03, Jagan Teki jt...@openedev.com wrote: Hi Simon, I'm calling spi_chip_select(bus) from set_speed or claim_bus to get the cs value from sf probe. Seems like it returns the maximum number as 254, when I debug further seems like slave_platdata returns NULL

Re: [U-Boot] x86: ACPI support suggestion

2015-06-26 Thread Gabriel Huau
Hi Bin, On 06/23/2015 04:30 AM, Bin Meng wrote: Hi Gabriel, On Sat, Feb 7, 2015 at 11:07 PM, Gabriel Huau cont...@huau-gabriel.fr wrote: Hi Simon, On 02/06/2015 03:14 PM, Simon Glass wrote: Hi, On 6 February 2015 at 16:11, Gabriel Huau cont...@huau-gabriel.fr wrote: Hi Simon, On

[U-Boot] [PATCH v2] keystone2: config: update default mtd

2015-06-26 Thread Mike Scherban
Because it is possible for the MTD number to change, causing a filesystem mount failure, we should use the volume name instead of the MTD number and let Linux resolve the correct one. Signed-off-by: Mike Scherban m-scher...@ti.com --- Changes for v2: -Use volume name rather than number

Re: [U-Boot] [PATCH] drivers: usb: fsl: Remove LS102XA immap inclusion

2015-06-26 Thread Marek Vasut
On Wednesday, June 24, 2015 at 07:22:48 AM, Nikhil Badola wrote: Remove LS102XA immap header inclusion from xhci fsl driver. It removes redefinition warnings when built for platforms other than LS102XA Signed-off-by: Nikhil Badola nikhil.bad...@freescale.com Makes me wonder how well you

[U-Boot] Fwd: Re: sd card not working.

2015-06-26 Thread Alexy Gallardo Segura
hi Jaehoon Chung in the previous email I try to reduce search of error. This is the seriel output with enabled CONFIG_MMC_TRACE. U-Boot 2015.04-rc2 (Jun 26 2015 - 09:46:24) CPU:Exynos4412@1000MHz Model: Odroid based on Exynos4412 DRAM: 2 GiB Board PMIC init MMC: SAMSUNG SDHCI:

Re: [U-Boot] [PATCH] arm: imx: Switch Wandboard to use config_distro_bootcmd.h.

2015-06-26 Thread Nikolay Dimitrov
Hi XoD, On 06/26/2015 02:54 PM, XoD wrote: Hello, I have now tested upstream uboot-imx with OpenELEC with SPL suppport for wandbard. It's work great without your patch. but with your path, OpenELEC don't boot. The default uboot config assume than kernel file name is zImage. But OpenELEC use a

Re: [U-Boot] [PATCH 1/7] mtd: spi: Add the SPI_FLASH config to Kconfig

2015-06-26 Thread Tom Rini
On Mon, Jun 22, 2015 at 04:15:24PM -0500, Joe Hershberger wrote: This config needs to be available in the Kconfig to allow it to be removed from arch defaults. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] mmc: bcm2835_sdhci: Restore original delay behavior

2015-06-26 Thread Tom Rini
On Fri, Jun 19, 2015 at 11:39:41PM +0200, Marek Vasut wrote: Patch 33fe2fb8df01647f97a7bce96a1c7781a7f6d253 titled mmc: bcm283x: Remove get_timer_us() from mmc driver incorrectly replaced ad-hoc get_timer_us() function with a plain get_timer(). The get_timer() operates in mSec units instead

Re: [U-Boot] [PATCH 1/7] mtd: spi: Add the SPI_FLASH config to Kconfig

2015-06-26 Thread Jagan Teki
On 27 June 2015 at 02:34, Tom Rini tr...@konsulko.com wrote: On Mon, Jun 22, 2015 at 04:15:24PM -0500, Joe Hershberger wrote: This config needs to be available in the Kconfig to allow it to be removed from arch defaults. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Applied to

[U-Boot] [PATCH v3 05/16] spi: xilinx_spi: Driver clean-up

2015-06-26 Thread Jagan Teki
- Zap unneeded macros - Re-arrange the code - Removed __attribute__((weak)) - Replace __func__ macro with func names to save macro transition. - Re-arranged comment lines. - Arrange driver code in more readable format[1] [1] http://patchwork.ozlabs.org/patch/265683/ Signed-off-by: Jagan Teki

[U-Boot] [PATCH v3 09/16] dm: spi: zynq_spi: Convert to driver model

2015-06-26 Thread Jagan Teki
This converts the zynq spi driver to use the driver model. Minimal functional changes like using meaningful name on structure members wrt mainlined dm spi drivers. - input_hz - frequency - req_hz - freq - base - regs Signed-off-by: Jagan Teki jt...@openedev.com Acked-by: Simon Glass

[U-Boot] [PATCH v3 08/16] spi/sf: Minor cleanups

2015-06-26 Thread Jagan Teki
- Adjust tab spaces - Add comments Signed-off-by: Jagan Teki jt...@openedev.com --- drivers/mtd/spi/sf_internal.h | 18 +- include/spi.h | 2 +- include/spi_flash.h | 10 ++ 3 files changed, 16 insertions(+), 14 deletions(-) diff --git

[U-Boot] [PATCH v3 07/16] spi: davinci_spi: Driver cleanup

2015-06-26 Thread Jagan Teki
Arrange driver code in more readable format[1] for easy accessing and readable. [1] http://patchwork.ozlabs.org/patch/265683/ Signed-off-by: Jagan Teki jt...@openedev.com Cc: Rex Chang rch...@ti.com Cc: Murali Karicheri m-kariche...@ti.com --- drivers/spi/davinci_spi.c | 343

[U-Boot] [PATCH v3 06/16] spi: davinci_spi: Move header code to driver

2015-06-26 Thread Jagan Teki
Move the header code into driver for more readable and easy to access it. Signed-off-by: Jagan Teki jt...@openedev.com Cc: Rex Chang rch...@ti.com Cc: Murali Karicheri m-kariche...@ti.com --- drivers/spi/davinci_spi.c | 110 - drivers/spi/davinci_spi.h |

Re: [U-Boot] [PATCH] sf: update sst25wf040b flash params

2015-06-26 Thread Jagan Teki
On 26 June 2015 at 17:27, Haikun Wang haikun.w...@freescale.com wrote: From: Haikun Wang haikun.w...@freescale.com sst25wf040b doesn't support Auto Address Increment Programming command. Remove SST_WR flag. Signed-off-by: Haikun Wang b53...@freescale.com --- drivers/mtd/spi/sf_params.c |

Re: [U-Boot] [PATCH 4/7] arm: Make new baltos board not break on savedefconfig

2015-06-26 Thread Tom Rini
On Mon, Jun 22, 2015 at 04:15:27PM -0500, Joe Hershberger wrote: This config defined a CONS_INDEX as a config but did not define it in any Kconfig, so savedefconfig will delete that entry. Use CONFIG_SYS_EXTRA_OPTIONS for now until that is added to Kconfig. Signed-off-by: Joe Hershberger

Re: [U-Boot] Please pull u-boot-sunxi master (fixes for v2015.07)

2015-06-26 Thread Tom Rini
On Fri, Jun 26, 2015 at 12:13:51PM +0200, Hans de Goede wrote: Hi Tom, Please pull u-boot-sunxi/master into master for two bug-fixes, and one new board: The following changes since commit 325849ff3d4adeebb8f8f9bc5db950724df9bc21: Merge git://git.denx.de/u-boot-usb (2015-06-19

Re: [U-Boot] [PATCH 5/7] a3m071: Add needed dependency on LIB_RAND

2015-06-26 Thread Tom Rini
On Mon, Jun 22, 2015 at 04:15:28PM -0500, Joe Hershberger wrote: Boards using link-local need lib rand. When link-local is moved to Kconfig, this dependency will be described there. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH 7/7] Move defaults from config_cmd_default.h to Kconfig

2015-06-26 Thread Tom Rini
On Mon, Jun 22, 2015 at 04:15:30PM -0500, Joe Hershberger wrote: This sets the default commands Kconfig to match include/config_cmd_default.h commands in the common/Kconfig and removes them from include/configs. Signed-off-by: Joe Hershberger joe.hershber...@ni.com After updating

Re: [U-Boot] [PATCH 2/7] common: Fix comment for saveenv in Kconfig

2015-06-26 Thread Tom Rini
On Mon, Jun 22, 2015 at 04:15:25PM -0500, Joe Hershberger wrote: The help for this was simply copied from another command. Update it to reflect the command. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [PATCH 3/7] common: Add the CMD_ENV_EXISTS config to Kconfig

2015-06-26 Thread Tom Rini
On Mon, Jun 22, 2015 at 04:15:26PM -0500, Joe Hershberger wrote: This command needs to exist in the Kconfig so that it can be moved from the config_cmd_default.h. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [PATCH 6/7] Move default y configs out of arch/board Kconfig

2015-06-26 Thread Tom Rini
On Mon, Jun 22, 2015 at 04:15:29PM -0500, Joe Hershberger wrote: Some archs/boards specify their own default by pre-defining the config which causes the Kconfig system to mix up the order of the configs in the defconfigs... This will cause merge pain if allowed to proliferate. Remove the

Re: [U-Boot] [PATCH] arm: imx: Switch Wandboard to use config_distro_bootcmd.h.

2015-06-26 Thread XoD
Ok, great, I use a little the file extlinux with Fedora on Wandboard. Thank you for your detailed answer. Le vendredi 26 juin 2015, Nikolay Dimitrov picmas...@mail.bg a écrit : Hi XoD, On 06/26/2015 02:54 PM, XoD wrote: Hello, I have now tested upstream uboot-imx with OpenELEC with SPL

[U-Boot] [PATCH v3 02/16] spi: Zap ftssp010_spi driver

2015-06-26 Thread Jagan Teki
Zap ftssp010_spi driver since the boards used this driver is no longer been active. Signed-off-by: Jagan Teki jt...@openedev.com Cc: Kuo-Jung Su dant...@faraday-tech.com Cc: Axel Lin axel@ingics.com --- drivers/spi/Makefile | 1 - drivers/spi/ftssp010_spi.c | 498

[U-Boot] [PATCH v3 04/16] spi: xilinx_spi: Move header code to driver

2015-06-26 Thread Jagan Teki
Move the header code into driver for more readable and easy to access it. Signed-off-by: Jagan Teki jt...@openedev.com Acked-by: Michal Simek michal.si...@xilinx.com --- drivers/spi/xilinx_spi.c | 113 +- drivers/spi/xilinx_spi.h | 138

[U-Boot] [PATCH v3 03/16] spi: Zap oc_tiny_spi driver

2015-06-26 Thread Jagan Teki
Zap oc_tiny_spi driver since the boards used this driver is no longer been active. Signed-off-by: Jagan Teki jt...@openedev.com Cc: Thomas Chou tho...@wytron.com.tw --- drivers/spi/Makefile | 1 - drivers/spi/oc_tiny_spi.c | 245 -- 2 files

[U-Boot] [PATCH v3 01/16] spi: Zap andes_spi driver

2015-06-26 Thread Jagan Teki
Zap andes_spi driver since the boards used this driver is no longer been active. Signed-off-by: Jagan Teki jt...@openedev.com Cc: Macpaul Lin macp...@andestech.com --- drivers/spi/Makefile| 1 - drivers/spi/andes_spi.c | 284

Re: [U-Boot] dm-spi: spi_chip_select value

2015-06-26 Thread Jagan Teki
Hi Simon, On 26 June 2015 at 21:23, Simon Glass s...@chromium.org wrote: Hi Jagan, On 23 June 2015 at 15:03, Jagan Teki jt...@openedev.com wrote: Hi Simon, I'm calling spi_chip_select(bus) from set_speed or claim_bus to get the cs value from sf probe. Seems like it returns the maximum

[U-Boot] [PATCH v3 00/16] spi/sf: Cleansup and driver model

2015-06-26 Thread Jagan Teki
Few minor updates and tested on zynq board for driver model zynq_spi driver. Changes for v3: - Remove spi_chip_select() from probe and get cs from spi_xfer - Add spi1 in dts alias Changes for v2: - One change suggested from Simon to use dev_get_parent Jagan Teki (16):

[U-Boot] FEL mode broken since sunxi: Move all boards to the driver-model

2015-06-26 Thread Ian Campbell
Hi Hans, Sorry for only just noticing this, but it looks like FEL mode doesn't work on my cubietruck since this commit. I get the SPL output: U-Boot SPL 2015.04-00665-gb6006ba (Jun 26 2015 - 20:38:50) DRAM: 2048 MiB CPU: 91200Hz, AXI/AHB/APB: 3/2/2 But then nothing. Or have I missed some

[U-Boot] [PATCH v3 14/16] dm: spi: xilinx_spi: Convert to driver model

2015-06-26 Thread Jagan Teki
This converts the xilinx spi driver to use the driver model. Signed-off-by: Jagan Teki jt...@openedev.com Acked-by: Simon Glass s...@chromium.org Cc: Michal Simek michal.si...@xilinx.com --- drivers/spi/xilinx_spi.c | 211 +++ 1 file changed, 123

[U-Boot] [PATCH v3 12/16] spi: zynq_spi: Add fdt support in driver

2015-06-26 Thread Jagan Teki
Now zynq spi driver platform data is controlled by devicetree, enable the status by saying okay on respective board dts to use the devicetree generated platdata. Ex: spi1 { status = okay; }; Signed-off-by: Jagan Teki jt...@openedev.com Acked-by: Simon Glass s...@chromium.org Cc: Michal

[U-Boot] [PATCH v3 10/16] zynq: Kconfig: Enable dm spi and spi_flash

2015-06-26 Thread Jagan Teki
Enabled CONFIG_DM_SPI and CONFIG_DM_SPI_FLASH for zynq soc. Signed-off-by: Jagan Teki jt...@openedev.com Acked-by: Simon Glass s...@chromium.org Cc: Michal Simek michal.si...@xilinx.com Cc: Siva Durga Prasad Paladugu siva...@xilinx.com Tested-by: Jagan Teki jt...@openedev.com ---

[U-Boot] [PATCH v3 11/16] dts: zynq: Add zynq spi controller nodes

2015-06-26 Thread Jagan Teki
This patch adds zynq spi controller nodes in zynq-7000.dtsi. Signed-off-by: Jagan Teki jt...@openedev.com Acked-by: Simon Glass s...@chromium.org Cc: Michal Simek michal.si...@xilinx.com Cc: Siva Durga Prasad Paladugu siva...@xilinx.com Tested-by: Jagan Teki jt...@openedev.com ---

[U-Boot] [PATCH v3 13/16] dts: zynq: Enable spi1 for zc770_xm010 board

2015-06-26 Thread Jagan Teki
This patch enables spi1 for zynq zc770_xm010 board dts Signed-off-by: Jagan Teki jt...@openedev.com Tested-by: Jagan Teki jt...@openedev.com --- arch/arm/dts/zynq-zc770-xm010.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/zynq-zc770-xm010.dts

[U-Boot] [PATCH v3 16/16] spi: Kconfig: Add Zynq SPI controller entry

2015-06-26 Thread Jagan Teki
Add Zynq SPI controller Kconfig entry. Signed-off-by: Jagan Teki jt...@openedev.com Cc: Simon Glass s...@chromium.org Cc: Marek Vasut ma...@denx.de Cc: Michal Simek michal.si...@xilinx.com Cc: Siva Durga Prasad Paladugu siva...@xilinx.com --- drivers/spi/Kconfig | 8 1 file changed, 8

[U-Boot] [PATCH v3 15/16] spi: xilinx_spi: Add asm/io.h include file

2015-06-26 Thread Jagan Teki
This patch includes asm/io.h for readl and writel calls. build errors: drivers/spi/xilinx_spi.c: In function 'xilinx_spi_probe': drivers/spi/xilinx_spi.c:119:2: warning: implicit declaration of function 'writel' [-Wimplicit-function-declaration] drivers/spi/xilinx_spi.c: In function

Re: [U-Boot] [PATCH v3 00/16] spi/sf: Cleansup and driver model

2015-06-26 Thread Jagan Teki
On 27 June 2015 at 00:51, Jagan Teki jt...@openedev.com wrote: Few minor updates and tested on zynq board for driver model zynq_spi driver. Changes for v3: - Remove spi_chip_select() from probe and get cs from spi_xfer - Add spi1 in dts alias Changes for v2: - One

Re: [U-Boot] [PATCHv4 0/3] drivers/ddr/altera: Add the DDR controller driver for SoCFPGA

2015-06-26 Thread Marek Vasut
On Friday, June 26, 2015 at 06:43:13 PM, Marek Vasut wrote: On Wednesday, June 03, 2015 at 05:52:47 AM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Hi, This is v4 of the patch series that adds the DDR controller driver for Altera's

[U-Boot] Please pull u-boot-sunxi master (fixes for v2015.07)

2015-06-26 Thread Hans de Goede
Hi Tom, Please pull u-boot-sunxi/master into master for two bug-fixes, and one new board: The following changes since commit 325849ff3d4adeebb8f8f9bc5db950724df9bc21: Merge git://git.denx.de/u-boot-usb (2015-06-19 16:46:51 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH 0/5] sunxi: misc fixes and SinA33 support

2015-06-26 Thread Hans de Goede
Hi, On 23-06-15 13:57, Chen-Yu Tsai wrote: Hi, This series adds support for Sinlinx SinA33, an A33 devboard, while also fixing some things I encountered along the way. Patch 1 fixes build break when using PORT F UART0. (It seems no one uses it now that we have LCD support.) Patch 2 fixes the

[U-Boot] [PATCH] armv7: ls1021a: Enable OF_CONTROL and DM support for DSPI and QSPI in defconfig

2015-06-26 Thread Haikun Wang
DSPI and QSPI only work when boot from QSPI on ls1021a. This patch only enable options in qspi boot defconfig. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- configs/ls1021aqds_qspi_defconfig | 4 configs/ls1021atwr_qspi_defconfig | 4 2 files changed, 8 insertions(+) diff

Re: [U-Boot] dm-spi: spi_chip_select value

2015-06-26 Thread Simon Glass
Hi Jagan, On 26 June 2015 at 13:07, Jagan Teki jt...@openedev.com wrote: Hi Simon, On 26 June 2015 at 21:23, Simon Glass s...@chromium.org wrote: Hi Jagan, On 23 June 2015 at 15:03, Jagan Teki jt...@openedev.com wrote: Hi Simon, I'm calling spi_chip_select(bus) from set_speed or

Re: [U-Boot] [PATCH v3 19/25] rockchip: Add an MMC driver

2015-06-26 Thread Jaehoon Chung
Hi, Simon. On 06/24/2015 08:29 AM, Simon Glass wrote: Add an MMC driver which supports RK3288, but may also support other SoCs. It uses the Designware MMC device. I think good that use rockchip_dw_mmc instead of rockchip_mmc. How about? If you agree, need to change the function prefix from

Re: [U-Boot] [PATCH 0/2] sunxi: musb: Fix usb reset handling

2015-06-26 Thread Maxime Ripard
Hi, On Sun, Jun 14, 2015 at 12:40:11PM +0200, Hans de Goede wrote: Paul, can you test these with gadget mode? Specifically if they help the problem you were seeing when switching roles? Also this bit from the kernel code for the sunxi glue may be relevant to your problems: if

[U-Boot] [PATCH v2 2/5] dm: ls1021aqds: dts: Use spi_dataflash driver instead of spi_flash_std for DSPI flash

2015-06-26 Thread Haikun Wang
The type of DSPI flash on ls1021aqds is AT45DB021, it has specail commands and page-size. Use the special spi flash driver instead of spi_flash_std driver. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Changes in v2: - Add defconfig patch in this series arch/arm/dts/ls1021a-qds.dts |

[U-Boot] [PATCH] sf: update sst25wf040b flash params

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com sst25wf040b doesn't support Auto Address Increment Programming command. Remove SST_WR flag. Signed-off-by: Haikun Wang b53...@freescale.com --- drivers/mtd/spi/sf_params.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH 0/2] sunxi: musb: Fix usb reset handling

2015-06-26 Thread Hans de Goede
Hi, On 26-06-15 12:20, Maxime Ripard wrote: Hi, On Sun, Jun 14, 2015 at 12:40:11PM +0200, Hans de Goede wrote: Paul, can you test these with gadget mode? Specifically if they help the problem you were seeing when switching roles? Also this bit from the kernel code for the sunxi glue may be

Re: [U-Boot] [PATCH 0/2] sunxi: musb: Fix usb reset handling

2015-06-26 Thread Hans de Goede
Hi, On 26-06-15 12:20, Maxime Ripard wrote: Hi, On Sun, Jun 14, 2015 at 12:40:11PM +0200, Hans de Goede wrote: Paul, can you test these with gadget mode? Specifically if they help the problem you were seeing when switching roles? Also this bit from the kernel code for the sunxi glue may be

Re: [U-Boot] [PATCH 0/2] sunxi: musb: Fix usb reset handling

2015-06-26 Thread Maxime Ripard
On Fri, Jun 26, 2015 at 01:02:51PM +0200, Hans de Goede wrote: Hi, On 26-06-15 12:20, Maxime Ripard wrote: Hi, On Sun, Jun 14, 2015 at 12:40:11PM +0200, Hans de Goede wrote: Paul, can you test these with gadget mode? Specifically if they help the problem you were seeing when switching

[U-Boot] [PATCH v2 5/5] armv7: ls1021a: Enable OF_CONTROL and DM support for DSPI and QSPI in defconfig

2015-06-26 Thread Haikun Wang
DSPI and QSPI only work when boot from QSPI on ls1021a. This patch only enable options in qspi boot defconfig. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Changes in v2: - Add this defconfig patch to previous dataflash driver patches series Test log on LS1021AQDS: = sf probe 1:0 SPI

[U-Boot] [PATCH 1/2] armv8: ls2085aqds: DSPI pin muxing configure through QIXIS

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com DSPI has pin muxing with SDHC and other IPs, this patch check the value of RCW SPI_PCS_BASE and SPI_BASE_BASE fields, it also check the hwconfig configuration, if those pins are configured to DSPI and hwconfig enable DSPI, set the BRDCFG5 of QIXIS FPGA

[U-Boot] [PATCH 2/2] armv8: ls2085ardb: DSPI pin muxing configure through QIXIS CPLD

2015-06-26 Thread Haikun Wang
DSPI has pin muxing with SDHC and other IPs, this patch check the value of RCW SPI_PCS_BASE and SPI_BASE_BASE fields, it also check the hwconfig configuration, if those pins are configured to DSPI and hwconfig enable DSPI, set the BRDCFG5 of QIXIS CPLD to configure the SPI routing to on-board SPI

[U-Boot] [PATCH] fdt: armv8: Fix build warnings on armv8

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Fix below build warnings on armv8, drivers/spi/fsl_dspi.c: In function ‘fsl_dspi_ofdata_to_platdata’: drivers/spi/fsl_dspi.c:667:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘fdt_addr_t’ [-Wformat=]

Re: [U-Boot] [PATCH] arm: imx: Switch Wandboard to use config_distro_bootcmd.h.

2015-06-26 Thread XoD
Hello, I have now tested upstream uboot-imx with OpenELEC with SPL suppport for wandbard. It's work great without your patch. but with your path, OpenELEC don't boot. The default uboot config assume than kernel file name is zImage. But OpenELEC use a filename KERNEL. The actual version of

Re: [U-Boot] [PATCH v3 3/4] mv-common.h: Include support for device trees

2015-06-26 Thread Stefan Roese
Hi Luka, On 18.05.2015 18:09, Kevin Smith wrote: Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com Acked-by: Stefan Roese s...@denx.de --- include/configs/mv-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h index

[U-Boot] [PATCH 1/4][v2] config: lsch3: Define CONFIG_SYS_CACHELINE_SIZE for LS2085A

2015-06-26 Thread Nikhil Badola
Define CONFIG_SYS_CACHELINE_SIZE for LS2085A which is required by USB XHCI stack for alignment Signed-off-by: Nikhil Badola nikhil.bad...@freescale.com --- changes for v2 : None arch/arm/include/asm/arch-fsl-lsch3/config.h | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH v4 3/5] arm: ls102xa: Enable Driver Model SPI for ls1021aqds

2015-06-26 Thread Haikun Wang
Enable Driver Model SPI for ls1021aqds board. DSPI and QSPI is enabled only when boot from QSPI. DSPI and QSPI are compatible under Driver Model SPI. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Changes in v4: - Add defconfig patch in this series Changes in v3: - Remove

[U-Boot] [PATCH 06/12] fdt: armv8: Fix build warnings on armv8

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Fix below build warnings on armv8, drivers/spi/fsl_dspi.c: In function ‘fsl_dspi_ofdata_to_platdata’: drivers/spi/fsl_dspi.c:667:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘fdt_addr_t’ [-Wformat=]

[U-Boot] [PATCH v4] armv8: caches: Added routine to set non cacheable region

2015-06-26 Thread Siva Durga Prasad Paladugu
Added routine mmu_set_region_dcache_behaviour() to set a particular region as non cacheable. Define dummy routine for mmu_set_region_dcache_behaviour() to handle incase of dcache off. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Acked-by: Michal Simek michal.si...@xilinx.com ---

[U-Boot] [PATCH 2/4][v2] config: lsch3: Define USB XHCI controller base address for LS2085A

2015-06-26 Thread Nikhil Badola
Define base address of both usb xhci controllers in lsch3 config in the format (IMMR + offset) for LS2085A Signed-off-by: Nikhil Badola nikhil.bad...@freescale.com --- Changes for v2 : - Descriptive commit message arch/arm/include/asm/arch-fsl-lsch3/config.h | 3 +++ 1 file changed, 3

[U-Boot] [PATCH 4/4][v2] config: ls2085ardb: Add USB support for ls2085ardb

2015-06-26 Thread Nikhil Badola
Add USB XHCI support for ls2085rdb platform Signed-off-by: Nikhil Badola nikhil.bad...@freescale.com --- Changes for v2: None include/configs/ls2085ardb.h | 13 + 1 file changed, 13 insertions(+) diff --git a/include/configs/ls2085ardb.h b/include/configs/ls2085ardb.h index

[U-Boot] [PATCH 3/4][v2] config: ls2085aqds: Add USB support for ls2085aqds

2015-06-26 Thread Nikhil Badola
Add USB XHCI support for ls2085qds platform Signed-off-by: Nikhil Badola nikhil.bad...@freescale.com --- Changes for v2 : None include/configs/ls2085aqds.h | 13 + 1 file changed, 13 insertions(+) diff --git a/include/configs/ls2085aqds.h b/include/configs/ls2085aqds.h index

[U-Boot] [PATCH 05/12] armv8: ls2085a: Enable DSPI get input clk form 'mxc_get_clock'

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/cpu/armv8/fsl-lsch3/speed.c| 2 ++ arch/arm/include/asm/arch-fsl-lsch3/clock.h | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/arm/cpu/armv8/fsl-lsch3/speed.c

Re: [U-Boot] [PATCH] armv7: ls1021a: Enable OF_CONTROL and DM support for DSPI and QSPI in defconfig

2015-06-26 Thread Jagan Teki
On 26 June 2015 at 15:41, Haikun Wang haikun.w...@freescale.com wrote: DSPI and QSPI only work when boot from QSPI on ls1021a. This patch only enable options in qspi boot defconfig. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- configs/ls1021aqds_qspi_defconfig | 4

[U-Boot] [PATCH 1/3] dm: dts: ls2085a: Bring in ls2085a dts files from linux kernel

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Bring in required device tree files for ls2085a from Linux. These are initially unchanged and have a number of pieces not needed by U-Boot. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/dts/fsl-ls2085a.dtsi | 120

[U-Boot] [PATCH 2/3] dm: dts: ls2085a: Add DSPI dts node

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Add DSPI controller dts node in fsl-ls2085a.dtsi Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/dts/fsl-ls2085a.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/fsl-ls2085a.dtsi

[U-Boot] [PATCH 3/3] dm: dts: ls2085a: Add dts files for LS2085AQDS and LS2085ARDB

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Add dts source files for LS2085AQDS and LS2085ARDB boards. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/dts/Makefile| 2 ++ arch/arm/dts/fsl-ls2085a-qds.dts | 53

[U-Boot] [PATCH] armv8: ls2085a: Enable DSPI get input clk form 'mxc_get_clock'

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/cpu/armv8/fsl-lsch3/speed.c| 2 ++ arch/arm/include/asm/arch-fsl-lsch3/clock.h | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/arm/cpu/armv8/fsl-lsch3/speed.c