[U-Boot] [PATCH v5 1/4] drivers:usb:common:fsl-dt-fixup: Move device-tree fixup framework to common file

2016-03-22 Thread Sriram Dash
Move usb device-tree fixup framework from ehci-fsl.c to common place so that it can be used by other drivers as well (xhci-fsl.c). Signed-off-by: Ramneek Mehresh Signed-off-by: Sriram Dash --- Changes in v5: - No update Changes in v4: - Retain copyright info - Remove #include from fsl-dt-f

[U-Boot] [PATCH v5 2/4] drivers:usb:common:fsl-dt-fixup: Remove code duplication for fdt_usb_get_node_type

2016-03-22 Thread Sriram Dash
Call fdt_usb_get_node_type() from fdt_fixup_usb_mode_phy_type() to avoid code duplication. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v5: - reorder the functions and gets rid of the forward declaration Changes in v4: - Make minimal modification to code Changes in

[U-Boot] [PATCH v5 4/4] drivers:usb:common:fsl-dt-fixup: fix return value of fdt_usb_get_node_type

2016-03-22 Thread Sriram Dash
Use int as it is native (and widely used) return type. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v5: - Modified title and description - Using error codes for return type. drivers/usb/common/fsl-dt-fixup.c | 25 ++--- 1 file changed, 14 inser

[U-Boot] [PATCH v5 3/4] drivers:usb:common:fsl-dt-fixup: Add device-tree fixup support for xhci controller

2016-03-22 Thread Sriram Dash
Enables usb device-tree fixup code to incorporate xhci controller Signed-off-by: Ramneek Mehresh Signed-off-by: Sriram Dash --- Changes in v5: - Make the array static const Changes in v4: - Use a terminating entry in the array for getting node type for controller Changes in v3: - Modify th

[U-Boot] [RFC PATCH] net: phy: Force master mode for RTL8211C

2016-03-22 Thread Michael Haas
The RTL8211C found on the A20-OlinuXino-Lime2 does not word in slave mode. This patch disables master/slave mode autonegotiation and forces master mode. The RTL8211C identifies itself as RTL8211B via its UID. This patch uses the revision number taken from the PHYID2 register to distinguish the two

[U-Boot] [RFC PATCH 0/1] net: phy: Force master mode for RTL8211C

2016-03-22 Thread Michael Haas
This patch is an RFC based on recent discussions. It's only lightly tested. I have yet to verify that the registers are being set correctly. I'm sending it out now because I have to leave for today. Michael Michael Haas (1): net: phy: Force master mode for RTL8211C drivers/net/phy/realtek.

Re: [U-Boot] [PATCH v5 3/4] drivers:usb:common:fsl-dt-fixup: Add device-tree fixup support for xhci controller

2016-03-22 Thread Marek Vasut
On 03/22/2016 08:10 AM, Sriram Dash wrote: > Enables usb device-tree fixup code to incorporate xhci controller > > Signed-off-by: Ramneek Mehresh > Signed-off-by: Sriram Dash > --- > Changes in v5: > - Make the array static const > Changes in v4: > - Use a terminating entry in the array for

Re: [U-Boot] [PATCH v5 2/4] drivers:usb:common:fsl-dt-fixup: Remove code duplication for fdt_usb_get_node_type

2016-03-22 Thread Marek Vasut
On 03/22/2016 08:10 AM, Sriram Dash wrote: > Call fdt_usb_get_node_type() from fdt_fixup_usb_mode_phy_type() to > avoid code duplication. > > Signed-off-by: Sriram Dash > Signed-off-by: Rajesh Bhagat Acked-by: Marek Vasut Best regards, Marek Vasut _

Re: [U-Boot] [PATCH v5 1/4] drivers:usb:common:fsl-dt-fixup: Move device-tree fixup framework to common file

2016-03-22 Thread Marek Vasut
On 03/22/2016 08:10 AM, Sriram Dash wrote: > Move usb device-tree fixup framework from ehci-fsl.c to common place so > that it can be used by other drivers as well (xhci-fsl.c). > > Signed-off-by: Ramneek Mehresh > Signed-off-by: Sriram Dash Acked-by: Marek Vasut Best regards, Marek Vasut ___

Re: [U-Boot] [PATCH v5 4/4] drivers:usb:common:fsl-dt-fixup: fix return value of fdt_usb_get_node_type

2016-03-22 Thread Marek Vasut
On 03/22/2016 08:10 AM, Sriram Dash wrote: > Use int as it is native (and widely used) return type. What do you mean by "int ... is native (and widely used) return type" ? It's just a signed type, that's all there is to it. > Signed-off-by: Sriram Dash > Signed-off-by: Rajesh Bhagat [...] Be

[U-Boot] [PATCH v5 0/4] Make usb device-tree fixup independent of USB controller

2016-03-22 Thread Sriram Dash
Makes usb device-tree fixup independent of Controller type. This enables the usage of device-tree fixup as a common framework for EHCI and XHCI controllers Sriram Dash (4): drivers:usb:common:fsl-dt-fixup: Move device-tree fixup framework to common file drivers:usb:common:fsl-dt-fixup: Rem

[U-Boot] [PATCH v7 00/87] mtd: Add SPI-NOR core support

2016-03-22 Thread Jagan Teki
Some of the SPI device drivers at drivers/spi not a real spi controllers, Unlike normal/generic SPI controllers they operates only with SPI-NOR flash devices. these were technically termed as SPI-NOR controllers, Ex: drivers/spi/fsl_qspi.c The problem with these were resides at drivers/spi is enti

[U-Boot] [PATCH v7 02/87] mtd: Add Kconfig entry for MTD_M25P80

2016-03-22 Thread Jagan Teki
Added Kconfig entry for MTD_M25P80 Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 drivers/mtd/spi-nor/Kconfig

[U-Boot] [PATCH v7 01/87] mtd: Add m25p80 driver

2016-03-22 Thread Jagan Teki
This is MTD SPI-NOR driver for ST M25Pxx (and similar) serial flash chips which is written as MTD_UCLASS. More features will be adding on further patches. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- Makefile

[U-Boot] [PATCH v7 03/87] mtd: Add SPI-NOR core support

2016-03-22 Thread Jagan Teki
Some of the SPI device drivers at drivers/spi not a real spi controllers, Unlike normal/generic SPI controllers they operates only with SPI-NOR flash devices. these were technically termed as SPI-NOR controllers, Ex: drivers/spi/fsl_qspi.c The problem with these were resides at drivers/spi is enti

[U-Boot] [PATCH v7 04/87] doc: device-tree-bindings: jedec, spi-nor

2016-03-22 Thread Jagan Teki
Since m25p80 follows similar naming convention as Linux, hence added jedec, spi-nor device tree bindings from Linux. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- doc/device-tree-bindings/mtd/jedec,spi-nor.txt |

[U-Boot] [PATCH v7 06/87] mtd: spi-nor: Add kconfig for MTD_SPI_NOR_USE_4K_SECTORS

2016-03-22 Thread Jagan Teki
Added kconfig entry for MTD_SPI_NOR_USE_4K_SECTORS. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/mtd/spi-no

[U-Boot] [PATCH v7 05/87] mtd: spi-nor: Add Kconfig entry for MTD_SPI_NOR

2016-03-22 Thread Jagan Teki
Added kconfig entry for MTD_SPI_NOR Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/mtd/spi-nor/Kconfig b/

[U-Boot] [PATCH v7 10/87] mtd: spi-nor: Add spi_flash_probe for mtd-dm-spi-nor

2016-03-22 Thread Jagan Teki
While probing spi-nor in SPL spi_flash_probe is needed, so add the flash probe code in spi-nor-probe.c Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/spi-nor-probe.c | 15 +++ inclu

[U-Boot] [PATCH v7 11/87] mtd: spi-nor: Add spi_flash_free for mtd-dm-spi-nor

2016-03-22 Thread Jagan Teki
env_sf need to free the flash while read error, so add the flash probe code in spi-nor-probe.c Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/spi-nor-probe.c | 7 +++ include/spi_flash.h

[U-Boot] [PATCH v7 07/87] mtd: spi-nor: Add MTD support

2016-03-22 Thread Jagan Teki
This patch adds mtd_info support to spi-nor core instead of using legacy spi_flash{}. SPI-NOR with MTD: -- cmd_sf.c -- MTD core -- spi-nor.c

[U-Boot] [PATCH v7 09/87] mtd: spi-nor: Add dm spi-nor probing

2016-03-22 Thread Jagan Teki
This patch adds driver-model probe from cmd_sf through MTD_DM_SPI_NOR which is depends on MTD and DM_SPI uclass. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- cmd/sf.c| 4 ++-- common

[U-Boot] [PATCH v7 08/87] mtd: spi-nor: Add spi_nor support in m25p80

2016-03-22 Thread Jagan Teki
m25p80 is flash interface for spi-nor core and drivers/spi so add spi_nor{} functionalities like - allocate spi_nor{} - basic initilization - install hooks - call to spi-nor core, using spi_nor_scan - register with mtd core Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Si

[U-Boot] [PATCH v7 12/87] mtd: spi-nor: m25p80: Add spi_nor support for non-dm

2016-03-22 Thread Jagan Teki
Like adding spi_nor support for dm-driven code in m25p80 add the same way for non-dm code as well. - allocate spi_nor{} - basic initilization - install hooks - call to spi-nor core, using spi_nor_scan - register with mtd core Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc:

[U-Boot] [PATCH v7 14/87] sf: Use erasesize instead of sector_size

2016-03-22 Thread Jagan Teki
For computing proper sector_size the below patch assigned erase_size which is a proper sector computation size, so this patch directly used erasesize instead of assignment. "sf: Fix to compute proper sector_size" (sha1: c650ca7b4c160193791dc7a52381c71c6a29e871) Cc: Simon Glass Cc: Bin Meng Cc: M

[U-Boot] [PATCH v7 13/87] sf: Rename erase_size to erasesize

2016-03-22 Thread Jagan Teki
erasesize name looks similar as the way mtd_info{} used so renamed erase_size to erasesize and more over the spi-flash will use mtd in future patches. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi

[U-Boot] [PATCH v7 15/87] sf: Use uint64_t for flash->size

2016-03-22 Thread Jagan Teki
To sync with size in mtd_info{} this patch change data type of size to uint64_t Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- cmd/sf.c| 4 ++-- include/spi_flash.h | 2 +- 2 files changed, 3 insertion

[U-Boot] [PATCH v7 16/87] spi_flash: Use mtd_info operation for SPI-NOR

2016-03-22 Thread Jagan Teki
Since spi-nor is using mtd layer for flash operations this patch used mtd ops from user commands instead of legacy spi_flash{} ops. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- include/spi_flash.h | 60 +

[U-Boot] [PATCH v7 22/87] mtd: spi-nor: Copy spl files from drivers/mtd/spi

2016-03-22 Thread Jagan Teki
Copy spl files from drivers/mtd/spi to spi-nor, more changes will added on future patches. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Makefile | 5 +++ drivers/mtd/spi-nor/fsl_espi_s

[U-Boot] [PATCH v7 18/87] mtd: spi-nor: Move spi_read_then_write to spi layer

2016-03-22 Thread Jagan Teki
Since spi_read_then_write is doing spi operations like setting up commands, tx and rx through spi_xfer, So it is meanfull to have this definition at spi layer and flash layer should use this whenever required. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasa

[U-Boot] [PATCH v7 20/87] mtd: spi-nor: Rename SPI_FLASH_BAR to SPI_NOR_BAR

2016-03-22 Thread Jagan Teki
Renamed SPI_FLASH_BAR to SPI_NOR_BAR Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/spi-nor.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/spi-

[U-Boot] [PATCH v7 17/87] spi_flash: Use spi_flash_t instead of struct spi_flash

2016-03-22 Thread Jagan Teki
spi_flash_t same typedef alias name for spi_flash and mtd_info so which one will use based on the user config definition. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- cmd/sf.c| 10 +- common/

[U-Boot] [PATCH v7 19/87] spi: Rename spi_read_then_write to spi_write_then_read

2016-03-22 Thread Jagan Teki
Since spi_read_then_write moved into spi layer, the meaning of data transfer is also change from read_then_write to write_then_read, this means first spi will write the opcode through and then read the respective buffer. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva

[U-Boot] [PATCH v7 21/87] mtd: spi-nor: Add Kconfig entry for SPI_NOR_BAR

2016-03-22 Thread Jagan Teki
Added kconfig entry for SPI_NOR_BAR Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/s

[U-Boot] [PATCH v7 23/87] mtd: spi-nor: spl: Follow ascending order of include headers

2016-03-22 Thread Jagan Teki
Use ascending order while including headers files. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/fsl_espi_spl.c | 2 +- drivers/mtd/spi-nor/spi_spl_load.c | 2 +- 2 files changed, 2 insertions

[U-Boot] [PATCH v7 24/87] mtd: spi-nor: fsl_espi_spl: Use mtd_info

2016-03-22 Thread Jagan Teki
Replace spi_flash{} with mtd_info{} Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/fsl_espi_spl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/spi-nor/fsl

Re: [U-Boot] [RFC PATCH] net: phy: Force master mode for RTL8211C

2016-03-22 Thread Michael Haas
On 03/22/2016 08:19 AM, Michael Haas wrote: > The RTL8211C found on the A20-OlinuXino-Lime2 does not word in slave > mode. This patch disables master/slave mode autonegotiation and forces > master mode. > > The RTL8211C identifies itself as RTL8211B via its UID. This patch uses > the revision numbe

[U-Boot] [PATCH v7 25/87] mtd: spi-nor: fsl_espi_spl: Use writebufsize instead of page_size

2016-03-22 Thread Jagan Teki
Replace spi_flash{} with mtd_info{} Cc: Simon Glass Cc: Bin Meng Cc: York Sun Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/fsl_espi_spl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/fsl_espi_spl.c b/drivers/mtd/spi-nor/fsl_espi_spl.c ind

[U-Boot] [PATCH v7 26/87] mtd: spi-nor: spi_spl_load: Use mtd_info

2016-03-22 Thread Jagan Teki
Replace spi_flash{} with mtd_info{} Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/spi_spl_load.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/sp

[U-Boot] [PATCH v7 27/87] spl: Add CONFIG_SPL_SPI_NOR_SUPPORT

2016-03-22 Thread Jagan Teki
Add SPL support for SPI-NOR flash. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/Makefile b/drivers/Makefile index e7eab66..1d179b9 100

[U-Boot] [PATCH v7 30/87] arm: zynq: Kconfig: Drop DM_SPI_FLASH

2016-03-22 Thread Jagan Teki
Drop using legacy DM_SPI_FLASH. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- arch/arm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 1e92be0..b22a04f 100644 --- a/arch/arm/Kcon

[U-Boot] [PATCH v7 29/87] arm: zynq: Kconfig: Select MTD uclass

2016-03-22 Thread Jagan Teki
Since SPI-NOR core relies on MTD uclass. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e5f57ef..1e92be0 100644 --- a/arc

[U-Boot] [PATCH v7 28/87] mtd: spi-nor: Add flash vendor Kconfig entries

2016-03-22 Thread Jagan Teki
Added flash vendor kconfig entries from drivers/mtd/spi Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 40 1 file changed, 40 insertions(+) d

[U-Boot] [PATCH v7 33/87] mtd: dataflash: Move flash id detection into jedec_probe

2016-03-22 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 Cc: Simon

[U-Boot] [PATCH v7 34/87] mtd: dataflash: Fix add_dataflash return logic

2016-03-22 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 Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/sf_dataflash.c | 127 ++--- 1 file changed, 61 insertion

[U-Boot] [PATCH v7 31/87] mtd: spi-nor: Copy sf_dataflash

2016-03-22 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 Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/sf_dataflash.c | 701 + 1 file changed, 701 insertions(+) create mode

[U-Boot] [PATCH v7 32/87] mtd: dataflash: Remove unneeded spi data

2016-03-22 Thread Jagan Teki
dataflash doesn't require options, memory_map from spi. Cc: Bin Meng Cc: Simon Glass Cc: York Sun Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/sf_dataflash.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/mtd/spi-nor/sf_dataflash.c b/drivers/mtd/spi-nor

[U-Boot] [PATCH v7 35/87] mtd: dataflash: Add UCLASS_MTD support

2016-03-22 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 Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/sf_dataflash.c | 214 ++--- 1 file changed, 107 ins

[U-Boot] [PATCH v7 36/87] mtd: dataflash: Use spi_write_then_read

2016-03-22 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 Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/sf_dataflash.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers

[U-Boot] [PATCH v7 37/87] mtd: dataflash: Drop sf_internal.h

2016-03-22 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 Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/sf_dataflash.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/sf_dataflash.c b/drivers/mtd/spi-no

[U-Boot] [PATCH v7 38/87] mtd: dataflash: Minor cleanups

2016-03-22 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 Cc: Si

[U-Boot] [PATCH v7 40/87] mtd: spi-nor: Add Kconfig entry for mtd_dataflash

2016-03-22 Thread Jagan Teki
Added kconfig entry for MTD_DATAFLASH Cc: Bin Meng Cc: Simon Glass Cc: York Sun Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index a035fd3..f2bd630 10064

[U-Boot] [PATCH v7 41/87] mtd: dataflash: Add MTD_DATAFLASH_WRITE_VERIFY

2016-03-22 Thread Jagan Teki
mtd_dataflash driver almost similar to Linux, so rename the CONFIG_SPI_DATAFLASH_WRITE_VERIFY => CONFIG_MTD_DATAFLASH_WRITE_VERIFY Cc: Bin Meng Cc: Simon Glass Cc: York Sun Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/mtd_dataflash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[U-Boot] [PATCH v7 39/87] mtd: Rename sf_dataflash.c to mtd_dataflash.c

2016-03-22 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 Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Makefile| 1 + drivers/mtd/spi-nor/{sf_dataflash.

[U-Boot] [PATCH v7 42/87] mtd: spi-nor: Add kconfig MTD_DATAFLASH_WRITE_VERIFY

2016-03-22 Thread Jagan Teki
Added kconfig entry for MTD_DATAFLASH_WRITE_VERIFY Cc: Bin Meng Cc: Simon Glass Cc: York Sun Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index f2bd630..12dce

[U-Boot] [PATCH v7 43/87] configs: ls1021aqds: Drop DM_SPI_FLASH and DATAFLASH

2016-03-22 Thread Jagan Teki
Dropped DM_SPI_FLASH and SPI_FLASH_DATAFLASH Cc: Bin Meng Cc: Simon Glass Cc: York Sun Signed-off-by: Jagan Teki --- include/configs/ls1021aqds.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index d7025f6..b5415f4 100644 ---

[U-Boot] [PATCH v7 45/87] defconfig: ls1021aqds_qspi: Enable CONFIG_MTD_DATAFLASH

2016-03-22 Thread Jagan Teki
Enable CONFIG_MTD_DATAFLASH Cc: Bin Meng Cc: Simon Glass Cc: York Sun Signed-off-by: Jagan Teki --- configs/ls1021aqds_qspi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/ls1021aqds_qspi_defconfig b/configs/ls1021aqds_qspi_defconfig index 32a8662..ce4b677 100644 --- a/

[U-Boot] [PATCH v7 47/87] mtd: spi-nor: sandbox: Use spi-nor header

2016-03-22 Thread Jagan Teki
Since sandbox moved to use spi-nor layer, this patch replaced the header changes from sf_internal.h to mtd/spi-nor.h Cc: Simon Glass Cc: Bin Meng Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/sandbox.c | 46 +-- 1 file changed, 23 insertions(+), 23 d

[U-Boot] [PATCH v7 44/87] defconfig: ls1021aqds_qspi: Enable SPI-NOR

2016-03-22 Thread Jagan Teki
Enable SPI-NOR with MTD uclass. Cc: Bin Meng Cc: Simon Glass Cc: York Sun Signed-off-by: Jagan Teki --- configs/ls1021aqds_qspi_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/ls1021aqds_qspi_defconfig b/configs/ls1021aqds_qspi_defconfig index 025fd4e

[U-Boot] [PATCH v7 46/87] mtd: spi-nor: Copy sandbox

2016-03-22 Thread Jagan Teki
Copy sandbox.c from drivers/mtd/spi to spi-nor, more changes will added on future patches. Cc: Simon Glass Cc: Bin Meng Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/sandbox.c | 703 ++ 1 file changed, 703 insertions(+) create mode 100644 drivers/mt

[U-Boot] [PATCH v7 49/87] mtd: spi-nor: Add SPI_NOR_SANDBOX

2016-03-22 Thread Jagan Teki
To follow spi-nor notation replaced CONFIG_SPI_FLASH_SANDBOX with CONFIG_SPI_NOR_SANDBOX. Cc: Simon Glass Cc: Bin Meng Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 10 ++ drivers/mtd/spi-nor/Makefile | 1 + 2 files changed, 11 insertions(+) diff --git a/drivers/mtd/sp

[U-Boot] [PATCH v7 51/87] test/dm: spi: Use CONFIG_DM_MTD_SPI_NOR

2016-03-22 Thread Jagan Teki
Use CONFIG_DM_MTD_SPI_NOR instead of CONFIG_DM_SPI_FLASH Cc: Simon Glass Cc: Bin Meng Signed-off-by: Jagan Teki --- test/dm/spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/dm/spi.c b/test/dm/spi.c index 2e27da7..f234c80 100644 --- a/test/dm/spi.c +++ b/test/dm/sp

[U-Boot] [PATCH v7 48/87] mtd: spi-nor: sandbox: Fix ID exctract from spi_nor_info

2016-03-22 Thread Jagan Teki
This patch fix the id exctract from spi_nor_info ids. Cc: Simon Glass Cc: Bin Meng Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/sandbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/sandbox.c b/drivers/mtd/spi-nor/sandbox.c index cc7b2a4..8bd0

[U-Boot] [PATCH v7 53/87] test/dm: spi: Use m25p80 as driver name

2016-03-22 Thread Jagan Teki
Since new spi-nor using m25p80 as a driver name for probing flash chip using spi_get_bus_and_cs, hence replace the 'spi_flash_std' with 'm25p80 Cc: Simon Glass Cc: Bin Meng Signed-off-by: Jagan Teki --- test/dm/spi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tes

[U-Boot] [PATCH v7 52/87] configs: sandbox: Enable SPI-NOR sandbox driver

2016-03-22 Thread Jagan Teki
- CONFIG_DM_SPI_FLASH + CONFIG_MTD + CONFIG_MTD_M25P80 + CONFIG_MTD_SPI_NOR + CONFIG_SPI_NOR_SANDBOX Replace CONFIG_SPI_FLASH with CONFIG_MTD_SPI_NOR Cc: Simon Glass Cc: Bin Meng Signed-off-by: Jagan Teki --- arch/Kconfig | 2 +- configs/sandbox_defconfig | 5 +++-- dri

[U-Boot] [PATCH v7 50/87] test/dm: Makefile: Use CONFIG_DM_MTD_SPI_NOR

2016-03-22 Thread Jagan Teki
Use CONFIG_DM_MTD_SPI_NOR instead of CONFIG_DM_SPI_FLASH Cc: Simon Glass Cc: Bin Meng Signed-off-by: Jagan Teki --- test/dm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/dm/Makefile b/test/dm/Makefile index df2d71f..ae8e5c2 100644 --- a/test/dm/Makefile +++

[U-Boot] [PATCH v7 54/87] dts: sandbox: Use jedec, spi-nor compatible string

2016-03-22 Thread Jagan Teki
Use spi-nor flash driver compatible string as 'jedec,spi-nor' instead of spi-flash Cc: Simon Glass Cc: Bin Meng Signed-off-by: Jagan Teki --- arch/sandbox/dts/test.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts inde

[U-Boot] [PATCH v7 55/87] x86: Drop using spi_flash_dm_ops

2016-03-22 Thread Jagan Teki
Since spi-nor flash is part of MTD uclass, so replaced UCLASS_SPI_FLASH with UCLASS_MTD and use respective spi_flash operations as well. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- arch/arm/mach-rockchip/rk3288

[U-Boot] [PATCH v7 56/87] spi_flash: Use spi_flash_t

2016-03-22 Thread Jagan Teki
Use spi_flash_t instead of struct spi_flash. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- board/Arcturus/ucp1020/cmd_arc.c | 2 +- board/Synology/ds414/cmd_syno.c | 2 +- board/buffalo/lsxl/lsxl

[U-Boot] [PATCH v7 57/87] defconfig: zynq_zc770_xm013: Enable ZYNQ_QSPI

2016-03-22 Thread Jagan Teki
Use zynq qspi driver for zynq zc770_xm013 board. Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- configs/zynq_zc770_xm013_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/zynq_zc770_xm013_defconfig b/configs/zynq_zc770_xm013_defconfig index 9

[U-Boot] [PATCH v7 58/87] configs: Drop CONFIG_SPI_FLASH_MTD

2016-03-22 Thread Jagan Teki
Since mtd support is part of spi-nor core, hence removed legacy defines. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- include/configs/aristainetos-common.h | 1 - include/configs/gw_ventana.h | 1 - inc

[U-Boot] [PATCH v7 60/87] spi-nor: Use CONFIG_MTD_SPI_NOR

2016-03-22 Thread Jagan Teki
Replace legacy CONFIG_SPI_FLASH with CONFIG_MTD_SPI_NOR Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- board/davinci/da8xxevm/da850evm.c | 2 +- common/splash_source.c| 2 +- 2 files changed, 2 inserti

[U-Boot] [PATCH v7 63/87] mtd: spi-nor: Add CONFIG_SPI_NOR_MISC

2016-03-22 Thread Jagan Teki
The flash chips vendors like - Atmel - EON - ESMT - Everspin - Fujitsu - GigaDevice - Intel - ISSI - PMC - non-JEDEC have shared most of the spi-nor core code, so group all of them into a common config CONFIG_SPI_NOR_MISC this certainly reduced the individual chip configs. Cc: Simon Glass Cc: Bi

[U-Boot] [PATCH v7 64/87] configs: Use CONFIG_SPI_NOR_MISC

2016-03-22 Thread Jagan Teki
CONFIG_SPI_FLASH_ATMEL CONFIG_SPI_FLASH_EON CONFIG_SPI_FLASH_GIGADEVICE CONFIG_SPI_FLASH_ISSI All these configs are grouped in CONFIG_SPI_NOR_MISC Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- configs/C29XPCIE_N

[U-Boot] [PATCH v7 65/87] powerpc/mpc85xx: Use spi.h instead of spi_flash.h

2016-03-22 Thread Jagan Teki
For spi_set_speed this patch unnecessarily using spi_flash.h instead of spi.h "powerpc/mpc85xx: Add board support for ucp1020" (sha1: 8b0044ff5942943eaa49935f49d5006b346a60f8) So, fix this by using spi.h instead of spi_flash.h Cc: York Sun Cc: Oleksandr G Zhadan Cc: Michael Durrant Signed-off-

[U-Boot] [PATCH v7 67/87] uclass: Drop UCLASS_SPI_FLASH

2016-03-22 Thread Jagan Teki
Drop using UCLASS_SPI_FLASH, spi-nor flash is part of MTD uclass now. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- include/dm/uclass-id.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/dm/uclass-id.h

[U-Boot] [PATCH v7 68/87] spi: Drop mode_rx

2016-03-22 Thread Jagan Teki
mp2580 will take care of tx and rx mode's so there is no need to differentiate these into spi layer level hence replaced all mode_rx macros with mode. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi

[U-Boot] [PATCH v7 69/87] spi: Drop SPI_RX_FAST

2016-03-22 Thread Jagan Teki
SPI_RX_FAST at spi layer used for spi-nor core to find the fastest read mode, but this handling is taking care at m25p80 hence removed the same at spi layer level. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- in

[U-Boot] [PATCH v7 61/87] configs: Use CONFIG_SPI_NOR_BAR

2016-03-22 Thread Jagan Teki
- CONFIG_SPI_FLASH_BAR + CONFIG_SPI_NOR_BAR Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- configs/alt_defconfig | 2 +- configs/am437x_sk_evm_defconfig | 2 +- configs/am43xx_evm_defconfig

[U-Boot] [PATCH v7 70/87] MAINTAINERS: Add myself as SPI NOR maintainer

2016-03-22 Thread Jagan Teki
Cc: Simon Glass Cc: Bin Meng Signed-off-by: Jagan Teki --- MAINTAINERS | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 3a9c205..c46d54d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -393,7 +393,15 @@ M: Jagan Teki S: Maintained

[U-Boot] [PATCH v7 71/87] configs: CONFIG_MTD_SPI_NOR_USE_4K_SECTORS

2016-03-22 Thread Jagan Teki
- CONFIG_SPI_FLASH_USE_4K_SECTORS + CONFIG_MTD_SPI_NOR_USE_4K_SECTORS Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- configs/socfpga_arria5_defconfig | 2 +- configs/socfpga_cyclone5_defconfig | 2 +- configs/so

[U-Boot] [PATCH v7 74/87] mtd: spi-nor: Add erase ops

2016-03-22 Thread Jagan Teki
Added spi_nor erase ops for m25p80. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/m25p80.c | 27 +++ drivers/mtd/spi-nor/spi-nor.c | 2 +- include/linux/mtd/spi-nor.h

[U-Boot] [PATCH v7 73/87] dts: spi-nor: Use spi-nor as node name

2016-03-22 Thread Jagan Teki
Use spi-nor flash driver node name as 'spi-nor' instead of spi-flash Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- arch/arm/dts/armada-388-clearfog.dts | 2 +- arch/arm/dts/armada-388-gp.dts| 2 +

[U-Boot] [PATCH v7 75/87] mtd: spi-nor: Not required to memset dummy byte

2016-03-22 Thread Jagan Teki
Dummy byte(s) are need to send followed by address opcode for read operation, and that dummy byte(s) not required to malloc as well memset. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/spi-no

[U-Boot] [PATCH v7 76/87] mtd: spi-nor: Move opcode handling in m25p80

2016-03-22 Thread Jagan Teki
It's required to handling opcode in spi drivers interface layer, m25p80 from spi-nor, becuase some spi-nor controller drivers like fsl_qspi have separate opcode's to handling the same operations. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Si

[U-Boot] [PATCH v7 77/87] mtd: spi-nor: Rename spi_nor_addr to m25p_addr2cmd

2016-03-22 Thread Jagan Teki
opcode handling is part of spi_nor_addr routine, since it's been part of m25p80 so rename the function related to that file name. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/m25p80.c | 8 +++

[U-Boot] [PATCH v7 79/87] mtd: spi-nor: Add m25p_cmdsz

2016-03-22 Thread Jagan Teki
Added m25p_cmdsz for finding command size based on the addr_width. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/m25p80.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-)

[U-Boot] [PATCH v7 78/87] mtd: spi-nor: Add addr_width

2016-03-22 Thread Jagan Teki
addr_width is required to configure the flash with 3 and 4 byte addressing, more features will add in future patches. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/m25p80.c | 17 +

[U-Boot] [PATCH v7 80/87] mtd: spi-nor: read_dummy refers to dummy cycles not bytes

2016-03-22 Thread Jagan Teki
read_dummy refered as dummy cycles and dummy bytes will findout during read operations. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/m25p80.c | 9 ++--- drivers/mtd/spi-nor/spi-nor.c | 4

[U-Boot] [PATCH v7 82/87] mtd: spi-nor: offset with addr

2016-03-22 Thread Jagan Teki
For more readability use addr instead of offset. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/spi-nor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/s

[U-Boot] [PATCH v7 81/87] mtd: spi-nor: Use to instead of offset in write

2016-03-22 Thread Jagan Teki
Used write operation address variable as 'to' instead of 'offset' for more readability. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/spi-nor.c | 32 1 file ch

[U-Boot] [PATCH v7 72/87] dts: spi-nor: Use jedec, spi-nor compatible string

2016-03-22 Thread Jagan Teki
Use spi-nor flash driver compatible string as 'jedec,spi-nor' instead of spi-flash Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- arch/arm/dts/am437x-sk-evm.dts | 2 +- arch/arm/dts/dra7-evm.dts

[U-Boot] [PATCH v7 83/87] mtd: m25p80: Rename cmd with opcode

2016-03-22 Thread Jagan Teki
Use opcode instead of cmd, for more readability. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/m25p80.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers

[U-Boot] [PATCH v7 84/87] armv8/ls1043a: move CONFIG_MTD to defconfig

2016-03-22 Thread Jagan Teki
To make it take effect to enable MTD driver model for SPI-NOR. Cc: York Sun Signed-off-by: Gong Qianyu Signed-off-by: Jagan Teki --- configs/ls1043aqds_defconfig | 1 + configs/ls1043aqds_lpuart_defconfig | 1 + configs/ls1043aqds_nand_defconfig| 1 + configs/ls1043aqd

[U-Boot] [PATCH v7 85/87] defconfig: ls1021atwr_sdcard_qspi: Enable CONFIG_MTD

2016-03-22 Thread Jagan Teki
From: Alison Wang As QSPI driver is supported in ls1021atwr_sdcard_qspi_defconfig, CONFIG_MTD needs to be enabled for SPI-NOR with MTD uclass. Cc: York Sun Cc: Jagan Teki Signed-off-by: Alison Wang Signed-off-by: Jagan Teki --- configs/ls1021atwr_sdcard_qspi_defconfig | 1 + 1 file changed,

[U-Boot] [PATCH v7 86/87] defconfig: ls1021aqds_sdcard_qspi: Enable MTD

2016-03-22 Thread Jagan Teki
+ CONFIG_MTD Cc: York Sun Cc: Alison Wang Signed-off-by: Jagan Teki --- configs/ls1021aqds_sdcard_qspi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/ls1021aqds_sdcard_qspi_defconfig b/configs/ls1021aqds_sdcard_qspi_defconfig index 9a06631..054c5ff 100644 --- a/configs/

[U-Boot] [PATCH v7 87/87] defconfig: ls1021aqds_sdcard_qspi: Enable MTD_DATAFLASH

2016-03-22 Thread Jagan Teki
+ CONFIG_MTD_DATAFLASH Cc: York Sun Cc: Alison Wang Signed-off-by: Jagan Teki --- configs/ls1021aqds_sdcard_qspi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/ls1021aqds_sdcard_qspi_defconfig b/configs/ls1021aqds_sdcard_qspi_defconfig index 054c5ff..25ab3ee 100644 ---

Re: [U-Boot] [PATCH v7 00/87] mtd: Add SPI-NOR core support

2016-03-22 Thread Jagan Teki
On Tuesday 22 March 2016 01:17 PM, Jagan Teki wrote: On Tuesday 22 March 2016 01:07 PM, Jagan Teki wrote: Some of the SPI device drivers at drivers/spi not a real spi controllers, Unlike normal/generic SPI controllers they operates only with SPI-NOR flash devices. these were technically termed a

[U-Boot] [RFC PATCH 0/1] net: phy: Force master mode for RTL8211C

2016-03-22 Thread Michael Haas
This patch is an RFC based on recent discussions. It's only lightly tested. I have yet to verify that the registers are being set correctly. I'm sending it out now because I have to leave for today. Note that this patch requires Karsten Merkers '[PATCH] net: phy: Realtek RTL8211B/C PHY ID fix'.

Re: [U-Boot] [PATCH v7 00/87] mtd: Add SPI-NOR core support

2016-03-22 Thread Jagan Teki
On Tuesday 22 March 2016 01:07 PM, Jagan Teki wrote: Some of the SPI device drivers at drivers/spi not a real spi controllers, Unlike normal/generic SPI controllers they operates only with SPI-NOR flash devices. these were technically termed as SPI-NOR controllers, Ex: drivers/spi/fsl_qspi.c The

  1   2   3   >