* [U-Boot] [PATCH 0/8] sf: MTD core support
@ 2015-10-12 19:47 Jagan Teki
2015-10-28 18:39 ` Jagan Teki
2015-10-29 7:33 ` Heiko Schocher
0 siblings, 2 replies; 3+ messages in thread
From: Jagan Teki @ 2015-10-12 19:47 UTC (permalink / raw)
To: u-boot
These patch-set adds mtd support on top of spi-flash layer.
This series is next development level for spi-nor work,
previous work is on below thread patch-set.
https://www.mail-archive.com/u-boot at lists.denx.de/msg188073.html
TODO:
- spi-nor core addition
Testing:
$ git clone git://git.denx.de/u-boot-spi.git
$ cd u-boot-spi
$ git checkout -b spi-mtd origin/mtd
Jagan Teki (8):
sf: Add MTD support to spi_flash
sf: Use mtd_info ops instead of spi_flash ops
cmd_sf: Use mtd->size instead of flash->size
dm-sf: use mtd_ops, drop dm_spi_flash_ops
sf: Add MTD support for non-dm spi_flash interface
sf: probe: Minor cleanup
sf: Drop SPI_FLASH_MTD driver
configs: Remove CONFIG_SPI_FLASH_MTD
common/cmd_sf.c | 16 ++---
drivers/mtd/spi/Kconfig | 12 ----
drivers/mtd/spi/Makefile | 1 -
drivers/mtd/spi/sf-uclass.c | 16 -----
drivers/mtd/spi/sf_internal.h | 5 --
drivers/mtd/spi/sf_mtd.c | 104 --------------------------------
drivers/mtd/spi/sf_ops.c | 109 ++++++++++++++++++++--------------
drivers/mtd/spi/sf_probe.c | 92 ++++++++++++----------------
include/configs/aristainetos-common.h | 1 -
include/configs/gw_ventana.h | 1 -
include/configs/socfpga_common.h | 1 -
include/spi_flash.h | 104 ++++++--------------------------
12 files changed, 127 insertions(+), 335 deletions(-)
delete mode 100644 drivers/mtd/spi/sf_mtd.c
--
1.9.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH 0/8] sf: MTD core support
2015-10-12 19:47 [U-Boot] [PATCH 0/8] sf: MTD core support Jagan Teki
@ 2015-10-28 18:39 ` Jagan Teki
2015-10-29 7:33 ` Heiko Schocher
1 sibling, 0 replies; 3+ messages in thread
From: Jagan Teki @ 2015-10-28 18:39 UTC (permalink / raw)
To: u-boot
Hi Heiko,
Any comments on this series?
On 13 October 2015 at 01:17, Jagan Teki <jteki@openedev.com> wrote:
> These patch-set adds mtd support on top of spi-flash layer.
>
> This series is next development level for spi-nor work,
> previous work is on below thread patch-set.
> https://www.mail-archive.com/u-boot at lists.denx.de/msg188073.html
>
> TODO:
> - spi-nor core addition
>
> Testing:
> $ git clone git://git.denx.de/u-boot-spi.git
> $ cd u-boot-spi
> $ git checkout -b spi-mtd origin/mtd
>
> Jagan Teki (8):
> sf: Add MTD support to spi_flash
> sf: Use mtd_info ops instead of spi_flash ops
> cmd_sf: Use mtd->size instead of flash->size
> dm-sf: use mtd_ops, drop dm_spi_flash_ops
> sf: Add MTD support for non-dm spi_flash interface
> sf: probe: Minor cleanup
> sf: Drop SPI_FLASH_MTD driver
> configs: Remove CONFIG_SPI_FLASH_MTD
>
> common/cmd_sf.c | 16 ++---
> drivers/mtd/spi/Kconfig | 12 ----
> drivers/mtd/spi/Makefile | 1 -
> drivers/mtd/spi/sf-uclass.c | 16 -----
> drivers/mtd/spi/sf_internal.h | 5 --
> drivers/mtd/spi/sf_mtd.c | 104 --------------------------------
> drivers/mtd/spi/sf_ops.c | 109 ++++++++++++++++++++--------------
> drivers/mtd/spi/sf_probe.c | 92 ++++++++++++----------------
> include/configs/aristainetos-common.h | 1 -
> include/configs/gw_ventana.h | 1 -
> include/configs/socfpga_common.h | 1 -
> include/spi_flash.h | 104 ++++++--------------------------
> 12 files changed, 127 insertions(+), 335 deletions(-)
> delete mode 100644 drivers/mtd/spi/sf_mtd.c
>
> --
> 1.9.1
>
--
Jagan | openedev.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH 0/8] sf: MTD core support
2015-10-12 19:47 [U-Boot] [PATCH 0/8] sf: MTD core support Jagan Teki
2015-10-28 18:39 ` Jagan Teki
@ 2015-10-29 7:33 ` Heiko Schocher
1 sibling, 0 replies; 3+ messages in thread
From: Heiko Schocher @ 2015-10-29 7:33 UTC (permalink / raw)
To: u-boot
Hello Jagan,
Am 12.10.2015 um 21:47 schrieb Jagan Teki:
> These patch-set adds mtd support on top of spi-flash layer.
>
> This series is next development level for spi-nor work,
> previous work is on below thread patch-set.
> https://www.mail-archive.com/u-boot at lists.denx.de/msg188073.html
>
> TODO:
> - spi-nor core addition
>
> Testing:
> $ git clone git://git.denx.de/u-boot-spi.git
> $ cd u-boot-spi
> $ git checkout -b spi-mtd origin/mtd
>
> Jagan Teki (8):
> sf: Add MTD support to spi_flash
> sf: Use mtd_info ops instead of spi_flash ops
> cmd_sf: Use mtd->size instead of flash->size
> dm-sf: use mtd_ops, drop dm_spi_flash_ops
> sf: Add MTD support for non-dm spi_flash interface
> sf: probe: Minor cleanup
> sf: Drop SPI_FLASH_MTD driver
> configs: Remove CONFIG_SPI_FLASH_MTD
>
> common/cmd_sf.c | 16 ++---
> drivers/mtd/spi/Kconfig | 12 ----
> drivers/mtd/spi/Makefile | 1 -
> drivers/mtd/spi/sf-uclass.c | 16 -----
> drivers/mtd/spi/sf_internal.h | 5 --
> drivers/mtd/spi/sf_mtd.c | 104 --------------------------------
> drivers/mtd/spi/sf_ops.c | 109 ++++++++++++++++++++--------------
> drivers/mtd/spi/sf_probe.c | 92 ++++++++++++----------------
> include/configs/aristainetos-common.h | 1 -
> include/configs/gw_ventana.h | 1 -
> include/configs/socfpga_common.h | 1 -
> include/spi_flash.h | 104 ++++++--------------------------
> 12 files changed, 127 insertions(+), 335 deletions(-)
> delete mode 100644 drivers/mtd/spi/sf_mtd.c
Could you rebase your patchset against current ML?
I just wanted to test it on the aristaientos2 board, but first patch
failed:
Base:
commit 446d37c1acc76680770400fd90e6c502e49d72df
Merge: ab0a6a5 bef87ad
Author: Tom Rini <trini@konsulko.com>
Date: Wed Oct 28 16:56:43 2015 -0400
Merge branch 'master' of git://git.denx.de/u-boot-spi
pollux:u-boot hs [20151029_mtd] $ git am mbox
Wende an: sf: Add MTD support to spi_flash
error: Anwendung des Patches fehlgeschlagen: drivers/mtd/spi/sf_ops.c:146
error: drivers/mtd/spi/sf_ops.c: Patch konnte nicht angewendet werden
error: Anwendung des Patches fehlgeschlagen: drivers/mtd/spi/sf_probe.c:14
error: drivers/mtd/spi/sf_probe.c: Patch konnte nicht angewendet werden
error: Anwendung des Patches fehlgeschlagen: include/spi_flash.h:87
error: include/spi_flash.h: Patch konnte nicht angewendet werden
Anwendung des Patches fehlgeschlagen bei 0001 sf: Add MTD support to spi_flash
Die Kopie des fehlgeschlagenen Patches befindet sich in:
/home/hs/abb/imx6/u-boot/.git/rebase-apply/patch
Wenn Sie das Problem gel?st haben, f?hren Sie "git am --continue" aus.
Falls Sie diesen Patch auslassen m?chten, f?hren Sie stattdessen
"git am --skip" aus.
Um den urspr?nglichen Branch wiederherzustellen und die Anwendung der
Patches abzubrechen, f?hren Sie "git am --abort" aus.
pollux:u-boot hs [20151029_mtd] $
Thanks!
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-29 7:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-12 19:47 [U-Boot] [PATCH 0/8] sf: MTD core support Jagan Teki
2015-10-28 18:39 ` Jagan Teki
2015-10-29 7:33 ` Heiko Schocher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox