[U-Boot] [PATCH 02/12] mtd: dataflash: Remove unneeded spi data

2016-02-12 Thread Jagan Teki
dataflash doesn't require options, memory_map from spi. Cc: Bin Meng Cc: Simon Glass Cc: York Sun Cc: Haikun Wang Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/sf_dataflash.c | 6

[U-Boot] [PATCH 00/12] mtd: dataflash: Add UCLASS_MTD

2016-02-12 Thread Jagan Teki
These changes on top my previous spi-nor series[1], this series convert dataflash to MTD uclass. Testing: $ git clone git://git.denx.de/u-boot-spi.git $ cd u-boot-spi $ git checkout -b spi-nor origin/spi-nor [1] https://www.mail-archive.com/u-boot@lists.denx.de/msg203293.html Jagan Teki (12):

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-12 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, I tried mainline U-boot with your patches as well as socfpga branch. Still no success. There is no output on the console. Once again when I'm uploading old version of U-boot and preloader (from 2013) at least I can see the output on the console. What could be the next step? Best

Re: [U-Boot] [PATCHv7 2/2] sf: Turn SPI flash chip into 3-Byte address mode

2016-02-12 Thread Jagan Teki
Hi Hou Zhiqiang, On 29 January 2016 at 12:56, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > For more than 16MiB SPI flash chips, there are 3-Byte and 4-Byte address > mode, and only the 3-Byte address mode is supported in U-Boot so far. >

[U-Boot] [PATCH][v3] armv8/ls2080ardb: Enable VID support

2016-02-12 Thread Rai Harninder
This patch enable VID support for ls2080ardb platform. It uses the common VID driver Signed-off-by: Rai Harninder --- Changes in v3: - Call adjust_vdd() so that the voltage gets adjusted during u-boot boot up itself Changes in v2 - Use CONFIG_FSL_LSCH3 instead of

[U-Boot] [PATCH 01/12] mtd: spi-nor: Copy sf_dataflash

2016-02-12 Thread Jagan Teki
Copy sf_dataflash.c from drivers/mtd/spi to spi-nor, more changes will see on future patches. Cc: Bin Meng Cc: Simon Glass Cc: York Sun Cc: Haikun Wang Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH 04/12] mtd: dataflash: Fix add_dataflash return logic

2016-02-12 Thread Jagan Teki
This patch fixed the add_dataflash return logic, so-that it can handle both jedec and older chips same as Linux. Cc: Bin Meng Cc: Simon Glass Cc: York Sun Cc: Haikun Wang Signed-off-by: Jagan Teki

[U-Boot] [PATCH 05/12] mtd: dataflash: Add UCLASS_MTD support

2016-02-12 Thread Jagan Teki
This patch replace the dataflash driver from SPI_FLASH uclass to MTD UCLASS along with the support of mtd opertaions. Cc: Bin Meng Cc: Simon Glass Cc: York Sun Cc: Haikun Wang Signed-off-by: Jagan Teki

[U-Boot] [PATCH 03/12] mtd: dataflash: Move flash id detection into jedec_probe

2016-02-12 Thread Jagan Teki
Flash id detection should be the first step to enumerate the connected flash on the board, once ie done checking with respective id codes locally in the driver all this should be part of jedec_probe instead of id detection and validated through flash_info{} table separatly. Cc: Bin Meng

[U-Boot] [PATCH 08/12] mtd: dataflash: Minor cleanups

2016-02-12 Thread Jagan Teki
- rename spi_dataflash to mtd_dataflash - fix single line comments - remove unneeded spaces - ascending order of include files - rename spi_dataflash_* to dataflash_* - rename SPI DATAFLASH to dataflash - rename SPI DataFlash to dataflash - return NULL replaced with error code Cc: Bin Meng

[U-Boot] [PATCH 07/12] mtd: dataflash: Drop sf_internal.h

2016-02-12 Thread Jagan Teki
Drop using sf_internal.h and get the RDID from spi-nor.h Cc: Bin Meng Cc: Simon Glass Cc: York Sun Cc: Haikun Wang Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/sf_dataflash.c | 5

[U-Boot] [PATCH 09/12] mtd: Rename sf_dataflash.c to mtd_dataflash.c

2016-02-12 Thread Jagan Teki
Since dataflash driver is using mtd_info core functionalities this patch renames file and config name similar way as Linux. Cc: Bin Meng Cc: Simon Glass Cc: York Sun Cc: Haikun Wang Signed-off-by: Jagan Teki

[U-Boot] [PATCH 06/12] mtd: dataflash: Use spi_write_then_read

2016-02-12 Thread Jagan Teki
Use spi_write_then_read call from spi layer for dataflash write and then read calling. Cc: Bin Meng Cc: Simon Glass Cc: York Sun Cc: Haikun Wang Signed-off-by: Jagan Teki ---

Re: [U-Boot] [PATCH v3 5/6] drivers: dma: ti-edma3: convert driver to adopt driver model

2016-02-12 Thread Jagan Teki
On 27 January 2016 at 17:27, Mugunthan V N wrote: > adopt ti-edma3 driver to device driver model > > Signed-off-by: Mugunthan V N > Reviewed-by: Simon Glass > --- > drivers/dma/ti-edma3.c | 74 >

[U-Boot] [PATCH v3 2/3] gpio: do not include for UniPhier

2016-02-12 Thread Masahiro Yamada
I implemented a GPIO driver based on Driver Model for the UniPhier SoC family, but I could not find any good reason why such SoC specific GPIO headers are needed. Signed-off-by: Masahiro Yamada Acked-by: Simon Glass --- Changes in v3: None

[U-Boot] [PATCH v3 1/3] gpio: uniphier: add driver for UniPhier GPIO controller

2016-02-12 Thread Masahiro Yamada
This GPIO controller device is used on UniPhier SoCs. Signed-off-by: Masahiro Yamada Acked-by: Simon Glass --- Changes in v3: - one gpio bank per register Changes in v2: - Do not use "ngpio" property to specify the number of GPIO pins.

[U-Boot] [PATCH v3 0/3] UniPhier: add GPIO support

2016-02-12 Thread Masahiro Yamada
Changes in v3: - one gpio bank per register Changes in v2: - Do not use "ngpio" property to specify the number of GPIO pins. Instead, use .data field of OF match table. Masahiro Yamada (3): gpio: uniphier: add driver for UniPhier GPIO controller gpio: do not include for UniPhier

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2016-02-12 Thread Marek Vasut
On 02/12/2016 12:04 PM, Lukasz Majewski wrote: > The following changes since commit > 7aeb1465329a997f93d00adee21a13732b8e1006: > > usb: ehci: Be explicit about the BE IO accessors (2016-02-11 14:08:37 > +0100) > > are available in the git repository at: > >

[U-Boot] [PATCH] gpio: Add DM GPIO driver for Marvell MVEBU

2016-02-12 Thread Stefan Roese
This patch adds a DM GPIO driver for the Marvell MVEBU SoCs. There are other non-DM drivers that might be used on these platforms. But this patch creates a new DM driver. Which will be used by all Armada XP/38x boards. Other MVEBU SoC (Kirkwood / Orion) may follow once they support DM as well.

[U-Boot] [PATCH 3/3 v2] arm: mvebu: theadorable: Add StratixV FPGA programming support

2016-02-12 Thread Stefan Roese
This patch adds support for Altera StratixV bitstream programming. 2 FPGAs are connected to the SPI busses. This patch uses board specific write code to program the bitstream via SPI direct write mode. Signed-off-by: Stefan Roese Cc: Luka Perkov --- v2: -

[U-Boot] [GIT] Pull request: u-boot-dfu

2016-02-12 Thread Lukasz Majewski
The following changes since commit 7aeb1465329a997f93d00adee21a13732b8e1006: usb: ehci: Be explicit about the BE IO accessors (2016-02-11 14:08:37 +0100) are available in the git repository at: git://git.denx.de/u-boot-dfu.git for you to fetch changes up to

[U-Boot] [PATCH 1/3] arm: mvebu: Add some SPI CS attributes

2016-02-12 Thread Stefan Roese
These attribute defines may be used to map an area of memory for direct access to the specific SPI devices. See SPI Direct Access Mode for further information. Signed-off-by: Stefan Roese Cc: Luka Perkov --- arch/arm/mach-mvebu/include/mach/cpu.h | 3 +++

[U-Boot] [PATCH 2/3] arm: mvebu: spi.h: Add registers for direct write access

2016-02-12 Thread Stefan Roese
The direct write config register is needed for SPI direct write mode configuration. Signed-off-by: Stefan Roese Cc: Luka Perkov --- arch/arm/include/asm/arch-mvebu/spi.h | 3 +++ 1 file changed, 3 insertions(+) diff --git

[U-Boot] [PATCH v2 3/3] ARM: uniphier: add support for PH1-Pro4 Ace and Sanji boards

2016-02-12 Thread Masahiro Yamada
Initial commit for PH1-Pro4 Ace and Sanji boards. Note: There are two variants for the Ace board in terms of the amount of DDR memory; 1GB or 2GB. Signed-off-by: Masahiro Yamada --- Changes in v2: - newly added arch/arm/dts/Makefile| 2 +

[U-Boot] [PATCH v2 2/3] ARM: dts: uniphier: enable I2C channel 2 of ProXstream2 Gentil board

2016-02-12 Thread Masahiro Yamada
This is used for on-board inter-connection. Signed-off-by: Masahiro Yamada --- Changes in v2: None arch/arm/dts/uniphier-proxstream2-gentil.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/uniphier-proxstream2-gentil.dts

[U-Boot] [PATCH v2 1/3] ARM: dts: uniphier: add EEPROM node for ProXstream2 Gentil board

2016-02-12 Thread Masahiro Yamada
This board has an EEPROM connected to the I2C channel 0 of the SoC. Its slave address is 0x54. Signed-off-by: Masahiro Yamada --- Changes in v2: None arch/arm/dts/uniphier-proxstream2-gentil.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git

[U-Boot] [PATCH v2 0/3] UniPhier: add new boards and update existing DTS

2016-02-12 Thread Masahiro Yamada
Changes in v2: - newly added Masahiro Yamada (3): ARM: dts: uniphier: add EEPROM node for ProXstream2 Gentil board ARM: dts: uniphier: enable I2C channel 2 of ProXstream2 Gentil board ARM: uniphier: add support for PH1-Pro4 Ace and Sanji boards arch/arm/dts/Makefile

[U-Boot] [PATCH] fpga: altera: Add StratixV support

2016-02-12 Thread Stefan Roese
This patch adds support for programming of the StratixV FPGAs. Programming is done in this case (board theadorable) via SPI. The board may provide board specific code for bitstream programming. This StratixV support will be used by the theadorable board. Signed-off-by: Stefan Roese

[U-Boot] [PATCH 3/3] arm: mvebu: theadorable: Add StratixV FPGA programming support

2016-02-12 Thread Stefan Roese
This patch adds support for Altera StratixV bitstream programming. 2 FPGAs are connected to the SPI busses. This patch uses board specific write code to program the bitstream via SPI direct write mode. Signed-off-by: Stefan Roese Cc: Luka Perkov ---

Re: [U-Boot] [PATCH v3 5/6] drivers: dma: ti-edma3: convert driver to adopt driver model

2016-02-12 Thread Mugunthan V N
On Friday 12 February 2016 02:54 PM, Jagan Teki wrote: > On 27 January 2016 at 17:27, Mugunthan V N wrote: >> adopt ti-edma3 driver to device driver model >> >> Signed-off-by: Mugunthan V N >> Reviewed-by: Simon Glass >> --- >>

[U-Boot] [PATCH v3 3/3] ARM: uniphier: enable GPIO command and driver for UniPhier SoCs

2016-02-12 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada Acked-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/arm/Kconfig | 1 + configs/uniphier_ld4_sld8_defconfig | 2 ++ configs/uniphier_pro4_defconfig | 2 ++

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-12 Thread Marek Vasut
On 02/12/2016 09:44 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, Hi Denis, > I tried mainline U-boot with your patches as well as socfpga branch. > Still no success. Did you try the image I sent you ? That one is tested to work on AV SoCDK. > There is no output on the console.

[U-Boot] [PATCH] spi: kirkwood_spi: Add support for multiple chip-selects on MVEBU

2016-02-12 Thread Stefan Roese
Currently only chip-select 0 is supported by the kirkwood SPI driver. The Armada XP / 38x SoCs also use this driver and support multiple chip selects. This patch adds support for multiple CS on MVEBU. The register definitions are restructured a bit with this patch. Grouping them to the

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-12 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
> > I tried mainline U-boot with your patches as well as socfpga branch. > > Still no success. > > Did you try the image I sent you ? That one is tested to work on AV SoCDK. I tried it also. The same result. > > There is no output on the console. > > Once again when I'm uploading old version of

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-12 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, > > Press the "WARM RESET" button of the HPS (located top-right, if you have > > the board oriented with HPS ethernet on the top-left). Do you > > see any console output then ? You do use the top-right miniUSB port > > for console, right ? > > Currently board is integrated in RF unit.

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2016-02-12 Thread Lukasz Majewski
Hi Marek, > On 02/12/2016 12:04 PM, Lukasz Majewski wrote: > > The following changes since commit > > 7aeb1465329a997f93d00adee21a13732b8e1006: > > > > usb: ehci: Be explicit about the BE IO accessors (2016-02-11 > > 14:08:37 +0100) > > > > are available in the git repository at: > > > >

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-12 Thread Marek Vasut
On 02/12/2016 03:00 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, Hi Denis, >>> Press the "WARM RESET" button of the HPS (located top-right, if you have >>> the board oriented with HPS ethernet on the top-left). Do you >>> see any console output then ? You do use the top-right

Re: [U-Boot] [PATCH] mmc: show error message when "mmc dev" command fails

2016-02-12 Thread Masahiro Yamada
2016-02-11 1:27 GMT+09:00 Stephen Warren : > On 02/10/2016 05:46 AM, Masahiro Yamada wrote: >> >> Currently, "mmc dev" can silently fail. In case of failure, tell >> the user about it. > > > Does it make sense to print this error inside init_mmc_device() instead, so > that

Re: [U-Boot] [PATCH 01/12] mtd: spi-nor: Copy sf_dataflash

2016-02-12 Thread york sun
On 02/12/2016 12:36 AM, Jagan Teki wrote: > Copy sf_dataflash.c from drivers/mtd/spi to spi-nor, > more changes will see on future patches. > > Cc: Bin Meng > Cc: Simon Glass > Cc: York Sun > Cc: Haikun Wang >

Re: [U-Boot] [PATCH] x86: Clean up SPI flash drivers in defconfig

2016-02-12 Thread Simon Glass
Hi, On 6 February 2016 at 02:57, Jagan Teki wrote: > Hi Bin, > > On 6 February 2016 at 09:46, Bin Meng wrote: >> Hi Jagan, Simon, >> >> On Thu, Jan 21, 2016 at 1:53 PM, Bin Meng wrote: >>> Hi, >>> >>> On Tue, Dec 15, 2015 at 2:27 PM,

Re: [U-Boot] [PATCH] OMAP3SOM BOARD: Auto detect Logic PD Models

2016-02-12 Thread Tom Rini
On Thu, Feb 11, 2016 at 07:41:26PM -0600, Adam Ford wrote: > Logic PD makes four different system on modules. This patch will auto > detect the board type and identify the corresponding device tree image. > > Signed-off-by: Adam Ford Reviewed-by: Tom Rini

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

2016-02-12 Thread Tom Rini
On Thu, Feb 11, 2016 at 09:47:20PM +0100, Anatolij Gustschin wrote: > Hi Tom, > > The following changes since commit 94985cc9d3d7ed991ca8b2627d5894df5ea68f49: > > Merge branch 'master' of git://git.denx.de/u-boot-usb (2016-02-04 06:56:23 > -0500) > > are available in the git repository at:

Re: [U-Boot] [PATCH 19/26] mkimage: Support adding device tree files to a FIT

2016-02-12 Thread Simon Glass
Hi Tom, On 11 February 2016 at 09:36, Tom Rini wrote: > On Thu, Jan 28, 2016 at 09:39:39AM -0700, Simon Glass wrote: > >> To make the auto-FIT feature useful we need to be able to provide a list of >> device tree files on the command line for mkimage to add into the FIT. Add

Re: [U-Boot] Fwd: Patman use (was: [PATCHv2] common/memsize.c: Simplify RAM size detection)

2016-02-12 Thread Simon Glass
Hi Eddy, On 5 February 2016 at 10:03, Eddy Petrișor wrote: > (Sorry Albert for the dup, I accidentally sent the reply only to you.) > > > -- Forwarded message -- > From: Eddy Petrișor > Date: 2016-02-05 9:06 GMT+02:00 > Subject:

Re: [U-Boot] cramfs and eMMC support

2016-02-12 Thread Simon Glass
Hi, On 1 February 2016 at 11:00, Ken Sallings wrote: > I recently added support for cramfs to list and load files from eMMC rather > than only from NOR/NAND. It now emulates ext4load, fatload, etc... Is > there any interest in having this added to mainline? > Yes, I

Re: [U-Boot] exclude email by patman

2016-02-12 Thread Simon Glass
Hi, On 9 February 2016 at 11:56, Steve Rae wrote: > On Tue, Feb 9, 2016 at 10:08 AM, york sun wrote: > >> On 02/09/2016 09:13 AM, Tom Rini wrote: >> > On Tue, Feb 09, 2016 at 05:08:35PM +, york sun wrote: >> >> On 02/09/2016 12:00 AM, Wolfgang Denk

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2016-02-12 Thread Marek Vasut
On 02/12/2016 02:51 PM, Lukasz Majewski wrote: > Hi Marek, > >> On 02/12/2016 12:04 PM, Lukasz Majewski wrote: >>> The following changes since commit >>> 7aeb1465329a997f93d00adee21a13732b8e1006: >>> >>> usb: ehci: Be explicit about the BE IO accessors (2016-02-11 >>> 14:08:37 +0100) >>> >>>

Re: [U-Boot] exclude email by patman

2016-02-12 Thread york sun
On 02/12/2016 07:54 AM, Simon Glass wrote: > Hi, > > On 9 February 2016 at 11:56, Steve Rae wrote: >> On Tue, Feb 9, 2016 at 10:08 AM, york sun wrote: >> >>> On 02/09/2016 09:13 AM, Tom Rini wrote: On Tue, Feb 09, 2016 at 05:08:35PM +, york sun

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-12 Thread Marek Vasut
On 02/12/2016 04:39 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, Hi Denis, >> That's fine, just check if you did some modifications to the altera fork >> of u-boot. Especially interesting would be PLL/pinmux/DRAM config. > > I tried to launch altera branch from here: >

Re: [U-Boot] u-boot legacy/FIT/FIT+signature compatability

2016-02-12 Thread Simon Glass
Hi Troy, On 8 February 2016 at 08:46, Troy Benjegerdes wrote: > so I'm tracing through stuff on an am3517-evm board, and finding that with > a FIT image file that works without signature checking compiled in, when > I turn on sig checking, if it doesn't find a signature I just

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-12 Thread Simon Glass
Hi, On 8 February 2016 at 07:58, Marek Vasut wrote: > On Monday, February 08, 2016 at 09:41:09 AM, Hannes Schmelzer wrote: >> On 04.02.2016 12:28, Marek Vasut wrote: >> > On Thursday, February 04, 2016 at 09:21:08 AM, Schrempf Frieder wrote: >> >> On 03.02.2016 20:16, Sergei

Re: [U-Boot] [PATCH 19/26] mkimage: Support adding device tree files to a FIT

2016-02-12 Thread Tom Rini
On Fri, Feb 12, 2016 at 08:54:09AM -0700, Simon Glass wrote: > Hi Tom, > > On 11 February 2016 at 09:36, Tom Rini wrote: > > On Thu, Jan 28, 2016 at 09:39:39AM -0700, Simon Glass wrote: > > > >> To make the auto-FIT feature useful we need to be able to provide a list of > >>

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-12 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, > That's fine, just check if you did some modifications to the altera fork > of u-boot. Especially interesting would be PLL/pinmux/DRAM config. I tried to launch altera branch from here: https://github.com/altera-opensource/u-boot-socfpga. It didn't work out of the box as well. I will

Re: [U-Boot] trouble with patman

2016-02-12 Thread Simon Glass
Hi Hannes, On 11 February 2016 at 05:48, Hannes Schmelzer wrote: > hi, > > i created some commit which i want to post into the mailing list usind > patman.py. > > I get following error, where i've no idea about the root cause ... > > ~/work/u-boot $ tools/patman/patman.py

Re: [U-Boot] [PATCH] x86: Clean up SPI flash drivers in defconfig

2016-02-12 Thread Jagan Teki
Hi Simon, On 12 February 2016 at 21:24, Simon Glass wrote: > Hi, > > On 6 February 2016 at 02:57, Jagan Teki wrote: >> Hi Bin, >> >> On 6 February 2016 at 09:46, Bin Meng wrote: >>> Hi Jagan, Simon, >>> >>> On Thu, Jan 21, 2016 at 1:53

Re: [U-Boot] [PATCH 01/12] mtd: spi-nor: Copy sf_dataflash

2016-02-12 Thread Jagan Teki
Hi York, On 12 February 2016 at 22:25, york sun wrote: > On 02/12/2016 12:36 AM, Jagan Teki wrote: >> Copy sf_dataflash.c from drivers/mtd/spi to spi-nor, >> more changes will see on future patches. >> >> Cc: Bin Meng >> Cc: Simon Glass

Re: [U-Boot] [PATCH 01/12] mtd: spi-nor: Copy sf_dataflash

2016-02-12 Thread york sun
On 02/12/2016 09:51 AM, Jagan Teki wrote: > Hi York, > > On 12 February 2016 at 22:25, york sun wrote: >> On 02/12/2016 12:36 AM, Jagan Teki wrote: >>> Copy sf_dataflash.c from drivers/mtd/spi to spi-nor, >>> more changes will see on future patches. >>> >>> Cc: Bin Meng

Re: [U-Boot] [PATCH] x86: Clean up SPI flash drivers in defconfig

2016-02-12 Thread Simon Glass
Hi Jagan, On 12 February 2016 at 09:31, Jagan Teki wrote: > Hi Simon, > > On 12 February 2016 at 21:24, Simon Glass wrote: >> Hi, >> >> On 6 February 2016 at 02:57, Jagan Teki wrote: >>> Hi Bin, >>> >>> On 6 February 2016 at 09:46, Bin

Re: [U-Boot] [PATCH 01/12] mtd: spi-nor: Copy sf_dataflash

2016-02-12 Thread Simon Glass
Hi, On 12 February 2016 at 09:55, york sun wrote: > On 02/12/2016 12:36 AM, Jagan Teki wrote: >> Copy sf_dataflash.c from drivers/mtd/spi to spi-nor, >> more changes will see on future patches. >> >> Cc: Bin Meng >> Cc: Simon Glass >>

Re: [U-Boot] [PATCH] x86: Clean up SPI flash drivers in defconfig

2016-02-12 Thread Simon Glass
Hi Jagan, On 12 February 2016 at 09:31, Jagan Teki wrote: > Hi Simon, > > On 12 February 2016 at 21:24, Simon Glass wrote: >> Hi, >> >> On 6 February 2016 at 02:57, Jagan Teki wrote: >>> Hi Bin, >>> >>> On 6 February 2016 at 09:46, Bin

Re: [U-Boot] [PATCH 01/12] mtd: spi-nor: Copy sf_dataflash

2016-02-12 Thread Simon Glass
Hi, On 12 February 2016 at 09:55, york sun wrote: > On 02/12/2016 12:36 AM, Jagan Teki wrote: >> Copy sf_dataflash.c from drivers/mtd/spi to spi-nor, >> more changes will see on future patches. >> >> Cc: Bin Meng >> Cc: Simon Glass >>

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

2016-02-12 Thread Simon Glass
Hi, On 11 February 2016 at 17:07, Stephen Warren wrote: > On 02/11/2016 04:59 PM, Simon Glass wrote: >> >> +Stephen, Ted >> >> Hi, >> >> On 25 January 2016 at 15:21, Marek Vasut wrote: >>> >>> The following changes since commit >>>

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

2016-02-12 Thread Simon Glass
Hi Stephen, On 11 February 2016 at 17:45, Stephen Warren wrote: > On 02/11/2016 05:10 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 11 February 2016 at 16:21, Stephen Warren >> wrote: >>> >>> On 12/13/2015 08:46 PM, Simon Glass wrote:

[U-Boot] Pull request: nand flash

2016-02-12 Thread Scott Wood
The following changes since commit 9ef2835f26652092a61b0cb0551ef4f36be27946: Merge branch 'master' of git://git.denx.de/u-boot-video (2016-02-11 18:18:15 -0500) are available in the git repository at: git://git.denx.de/u-boot-nand-flash.git for you to fetch changes up to

Re: [U-Boot] [PATCH] usb: eth: fix memalign() parameter order

2016-02-12 Thread Joe Hershberger
On Fri, Feb 12, 2016 at 2:56 PM, Stephen Warren wrote: > From: Stephen Warren > > The alignment and size were swapped, leading to malloc heap corruption. > > On my system, this sometimes caused U-Boot to crash during or after > certain USB Ethernet

Re: [U-Boot] [PATCH] usb: eth: fix memalign() parameter order

2016-02-12 Thread Simon Glass
On 12 February 2016 at 13:57, Marek Vasut wrote: > On 02/12/2016 09:56 PM, Stephen Warren wrote: >> From: Stephen Warren >> >> The alignment and size were swapped, leading to malloc heap corruption. >> >> On my system, this sometimes caused U-Boot to crash

Re: [U-Boot] [PATCH] usb: eth: fix memalign() parameter order

2016-02-12 Thread Marek Vasut
On 02/12/2016 09:56 PM, Stephen Warren wrote: > From: Stephen Warren > > The alignment and size were swapped, leading to malloc heap corruption. > > On my system, this sometimes caused U-Boot to crash during or after > certain USB Ethernet operations. > > Fixes:

[U-Boot] [PATCH] usb: eth: fix memalign() parameter order

2016-02-12 Thread Stephen Warren
From: Stephen Warren The alignment and size were swapped, leading to malloc heap corruption. On my system, this sometimes caused U-Boot to crash during or after certain USB Ethernet operations. Fixes: c8c2797c3810 ("dm: usb: eth: Support driver model with USB Ethernet")

Re: [U-Boot] [PATCH] spi: kirkwood_spi: Add support for multiple chip-selects on MVEBU

2016-02-12 Thread Jagan Teki
Hi Stefan, On 12 February 2016 at 18:15, Stefan Roese wrote: > Currently only chip-select 0 is supported by the kirkwood SPI driver. > The Armada XP / 38x SoCs also use this driver and support multiple chip > selects. This patch adds support for multiple CS on MVEBU. > > The

[U-Boot] [PATCH] x86: fix memalign() parameter order

2016-02-12 Thread Stephen Warren
From: Stephen Warren Purely by code inspection, it looks like the parameter order to memalign() is swapped; its parameters are (align, size). 4096 is a likely desired alignment, and a variable named size sounds like a size:-) Fixes: 45b5a37836d5 ("x86: Add multi-processor

[U-Boot] [RFC PATCH v4 3/3] common: Fix load and entry addresses in FIT image

2016-02-12 Thread York Sun
FIT image supports more than 32 bits in addresses by using #address-cell field. However the address length is not handled when parsing FIT images. Signed-off-by: York Sun --- Changes in v4: Separate ulong to phys_addr_t change to another patch. Changes in v3: Define

[U-Boot] [RFC PATCH v4 1/3] sandbox: Fix compiling warning on 32-bit host

2016-02-12 Thread York Sun
Fix the following compiling warning on 32-bit host disk/part_efi.c: In function 'alloc_read_gpt_entries': disk/part_efi.c:894:2: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'long unsigned int' [-Wformat] disk/part_efi.c:907:4: warning: format '%zX' expects

Re: [U-Boot] [PATCH] x86: Clean up SPI flash drivers in defconfig

2016-02-12 Thread Jagan Teki
Hi Simon, On 13 February 2016 at 00:58, Simon Glass wrote: > Hi Jagan, > > On 12 February 2016 at 09:31, Jagan Teki wrote: >> Hi Simon, >> >> On 12 February 2016 at 21:24, Simon Glass wrote: >>> Hi, >>> >>> On 6 February 2016 at 02:57,

Re: [U-Boot] [PATCH] usb: eth: fix memalign() parameter order

2016-02-12 Thread Marek Vasut
On 02/12/2016 10:15 PM, Joe Hershberger wrote: > On Fri, Feb 12, 2016 at 2:56 PM, Stephen Warren wrote: >> From: Stephen Warren >> >> The alignment and size were swapped, leading to malloc heap corruption. >> >> On my system, this sometimes caused

Re: [U-Boot] [PATCH 07/10] mtd: nand: s3c: Add missing correction and select_chip functions

2016-02-12 Thread Scott Wood
On Thu, 2016-01-14 at 02:41 +0100, Marek Vasut wrote: > On Tuesday, October 28, 2014 at 11:45:08 PM, Scott Wood wrote: > > On Sat, 2014-10-11 at 18:42 +0200, Marek Vasut wrote: > > > + /* sometimes people do not think about using the ECC, so check > > > + * to see if we have an 0xff,0xff,0xff

Re: [U-Boot] [U-Boot, v3, 2/2] arasan: nfc: Add initial nand driver support for arasan

2016-02-12 Thread Scott Wood
On Tue, Nov 17, 2015 at 02:30:10PM +0530, Siva Durga Prasad Paladugu wrote: > Added initial nand driver support for arasan nand flash > controller.This supports nand erase,nand read, nand write > This uses the hardware ECC for read and write operations > ZynqMP uses this driver. > >