All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Pull request: u-boot-spi/master
@ 2016-11-18 11:16 Jagan Teki
  2016-11-19  0:57 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2016-11-18 11:16 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit c2cbd164ea5b5f564fcf03447c7bf9ec4a9f5699:

  Merge branch 'master' of http://git.denx.de/u-boot-mmc (2016-11-17 11:46:56 -0500)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 84cdc6e27aede7d87322842d262f0414824bb126:

  sf: Fix s25fs512s id table (2016-11-18 13:04:55 +0530)

----------------------------------------------------------------
Chris Packham (1):
      spi: kirkwood_spi: implement mvebu_spi_set_mode()

Jagan Teki (21):
      sf: Adopt flash table INFO macro from Linux
      sf: Simplify lock ops detection code
      sf: sandbox: Use JEDEC_MFR|ID in id exctract
      sf: Cleanup spi_flash_info{}
      sf: nr_sectors -> n_sectors
      sf: Add SPI_FLASH_MAX_ID_LEN
      sf: Increase max id length by 1 byte
      sf: Add INFO6 flash_info macro
      sf: params: Add S25FS256S_64K spi flash support
      sf: Remove spansion_s25fss_disable_4KB_erase
      sf: Remove non-meaningful comments
      sf: Rename sf_params.c to spi_flash_ids.c
      sf: ids: Use small letter's with flash name
      sf: ids: Use small letter in ext_jedec
      sf: Rename few local functions
      spi: Remove dual flash options/flags
      sf: dataflash: Remove unneeded spi data
      sf: dataflash: Move flash id detection into jedec_probe
      sf: dataflash: Fix add_dataflash return logic
      sf: dataflash: Minor cleanups
      sf: Fix s25fs512s id table

 arch/arm/include/asm/arch-mvebu/spi.h          |   4 +
 doc/device-tree-bindings/mtd/spi/spi-flash.txt |   2 +-
 drivers/mtd/spi/Makefile                       |   2 +-
 drivers/mtd/spi/sandbox.c                      |  11 +-
 drivers/mtd/spi/sf.c                           |   4 -
 drivers/mtd/spi/sf_dataflash.c                 | 178 +++++++++----------
 drivers/mtd/spi/sf_internal.h                  |  71 ++++----
 drivers/mtd/spi/sf_params.c                    | 149 ----------------
 drivers/mtd/spi/spi_flash.c                    | 228 ++++++++-----------------
 drivers/mtd/spi/spi_flash_ids.c                | 180 +++++++++++++++++++
 drivers/spi/kirkwood_spi.c                     |  15 ++
 include/linux/err.h                            |   5 +
 include/spi.h                                  |   6 -
 13 files changed, 400 insertions(+), 455 deletions(-)
 delete mode 100644 drivers/mtd/spi/sf_params.c
 create mode 100644 drivers/mtd/spi/spi_flash_ids.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-11-18 11:16 [U-Boot] Pull request: u-boot-spi/master Jagan Teki
@ 2016-11-19  0:57 ` Tom Rini
  2016-11-20 11:59   ` Jagan Teki
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2016-11-19  0:57 UTC (permalink / raw)
  To: u-boot

On Fri, Nov 18, 2016 at 04:46:03PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit c2cbd164ea5b5f564fcf03447c7bf9ec4a9f5699:
> 
>   Merge branch 'master' of http://git.denx.de/u-boot-mmc (2016-11-17 11:46:56 -0500)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 84cdc6e27aede7d87322842d262f0414824bb126:
> 
>   sf: Fix s25fs512s id table (2016-11-18 13:04:55 +0530)
> 

NAK, this has a build failure that travis-ci catches:
https://travis-ci.org/trini/u-boot/jobs/177155166

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161118/30b03141/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-11-19  0:57 ` Tom Rini
@ 2016-11-20 11:59   ` Jagan Teki
  2016-11-22 17:21     ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2016-11-20 11:59 UTC (permalink / raw)
  To: u-boot

Hi Tom,

On Sat, Nov 19, 2016 at 6:27 AM, Tom Rini <trini@konsulko.com> wrote:
> On Fri, Nov 18, 2016 at 04:46:03PM +0530, Jagan Teki wrote:
>
>> Hi Tom,
>>
>> Please pull this PR.
>>
>> thanks!
>> Jagan.
>>
>> The following changes since commit c2cbd164ea5b5f564fcf03447c7bf9ec4a9f5699:
>>
>>   Merge branch 'master' of http://git.denx.de/u-boot-mmc (2016-11-17 11:46:56 -0500)
>>
>> are available in the git repository at:
>>
>>
>>   git://git.denx.de/u-boot-spi.git master
>>
>> for you to fetch changes up to 84cdc6e27aede7d87322842d262f0414824bb126:
>>
>>   sf: Fix s25fs512s id table (2016-11-18 13:04:55 +0530)
>>
>
> NAK, this has a build failure that travis-ci catches:
> https://travis-ci.org/trini/u-boot/jobs/177155166

Fixed the same, please consider the same PR again.

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-11-20 11:59   ` Jagan Teki
@ 2016-11-22 17:21     ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2016-11-22 17:21 UTC (permalink / raw)
  To: u-boot

On Sun, Nov 20, 2016 at 05:29:41PM +0530, Jagan Teki wrote:
> Hi Tom,
> 
> On Sat, Nov 19, 2016 at 6:27 AM, Tom Rini <trini@konsulko.com> wrote:
> > On Fri, Nov 18, 2016 at 04:46:03PM +0530, Jagan Teki wrote:
> >
> >> Hi Tom,
> >>
> >> Please pull this PR.
> >>
> >> thanks!
> >> Jagan.
> >>
> >> The following changes since commit c2cbd164ea5b5f564fcf03447c7bf9ec4a9f5699:
> >>
> >>   Merge branch 'master' of http://git.denx.de/u-boot-mmc (2016-11-17 11:46:56 -0500)
> >>
> >> are available in the git repository at:
> >>
> >>
> >>   git://git.denx.de/u-boot-spi.git master
> >>
> >> for you to fetch changes up to 84cdc6e27aede7d87322842d262f0414824bb126:
> >>
> >>   sf: Fix s25fs512s id table (2016-11-18 13:04:55 +0530)
> >>
> >
> > NAK, this has a build failure that travis-ci catches:
> > https://travis-ci.org/trini/u-boot/jobs/177155166
> 
> Fixed the same, please consider the same PR again.

Applied, but in the future please send a new PR out, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161122/161aabd5/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-10-31  8:01           ` Schrempf Frieder
@ 2019-10-31  8:09             ` Jagan Teki
  0 siblings, 0 replies; 217+ messages in thread
From: Jagan Teki @ 2019-10-31  8:09 UTC (permalink / raw)
  To: u-boot

On Thu, Oct 31, 2019 at 1:31 PM Schrempf Frieder
<frieder.schrempf@kontron.de> wrote:
>
> On 31.10.19 08:57, Jagan Teki wrote:
> > Hi Schrempf,
> >
> > On Thu, Oct 31, 2019 at 1:24 PM Schrempf Frieder
> > <frieder.schrempf@kontron.de> wrote:
> >>
> >> Hi Jagan,
> >>
> >> On 28.10.19 01:46, Tom Rini wrote:
> >>> On Sun, Oct 27, 2019 at 05:20:22PM +0530, Jagan Teki wrote:
> >>>> Hi Tom,
> >>>>
> >>>> On Fri, Oct 25, 2019 at 11:19 PM Tom Rini <trini@konsulko.com> wrote:
> >>>>>
> >>>>> On Fri, Oct 25, 2019 at 02:08:12PM +0530, Jagan Teki wrote:
> >>>>>
> >>>>>> Hi Tom,
> >>>>>>
> >>>>>> Please pull this PR.
> >>>>>>
> >>>>>> Summary:
> >>>>>> - SPL_SPI_FLASH_MTD (Frieder)
> >>>>>> - SPI NOR IDs' fixes, additions (Vignesh)
> >>>>>> - cs_info change (Bin)
> >>>>>> - Enable sunxi spi (Jagan)
> >>>>>>
> >>>>>> Travis-CI:
> >>>>>> https://travis-ci.org/openedev/u-boot-amarula/builds/602483415
> >>>>>>
> >>>>>> Thanks,
> >>>>>> Jagan.
> >>>>>>
> >>>>>> The following changes since commit 17fd9915a4c639381804ed28274fa136ae3b0bee:
> >>>>>>
> >>>>>>     Merge branch '2019-10-24-UFS-support' (2019-10-24 09:51:48 -0400)
> >>>>>>
> >>>>>> are available in the Git repository at:
> >>>>>>
> >>>>>>     https://gitlab.denx.de/u-boot/custodians/u-boot-spi master
> >>>>>>
> >>>>>> for you to fetch changes up to 395ec7418695e5ce23f8b48c01a1dbffd2e52d3f:
> >>>>>>
> >>>>>>     spi-nor-ids: Add support for Adesto AT25SL321 (2019-10-25 00:48:32 +0530)
> >>>>>>
> >>>>>
> >>>>> So, looking over the build output, I see the expected size increase in
> >>>>> sunxi due to new support. But I also see a lot of size increases in
> >>>>> rockchip and layerscape platforms (and possibly more, I stopped after
> >>>>> spotting two different SoCs), for example:
> >>>>>               evb-px5        : all +12139 data +176 rodata +2275 spl/u-boot-spl:all +3529 spl/u-boot-spl:data +120 spl/u-boot-spl:rodata +309 spl/u-boot-spl:text +3100 text +9688
> >>>>>                  u-boot: add: 49/0, grow: 0/0 bytes: 9512/0 (9512)
> >>>>>                    function                                   old     new   delta
> >>>>>                    spi_nor_scan                                 -    2032   +2032
> >>>>>                    do_spi_flash                                 -    2008   +2008
> >>>>>                    spi_get_bus_and_cs                           -     436    +436
> >>>>>                    spi_mem_exec_op                              -     420    +420
> >>>>>                    static.spi_nor_wait_till_ready_with_timeout       -     300    +300
> >>>>>                    spi_nor_write                                -     300    +300
> >>>>>                    mtd_arg_off_size                             -     276    +276
> >>>>>                    spi_nor_erase                                -     232    +232
> >>>>>                    device_unbind                                -     232    +232
> >>>>>                    spi_nor_read_data                            -     220    +220
> >>>>>                    spi_nor_write_data                           -     212    +212
> >>>>>                    dm_spi_claim_bus                             -     196    +196
> >>>>>                    spi_mem_adjust_op_size                       -     160    +160
> >>>>>                    spi_mem_default_supports_op                  -     156    +156
> >>>>>                    spi_nor_read                                 -     152    +152
> >>>>>                    spi_flash_probe_bus_cs                       -     152    +152
> >>>>>                    spi_set_speed_mode                           -     148    +148
> >>>>>                    spi_flash_std_erase                          -     136    +136
> >>>>>                    spi_flash_std_probe                          -     132    +132
> >>>>>                    mtd_arg_off                                  -     124    +124
> >>>>>                    device_chld_unbind                           -     120    +120
> >>>>>                    _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
> >>>>>                    spi_nor_write_reg                            -     104    +104
> >>>>>                    spi_find_bus_and_cs                          -     104    +104
> >>>>>                    spi_nor_read_reg                             -     100    +100
> >>>>>                    spi_find_chip_select                         -      96     +96
> >>>>>                    static.spi_check_buswidth_req                -      88     +88
> >>>>>                    str2off                                      -      80     +80
> >>>>>                    bytes_per_second                             -      76     +76
> >>>>>                    spi_flash_std_write                          -      72     +72
> >>>>>                    spi_flash_std_read                           -      72     +72
> >>>>>                    spi_mem_supports_op                          -      56     +56
> >>>>>                    _u_boot_list_2_cmd_2_sf                      -      56     +56
> >>>>>                    dm_spi_xfer                                  -      48     +48
> >>>>>                    read_sr                                      -      44     +44
> >>>>>                    device_find_next_child                       -      40     +40
> >>>>>                    spi_flash_cmd_get_sw_write_prot              -      36     +36
> >>>>>                    dm_spi_release_bus                           -      28     +28
> >>>>>                    write_enable                                 -      20     +20
> >>>>>                    write_disable                                -      20     +20
> >>>>>                    spi_flash_std_get_sw_write_prot              -      20     +20
> >>>>>                    spi_flash_write_dm                           -      16     +16
> >>>>>                    spi_flash_read_dm                            -      16     +16
> >>>>>                    spi_flash_erase_dm                           -      16     +16
> >>>>>                    spi_xfer                                     -       8      +8
> >>>>>                    spi_release_bus                              -       8      +8
> >>>>>                    spi_flash_std_remove                         -       8      +8
> >>>>>                    spi_claim_bus                                -       8      +8
> >>>>>                    flash                                        -       8      +8
> >>>>>                  spl-u-boot-spl: add: 25/0, grow: 0/0 bytes: 3220/0 (3220)
> >>>>>                    function                                   old     new   delta
> >>>>>                    spi_nor_scan                                 -     904    +904
> >>>>>                    spi_mem_exec_op                              -     420    +420
> >>>>>                    spi_nor_read                                 -     304    +304
> >>>>>                    dm_spi_claim_bus                             -     196    +196
> >>>>>                    spi_mem_adjust_op_size                       -     160    +160
> >>>>>                    spi_mem_default_supports_op                  -     156    +156
> >>>>>                    spi_set_speed_mode                           -     148    +148
> >>>>>                    spi_flash_std_erase                          -     136    +136
> >>>>>                    spi_flash_std_probe                          -     132    +132
> >>>>>                    _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
> >>>>>                    spi_nor_write_reg                            -     104    +104
> >>>>>                    static.spi_check_buswidth_req                -      88     +88
> >>>>>                    spi_flash_std_write                          -      72     +72
> >>>>>                    spi_flash_std_read                           -      72     +72
> >>>>>                    spi_mem_supports_op                          -      56     +56
> >>>>>                    dm_spi_xfer                                  -      48     +48
> >>>>>                    dm_spi_release_bus                           -      28     +28
> >>>>>                    spi_flash_std_get_sw_write_prot              -      20     +20
> >>>>>                    spi_xfer                                     -       8      +8
> >>>>>                    spi_release_bus                              -       8      +8
> >>>>>                    spi_nor_write                                -       8      +8
> >>>>>                    spi_nor_erase                                -       8      +8
> >>>>>                    spi_flash_std_remove                         -       8      +8
> >>>>>                    spi_flash_cmd_get_sw_write_prot              -       8      +8
> >>>>>                    spi_claim_bus                                -       8      +8
> >>>>>               ls2088aqds_tfa : all +12906 data +120 rodata +2982 text +9804
> >>>>>                  u-boot: add: 44/0, grow: 0/0 bytes: 8460/0 (8460)
> >>>>>                    function                                   old     new   delta
> >>>>>                    spi_nor_scan                                 -    2168   +2168
> >>>>>                    sst26_lock_ctl                               -     604    +604
> >>>>>                    stm_unlock                                   -     536    +536
> >>>>>                    stm_lock                                     -     536    +536
> >>>>>                    sst_write                                    -     504    +504
> >>>>>                    spi_mem_exec_op                              -     420    +420
> >>>>>                    spi_nor_write                                -     300    +300
> >>>>>                    spi_nor_wait_till_ready                      -     300    +300
> >>>>>                    spi_nor_erase                                -     232    +232
> >>>>>                    spi_nor_read_data                            -     220    +220
> >>>>>                    spi_nor_write_data                           -     212    +212
> >>>>>                    dm_spi_claim_bus                             -     196    +196
> >>>>>                    spi_mem_adjust_op_size                       -     160    +160
> >>>>>                    spi_mem_default_supports_op                  -     156    +156
> >>>>>                    spi_nor_read                                 -     152    +152
> >>>>>                    spi_flash_std_erase                          -     136    +136
> >>>>>                    spi_flash_std_probe                          -     132    +132
> >>>>>                    stm_is_locked                                -     120    +120
> >>>>>                    _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
> >>>>>                    static.write_sr_and_check                    -     112    +112
> >>>>>                    spi_nor_write_reg                            -     104    +104
> >>>>>                    spi_nor_read_reg                             -     100    +100
> >>>>>                    stm_is_unlocked_sr                           -      92     +92
> >>>>>                    stm_is_locked_sr                             -      92     +92
> >>>>>                    static.spi_check_buswidth_req                -      88     +88
> >>>>>                    sst26_process_bpr                            -      88     +88
> >>>>>                    stm_get_locked_range                         -      80     +80
> >>>>>                    spi_flash_std_write                          -      72     +72
> >>>>>                    spi_flash_std_read                           -      72     +72
> >>>>>                    spi_mem_supports_op                          -      56     +56
> >>>>>                    dm_spi_xfer                                  -      48     +48
> >>>>>                    read_sr                                      -      44     +44
> >>>>>                    sst26_is_locked                              -      36     +36
> >>>>>                    spi_flash_cmd_get_sw_write_prot              -      36     +36
> >>>>>                    dm_spi_release_bus                           -      28     +28
> >>>>>                    write_enable                                 -      20     +20
> >>>>>                    write_disable                                -      20     +20
> >>>>>                    spi_flash_std_get_sw_write_prot              -      20     +20
> >>>>>                    sst26_unlock                                 -       8      +8
> >>>>>                    sst26_lock                                   -       8      +8
> >>>>>                    spi_xfer                                     -       8      +8
> >>>>>                    spi_release_bus                              -       8      +8
> >>>>>                    spi_flash_std_remove                         -       8      +8
> >>>>>                    spi_claim_bus                                -       8      +8
> >>>>>
> >>>>> So this strongly feels like something is being enabled by default when
> >>>>> it shouldn't.  You may want to use buildman with something like:
> >>>>> $ git checkout -b current-spi-changes origin/master
> >>>>> $ export SOURCE_DATE_EPOCH=`date +%s`
> >>>>> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b current-spi-changes \
> >>>>>     -SBCdevlk ls2088aqds_tfa
> >>>>> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b current-spi-changes \
> >>>>>     -SsBdevlk ls2088aqds_tfa
> >>>>>
> >>>>> If nothing in the git log stands out to you as to which commit is
> >>>>> causing this growth.  Thanks!
> >>>>
> >>>> I did see for layerscape. but not with rockchip. layerscape did use
> >>>> cmd/sf.c and DM_SPI_FLASH don't know why those boards accessing
> >>>> jedec,spi-nor even though they enabled it on dts. so the patch
> >>>> 08: mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH
> >>>>
> >>>> Enabling SPI_FLASH that indeed increasing the size on this platform,
> >>>> reset seems to be fine. If yes, will make the SPI_FLASH enablement not
> >>>> for layerscape. please check and let me know.
> >>>>
> >>>> layerscape:
> >>>>
> >>>> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b master -SsCdevlk
> >>>> ls2088aqds_tfa
> >>>> boards.cfg is up to date. Nothing to do.
> >>>> Summary of 21 commits for 1 boards (1 thread, 4 jobs per thread)
> >>>> 01: Merge branch '2019-10-24-UFS-support'
> >>>>      aarch64:  w+   ls2088aqds_tfa
> >>>> +(ls2088aqds_tfa) ===================== WARNING ======================
> >>>> +(ls2088aqds_tfa) This board does not use CONFIG_DM_ETH (Driver Model
> >>>> +(ls2088aqds_tfa) for Ethernet drivers). Please update the board to use
> >>>> +(ls2088aqds_tfa) CONFIG_DM_ETH before the v2020.07 release. Failure to
> >>>> +(ls2088aqds_tfa) update by the deadline may result in board removal.
> >>>> +(ls2088aqds_tfa) See doc/driver-model/migration.rst for more info.
> >>>> +(ls2088aqds_tfa) ====================================================
> >>>> 02: mtd: spi: Kconfig: Update CONFIG_SPI_FLASH
> >>>> 03: mtd: spi-nor: ids: Add is25wp256 chip
> >>>> 04: spi: Kconfig: Add help text
> >>>> 05: dm: spi: Return 0 if driver does not implement ops->cs_info
> >>>> 06: dm: spi: Change cs_info op to return -EINVAL for invalid cs num
> >>>> 07: cmd: sf: Mark it default if DM_SPI_FLASH enabled
> >>>>
> >>>>      aarch64: (for 1/1 boards) all +12554.0 data +120.0 rodata +2750.0
> >>>> text +9684.0
> >>>>               ls2088aqds_tfa : all +12554 data +120 rodata +2750 text +9684
> >>>> 09: spi: Kconfig: Enable SPI_SUNXI for SUNXI
> >>>> 10: arm: sunxi: Enable SPI/SPI-FLASH support for A64
> >>>> 11: configs: sopine-baseboard: Enable SPI-FLASH
> >>>> 12: mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig
> >>>> 13: stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD
> >>>> 14: mtd: spi-nor-core: Use dev_err for reporting erase/write failures
> >>>>      aarch64: (for 1/1 boards) all +145.0 rodata +93.0 text +52.0
> >>>>               ls2088aqds_tfa : all +145 rodata +93 text +52
> >>>> 15: mtd: spi-nor-core: Replace MTD_SPI_NOR_USE_4K_SECTORS with
> >>>> SPI_FLASH_USE_4K_SECTORS
> >>>> 16: spi: designware_spi: Disable and free clock when remove driver
> >>>> 17: spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*
> >>>> 18: spi-nor: spi-nor-ids: Add entries for mt25q variants
> >>>>      aarch64: (for 1/1 boards) all +201.0 rodata +129.0 text +72.0
> >>>>               ls2088aqds_tfa : all +201 rodata +129 text +72
> >>>> 19: spi-nor: spi-nor-ids: Add USE_FSR flag for mt25q* and n25q* entry
> >>>> 20: mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD
> >>>> 21: spi-nor-ids: Add support for Adesto AT25SL321
> >>>>
> >>>> rk3399:
> >>>>
> >>>> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b master -SsCdevlk
> >>>> puma-rk3399
> >>>> boards.cfg is up to date. Nothing to do.
> >>>> Summary of 21 commits for 1 boards (1 thread, 4 jobs per thread)
> >>>> 01: Merge branch '2019-10-24-UFS-support'
> >>>>      aarch64:  w+   puma-rk3399
> >>>> +(puma-rk3399) WARNING: PMUM0 file rk3399m0.bin NOT found, resulting
> >>>> binary is non-functional
> >>>> +(puma-rk3399) Please read Building section in doc/README.rockchip
> >>>> 02: mtd: spi: Kconfig: Update CONFIG_SPI_FLASH
> >>>> 03: mtd: spi-nor: ids: Add is25wp256 chip
> >>>> 04: spi: Kconfig: Add help text
> >>>> 05: dm: spi: Return 0 if driver does not implement ops->cs_info
> >>>> 06: dm: spi: Change cs_info op to return -EINVAL for invalid cs num
> >>>> 07: cmd: sf: Mark it default if DM_SPI_FLASH enabled
> >>>> 08: mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH
> >>>> 09: spi: Kconfig: Enable SPI_SUNXI for SUNXI
> >>>> 10: arm: sunxi: Enable SPI/SPI-FLASH support for A64
> >>>> 11: configs: sopine-baseboard: Enable SPI-FLASH
> >>>> 12: mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig
> >>>> 13: stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD
> >>>> 14: mtd: spi-nor-core: Use dev_err for reporting erase/write failures
> >>>>      aarch64: (for 1/1 boards) all +145.0 rodata +93.0 text +52.0
> >>>>               puma-rk3399    : all +145 rodata +93 text +52
> >>>> 15: mtd: spi-nor-core: Replace MTD_SPI_NOR_USE_4K_SECTORS with
> >>>> SPI_FLASH_USE_4K_SECTORS
> >>>> 16: spi: designware_spi: Disable and free clock when remove driver
> >>>> 17: spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*
> >>>> 18: spi-nor: spi-nor-ids: Add entries for mt25q variants
> >>>> 19: spi-nor: spi-nor-ids: Add USE_FSR flag for mt25q* and n25q* entry
> >>>> 20: mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD
> >>>> 21: spi-nor-ids: Add support for Adesto AT25SL321
> >>>
> >>> If you think everything is good now, please re-submit the PR and I'll
> >>> give it a whirl.  Thanks!
> >>
> >> Can you please fix the issues in the PR and resubmit, so we have these
> >> patches in v2020.01 if it's not already too late?
> >>
> >> Or otherwise please just drop the "mtd: spi: Kconfig: Imply SPI_FLASH if
> >> DM_SPI_FLASH" or whatever causes these problems, so the other patches
> >> get merged.
> >
> > Please have a look on -rc1 tag[1] PR merged already.
> >
> > [1] https://gitlab.denx.de/u-boot/u-boot/commits/master
>
> Sorry for the noise! I missed the fact that the spi tree was merged.
> Thanks a lot for your work!

No problem, thanks!

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-10-31  7:57         ` Jagan Teki
@ 2019-10-31  8:01           ` Schrempf Frieder
  2019-10-31  8:09             ` Jagan Teki
  0 siblings, 1 reply; 217+ messages in thread
From: Schrempf Frieder @ 2019-10-31  8:01 UTC (permalink / raw)
  To: u-boot

On 31.10.19 08:57, Jagan Teki wrote:
> Hi Schrempf,
> 
> On Thu, Oct 31, 2019 at 1:24 PM Schrempf Frieder
> <frieder.schrempf@kontron.de> wrote:
>>
>> Hi Jagan,
>>
>> On 28.10.19 01:46, Tom Rini wrote:
>>> On Sun, Oct 27, 2019 at 05:20:22PM +0530, Jagan Teki wrote:
>>>> Hi Tom,
>>>>
>>>> On Fri, Oct 25, 2019 at 11:19 PM Tom Rini <trini@konsulko.com> wrote:
>>>>>
>>>>> On Fri, Oct 25, 2019 at 02:08:12PM +0530, Jagan Teki wrote:
>>>>>
>>>>>> Hi Tom,
>>>>>>
>>>>>> Please pull this PR.
>>>>>>
>>>>>> Summary:
>>>>>> - SPL_SPI_FLASH_MTD (Frieder)
>>>>>> - SPI NOR IDs' fixes, additions (Vignesh)
>>>>>> - cs_info change (Bin)
>>>>>> - Enable sunxi spi (Jagan)
>>>>>>
>>>>>> Travis-CI:
>>>>>> https://travis-ci.org/openedev/u-boot-amarula/builds/602483415
>>>>>>
>>>>>> Thanks,
>>>>>> Jagan.
>>>>>>
>>>>>> The following changes since commit 17fd9915a4c639381804ed28274fa136ae3b0bee:
>>>>>>
>>>>>>     Merge branch '2019-10-24-UFS-support' (2019-10-24 09:51:48 -0400)
>>>>>>
>>>>>> are available in the Git repository at:
>>>>>>
>>>>>>     https://gitlab.denx.de/u-boot/custodians/u-boot-spi master
>>>>>>
>>>>>> for you to fetch changes up to 395ec7418695e5ce23f8b48c01a1dbffd2e52d3f:
>>>>>>
>>>>>>     spi-nor-ids: Add support for Adesto AT25SL321 (2019-10-25 00:48:32 +0530)
>>>>>>
>>>>>
>>>>> So, looking over the build output, I see the expected size increase in
>>>>> sunxi due to new support. But I also see a lot of size increases in
>>>>> rockchip and layerscape platforms (and possibly more, I stopped after
>>>>> spotting two different SoCs), for example:
>>>>>               evb-px5        : all +12139 data +176 rodata +2275 spl/u-boot-spl:all +3529 spl/u-boot-spl:data +120 spl/u-boot-spl:rodata +309 spl/u-boot-spl:text +3100 text +9688
>>>>>                  u-boot: add: 49/0, grow: 0/0 bytes: 9512/0 (9512)
>>>>>                    function                                   old     new   delta
>>>>>                    spi_nor_scan                                 -    2032   +2032
>>>>>                    do_spi_flash                                 -    2008   +2008
>>>>>                    spi_get_bus_and_cs                           -     436    +436
>>>>>                    spi_mem_exec_op                              -     420    +420
>>>>>                    static.spi_nor_wait_till_ready_with_timeout       -     300    +300
>>>>>                    spi_nor_write                                -     300    +300
>>>>>                    mtd_arg_off_size                             -     276    +276
>>>>>                    spi_nor_erase                                -     232    +232
>>>>>                    device_unbind                                -     232    +232
>>>>>                    spi_nor_read_data                            -     220    +220
>>>>>                    spi_nor_write_data                           -     212    +212
>>>>>                    dm_spi_claim_bus                             -     196    +196
>>>>>                    spi_mem_adjust_op_size                       -     160    +160
>>>>>                    spi_mem_default_supports_op                  -     156    +156
>>>>>                    spi_nor_read                                 -     152    +152
>>>>>                    spi_flash_probe_bus_cs                       -     152    +152
>>>>>                    spi_set_speed_mode                           -     148    +148
>>>>>                    spi_flash_std_erase                          -     136    +136
>>>>>                    spi_flash_std_probe                          -     132    +132
>>>>>                    mtd_arg_off                                  -     124    +124
>>>>>                    device_chld_unbind                           -     120    +120
>>>>>                    _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
>>>>>                    spi_nor_write_reg                            -     104    +104
>>>>>                    spi_find_bus_and_cs                          -     104    +104
>>>>>                    spi_nor_read_reg                             -     100    +100
>>>>>                    spi_find_chip_select                         -      96     +96
>>>>>                    static.spi_check_buswidth_req                -      88     +88
>>>>>                    str2off                                      -      80     +80
>>>>>                    bytes_per_second                             -      76     +76
>>>>>                    spi_flash_std_write                          -      72     +72
>>>>>                    spi_flash_std_read                           -      72     +72
>>>>>                    spi_mem_supports_op                          -      56     +56
>>>>>                    _u_boot_list_2_cmd_2_sf                      -      56     +56
>>>>>                    dm_spi_xfer                                  -      48     +48
>>>>>                    read_sr                                      -      44     +44
>>>>>                    device_find_next_child                       -      40     +40
>>>>>                    spi_flash_cmd_get_sw_write_prot              -      36     +36
>>>>>                    dm_spi_release_bus                           -      28     +28
>>>>>                    write_enable                                 -      20     +20
>>>>>                    write_disable                                -      20     +20
>>>>>                    spi_flash_std_get_sw_write_prot              -      20     +20
>>>>>                    spi_flash_write_dm                           -      16     +16
>>>>>                    spi_flash_read_dm                            -      16     +16
>>>>>                    spi_flash_erase_dm                           -      16     +16
>>>>>                    spi_xfer                                     -       8      +8
>>>>>                    spi_release_bus                              -       8      +8
>>>>>                    spi_flash_std_remove                         -       8      +8
>>>>>                    spi_claim_bus                                -       8      +8
>>>>>                    flash                                        -       8      +8
>>>>>                  spl-u-boot-spl: add: 25/0, grow: 0/0 bytes: 3220/0 (3220)
>>>>>                    function                                   old     new   delta
>>>>>                    spi_nor_scan                                 -     904    +904
>>>>>                    spi_mem_exec_op                              -     420    +420
>>>>>                    spi_nor_read                                 -     304    +304
>>>>>                    dm_spi_claim_bus                             -     196    +196
>>>>>                    spi_mem_adjust_op_size                       -     160    +160
>>>>>                    spi_mem_default_supports_op                  -     156    +156
>>>>>                    spi_set_speed_mode                           -     148    +148
>>>>>                    spi_flash_std_erase                          -     136    +136
>>>>>                    spi_flash_std_probe                          -     132    +132
>>>>>                    _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
>>>>>                    spi_nor_write_reg                            -     104    +104
>>>>>                    static.spi_check_buswidth_req                -      88     +88
>>>>>                    spi_flash_std_write                          -      72     +72
>>>>>                    spi_flash_std_read                           -      72     +72
>>>>>                    spi_mem_supports_op                          -      56     +56
>>>>>                    dm_spi_xfer                                  -      48     +48
>>>>>                    dm_spi_release_bus                           -      28     +28
>>>>>                    spi_flash_std_get_sw_write_prot              -      20     +20
>>>>>                    spi_xfer                                     -       8      +8
>>>>>                    spi_release_bus                              -       8      +8
>>>>>                    spi_nor_write                                -       8      +8
>>>>>                    spi_nor_erase                                -       8      +8
>>>>>                    spi_flash_std_remove                         -       8      +8
>>>>>                    spi_flash_cmd_get_sw_write_prot              -       8      +8
>>>>>                    spi_claim_bus                                -       8      +8
>>>>>               ls2088aqds_tfa : all +12906 data +120 rodata +2982 text +9804
>>>>>                  u-boot: add: 44/0, grow: 0/0 bytes: 8460/0 (8460)
>>>>>                    function                                   old     new   delta
>>>>>                    spi_nor_scan                                 -    2168   +2168
>>>>>                    sst26_lock_ctl                               -     604    +604
>>>>>                    stm_unlock                                   -     536    +536
>>>>>                    stm_lock                                     -     536    +536
>>>>>                    sst_write                                    -     504    +504
>>>>>                    spi_mem_exec_op                              -     420    +420
>>>>>                    spi_nor_write                                -     300    +300
>>>>>                    spi_nor_wait_till_ready                      -     300    +300
>>>>>                    spi_nor_erase                                -     232    +232
>>>>>                    spi_nor_read_data                            -     220    +220
>>>>>                    spi_nor_write_data                           -     212    +212
>>>>>                    dm_spi_claim_bus                             -     196    +196
>>>>>                    spi_mem_adjust_op_size                       -     160    +160
>>>>>                    spi_mem_default_supports_op                  -     156    +156
>>>>>                    spi_nor_read                                 -     152    +152
>>>>>                    spi_flash_std_erase                          -     136    +136
>>>>>                    spi_flash_std_probe                          -     132    +132
>>>>>                    stm_is_locked                                -     120    +120
>>>>>                    _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
>>>>>                    static.write_sr_and_check                    -     112    +112
>>>>>                    spi_nor_write_reg                            -     104    +104
>>>>>                    spi_nor_read_reg                             -     100    +100
>>>>>                    stm_is_unlocked_sr                           -      92     +92
>>>>>                    stm_is_locked_sr                             -      92     +92
>>>>>                    static.spi_check_buswidth_req                -      88     +88
>>>>>                    sst26_process_bpr                            -      88     +88
>>>>>                    stm_get_locked_range                         -      80     +80
>>>>>                    spi_flash_std_write                          -      72     +72
>>>>>                    spi_flash_std_read                           -      72     +72
>>>>>                    spi_mem_supports_op                          -      56     +56
>>>>>                    dm_spi_xfer                                  -      48     +48
>>>>>                    read_sr                                      -      44     +44
>>>>>                    sst26_is_locked                              -      36     +36
>>>>>                    spi_flash_cmd_get_sw_write_prot              -      36     +36
>>>>>                    dm_spi_release_bus                           -      28     +28
>>>>>                    write_enable                                 -      20     +20
>>>>>                    write_disable                                -      20     +20
>>>>>                    spi_flash_std_get_sw_write_prot              -      20     +20
>>>>>                    sst26_unlock                                 -       8      +8
>>>>>                    sst26_lock                                   -       8      +8
>>>>>                    spi_xfer                                     -       8      +8
>>>>>                    spi_release_bus                              -       8      +8
>>>>>                    spi_flash_std_remove                         -       8      +8
>>>>>                    spi_claim_bus                                -       8      +8
>>>>>
>>>>> So this strongly feels like something is being enabled by default when
>>>>> it shouldn't.  You may want to use buildman with something like:
>>>>> $ git checkout -b current-spi-changes origin/master
>>>>> $ export SOURCE_DATE_EPOCH=`date +%s`
>>>>> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b current-spi-changes \
>>>>>     -SBCdevlk ls2088aqds_tfa
>>>>> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b current-spi-changes \
>>>>>     -SsBdevlk ls2088aqds_tfa
>>>>>
>>>>> If nothing in the git log stands out to you as to which commit is
>>>>> causing this growth.  Thanks!
>>>>
>>>> I did see for layerscape. but not with rockchip. layerscape did use
>>>> cmd/sf.c and DM_SPI_FLASH don't know why those boards accessing
>>>> jedec,spi-nor even though they enabled it on dts. so the patch
>>>> 08: mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH
>>>>
>>>> Enabling SPI_FLASH that indeed increasing the size on this platform,
>>>> reset seems to be fine. If yes, will make the SPI_FLASH enablement not
>>>> for layerscape. please check and let me know.
>>>>
>>>> layerscape:
>>>>
>>>> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b master -SsCdevlk
>>>> ls2088aqds_tfa
>>>> boards.cfg is up to date. Nothing to do.
>>>> Summary of 21 commits for 1 boards (1 thread, 4 jobs per thread)
>>>> 01: Merge branch '2019-10-24-UFS-support'
>>>>      aarch64:  w+   ls2088aqds_tfa
>>>> +(ls2088aqds_tfa) ===================== WARNING ======================
>>>> +(ls2088aqds_tfa) This board does not use CONFIG_DM_ETH (Driver Model
>>>> +(ls2088aqds_tfa) for Ethernet drivers). Please update the board to use
>>>> +(ls2088aqds_tfa) CONFIG_DM_ETH before the v2020.07 release. Failure to
>>>> +(ls2088aqds_tfa) update by the deadline may result in board removal.
>>>> +(ls2088aqds_tfa) See doc/driver-model/migration.rst for more info.
>>>> +(ls2088aqds_tfa) ====================================================
>>>> 02: mtd: spi: Kconfig: Update CONFIG_SPI_FLASH
>>>> 03: mtd: spi-nor: ids: Add is25wp256 chip
>>>> 04: spi: Kconfig: Add help text
>>>> 05: dm: spi: Return 0 if driver does not implement ops->cs_info
>>>> 06: dm: spi: Change cs_info op to return -EINVAL for invalid cs num
>>>> 07: cmd: sf: Mark it default if DM_SPI_FLASH enabled
>>>>
>>>>      aarch64: (for 1/1 boards) all +12554.0 data +120.0 rodata +2750.0
>>>> text +9684.0
>>>>               ls2088aqds_tfa : all +12554 data +120 rodata +2750 text +9684
>>>> 09: spi: Kconfig: Enable SPI_SUNXI for SUNXI
>>>> 10: arm: sunxi: Enable SPI/SPI-FLASH support for A64
>>>> 11: configs: sopine-baseboard: Enable SPI-FLASH
>>>> 12: mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig
>>>> 13: stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD
>>>> 14: mtd: spi-nor-core: Use dev_err for reporting erase/write failures
>>>>      aarch64: (for 1/1 boards) all +145.0 rodata +93.0 text +52.0
>>>>               ls2088aqds_tfa : all +145 rodata +93 text +52
>>>> 15: mtd: spi-nor-core: Replace MTD_SPI_NOR_USE_4K_SECTORS with
>>>> SPI_FLASH_USE_4K_SECTORS
>>>> 16: spi: designware_spi: Disable and free clock when remove driver
>>>> 17: spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*
>>>> 18: spi-nor: spi-nor-ids: Add entries for mt25q variants
>>>>      aarch64: (for 1/1 boards) all +201.0 rodata +129.0 text +72.0
>>>>               ls2088aqds_tfa : all +201 rodata +129 text +72
>>>> 19: spi-nor: spi-nor-ids: Add USE_FSR flag for mt25q* and n25q* entry
>>>> 20: mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD
>>>> 21: spi-nor-ids: Add support for Adesto AT25SL321
>>>>
>>>> rk3399:
>>>>
>>>> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b master -SsCdevlk
>>>> puma-rk3399
>>>> boards.cfg is up to date. Nothing to do.
>>>> Summary of 21 commits for 1 boards (1 thread, 4 jobs per thread)
>>>> 01: Merge branch '2019-10-24-UFS-support'
>>>>      aarch64:  w+   puma-rk3399
>>>> +(puma-rk3399) WARNING: PMUM0 file rk3399m0.bin NOT found, resulting
>>>> binary is non-functional
>>>> +(puma-rk3399) Please read Building section in doc/README.rockchip
>>>> 02: mtd: spi: Kconfig: Update CONFIG_SPI_FLASH
>>>> 03: mtd: spi-nor: ids: Add is25wp256 chip
>>>> 04: spi: Kconfig: Add help text
>>>> 05: dm: spi: Return 0 if driver does not implement ops->cs_info
>>>> 06: dm: spi: Change cs_info op to return -EINVAL for invalid cs num
>>>> 07: cmd: sf: Mark it default if DM_SPI_FLASH enabled
>>>> 08: mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH
>>>> 09: spi: Kconfig: Enable SPI_SUNXI for SUNXI
>>>> 10: arm: sunxi: Enable SPI/SPI-FLASH support for A64
>>>> 11: configs: sopine-baseboard: Enable SPI-FLASH
>>>> 12: mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig
>>>> 13: stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD
>>>> 14: mtd: spi-nor-core: Use dev_err for reporting erase/write failures
>>>>      aarch64: (for 1/1 boards) all +145.0 rodata +93.0 text +52.0
>>>>               puma-rk3399    : all +145 rodata +93 text +52
>>>> 15: mtd: spi-nor-core: Replace MTD_SPI_NOR_USE_4K_SECTORS with
>>>> SPI_FLASH_USE_4K_SECTORS
>>>> 16: spi: designware_spi: Disable and free clock when remove driver
>>>> 17: spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*
>>>> 18: spi-nor: spi-nor-ids: Add entries for mt25q variants
>>>> 19: spi-nor: spi-nor-ids: Add USE_FSR flag for mt25q* and n25q* entry
>>>> 20: mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD
>>>> 21: spi-nor-ids: Add support for Adesto AT25SL321
>>>
>>> If you think everything is good now, please re-submit the PR and I'll
>>> give it a whirl.  Thanks!
>>
>> Can you please fix the issues in the PR and resubmit, so we have these
>> patches in v2020.01 if it's not already too late?
>>
>> Or otherwise please just drop the "mtd: spi: Kconfig: Imply SPI_FLASH if
>> DM_SPI_FLASH" or whatever causes these problems, so the other patches
>> get merged.
> 
> Please have a look on -rc1 tag[1] PR merged already.
> 
> [1] https://gitlab.denx.de/u-boot/u-boot/commits/master

Sorry for the noise! I missed the fact that the spi tree was merged.
Thanks a lot for your work!

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-10-31  7:53       ` Schrempf Frieder
@ 2019-10-31  7:57         ` Jagan Teki
  2019-10-31  8:01           ` Schrempf Frieder
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2019-10-31  7:57 UTC (permalink / raw)
  To: u-boot

Hi Schrempf,

On Thu, Oct 31, 2019 at 1:24 PM Schrempf Frieder
<frieder.schrempf@kontron.de> wrote:
>
> Hi Jagan,
>
> On 28.10.19 01:46, Tom Rini wrote:
> > On Sun, Oct 27, 2019 at 05:20:22PM +0530, Jagan Teki wrote:
> >> Hi Tom,
> >>
> >> On Fri, Oct 25, 2019 at 11:19 PM Tom Rini <trini@konsulko.com> wrote:
> >>>
> >>> On Fri, Oct 25, 2019 at 02:08:12PM +0530, Jagan Teki wrote:
> >>>
> >>>> Hi Tom,
> >>>>
> >>>> Please pull this PR.
> >>>>
> >>>> Summary:
> >>>> - SPL_SPI_FLASH_MTD (Frieder)
> >>>> - SPI NOR IDs' fixes, additions (Vignesh)
> >>>> - cs_info change (Bin)
> >>>> - Enable sunxi spi (Jagan)
> >>>>
> >>>> Travis-CI:
> >>>> https://travis-ci.org/openedev/u-boot-amarula/builds/602483415
> >>>>
> >>>> Thanks,
> >>>> Jagan.
> >>>>
> >>>> The following changes since commit 17fd9915a4c639381804ed28274fa136ae3b0bee:
> >>>>
> >>>>    Merge branch '2019-10-24-UFS-support' (2019-10-24 09:51:48 -0400)
> >>>>
> >>>> are available in the Git repository at:
> >>>>
> >>>>    https://gitlab.denx.de/u-boot/custodians/u-boot-spi master
> >>>>
> >>>> for you to fetch changes up to 395ec7418695e5ce23f8b48c01a1dbffd2e52d3f:
> >>>>
> >>>>    spi-nor-ids: Add support for Adesto AT25SL321 (2019-10-25 00:48:32 +0530)
> >>>>
> >>>
> >>> So, looking over the build output, I see the expected size increase in
> >>> sunxi due to new support. But I also see a lot of size increases in
> >>> rockchip and layerscape platforms (and possibly more, I stopped after
> >>> spotting two different SoCs), for example:
> >>>              evb-px5        : all +12139 data +176 rodata +2275 spl/u-boot-spl:all +3529 spl/u-boot-spl:data +120 spl/u-boot-spl:rodata +309 spl/u-boot-spl:text +3100 text +9688
> >>>                 u-boot: add: 49/0, grow: 0/0 bytes: 9512/0 (9512)
> >>>                   function                                   old     new   delta
> >>>                   spi_nor_scan                                 -    2032   +2032
> >>>                   do_spi_flash                                 -    2008   +2008
> >>>                   spi_get_bus_and_cs                           -     436    +436
> >>>                   spi_mem_exec_op                              -     420    +420
> >>>                   static.spi_nor_wait_till_ready_with_timeout       -     300    +300
> >>>                   spi_nor_write                                -     300    +300
> >>>                   mtd_arg_off_size                             -     276    +276
> >>>                   spi_nor_erase                                -     232    +232
> >>>                   device_unbind                                -     232    +232
> >>>                   spi_nor_read_data                            -     220    +220
> >>>                   spi_nor_write_data                           -     212    +212
> >>>                   dm_spi_claim_bus                             -     196    +196
> >>>                   spi_mem_adjust_op_size                       -     160    +160
> >>>                   spi_mem_default_supports_op                  -     156    +156
> >>>                   spi_nor_read                                 -     152    +152
> >>>                   spi_flash_probe_bus_cs                       -     152    +152
> >>>                   spi_set_speed_mode                           -     148    +148
> >>>                   spi_flash_std_erase                          -     136    +136
> >>>                   spi_flash_std_probe                          -     132    +132
> >>>                   mtd_arg_off                                  -     124    +124
> >>>                   device_chld_unbind                           -     120    +120
> >>>                   _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
> >>>                   spi_nor_write_reg                            -     104    +104
> >>>                   spi_find_bus_and_cs                          -     104    +104
> >>>                   spi_nor_read_reg                             -     100    +100
> >>>                   spi_find_chip_select                         -      96     +96
> >>>                   static.spi_check_buswidth_req                -      88     +88
> >>>                   str2off                                      -      80     +80
> >>>                   bytes_per_second                             -      76     +76
> >>>                   spi_flash_std_write                          -      72     +72
> >>>                   spi_flash_std_read                           -      72     +72
> >>>                   spi_mem_supports_op                          -      56     +56
> >>>                   _u_boot_list_2_cmd_2_sf                      -      56     +56
> >>>                   dm_spi_xfer                                  -      48     +48
> >>>                   read_sr                                      -      44     +44
> >>>                   device_find_next_child                       -      40     +40
> >>>                   spi_flash_cmd_get_sw_write_prot              -      36     +36
> >>>                   dm_spi_release_bus                           -      28     +28
> >>>                   write_enable                                 -      20     +20
> >>>                   write_disable                                -      20     +20
> >>>                   spi_flash_std_get_sw_write_prot              -      20     +20
> >>>                   spi_flash_write_dm                           -      16     +16
> >>>                   spi_flash_read_dm                            -      16     +16
> >>>                   spi_flash_erase_dm                           -      16     +16
> >>>                   spi_xfer                                     -       8      +8
> >>>                   spi_release_bus                              -       8      +8
> >>>                   spi_flash_std_remove                         -       8      +8
> >>>                   spi_claim_bus                                -       8      +8
> >>>                   flash                                        -       8      +8
> >>>                 spl-u-boot-spl: add: 25/0, grow: 0/0 bytes: 3220/0 (3220)
> >>>                   function                                   old     new   delta
> >>>                   spi_nor_scan                                 -     904    +904
> >>>                   spi_mem_exec_op                              -     420    +420
> >>>                   spi_nor_read                                 -     304    +304
> >>>                   dm_spi_claim_bus                             -     196    +196
> >>>                   spi_mem_adjust_op_size                       -     160    +160
> >>>                   spi_mem_default_supports_op                  -     156    +156
> >>>                   spi_set_speed_mode                           -     148    +148
> >>>                   spi_flash_std_erase                          -     136    +136
> >>>                   spi_flash_std_probe                          -     132    +132
> >>>                   _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
> >>>                   spi_nor_write_reg                            -     104    +104
> >>>                   static.spi_check_buswidth_req                -      88     +88
> >>>                   spi_flash_std_write                          -      72     +72
> >>>                   spi_flash_std_read                           -      72     +72
> >>>                   spi_mem_supports_op                          -      56     +56
> >>>                   dm_spi_xfer                                  -      48     +48
> >>>                   dm_spi_release_bus                           -      28     +28
> >>>                   spi_flash_std_get_sw_write_prot              -      20     +20
> >>>                   spi_xfer                                     -       8      +8
> >>>                   spi_release_bus                              -       8      +8
> >>>                   spi_nor_write                                -       8      +8
> >>>                   spi_nor_erase                                -       8      +8
> >>>                   spi_flash_std_remove                         -       8      +8
> >>>                   spi_flash_cmd_get_sw_write_prot              -       8      +8
> >>>                   spi_claim_bus                                -       8      +8
> >>>              ls2088aqds_tfa : all +12906 data +120 rodata +2982 text +9804
> >>>                 u-boot: add: 44/0, grow: 0/0 bytes: 8460/0 (8460)
> >>>                   function                                   old     new   delta
> >>>                   spi_nor_scan                                 -    2168   +2168
> >>>                   sst26_lock_ctl                               -     604    +604
> >>>                   stm_unlock                                   -     536    +536
> >>>                   stm_lock                                     -     536    +536
> >>>                   sst_write                                    -     504    +504
> >>>                   spi_mem_exec_op                              -     420    +420
> >>>                   spi_nor_write                                -     300    +300
> >>>                   spi_nor_wait_till_ready                      -     300    +300
> >>>                   spi_nor_erase                                -     232    +232
> >>>                   spi_nor_read_data                            -     220    +220
> >>>                   spi_nor_write_data                           -     212    +212
> >>>                   dm_spi_claim_bus                             -     196    +196
> >>>                   spi_mem_adjust_op_size                       -     160    +160
> >>>                   spi_mem_default_supports_op                  -     156    +156
> >>>                   spi_nor_read                                 -     152    +152
> >>>                   spi_flash_std_erase                          -     136    +136
> >>>                   spi_flash_std_probe                          -     132    +132
> >>>                   stm_is_locked                                -     120    +120
> >>>                   _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
> >>>                   static.write_sr_and_check                    -     112    +112
> >>>                   spi_nor_write_reg                            -     104    +104
> >>>                   spi_nor_read_reg                             -     100    +100
> >>>                   stm_is_unlocked_sr                           -      92     +92
> >>>                   stm_is_locked_sr                             -      92     +92
> >>>                   static.spi_check_buswidth_req                -      88     +88
> >>>                   sst26_process_bpr                            -      88     +88
> >>>                   stm_get_locked_range                         -      80     +80
> >>>                   spi_flash_std_write                          -      72     +72
> >>>                   spi_flash_std_read                           -      72     +72
> >>>                   spi_mem_supports_op                          -      56     +56
> >>>                   dm_spi_xfer                                  -      48     +48
> >>>                   read_sr                                      -      44     +44
> >>>                   sst26_is_locked                              -      36     +36
> >>>                   spi_flash_cmd_get_sw_write_prot              -      36     +36
> >>>                   dm_spi_release_bus                           -      28     +28
> >>>                   write_enable                                 -      20     +20
> >>>                   write_disable                                -      20     +20
> >>>                   spi_flash_std_get_sw_write_prot              -      20     +20
> >>>                   sst26_unlock                                 -       8      +8
> >>>                   sst26_lock                                   -       8      +8
> >>>                   spi_xfer                                     -       8      +8
> >>>                   spi_release_bus                              -       8      +8
> >>>                   spi_flash_std_remove                         -       8      +8
> >>>                   spi_claim_bus                                -       8      +8
> >>>
> >>> So this strongly feels like something is being enabled by default when
> >>> it shouldn't.  You may want to use buildman with something like:
> >>> $ git checkout -b current-spi-changes origin/master
> >>> $ export SOURCE_DATE_EPOCH=`date +%s`
> >>> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b current-spi-changes \
> >>>    -SBCdevlk ls2088aqds_tfa
> >>> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b current-spi-changes \
> >>>    -SsBdevlk ls2088aqds_tfa
> >>>
> >>> If nothing in the git log stands out to you as to which commit is
> >>> causing this growth.  Thanks!
> >>
> >> I did see for layerscape. but not with rockchip. layerscape did use
> >> cmd/sf.c and DM_SPI_FLASH don't know why those boards accessing
> >> jedec,spi-nor even though they enabled it on dts. so the patch
> >> 08: mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH
> >>
> >> Enabling SPI_FLASH that indeed increasing the size on this platform,
> >> reset seems to be fine. If yes, will make the SPI_FLASH enablement not
> >> for layerscape. please check and let me know.
> >>
> >> layerscape:
> >>
> >> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b master -SsCdevlk
> >> ls2088aqds_tfa
> >> boards.cfg is up to date. Nothing to do.
> >> Summary of 21 commits for 1 boards (1 thread, 4 jobs per thread)
> >> 01: Merge branch '2019-10-24-UFS-support'
> >>     aarch64:  w+   ls2088aqds_tfa
> >> +(ls2088aqds_tfa) ===================== WARNING ======================
> >> +(ls2088aqds_tfa) This board does not use CONFIG_DM_ETH (Driver Model
> >> +(ls2088aqds_tfa) for Ethernet drivers). Please update the board to use
> >> +(ls2088aqds_tfa) CONFIG_DM_ETH before the v2020.07 release. Failure to
> >> +(ls2088aqds_tfa) update by the deadline may result in board removal.
> >> +(ls2088aqds_tfa) See doc/driver-model/migration.rst for more info.
> >> +(ls2088aqds_tfa) ====================================================
> >> 02: mtd: spi: Kconfig: Update CONFIG_SPI_FLASH
> >> 03: mtd: spi-nor: ids: Add is25wp256 chip
> >> 04: spi: Kconfig: Add help text
> >> 05: dm: spi: Return 0 if driver does not implement ops->cs_info
> >> 06: dm: spi: Change cs_info op to return -EINVAL for invalid cs num
> >> 07: cmd: sf: Mark it default if DM_SPI_FLASH enabled
> >>
> >>     aarch64: (for 1/1 boards) all +12554.0 data +120.0 rodata +2750.0
> >> text +9684.0
> >>              ls2088aqds_tfa : all +12554 data +120 rodata +2750 text +9684
> >> 09: spi: Kconfig: Enable SPI_SUNXI for SUNXI
> >> 10: arm: sunxi: Enable SPI/SPI-FLASH support for A64
> >> 11: configs: sopine-baseboard: Enable SPI-FLASH
> >> 12: mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig
> >> 13: stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD
> >> 14: mtd: spi-nor-core: Use dev_err for reporting erase/write failures
> >>     aarch64: (for 1/1 boards) all +145.0 rodata +93.0 text +52.0
> >>              ls2088aqds_tfa : all +145 rodata +93 text +52
> >> 15: mtd: spi-nor-core: Replace MTD_SPI_NOR_USE_4K_SECTORS with
> >> SPI_FLASH_USE_4K_SECTORS
> >> 16: spi: designware_spi: Disable and free clock when remove driver
> >> 17: spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*
> >> 18: spi-nor: spi-nor-ids: Add entries for mt25q variants
> >>     aarch64: (for 1/1 boards) all +201.0 rodata +129.0 text +72.0
> >>              ls2088aqds_tfa : all +201 rodata +129 text +72
> >> 19: spi-nor: spi-nor-ids: Add USE_FSR flag for mt25q* and n25q* entry
> >> 20: mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD
> >> 21: spi-nor-ids: Add support for Adesto AT25SL321
> >>
> >> rk3399:
> >>
> >> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b master -SsCdevlk
> >> puma-rk3399
> >> boards.cfg is up to date. Nothing to do.
> >> Summary of 21 commits for 1 boards (1 thread, 4 jobs per thread)
> >> 01: Merge branch '2019-10-24-UFS-support'
> >>     aarch64:  w+   puma-rk3399
> >> +(puma-rk3399) WARNING: PMUM0 file rk3399m0.bin NOT found, resulting
> >> binary is non-functional
> >> +(puma-rk3399) Please read Building section in doc/README.rockchip
> >> 02: mtd: spi: Kconfig: Update CONFIG_SPI_FLASH
> >> 03: mtd: spi-nor: ids: Add is25wp256 chip
> >> 04: spi: Kconfig: Add help text
> >> 05: dm: spi: Return 0 if driver does not implement ops->cs_info
> >> 06: dm: spi: Change cs_info op to return -EINVAL for invalid cs num
> >> 07: cmd: sf: Mark it default if DM_SPI_FLASH enabled
> >> 08: mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH
> >> 09: spi: Kconfig: Enable SPI_SUNXI for SUNXI
> >> 10: arm: sunxi: Enable SPI/SPI-FLASH support for A64
> >> 11: configs: sopine-baseboard: Enable SPI-FLASH
> >> 12: mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig
> >> 13: stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD
> >> 14: mtd: spi-nor-core: Use dev_err for reporting erase/write failures
> >>     aarch64: (for 1/1 boards) all +145.0 rodata +93.0 text +52.0
> >>              puma-rk3399    : all +145 rodata +93 text +52
> >> 15: mtd: spi-nor-core: Replace MTD_SPI_NOR_USE_4K_SECTORS with
> >> SPI_FLASH_USE_4K_SECTORS
> >> 16: spi: designware_spi: Disable and free clock when remove driver
> >> 17: spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*
> >> 18: spi-nor: spi-nor-ids: Add entries for mt25q variants
> >> 19: spi-nor: spi-nor-ids: Add USE_FSR flag for mt25q* and n25q* entry
> >> 20: mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD
> >> 21: spi-nor-ids: Add support for Adesto AT25SL321
> >
> > If you think everything is good now, please re-submit the PR and I'll
> > give it a whirl.  Thanks!
>
> Can you please fix the issues in the PR and resubmit, so we have these
> patches in v2020.01 if it's not already too late?
>
> Or otherwise please just drop the "mtd: spi: Kconfig: Imply SPI_FLASH if
> DM_SPI_FLASH" or whatever causes these problems, so the other patches
> get merged.

Please have a look on -rc1 tag[1] PR merged already.

[1] https://gitlab.denx.de/u-boot/u-boot/commits/master

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-10-28  0:46     ` Tom Rini
@ 2019-10-31  7:53       ` Schrempf Frieder
  2019-10-31  7:57         ` Jagan Teki
  0 siblings, 1 reply; 217+ messages in thread
From: Schrempf Frieder @ 2019-10-31  7:53 UTC (permalink / raw)
  To: u-boot

Hi Jagan,

On 28.10.19 01:46, Tom Rini wrote:
> On Sun, Oct 27, 2019 at 05:20:22PM +0530, Jagan Teki wrote:
>> Hi Tom,
>>
>> On Fri, Oct 25, 2019 at 11:19 PM Tom Rini <trini@konsulko.com> wrote:
>>>
>>> On Fri, Oct 25, 2019 at 02:08:12PM +0530, Jagan Teki wrote:
>>>
>>>> Hi Tom,
>>>>
>>>> Please pull this PR.
>>>>
>>>> Summary:
>>>> - SPL_SPI_FLASH_MTD (Frieder)
>>>> - SPI NOR IDs' fixes, additions (Vignesh)
>>>> - cs_info change (Bin)
>>>> - Enable sunxi spi (Jagan)
>>>>
>>>> Travis-CI:
>>>> https://travis-ci.org/openedev/u-boot-amarula/builds/602483415
>>>>
>>>> Thanks,
>>>> Jagan.
>>>>
>>>> The following changes since commit 17fd9915a4c639381804ed28274fa136ae3b0bee:
>>>>
>>>>    Merge branch '2019-10-24-UFS-support' (2019-10-24 09:51:48 -0400)
>>>>
>>>> are available in the Git repository at:
>>>>
>>>>    https://gitlab.denx.de/u-boot/custodians/u-boot-spi master
>>>>
>>>> for you to fetch changes up to 395ec7418695e5ce23f8b48c01a1dbffd2e52d3f:
>>>>
>>>>    spi-nor-ids: Add support for Adesto AT25SL321 (2019-10-25 00:48:32 +0530)
>>>>
>>>
>>> So, looking over the build output, I see the expected size increase in
>>> sunxi due to new support. But I also see a lot of size increases in
>>> rockchip and layerscape platforms (and possibly more, I stopped after
>>> spotting two different SoCs), for example:
>>>              evb-px5        : all +12139 data +176 rodata +2275 spl/u-boot-spl:all +3529 spl/u-boot-spl:data +120 spl/u-boot-spl:rodata +309 spl/u-boot-spl:text +3100 text +9688
>>>                 u-boot: add: 49/0, grow: 0/0 bytes: 9512/0 (9512)
>>>                   function                                   old     new   delta
>>>                   spi_nor_scan                                 -    2032   +2032
>>>                   do_spi_flash                                 -    2008   +2008
>>>                   spi_get_bus_and_cs                           -     436    +436
>>>                   spi_mem_exec_op                              -     420    +420
>>>                   static.spi_nor_wait_till_ready_with_timeout       -     300    +300
>>>                   spi_nor_write                                -     300    +300
>>>                   mtd_arg_off_size                             -     276    +276
>>>                   spi_nor_erase                                -     232    +232
>>>                   device_unbind                                -     232    +232
>>>                   spi_nor_read_data                            -     220    +220
>>>                   spi_nor_write_data                           -     212    +212
>>>                   dm_spi_claim_bus                             -     196    +196
>>>                   spi_mem_adjust_op_size                       -     160    +160
>>>                   spi_mem_default_supports_op                  -     156    +156
>>>                   spi_nor_read                                 -     152    +152
>>>                   spi_flash_probe_bus_cs                       -     152    +152
>>>                   spi_set_speed_mode                           -     148    +148
>>>                   spi_flash_std_erase                          -     136    +136
>>>                   spi_flash_std_probe                          -     132    +132
>>>                   mtd_arg_off                                  -     124    +124
>>>                   device_chld_unbind                           -     120    +120
>>>                   _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
>>>                   spi_nor_write_reg                            -     104    +104
>>>                   spi_find_bus_and_cs                          -     104    +104
>>>                   spi_nor_read_reg                             -     100    +100
>>>                   spi_find_chip_select                         -      96     +96
>>>                   static.spi_check_buswidth_req                -      88     +88
>>>                   str2off                                      -      80     +80
>>>                   bytes_per_second                             -      76     +76
>>>                   spi_flash_std_write                          -      72     +72
>>>                   spi_flash_std_read                           -      72     +72
>>>                   spi_mem_supports_op                          -      56     +56
>>>                   _u_boot_list_2_cmd_2_sf                      -      56     +56
>>>                   dm_spi_xfer                                  -      48     +48
>>>                   read_sr                                      -      44     +44
>>>                   device_find_next_child                       -      40     +40
>>>                   spi_flash_cmd_get_sw_write_prot              -      36     +36
>>>                   dm_spi_release_bus                           -      28     +28
>>>                   write_enable                                 -      20     +20
>>>                   write_disable                                -      20     +20
>>>                   spi_flash_std_get_sw_write_prot              -      20     +20
>>>                   spi_flash_write_dm                           -      16     +16
>>>                   spi_flash_read_dm                            -      16     +16
>>>                   spi_flash_erase_dm                           -      16     +16
>>>                   spi_xfer                                     -       8      +8
>>>                   spi_release_bus                              -       8      +8
>>>                   spi_flash_std_remove                         -       8      +8
>>>                   spi_claim_bus                                -       8      +8
>>>                   flash                                        -       8      +8
>>>                 spl-u-boot-spl: add: 25/0, grow: 0/0 bytes: 3220/0 (3220)
>>>                   function                                   old     new   delta
>>>                   spi_nor_scan                                 -     904    +904
>>>                   spi_mem_exec_op                              -     420    +420
>>>                   spi_nor_read                                 -     304    +304
>>>                   dm_spi_claim_bus                             -     196    +196
>>>                   spi_mem_adjust_op_size                       -     160    +160
>>>                   spi_mem_default_supports_op                  -     156    +156
>>>                   spi_set_speed_mode                           -     148    +148
>>>                   spi_flash_std_erase                          -     136    +136
>>>                   spi_flash_std_probe                          -     132    +132
>>>                   _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
>>>                   spi_nor_write_reg                            -     104    +104
>>>                   static.spi_check_buswidth_req                -      88     +88
>>>                   spi_flash_std_write                          -      72     +72
>>>                   spi_flash_std_read                           -      72     +72
>>>                   spi_mem_supports_op                          -      56     +56
>>>                   dm_spi_xfer                                  -      48     +48
>>>                   dm_spi_release_bus                           -      28     +28
>>>                   spi_flash_std_get_sw_write_prot              -      20     +20
>>>                   spi_xfer                                     -       8      +8
>>>                   spi_release_bus                              -       8      +8
>>>                   spi_nor_write                                -       8      +8
>>>                   spi_nor_erase                                -       8      +8
>>>                   spi_flash_std_remove                         -       8      +8
>>>                   spi_flash_cmd_get_sw_write_prot              -       8      +8
>>>                   spi_claim_bus                                -       8      +8
>>>              ls2088aqds_tfa : all +12906 data +120 rodata +2982 text +9804
>>>                 u-boot: add: 44/0, grow: 0/0 bytes: 8460/0 (8460)
>>>                   function                                   old     new   delta
>>>                   spi_nor_scan                                 -    2168   +2168
>>>                   sst26_lock_ctl                               -     604    +604
>>>                   stm_unlock                                   -     536    +536
>>>                   stm_lock                                     -     536    +536
>>>                   sst_write                                    -     504    +504
>>>                   spi_mem_exec_op                              -     420    +420
>>>                   spi_nor_write                                -     300    +300
>>>                   spi_nor_wait_till_ready                      -     300    +300
>>>                   spi_nor_erase                                -     232    +232
>>>                   spi_nor_read_data                            -     220    +220
>>>                   spi_nor_write_data                           -     212    +212
>>>                   dm_spi_claim_bus                             -     196    +196
>>>                   spi_mem_adjust_op_size                       -     160    +160
>>>                   spi_mem_default_supports_op                  -     156    +156
>>>                   spi_nor_read                                 -     152    +152
>>>                   spi_flash_std_erase                          -     136    +136
>>>                   spi_flash_std_probe                          -     132    +132
>>>                   stm_is_locked                                -     120    +120
>>>                   _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
>>>                   static.write_sr_and_check                    -     112    +112
>>>                   spi_nor_write_reg                            -     104    +104
>>>                   spi_nor_read_reg                             -     100    +100
>>>                   stm_is_unlocked_sr                           -      92     +92
>>>                   stm_is_locked_sr                             -      92     +92
>>>                   static.spi_check_buswidth_req                -      88     +88
>>>                   sst26_process_bpr                            -      88     +88
>>>                   stm_get_locked_range                         -      80     +80
>>>                   spi_flash_std_write                          -      72     +72
>>>                   spi_flash_std_read                           -      72     +72
>>>                   spi_mem_supports_op                          -      56     +56
>>>                   dm_spi_xfer                                  -      48     +48
>>>                   read_sr                                      -      44     +44
>>>                   sst26_is_locked                              -      36     +36
>>>                   spi_flash_cmd_get_sw_write_prot              -      36     +36
>>>                   dm_spi_release_bus                           -      28     +28
>>>                   write_enable                                 -      20     +20
>>>                   write_disable                                -      20     +20
>>>                   spi_flash_std_get_sw_write_prot              -      20     +20
>>>                   sst26_unlock                                 -       8      +8
>>>                   sst26_lock                                   -       8      +8
>>>                   spi_xfer                                     -       8      +8
>>>                   spi_release_bus                              -       8      +8
>>>                   spi_flash_std_remove                         -       8      +8
>>>                   spi_claim_bus                                -       8      +8
>>>
>>> So this strongly feels like something is being enabled by default when
>>> it shouldn't.  You may want to use buildman with something like:
>>> $ git checkout -b current-spi-changes origin/master
>>> $ export SOURCE_DATE_EPOCH=`date +%s`
>>> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b current-spi-changes \
>>>    -SBCdevlk ls2088aqds_tfa
>>> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b current-spi-changes \
>>>    -SsBdevlk ls2088aqds_tfa
>>>
>>> If nothing in the git log stands out to you as to which commit is
>>> causing this growth.  Thanks!
>>
>> I did see for layerscape. but not with rockchip. layerscape did use
>> cmd/sf.c and DM_SPI_FLASH don't know why those boards accessing
>> jedec,spi-nor even though they enabled it on dts. so the patch
>> 08: mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH
>>
>> Enabling SPI_FLASH that indeed increasing the size on this platform,
>> reset seems to be fine. If yes, will make the SPI_FLASH enablement not
>> for layerscape. please check and let me know.
>>
>> layerscape:
>>
>> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b master -SsCdevlk
>> ls2088aqds_tfa
>> boards.cfg is up to date. Nothing to do.
>> Summary of 21 commits for 1 boards (1 thread, 4 jobs per thread)
>> 01: Merge branch '2019-10-24-UFS-support'
>>     aarch64:  w+   ls2088aqds_tfa
>> +(ls2088aqds_tfa) ===================== WARNING ======================
>> +(ls2088aqds_tfa) This board does not use CONFIG_DM_ETH (Driver Model
>> +(ls2088aqds_tfa) for Ethernet drivers). Please update the board to use
>> +(ls2088aqds_tfa) CONFIG_DM_ETH before the v2020.07 release. Failure to
>> +(ls2088aqds_tfa) update by the deadline may result in board removal.
>> +(ls2088aqds_tfa) See doc/driver-model/migration.rst for more info.
>> +(ls2088aqds_tfa) ====================================================
>> 02: mtd: spi: Kconfig: Update CONFIG_SPI_FLASH
>> 03: mtd: spi-nor: ids: Add is25wp256 chip
>> 04: spi: Kconfig: Add help text
>> 05: dm: spi: Return 0 if driver does not implement ops->cs_info
>> 06: dm: spi: Change cs_info op to return -EINVAL for invalid cs num
>> 07: cmd: sf: Mark it default if DM_SPI_FLASH enabled
>>
>>     aarch64: (for 1/1 boards) all +12554.0 data +120.0 rodata +2750.0
>> text +9684.0
>>              ls2088aqds_tfa : all +12554 data +120 rodata +2750 text +9684
>> 09: spi: Kconfig: Enable SPI_SUNXI for SUNXI
>> 10: arm: sunxi: Enable SPI/SPI-FLASH support for A64
>> 11: configs: sopine-baseboard: Enable SPI-FLASH
>> 12: mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig
>> 13: stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD
>> 14: mtd: spi-nor-core: Use dev_err for reporting erase/write failures
>>     aarch64: (for 1/1 boards) all +145.0 rodata +93.0 text +52.0
>>              ls2088aqds_tfa : all +145 rodata +93 text +52
>> 15: mtd: spi-nor-core: Replace MTD_SPI_NOR_USE_4K_SECTORS with
>> SPI_FLASH_USE_4K_SECTORS
>> 16: spi: designware_spi: Disable and free clock when remove driver
>> 17: spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*
>> 18: spi-nor: spi-nor-ids: Add entries for mt25q variants
>>     aarch64: (for 1/1 boards) all +201.0 rodata +129.0 text +72.0
>>              ls2088aqds_tfa : all +201 rodata +129 text +72
>> 19: spi-nor: spi-nor-ids: Add USE_FSR flag for mt25q* and n25q* entry
>> 20: mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD
>> 21: spi-nor-ids: Add support for Adesto AT25SL321
>>
>> rk3399:
>>
>> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b master -SsCdevlk
>> puma-rk3399
>> boards.cfg is up to date. Nothing to do.
>> Summary of 21 commits for 1 boards (1 thread, 4 jobs per thread)
>> 01: Merge branch '2019-10-24-UFS-support'
>>     aarch64:  w+   puma-rk3399
>> +(puma-rk3399) WARNING: PMUM0 file rk3399m0.bin NOT found, resulting
>> binary is non-functional
>> +(puma-rk3399) Please read Building section in doc/README.rockchip
>> 02: mtd: spi: Kconfig: Update CONFIG_SPI_FLASH
>> 03: mtd: spi-nor: ids: Add is25wp256 chip
>> 04: spi: Kconfig: Add help text
>> 05: dm: spi: Return 0 if driver does not implement ops->cs_info
>> 06: dm: spi: Change cs_info op to return -EINVAL for invalid cs num
>> 07: cmd: sf: Mark it default if DM_SPI_FLASH enabled
>> 08: mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH
>> 09: spi: Kconfig: Enable SPI_SUNXI for SUNXI
>> 10: arm: sunxi: Enable SPI/SPI-FLASH support for A64
>> 11: configs: sopine-baseboard: Enable SPI-FLASH
>> 12: mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig
>> 13: stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD
>> 14: mtd: spi-nor-core: Use dev_err for reporting erase/write failures
>>     aarch64: (for 1/1 boards) all +145.0 rodata +93.0 text +52.0
>>              puma-rk3399    : all +145 rodata +93 text +52
>> 15: mtd: spi-nor-core: Replace MTD_SPI_NOR_USE_4K_SECTORS with
>> SPI_FLASH_USE_4K_SECTORS
>> 16: spi: designware_spi: Disable and free clock when remove driver
>> 17: spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*
>> 18: spi-nor: spi-nor-ids: Add entries for mt25q variants
>> 19: spi-nor: spi-nor-ids: Add USE_FSR flag for mt25q* and n25q* entry
>> 20: mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD
>> 21: spi-nor-ids: Add support for Adesto AT25SL321
> 
> If you think everything is good now, please re-submit the PR and I'll
> give it a whirl.  Thanks!

Can you please fix the issues in the PR and resubmit, so we have these 
patches in v2020.01 if it's not already too late?

Or otherwise please just drop the "mtd: spi: Kconfig: Imply SPI_FLASH if 
DM_SPI_FLASH" or whatever causes these problems, so the other patches 
get merged.

Thanks,
Frieder

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-10-27 11:50   ` Jagan Teki
@ 2019-10-28  0:46     ` Tom Rini
  2019-10-31  7:53       ` Schrempf Frieder
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2019-10-28  0:46 UTC (permalink / raw)
  To: u-boot

On Sun, Oct 27, 2019 at 05:20:22PM +0530, Jagan Teki wrote:
> Hi Tom,
> 
> On Fri, Oct 25, 2019 at 11:19 PM Tom Rini <trini@konsulko.com> wrote:
> >
> > On Fri, Oct 25, 2019 at 02:08:12PM +0530, Jagan Teki wrote:
> >
> > > Hi Tom,
> > >
> > > Please pull this PR.
> > >
> > > Summary:
> > > - SPL_SPI_FLASH_MTD (Frieder)
> > > - SPI NOR IDs' fixes, additions (Vignesh)
> > > - cs_info change (Bin)
> > > - Enable sunxi spi (Jagan)
> > >
> > > Travis-CI:
> > > https://travis-ci.org/openedev/u-boot-amarula/builds/602483415
> > >
> > > Thanks,
> > > Jagan.
> > >
> > > The following changes since commit 17fd9915a4c639381804ed28274fa136ae3b0bee:
> > >
> > >   Merge branch '2019-10-24-UFS-support' (2019-10-24 09:51:48 -0400)
> > >
> > > are available in the Git repository at:
> > >
> > >   https://gitlab.denx.de/u-boot/custodians/u-boot-spi master
> > >
> > > for you to fetch changes up to 395ec7418695e5ce23f8b48c01a1dbffd2e52d3f:
> > >
> > >   spi-nor-ids: Add support for Adesto AT25SL321 (2019-10-25 00:48:32 +0530)
> > >
> >
> > So, looking over the build output, I see the expected size increase in
> > sunxi due to new support. But I also see a lot of size increases in
> > rockchip and layerscape platforms (and possibly more, I stopped after
> > spotting two different SoCs), for example:
> >             evb-px5        : all +12139 data +176 rodata +2275 spl/u-boot-spl:all +3529 spl/u-boot-spl:data +120 spl/u-boot-spl:rodata +309 spl/u-boot-spl:text +3100 text +9688
> >                u-boot: add: 49/0, grow: 0/0 bytes: 9512/0 (9512)
> >                  function                                   old     new   delta
> >                  spi_nor_scan                                 -    2032   +2032
> >                  do_spi_flash                                 -    2008   +2008
> >                  spi_get_bus_and_cs                           -     436    +436
> >                  spi_mem_exec_op                              -     420    +420
> >                  static.spi_nor_wait_till_ready_with_timeout       -     300    +300
> >                  spi_nor_write                                -     300    +300
> >                  mtd_arg_off_size                             -     276    +276
> >                  spi_nor_erase                                -     232    +232
> >                  device_unbind                                -     232    +232
> >                  spi_nor_read_data                            -     220    +220
> >                  spi_nor_write_data                           -     212    +212
> >                  dm_spi_claim_bus                             -     196    +196
> >                  spi_mem_adjust_op_size                       -     160    +160
> >                  spi_mem_default_supports_op                  -     156    +156
> >                  spi_nor_read                                 -     152    +152
> >                  spi_flash_probe_bus_cs                       -     152    +152
> >                  spi_set_speed_mode                           -     148    +148
> >                  spi_flash_std_erase                          -     136    +136
> >                  spi_flash_std_probe                          -     132    +132
> >                  mtd_arg_off                                  -     124    +124
> >                  device_chld_unbind                           -     120    +120
> >                  _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
> >                  spi_nor_write_reg                            -     104    +104
> >                  spi_find_bus_and_cs                          -     104    +104
> >                  spi_nor_read_reg                             -     100    +100
> >                  spi_find_chip_select                         -      96     +96
> >                  static.spi_check_buswidth_req                -      88     +88
> >                  str2off                                      -      80     +80
> >                  bytes_per_second                             -      76     +76
> >                  spi_flash_std_write                          -      72     +72
> >                  spi_flash_std_read                           -      72     +72
> >                  spi_mem_supports_op                          -      56     +56
> >                  _u_boot_list_2_cmd_2_sf                      -      56     +56
> >                  dm_spi_xfer                                  -      48     +48
> >                  read_sr                                      -      44     +44
> >                  device_find_next_child                       -      40     +40
> >                  spi_flash_cmd_get_sw_write_prot              -      36     +36
> >                  dm_spi_release_bus                           -      28     +28
> >                  write_enable                                 -      20     +20
> >                  write_disable                                -      20     +20
> >                  spi_flash_std_get_sw_write_prot              -      20     +20
> >                  spi_flash_write_dm                           -      16     +16
> >                  spi_flash_read_dm                            -      16     +16
> >                  spi_flash_erase_dm                           -      16     +16
> >                  spi_xfer                                     -       8      +8
> >                  spi_release_bus                              -       8      +8
> >                  spi_flash_std_remove                         -       8      +8
> >                  spi_claim_bus                                -       8      +8
> >                  flash                                        -       8      +8
> >                spl-u-boot-spl: add: 25/0, grow: 0/0 bytes: 3220/0 (3220)
> >                  function                                   old     new   delta
> >                  spi_nor_scan                                 -     904    +904
> >                  spi_mem_exec_op                              -     420    +420
> >                  spi_nor_read                                 -     304    +304
> >                  dm_spi_claim_bus                             -     196    +196
> >                  spi_mem_adjust_op_size                       -     160    +160
> >                  spi_mem_default_supports_op                  -     156    +156
> >                  spi_set_speed_mode                           -     148    +148
> >                  spi_flash_std_erase                          -     136    +136
> >                  spi_flash_std_probe                          -     132    +132
> >                  _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
> >                  spi_nor_write_reg                            -     104    +104
> >                  static.spi_check_buswidth_req                -      88     +88
> >                  spi_flash_std_write                          -      72     +72
> >                  spi_flash_std_read                           -      72     +72
> >                  spi_mem_supports_op                          -      56     +56
> >                  dm_spi_xfer                                  -      48     +48
> >                  dm_spi_release_bus                           -      28     +28
> >                  spi_flash_std_get_sw_write_prot              -      20     +20
> >                  spi_xfer                                     -       8      +8
> >                  spi_release_bus                              -       8      +8
> >                  spi_nor_write                                -       8      +8
> >                  spi_nor_erase                                -       8      +8
> >                  spi_flash_std_remove                         -       8      +8
> >                  spi_flash_cmd_get_sw_write_prot              -       8      +8
> >                  spi_claim_bus                                -       8      +8
> >             ls2088aqds_tfa : all +12906 data +120 rodata +2982 text +9804
> >                u-boot: add: 44/0, grow: 0/0 bytes: 8460/0 (8460)
> >                  function                                   old     new   delta
> >                  spi_nor_scan                                 -    2168   +2168
> >                  sst26_lock_ctl                               -     604    +604
> >                  stm_unlock                                   -     536    +536
> >                  stm_lock                                     -     536    +536
> >                  sst_write                                    -     504    +504
> >                  spi_mem_exec_op                              -     420    +420
> >                  spi_nor_write                                -     300    +300
> >                  spi_nor_wait_till_ready                      -     300    +300
> >                  spi_nor_erase                                -     232    +232
> >                  spi_nor_read_data                            -     220    +220
> >                  spi_nor_write_data                           -     212    +212
> >                  dm_spi_claim_bus                             -     196    +196
> >                  spi_mem_adjust_op_size                       -     160    +160
> >                  spi_mem_default_supports_op                  -     156    +156
> >                  spi_nor_read                                 -     152    +152
> >                  spi_flash_std_erase                          -     136    +136
> >                  spi_flash_std_probe                          -     132    +132
> >                  stm_is_locked                                -     120    +120
> >                  _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
> >                  static.write_sr_and_check                    -     112    +112
> >                  spi_nor_write_reg                            -     104    +104
> >                  spi_nor_read_reg                             -     100    +100
> >                  stm_is_unlocked_sr                           -      92     +92
> >                  stm_is_locked_sr                             -      92     +92
> >                  static.spi_check_buswidth_req                -      88     +88
> >                  sst26_process_bpr                            -      88     +88
> >                  stm_get_locked_range                         -      80     +80
> >                  spi_flash_std_write                          -      72     +72
> >                  spi_flash_std_read                           -      72     +72
> >                  spi_mem_supports_op                          -      56     +56
> >                  dm_spi_xfer                                  -      48     +48
> >                  read_sr                                      -      44     +44
> >                  sst26_is_locked                              -      36     +36
> >                  spi_flash_cmd_get_sw_write_prot              -      36     +36
> >                  dm_spi_release_bus                           -      28     +28
> >                  write_enable                                 -      20     +20
> >                  write_disable                                -      20     +20
> >                  spi_flash_std_get_sw_write_prot              -      20     +20
> >                  sst26_unlock                                 -       8      +8
> >                  sst26_lock                                   -       8      +8
> >                  spi_xfer                                     -       8      +8
> >                  spi_release_bus                              -       8      +8
> >                  spi_flash_std_remove                         -       8      +8
> >                  spi_claim_bus                                -       8      +8
> >
> > So this strongly feels like something is being enabled by default when
> > it shouldn't.  You may want to use buildman with something like:
> > $ git checkout -b current-spi-changes origin/master
> > $ export SOURCE_DATE_EPOCH=`date +%s`
> > $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b current-spi-changes \
> >   -SBCdevlk ls2088aqds_tfa
> > $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b current-spi-changes \
> >   -SsBdevlk ls2088aqds_tfa
> >
> > If nothing in the git log stands out to you as to which commit is
> > causing this growth.  Thanks!
> 
> I did see for layerscape. but not with rockchip. layerscape did use
> cmd/sf.c and DM_SPI_FLASH don't know why those boards accessing
> jedec,spi-nor even though they enabled it on dts. so the patch
> 08: mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH
> 
> Enabling SPI_FLASH that indeed increasing the size on this platform,
> reset seems to be fine. If yes, will make the SPI_FLASH enablement not
> for layerscape. please check and let me know.
> 
> layerscape:
> 
> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b master -SsCdevlk
> ls2088aqds_tfa
> boards.cfg is up to date. Nothing to do.
> Summary of 21 commits for 1 boards (1 thread, 4 jobs per thread)
> 01: Merge branch '2019-10-24-UFS-support'
>    aarch64:  w+   ls2088aqds_tfa
> +(ls2088aqds_tfa) ===================== WARNING ======================
> +(ls2088aqds_tfa) This board does not use CONFIG_DM_ETH (Driver Model
> +(ls2088aqds_tfa) for Ethernet drivers). Please update the board to use
> +(ls2088aqds_tfa) CONFIG_DM_ETH before the v2020.07 release. Failure to
> +(ls2088aqds_tfa) update by the deadline may result in board removal.
> +(ls2088aqds_tfa) See doc/driver-model/migration.rst for more info.
> +(ls2088aqds_tfa) ====================================================
> 02: mtd: spi: Kconfig: Update CONFIG_SPI_FLASH
> 03: mtd: spi-nor: ids: Add is25wp256 chip
> 04: spi: Kconfig: Add help text
> 05: dm: spi: Return 0 if driver does not implement ops->cs_info
> 06: dm: spi: Change cs_info op to return -EINVAL for invalid cs num
> 07: cmd: sf: Mark it default if DM_SPI_FLASH enabled
> 
>    aarch64: (for 1/1 boards) all +12554.0 data +120.0 rodata +2750.0
> text +9684.0
>             ls2088aqds_tfa : all +12554 data +120 rodata +2750 text +9684
> 09: spi: Kconfig: Enable SPI_SUNXI for SUNXI
> 10: arm: sunxi: Enable SPI/SPI-FLASH support for A64
> 11: configs: sopine-baseboard: Enable SPI-FLASH
> 12: mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig
> 13: stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD
> 14: mtd: spi-nor-core: Use dev_err for reporting erase/write failures
>    aarch64: (for 1/1 boards) all +145.0 rodata +93.0 text +52.0
>             ls2088aqds_tfa : all +145 rodata +93 text +52
> 15: mtd: spi-nor-core: Replace MTD_SPI_NOR_USE_4K_SECTORS with
> SPI_FLASH_USE_4K_SECTORS
> 16: spi: designware_spi: Disable and free clock when remove driver
> 17: spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*
> 18: spi-nor: spi-nor-ids: Add entries for mt25q variants
>    aarch64: (for 1/1 boards) all +201.0 rodata +129.0 text +72.0
>             ls2088aqds_tfa : all +201 rodata +129 text +72
> 19: spi-nor: spi-nor-ids: Add USE_FSR flag for mt25q* and n25q* entry
> 20: mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD
> 21: spi-nor-ids: Add support for Adesto AT25SL321
> 
> rk3399:
> 
> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b master -SsCdevlk
> puma-rk3399
> boards.cfg is up to date. Nothing to do.
> Summary of 21 commits for 1 boards (1 thread, 4 jobs per thread)
> 01: Merge branch '2019-10-24-UFS-support'
>    aarch64:  w+   puma-rk3399
> +(puma-rk3399) WARNING: PMUM0 file rk3399m0.bin NOT found, resulting
> binary is non-functional
> +(puma-rk3399) Please read Building section in doc/README.rockchip
> 02: mtd: spi: Kconfig: Update CONFIG_SPI_FLASH
> 03: mtd: spi-nor: ids: Add is25wp256 chip
> 04: spi: Kconfig: Add help text
> 05: dm: spi: Return 0 if driver does not implement ops->cs_info
> 06: dm: spi: Change cs_info op to return -EINVAL for invalid cs num
> 07: cmd: sf: Mark it default if DM_SPI_FLASH enabled
> 08: mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH
> 09: spi: Kconfig: Enable SPI_SUNXI for SUNXI
> 10: arm: sunxi: Enable SPI/SPI-FLASH support for A64
> 11: configs: sopine-baseboard: Enable SPI-FLASH
> 12: mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig
> 13: stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD
> 14: mtd: spi-nor-core: Use dev_err for reporting erase/write failures
>    aarch64: (for 1/1 boards) all +145.0 rodata +93.0 text +52.0
>             puma-rk3399    : all +145 rodata +93 text +52
> 15: mtd: spi-nor-core: Replace MTD_SPI_NOR_USE_4K_SECTORS with
> SPI_FLASH_USE_4K_SECTORS
> 16: spi: designware_spi: Disable and free clock when remove driver
> 17: spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*
> 18: spi-nor: spi-nor-ids: Add entries for mt25q variants
> 19: spi-nor: spi-nor-ids: Add USE_FSR flag for mt25q* and n25q* entry
> 20: mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD
> 21: spi-nor-ids: Add support for Adesto AT25SL321

If you think everything is good now, please re-submit the PR and I'll
give it a whirl.  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191027/4c32f499/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-10-25 17:48 ` Tom Rini
@ 2019-10-27 11:50   ` Jagan Teki
  2019-10-28  0:46     ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2019-10-27 11:50 UTC (permalink / raw)
  To: u-boot

Hi Tom,

On Fri, Oct 25, 2019 at 11:19 PM Tom Rini <trini@konsulko.com> wrote:
>
> On Fri, Oct 25, 2019 at 02:08:12PM +0530, Jagan Teki wrote:
>
> > Hi Tom,
> >
> > Please pull this PR.
> >
> > Summary:
> > - SPL_SPI_FLASH_MTD (Frieder)
> > - SPI NOR IDs' fixes, additions (Vignesh)
> > - cs_info change (Bin)
> > - Enable sunxi spi (Jagan)
> >
> > Travis-CI:
> > https://travis-ci.org/openedev/u-boot-amarula/builds/602483415
> >
> > Thanks,
> > Jagan.
> >
> > The following changes since commit 17fd9915a4c639381804ed28274fa136ae3b0bee:
> >
> >   Merge branch '2019-10-24-UFS-support' (2019-10-24 09:51:48 -0400)
> >
> > are available in the Git repository at:
> >
> >   https://gitlab.denx.de/u-boot/custodians/u-boot-spi master
> >
> > for you to fetch changes up to 395ec7418695e5ce23f8b48c01a1dbffd2e52d3f:
> >
> >   spi-nor-ids: Add support for Adesto AT25SL321 (2019-10-25 00:48:32 +0530)
> >
>
> So, looking over the build output, I see the expected size increase in
> sunxi due to new support. But I also see a lot of size increases in
> rockchip and layerscape platforms (and possibly more, I stopped after
> spotting two different SoCs), for example:
>             evb-px5        : all +12139 data +176 rodata +2275 spl/u-boot-spl:all +3529 spl/u-boot-spl:data +120 spl/u-boot-spl:rodata +309 spl/u-boot-spl:text +3100 text +9688
>                u-boot: add: 49/0, grow: 0/0 bytes: 9512/0 (9512)
>                  function                                   old     new   delta
>                  spi_nor_scan                                 -    2032   +2032
>                  do_spi_flash                                 -    2008   +2008
>                  spi_get_bus_and_cs                           -     436    +436
>                  spi_mem_exec_op                              -     420    +420
>                  static.spi_nor_wait_till_ready_with_timeout       -     300    +300
>                  spi_nor_write                                -     300    +300
>                  mtd_arg_off_size                             -     276    +276
>                  spi_nor_erase                                -     232    +232
>                  device_unbind                                -     232    +232
>                  spi_nor_read_data                            -     220    +220
>                  spi_nor_write_data                           -     212    +212
>                  dm_spi_claim_bus                             -     196    +196
>                  spi_mem_adjust_op_size                       -     160    +160
>                  spi_mem_default_supports_op                  -     156    +156
>                  spi_nor_read                                 -     152    +152
>                  spi_flash_probe_bus_cs                       -     152    +152
>                  spi_set_speed_mode                           -     148    +148
>                  spi_flash_std_erase                          -     136    +136
>                  spi_flash_std_probe                          -     132    +132
>                  mtd_arg_off                                  -     124    +124
>                  device_chld_unbind                           -     120    +120
>                  _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
>                  spi_nor_write_reg                            -     104    +104
>                  spi_find_bus_and_cs                          -     104    +104
>                  spi_nor_read_reg                             -     100    +100
>                  spi_find_chip_select                         -      96     +96
>                  static.spi_check_buswidth_req                -      88     +88
>                  str2off                                      -      80     +80
>                  bytes_per_second                             -      76     +76
>                  spi_flash_std_write                          -      72     +72
>                  spi_flash_std_read                           -      72     +72
>                  spi_mem_supports_op                          -      56     +56
>                  _u_boot_list_2_cmd_2_sf                      -      56     +56
>                  dm_spi_xfer                                  -      48     +48
>                  read_sr                                      -      44     +44
>                  device_find_next_child                       -      40     +40
>                  spi_flash_cmd_get_sw_write_prot              -      36     +36
>                  dm_spi_release_bus                           -      28     +28
>                  write_enable                                 -      20     +20
>                  write_disable                                -      20     +20
>                  spi_flash_std_get_sw_write_prot              -      20     +20
>                  spi_flash_write_dm                           -      16     +16
>                  spi_flash_read_dm                            -      16     +16
>                  spi_flash_erase_dm                           -      16     +16
>                  spi_xfer                                     -       8      +8
>                  spi_release_bus                              -       8      +8
>                  spi_flash_std_remove                         -       8      +8
>                  spi_claim_bus                                -       8      +8
>                  flash                                        -       8      +8
>                spl-u-boot-spl: add: 25/0, grow: 0/0 bytes: 3220/0 (3220)
>                  function                                   old     new   delta
>                  spi_nor_scan                                 -     904    +904
>                  spi_mem_exec_op                              -     420    +420
>                  spi_nor_read                                 -     304    +304
>                  dm_spi_claim_bus                             -     196    +196
>                  spi_mem_adjust_op_size                       -     160    +160
>                  spi_mem_default_supports_op                  -     156    +156
>                  spi_set_speed_mode                           -     148    +148
>                  spi_flash_std_erase                          -     136    +136
>                  spi_flash_std_probe                          -     132    +132
>                  _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
>                  spi_nor_write_reg                            -     104    +104
>                  static.spi_check_buswidth_req                -      88     +88
>                  spi_flash_std_write                          -      72     +72
>                  spi_flash_std_read                           -      72     +72
>                  spi_mem_supports_op                          -      56     +56
>                  dm_spi_xfer                                  -      48     +48
>                  dm_spi_release_bus                           -      28     +28
>                  spi_flash_std_get_sw_write_prot              -      20     +20
>                  spi_xfer                                     -       8      +8
>                  spi_release_bus                              -       8      +8
>                  spi_nor_write                                -       8      +8
>                  spi_nor_erase                                -       8      +8
>                  spi_flash_std_remove                         -       8      +8
>                  spi_flash_cmd_get_sw_write_prot              -       8      +8
>                  spi_claim_bus                                -       8      +8
>             ls2088aqds_tfa : all +12906 data +120 rodata +2982 text +9804
>                u-boot: add: 44/0, grow: 0/0 bytes: 8460/0 (8460)
>                  function                                   old     new   delta
>                  spi_nor_scan                                 -    2168   +2168
>                  sst26_lock_ctl                               -     604    +604
>                  stm_unlock                                   -     536    +536
>                  stm_lock                                     -     536    +536
>                  sst_write                                    -     504    +504
>                  spi_mem_exec_op                              -     420    +420
>                  spi_nor_write                                -     300    +300
>                  spi_nor_wait_till_ready                      -     300    +300
>                  spi_nor_erase                                -     232    +232
>                  spi_nor_read_data                            -     220    +220
>                  spi_nor_write_data                           -     212    +212
>                  dm_spi_claim_bus                             -     196    +196
>                  spi_mem_adjust_op_size                       -     160    +160
>                  spi_mem_default_supports_op                  -     156    +156
>                  spi_nor_read                                 -     152    +152
>                  spi_flash_std_erase                          -     136    +136
>                  spi_flash_std_probe                          -     132    +132
>                  stm_is_locked                                -     120    +120
>                  _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
>                  static.write_sr_and_check                    -     112    +112
>                  spi_nor_write_reg                            -     104    +104
>                  spi_nor_read_reg                             -     100    +100
>                  stm_is_unlocked_sr                           -      92     +92
>                  stm_is_locked_sr                             -      92     +92
>                  static.spi_check_buswidth_req                -      88     +88
>                  sst26_process_bpr                            -      88     +88
>                  stm_get_locked_range                         -      80     +80
>                  spi_flash_std_write                          -      72     +72
>                  spi_flash_std_read                           -      72     +72
>                  spi_mem_supports_op                          -      56     +56
>                  dm_spi_xfer                                  -      48     +48
>                  read_sr                                      -      44     +44
>                  sst26_is_locked                              -      36     +36
>                  spi_flash_cmd_get_sw_write_prot              -      36     +36
>                  dm_spi_release_bus                           -      28     +28
>                  write_enable                                 -      20     +20
>                  write_disable                                -      20     +20
>                  spi_flash_std_get_sw_write_prot              -      20     +20
>                  sst26_unlock                                 -       8      +8
>                  sst26_lock                                   -       8      +8
>                  spi_xfer                                     -       8      +8
>                  spi_release_bus                              -       8      +8
>                  spi_flash_std_remove                         -       8      +8
>                  spi_claim_bus                                -       8      +8
>
> So this strongly feels like something is being enabled by default when
> it shouldn't.  You may want to use buildman with something like:
> $ git checkout -b current-spi-changes origin/master
> $ export SOURCE_DATE_EPOCH=`date +%s`
> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b current-spi-changes \
>   -SBCdevlk ls2088aqds_tfa
> $ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b current-spi-changes \
>   -SsBdevlk ls2088aqds_tfa
>
> If nothing in the git log stands out to you as to which commit is
> causing this growth.  Thanks!

I did see for layerscape. but not with rockchip. layerscape did use
cmd/sf.c and DM_SPI_FLASH don't know why those boards accessing
jedec,spi-nor even though they enabled it on dts. so the patch
08: mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH

Enabling SPI_FLASH that indeed increasing the size on this platform,
reset seems to be fine. If yes, will make the SPI_FLASH enablement not
for layerscape. please check and let me know.

layerscape:

$ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b master -SsCdevlk
ls2088aqds_tfa
boards.cfg is up to date. Nothing to do.
Summary of 21 commits for 1 boards (1 thread, 4 jobs per thread)
01: Merge branch '2019-10-24-UFS-support'
   aarch64:  w+   ls2088aqds_tfa
+(ls2088aqds_tfa) ===================== WARNING ======================
+(ls2088aqds_tfa) This board does not use CONFIG_DM_ETH (Driver Model
+(ls2088aqds_tfa) for Ethernet drivers). Please update the board to use
+(ls2088aqds_tfa) CONFIG_DM_ETH before the v2020.07 release. Failure to
+(ls2088aqds_tfa) update by the deadline may result in board removal.
+(ls2088aqds_tfa) See doc/driver-model/migration.rst for more info.
+(ls2088aqds_tfa) ====================================================
02: mtd: spi: Kconfig: Update CONFIG_SPI_FLASH
03: mtd: spi-nor: ids: Add is25wp256 chip
04: spi: Kconfig: Add help text
05: dm: spi: Return 0 if driver does not implement ops->cs_info
06: dm: spi: Change cs_info op to return -EINVAL for invalid cs num
07: cmd: sf: Mark it default if DM_SPI_FLASH enabled

   aarch64: (for 1/1 boards) all +12554.0 data +120.0 rodata +2750.0
text +9684.0
            ls2088aqds_tfa : all +12554 data +120 rodata +2750 text +9684
09: spi: Kconfig: Enable SPI_SUNXI for SUNXI
10: arm: sunxi: Enable SPI/SPI-FLASH support for A64
11: configs: sopine-baseboard: Enable SPI-FLASH
12: mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig
13: stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD
14: mtd: spi-nor-core: Use dev_err for reporting erase/write failures
   aarch64: (for 1/1 boards) all +145.0 rodata +93.0 text +52.0
            ls2088aqds_tfa : all +145 rodata +93 text +52
15: mtd: spi-nor-core: Replace MTD_SPI_NOR_USE_4K_SECTORS with
SPI_FLASH_USE_4K_SECTORS
16: spi: designware_spi: Disable and free clock when remove driver
17: spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*
18: spi-nor: spi-nor-ids: Add entries for mt25q variants
   aarch64: (for 1/1 boards) all +201.0 rodata +129.0 text +72.0
            ls2088aqds_tfa : all +201 rodata +129 text +72
19: spi-nor: spi-nor-ids: Add USE_FSR flag for mt25q* and n25q* entry
20: mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD
21: spi-nor-ids: Add support for Adesto AT25SL321

rk3399:

$ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b master -SsCdevlk
puma-rk3399
boards.cfg is up to date. Nothing to do.
Summary of 21 commits for 1 boards (1 thread, 4 jobs per thread)
01: Merge branch '2019-10-24-UFS-support'
   aarch64:  w+   puma-rk3399
+(puma-rk3399) WARNING: PMUM0 file rk3399m0.bin NOT found, resulting
binary is non-functional
+(puma-rk3399) Please read Building section in doc/README.rockchip
02: mtd: spi: Kconfig: Update CONFIG_SPI_FLASH
03: mtd: spi-nor: ids: Add is25wp256 chip
04: spi: Kconfig: Add help text
05: dm: spi: Return 0 if driver does not implement ops->cs_info
06: dm: spi: Change cs_info op to return -EINVAL for invalid cs num
07: cmd: sf: Mark it default if DM_SPI_FLASH enabled
08: mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH
09: spi: Kconfig: Enable SPI_SUNXI for SUNXI
10: arm: sunxi: Enable SPI/SPI-FLASH support for A64
11: configs: sopine-baseboard: Enable SPI-FLASH
12: mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig
13: stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD
14: mtd: spi-nor-core: Use dev_err for reporting erase/write failures
   aarch64: (for 1/1 boards) all +145.0 rodata +93.0 text +52.0
            puma-rk3399    : all +145 rodata +93 text +52
15: mtd: spi-nor-core: Replace MTD_SPI_NOR_USE_4K_SECTORS with
SPI_FLASH_USE_4K_SECTORS
16: spi: designware_spi: Disable and free clock when remove driver
17: spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*
18: spi-nor: spi-nor-ids: Add entries for mt25q variants
19: spi-nor: spi-nor-ids: Add USE_FSR flag for mt25q* and n25q* entry
20: mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD
21: spi-nor-ids: Add support for Adesto AT25SL321

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-10-25  8:38 Jagan Teki
@ 2019-10-25 17:48 ` Tom Rini
  2019-10-27 11:50   ` Jagan Teki
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2019-10-25 17:48 UTC (permalink / raw)
  To: u-boot

On Fri, Oct 25, 2019 at 02:08:12PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> Summary:
> - SPL_SPI_FLASH_MTD (Frieder)
> - SPI NOR IDs' fixes, additions (Vignesh)
> - cs_info change (Bin)
> - Enable sunxi spi (Jagan)
> 
> Travis-CI:
> https://travis-ci.org/openedev/u-boot-amarula/builds/602483415
> 
> Thanks,
> Jagan.
> 
> The following changes since commit 17fd9915a4c639381804ed28274fa136ae3b0bee:
> 
>   Merge branch '2019-10-24-UFS-support' (2019-10-24 09:51:48 -0400)
> 
> are available in the Git repository at:
> 
>   https://gitlab.denx.de/u-boot/custodians/u-boot-spi master
> 
> for you to fetch changes up to 395ec7418695e5ce23f8b48c01a1dbffd2e52d3f:
> 
>   spi-nor-ids: Add support for Adesto AT25SL321 (2019-10-25 00:48:32 +0530)
> 

So, looking over the build output, I see the expected size increase in
sunxi due to new support. But I also see a lot of size increases in
rockchip and layerscape platforms (and possibly more, I stopped after
spotting two different SoCs), for example:
            evb-px5        : all +12139 data +176 rodata +2275 spl/u-boot-spl:all +3529 spl/u-boot-spl:data +120 spl/u-boot-spl:rodata +309 spl/u-boot-spl:text +3100 text +9688
               u-boot: add: 49/0, grow: 0/0 bytes: 9512/0 (9512)
                 function                                   old     new   delta
                 spi_nor_scan                                 -    2032   +2032
                 do_spi_flash                                 -    2008   +2008
                 spi_get_bus_and_cs                           -     436    +436
                 spi_mem_exec_op                              -     420    +420
                 static.spi_nor_wait_till_ready_with_timeout       -     300    +300
                 spi_nor_write                                -     300    +300
                 mtd_arg_off_size                             -     276    +276
                 spi_nor_erase                                -     232    +232
                 device_unbind                                -     232    +232
                 spi_nor_read_data                            -     220    +220
                 spi_nor_write_data                           -     212    +212
                 dm_spi_claim_bus                             -     196    +196
                 spi_mem_adjust_op_size                       -     160    +160
                 spi_mem_default_supports_op                  -     156    +156
                 spi_nor_read                                 -     152    +152
                 spi_flash_probe_bus_cs                       -     152    +152
                 spi_set_speed_mode                           -     148    +148
                 spi_flash_std_erase                          -     136    +136
                 spi_flash_std_probe                          -     132    +132
                 mtd_arg_off                                  -     124    +124
                 device_chld_unbind                           -     120    +120
                 _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
                 spi_nor_write_reg                            -     104    +104
                 spi_find_bus_and_cs                          -     104    +104
                 spi_nor_read_reg                             -     100    +100
                 spi_find_chip_select                         -      96     +96
                 static.spi_check_buswidth_req                -      88     +88
                 str2off                                      -      80     +80
                 bytes_per_second                             -      76     +76
                 spi_flash_std_write                          -      72     +72
                 spi_flash_std_read                           -      72     +72
                 spi_mem_supports_op                          -      56     +56
                 _u_boot_list_2_cmd_2_sf                      -      56     +56
                 dm_spi_xfer                                  -      48     +48
                 read_sr                                      -      44     +44
                 device_find_next_child                       -      40     +40
                 spi_flash_cmd_get_sw_write_prot              -      36     +36
                 dm_spi_release_bus                           -      28     +28
                 write_enable                                 -      20     +20
                 write_disable                                -      20     +20
                 spi_flash_std_get_sw_write_prot              -      20     +20
                 spi_flash_write_dm                           -      16     +16
                 spi_flash_read_dm                            -      16     +16
                 spi_flash_erase_dm                           -      16     +16
                 spi_xfer                                     -       8      +8
                 spi_release_bus                              -       8      +8
                 spi_flash_std_remove                         -       8      +8
                 spi_claim_bus                                -       8      +8
                 flash                                        -       8      +8
               spl-u-boot-spl: add: 25/0, grow: 0/0 bytes: 3220/0 (3220)
                 function                                   old     new   delta
                 spi_nor_scan                                 -     904    +904
                 spi_mem_exec_op                              -     420    +420
                 spi_nor_read                                 -     304    +304
                 dm_spi_claim_bus                             -     196    +196
                 spi_mem_adjust_op_size                       -     160    +160
                 spi_mem_default_supports_op                  -     156    +156
                 spi_set_speed_mode                           -     148    +148
                 spi_flash_std_erase                          -     136    +136
                 spi_flash_std_probe                          -     132    +132
                 _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
                 spi_nor_write_reg                            -     104    +104
                 static.spi_check_buswidth_req                -      88     +88
                 spi_flash_std_write                          -      72     +72
                 spi_flash_std_read                           -      72     +72
                 spi_mem_supports_op                          -      56     +56
                 dm_spi_xfer                                  -      48     +48
                 dm_spi_release_bus                           -      28     +28
                 spi_flash_std_get_sw_write_prot              -      20     +20
                 spi_xfer                                     -       8      +8
                 spi_release_bus                              -       8      +8
                 spi_nor_write                                -       8      +8
                 spi_nor_erase                                -       8      +8
                 spi_flash_std_remove                         -       8      +8
                 spi_flash_cmd_get_sw_write_prot              -       8      +8
                 spi_claim_bus                                -       8      +8
            ls2088aqds_tfa : all +12906 data +120 rodata +2982 text +9804
               u-boot: add: 44/0, grow: 0/0 bytes: 8460/0 (8460)
                 function                                   old     new   delta
                 spi_nor_scan                                 -    2168   +2168
                 sst26_lock_ctl                               -     604    +604
                 stm_unlock                                   -     536    +536
                 stm_lock                                     -     536    +536
                 sst_write                                    -     504    +504
                 spi_mem_exec_op                              -     420    +420
                 spi_nor_write                                -     300    +300
                 spi_nor_wait_till_ready                      -     300    +300
                 spi_nor_erase                                -     232    +232
                 spi_nor_read_data                            -     220    +220
                 spi_nor_write_data                           -     212    +212
                 dm_spi_claim_bus                             -     196    +196
                 spi_mem_adjust_op_size                       -     160    +160
                 spi_mem_default_supports_op                  -     156    +156
                 spi_nor_read                                 -     152    +152
                 spi_flash_std_erase                          -     136    +136
                 spi_flash_std_probe                          -     132    +132
                 stm_is_locked                                -     120    +120
                 _u_boot_list_2_driver_2_spi_flash_std        -     120    +120
                 static.write_sr_and_check                    -     112    +112
                 spi_nor_write_reg                            -     104    +104
                 spi_nor_read_reg                             -     100    +100
                 stm_is_unlocked_sr                           -      92     +92
                 stm_is_locked_sr                             -      92     +92
                 static.spi_check_buswidth_req                -      88     +88
                 sst26_process_bpr                            -      88     +88
                 stm_get_locked_range                         -      80     +80
                 spi_flash_std_write                          -      72     +72
                 spi_flash_std_read                           -      72     +72
                 spi_mem_supports_op                          -      56     +56
                 dm_spi_xfer                                  -      48     +48
                 read_sr                                      -      44     +44
                 sst26_is_locked                              -      36     +36
                 spi_flash_cmd_get_sw_write_prot              -      36     +36
                 dm_spi_release_bus                           -      28     +28
                 write_enable                                 -      20     +20
                 write_disable                                -      20     +20
                 spi_flash_std_get_sw_write_prot              -      20     +20
                 sst26_unlock                                 -       8      +8
                 sst26_lock                                   -       8      +8
                 spi_xfer                                     -       8      +8
                 spi_release_bus                              -       8      +8
                 spi_flash_std_remove                         -       8      +8
                 spi_claim_bus                                -       8      +8

So this strongly feels like something is being enabled by default when
it shouldn't.  You may want to use buildman with something like:
$ git checkout -b current-spi-changes origin/master
$ export SOURCE_DATE_EPOCH=`date +%s`
$ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b current-spi-changes \
  -SBCdevlk ls2088aqds_tfa
$ ./tools/buildman/buildman -o /tmp/ls2088aqds_tfa -b current-spi-changes \
  -SsBdevlk ls2088aqds_tfa

If nothing in the git log stands out to you as to which commit is
causing this growth.  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191025/88cb77a7/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2019-10-25  8:38 Jagan Teki
  2019-10-25 17:48 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2019-10-25  8:38 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

Summary:
- SPL_SPI_FLASH_MTD (Frieder)
- SPI NOR IDs' fixes, additions (Vignesh)
- cs_info change (Bin)
- Enable sunxi spi (Jagan)

Travis-CI:
https://travis-ci.org/openedev/u-boot-amarula/builds/602483415

Thanks,
Jagan.

The following changes since commit 17fd9915a4c639381804ed28274fa136ae3b0bee:

  Merge branch '2019-10-24-UFS-support' (2019-10-24 09:51:48 -0400)

are available in the Git repository at:

  https://gitlab.denx.de/u-boot/custodians/u-boot-spi master

for you to fetch changes up to 395ec7418695e5ce23f8b48c01a1dbffd2e52d3f:

  spi-nor-ids: Add support for Adesto AT25SL321 (2019-10-25 00:48:32 +0530)

----------------------------------------------------------------
Bin Meng (2):
      dm: spi: Return 0 if driver does not implement ops->cs_info
      dm: spi: Change cs_info op to return -EINVAL for invalid cs num

Fabio Estevam (1):
      spi-nor-ids: Add support for Adesto AT25SL321

Frieder Schrempf (3):
      mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig
      stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD
      mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

Jagan Teki (8):
      mtd: spi: Kconfig: Update CONFIG_SPI_FLASH
      mtd: spi-nor: ids: Add is25wp256 chip
      spi: Kconfig: Add help text
      cmd: sf: Mark it default if DM_SPI_FLASH enabled
      mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH
      spi: Kconfig: Enable SPI_SUNXI for SUNXI
      arm: sunxi: Enable SPI/SPI-FLASH support for A64
      configs: sopine-baseboard: Enable SPI-FLASH

Ley Foon Tan (1):
      spi: designware_spi: Disable and free clock when remove driver

Vignesh Raghavendra (5):
      mtd: spi-nor-core: Use dev_err for reporting erase/write failures
      mtd: spi-nor-core: Replace MTD_SPI_NOR_USE_4K_SECTORS with SPI_FLASH_USE_4K_SECTORS
      spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*
      spi-nor: spi-nor-ids: Add entries for mt25q variants
      spi-nor: spi-nor-ids: Add USE_FSR flag for mt25q* and n25q* entry

 arch/arm/dts/sun50i-a64-sopine-baseboard-u-boot.dtsi | 12 ++++++++++++
 arch/arm/mach-sunxi/Kconfig                          |  3 +++
 cmd/Kconfig                                          |  1 +
 configs/aristainetos2_defconfig                      |  1 +
 configs/aristainetos2b_defconfig                     |  1 +
 configs/aristainetos_defconfig                       |  1 +
 configs/cm_fx6_defconfig                             |  1 +
 configs/socfpga_arria5_defconfig                     |  1 +
 configs/socfpga_cyclone5_defconfig                   |  1 +
 configs/socfpga_dbm_soc1_defconfig                   |  1 +
 configs/socfpga_de0_nano_soc_defconfig               |  1 +
 configs/socfpga_de10_nano_defconfig                  |  1 +
 configs/socfpga_is1_defconfig                        |  1 +
 configs/socfpga_mcvevk_defconfig                     |  1 +
 configs/socfpga_sockit_defconfig                     |  1 +
 configs/socfpga_socrates_defconfig                   |  1 +
 configs/socfpga_sr1500_defconfig                     |  1 +
 configs/socfpga_vining_fpga_defconfig                |  1 +
 configs/sopine_baseboard_defconfig                   |  1 +
 configs/stm32mp15_basic_defconfig                    |  1 +
 doc/driver-model/spi-howto.rst                       |  8 ++++----
 drivers/mtd/spi/Kconfig                              | 14 +++++++++++---
 drivers/mtd/spi/Makefile                             |  2 +-
 drivers/mtd/spi/sf_internal.h                        |  2 +-
 drivers/mtd/spi/sf_probe.c                           |  6 +++---
 drivers/mtd/spi/spi-nor-core.c                       |  8 ++++----
 drivers/mtd/spi/spi-nor-ids.c                        | 19 +++++++++++++------
 drivers/spi/Kconfig                                  | 18 ++++++++++++++++++
 drivers/spi/ath79_spi.c                              |  2 +-
 drivers/spi/bcm63xx_hsspi.c                          |  2 +-
 drivers/spi/bcm63xx_spi.c                            |  2 +-
 drivers/spi/designware_spi.c                         | 16 +++++++++++++++-
 drivers/spi/sandbox_spi.c                            |  2 +-
 drivers/spi/spi-uclass.c                             |  7 +++----
 drivers/spi/tegra20_sflash.c                         |  2 +-
 include/configs/aristainetos-common.h                |  1 -
 include/configs/cm_fx6.h                             |  7 -------
 include/configs/da850evm.h                           |  7 +------
 include/configs/dh_imx6.h                            |  1 -
 include/configs/display5.h                           |  1 -
 include/configs/gw_ventana.h                         | 10 +---------
 include/configs/rcar-gen2-common.h                   |  4 +---
 include/configs/socfpga_common.h                     |  4 ----
 include/spi.h                                        |  2 +-
 44 files changed, 115 insertions(+), 65 deletions(-)
 create mode 100644 arch/arm/dts/sun50i-a64-sopine-baseboard-u-boot.dtsi

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-09-16  2:45 Jagan Teki
@ 2019-09-17 23:55 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2019-09-17 23:55 UTC (permalink / raw)
  To: u-boot

On Mon, Sep 16, 2019 at 08:15:49AM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this for v2019.10 release.
> 
> Summary:
> - fix mvebu_a3700_spi clock prescale (Marek Behún)
> - unmark MXS_SPI, DEPRECATED (Lukasz)
> - add spi_write_then_read (Jagan)
> - fix SST26* flash ICs (Eugeniy)
> - fix soft_spi data abort (Christophe)
> 
> The following changes since commit 23b93e33adde0a8313388eda7c78d1d0786e3c92:
> 
>   Merge branch '2019-09-13-ti-imports' (2019-09-14 19:53:24 -0400)
> 
> are available in the Git repository at:
> 
>   https://gitlab.denx.de/u-boot/custodians/u-boot-spi.git master
> 
> for you to fetch changes up to ce704ea11f29b0ee8c195f17370a4048b6be29a9:
> 
>   doc: driver-model: Update SPI migration status (2019-09-16 08:09:22 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190917/eb152f2d/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2019-09-16  2:45 Jagan Teki
  2019-09-17 23:55 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2019-09-16  2:45 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this for v2019.10 release.

Summary:
- fix mvebu_a3700_spi clock prescale (Marek Behún)
- unmark MXS_SPI, DEPRECATED (Lukasz)
- add spi_write_then_read (Jagan)
- fix SST26* flash ICs (Eugeniy)
- fix soft_spi data abort (Christophe)

The following changes since commit 23b93e33adde0a8313388eda7c78d1d0786e3c92:

  Merge branch '2019-09-13-ti-imports' (2019-09-14 19:53:24 -0400)

are available in the Git repository at:

  https://gitlab.denx.de/u-boot/custodians/u-boot-spi.git master

for you to fetch changes up to ce704ea11f29b0ee8c195f17370a4048b6be29a9:

  doc: driver-model: Update SPI migration status (2019-09-16 08:09:22 +0530)

----------------------------------------------------------------
Christophe Kerello (1):
      spi: soft_spi: Fix data abort if slave is not probed

Eugeniy Paltsev (2):
      mtd: spi-nor: add missing SST26* flash IC protection ops
      mtd: spi-nor: enable protection ops for SST26 flash series

Jagan Teki (4):
      spi: Add spi_write_then_read
      mtd: spi_dataflash: Use spi read then write
      mtd: spi: Drop sf.c
      doc: driver-model: Update SPI migration status

Lukasz Majewski (1):
      spi: Kconfig: Unmark DEPRECATED for MXS_SPI

Marek Behún (1):
      spi: mvebu_a3700_spi: Fix clock prescale computation

 doc/driver-model/migration.rst |   3 +-
 drivers/mtd/spi/Makefile       |   2 +-
 drivers/mtd/spi/sf.c           |  53 ------------
 drivers/mtd/spi/sf_dataflash.c |  22 +++--
 drivers/mtd/spi/sf_internal.h  |  19 +----
 drivers/mtd/spi/spi-nor-core.c | 181 +++++++++++++++++++++++++++++++++++++++++
 drivers/mtd/spi/spi-nor-ids.c  |   8 +-
 drivers/spi/Kconfig            |   1 -
 drivers/spi/mvebu_a3700_spi.c  |   5 +-
 drivers/spi/soft_spi.c         |   4 +-
 drivers/spi/spi-uclass.c       |  24 ++++++
 include/linux/mtd/spi-nor.h    |   4 +
 include/spi.h                  |  20 +++++
 13 files changed, 253 insertions(+), 93 deletions(-)
 delete mode 100644 drivers/mtd/spi/sf.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2019-07-18 11:48 Jagan Teki
  0 siblings, 0 replies; 217+ messages in thread
From: Jagan Teki @ 2019-07-18 11:48 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

Summary:
- fix for fsl_qspi read timeout (Thomas)
- spi-mem read data size fix (Ye Li)
- SiFive SPI driver, mmc_spi flags (Bhargav, Anup)
- Micron spi-nor parts (Ashish)

The following changes since commit 0e80dda32c8d724c2a98dbbfb2f1e59762788f15:

  Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-sunxi (2019-07-16 11:19:31 -0400)

are available in the Git repository at:

  https://gitlab.denx.de/u-boot/custodians/u-boot-spi master

for you to fetch changes up to 35979b720d815a50c4bf25a1e66913b2d2d41276:

  mtd: spi: Add micron mt35xu512aba and mt35xu02g flash ID (2019-07-18 17:13:25 +0530)

----------------------------------------------------------------
Anup Patel (1):
      mmc: mmc_spi: Use SPI_XFER_BEGIN and SPI_XFER_END flags

Ashish Kumar (3):
      mtd: spi: Add flash property for Micron mt25qu512a
      mtd: spi: Enable 4B opcodes for SPANSION s25fl512s
      mtd: spi: Add micron mt35xu512aba and mt35xu02g flash ID

Bhargav Shah (1):
      spi: Add SiFive SPI driver

Thomas Schaefer (2):
      drivers/spi: fsl_qspi: fix read timeout
      drivers/spi: fsl_qspi: improve timeout calculation

Ye Li (1):
      spi: spi-mem: Fix read data size issue

 drivers/mmc/mmc_spi.c         |   4 +-
 drivers/mtd/spi/spi-nor-ids.c |   6 +-
 drivers/spi/Kconfig           |   8 +
 drivers/spi/Makefile          |   1 +
 drivers/spi/fsl_qspi.c        |  18 +-
 drivers/spi/spi-mem.c         |   8 +-
 drivers/spi/spi-sifive.c      | 370 ++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 398 insertions(+), 17 deletions(-)
 create mode 100644 drivers/spi/spi-sifive.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-06-17  7:45 Jagan Teki
@ 2019-06-18 17:00 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2019-06-18 17:00 UTC (permalink / raw)
  To: u-boot

On Mon, Jun 17, 2019 at 01:15:45PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> Summary:
> - Drop zipitz2 board (Tom)
> - Add DEPRECATED option (Tom)
> - Mark legacy or non-dm drivers as DEPRECATED (Jagan)
> 
> thanks,
> Jagan.
> 
> The following changes since commit 68b90e57bc034e237923b02acb633dc4e91d44cb:
> 
>   configs: tinker-rk3288 disable CONFIG_SPL_I2C_SUPPORT (2019-06-11 08:13:05 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 88369d33e322e0cdfbb1f0c33021ad424578619e:
> 
>   configs: Disable now unbuildable SPI options for boards (2019-06-13 12:51:06 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190618/c12a70f0/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2019-06-17  7:45 Jagan Teki
  2019-06-18 17:00 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2019-06-17  7:45 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

Summary:
- Drop zipitz2 board (Tom)
- Add DEPRECATED option (Tom)
- Mark legacy or non-dm drivers as DEPRECATED (Jagan)

thanks,
Jagan.

The following changes since commit 68b90e57bc034e237923b02acb633dc4e91d44cb:

  configs: tinker-rk3288 disable CONFIG_SPL_I2C_SUPPORT (2019-06-11 08:13:05 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 88369d33e322e0cdfbb1f0c33021ad424578619e:

  configs: Disable now unbuildable SPI options for boards (2019-06-13 12:51:06 +0530)

----------------------------------------------------------------
Jagan Teki (6):
      Makefile: Trigger a Warning if DEPRECATED is defined
      Makefile: Trigger a warning for legcay spi drivers
      spi: Kconfig: Mark MXS_SPI has DEPRECATED
      spi: Kconfig: Mark SH_SPI as DEPRECATED
      spi: Kconfig: Mark SOFT_SPI as DEPRECATED
      spi: Kconfig: Mark LPC32XX_SSP as DEPRECATED

Tom Rini (4):
      arm: Remove zipitz2 board
      Kconfig: Add SPI / SPI_FLASH as dependencies
      Kconfig: Add DEPRECATED option
      configs: Disable now unbuildable SPI options for boards

 Kconfig                                      |   7 +
 Makefile                                     |  19 +--
 arch/Kconfig                                 |   2 +
 arch/arm/Kconfig                             |   5 -
 board/renesas/sh7752evb/sh7752evb.c          |   4 +
 board/renesas/sh7753evb/sh7753evb.c          |   4 +
 board/renesas/sh7757lcr/sh7757lcr.c          |   9 ++
 board/work-microwave/work_92105/Makefile     |   3 +-
 board/work-microwave/work_92105/work_92105.c |   2 +
 board/zipitz2/Kconfig                        |   9 --
 board/zipitz2/MAINTAINERS                    |   6 -
 board/zipitz2/Makefile                       |   8 -
 board/zipitz2/zipitz2.c                      | 219 ---------------------------
 cmd/Kconfig                                  |   3 +
 configs/bg0900_defconfig                     |   9 --
 configs/devkit3250_defconfig                 |   2 -
 configs/mx28evk_auart_console_defconfig      |   9 --
 configs/mx28evk_defconfig                    |   9 --
 configs/mx28evk_nand_defconfig               |   9 --
 configs/mx28evk_spi_defconfig                |  10 --
 configs/sh7752evb_defconfig                  |   6 -
 configs/sh7753evb_defconfig                  |   6 -
 configs/sh7757lcr_defconfig                  |   5 -
 configs/work_92105_defconfig                 |   2 -
 configs/zipitz2_defconfig                    |  34 -----
 drivers/spi/Kconfig                          |   4 +
 env/Kconfig                                  |   2 +-
 include/configs/sh7752evb.h                  |   1 -
 include/configs/sh7753evb.h                  |   1 -
 include/configs/sh7757lcr.h                  |   1 -
 include/configs/zipitz2.h                    | 186 -----------------------
 31 files changed, 46 insertions(+), 550 deletions(-)
 delete mode 100644 board/zipitz2/Kconfig
 delete mode 100644 board/zipitz2/MAINTAINERS
 delete mode 100644 board/zipitz2/Makefile
 delete mode 100644 board/zipitz2/zipitz2.c
 delete mode 100644 configs/zipitz2_defconfig
 delete mode 100644 include/configs/zipitz2.h

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-06-07  9:15           ` Heiko Schocher
@ 2019-06-07  9:33             ` Mario Six
  0 siblings, 0 replies; 217+ messages in thread
From: Mario Six @ 2019-06-07  9:33 UTC (permalink / raw)
  To: u-boot

Hi Heiko,

On Fri, Jun 7, 2019 at 11:15 AM Heiko Schocher <hs@denx.de> wrote:
>
> Hello Mario,
>
> Am 07.06.2019 um 11:10 schrieb Mario Six:
> > Hi Heiko,
> >
> > On Fri, Jun 7, 2019 at 10:56 AM Heiko Schocher <hs@denx.de> wrote:
> >>
> >> Hello Mario,
> >>
> >> Am 07.06.2019 um 09:51 schrieb Mario Six:
> >>> (adding Heiko, since he's the maintainer of the board in question)
> >>>
> >>> On Fri, May 24, 2019 at 9:34 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
> >>
> >> Huch, missed this Email ...
> >>
> >>>>
> >>>> Hi Mario,
> >>>>
> >>>> On Tue, May 21, 2019 at 4:42 PM Tom Rini <trini@konsulko.com> wrote:
> >>>>>
> >>>>> On Mon, May 20, 2019 at 10:48:23PM +0530, Jagan Teki wrote:
> >>>>>
> >>>>>> Hi Tom,
> >>>>>>
> >>>>>> Please pull this PR.
> >>>>>>
> >>>>>> Summary:
> >>>>>> - mpc8xxx spi driver fixes (Mario)
> >>>>>> - mpc8xxx spi dm conversion (Mario, Jagan)
> >>>>>> - SPI DM Migration update (Jagan)
> >>>>>>
> >>>>>> The following changes since commit 748198cb8d32d41bc35e6f492bac9948f339bece:
> >>>>>>
> >>>>>>     Revert "Makefile: Prioritize external dtb if defined" (2019-05-19 18:09:35 -0400)
> >>>>>>
> >>>>>> are available in the Git repository at:
> >>>>>>
> >>>>>>     git://git.denx.de/u-boot-spi.git master
> >>>>>>
> >>>>>> for you to fetch changes up to 93842e580cee40c9d3e70de625e4bd826a749e65:
> >>>>>>
> >>>>>>     dm: MIGRATION: Update migration status for SPI (2019-05-20 22:18:54 +0530)
> >>>>>>
> >>>>>
> >>>>> NAK:
> >>>>>      powerpc:  +   ids8313
> >>>>> +(ids8313) cmd/built-in.o: In function `do_spi_xfer':
> >>>>> +(ids8313) build/../cmd/spi.c:53: undefined reference to `spi_setup_slave'
> >>>>> +(ids8313) build/../cmd/spi.c:60: undefined reference to `spi_claim_bus'
> >>>>> +(ids8313) build/../cmd/spi.c:63: undefined reference to `spi_xfer'
> >>>>> +(ids8313) build/../cmd/spi.c:80: undefined reference to `spi_release_bus'
> >>>>> +(ids8313) build/../cmd/spi.c:82: undefined reference to `spi_free_slave'
> >>>>> +(ids8313) common/built-in.o: In function `jumptable_init':
> >>>>> +(ids8313) build/../include/_exports.h:56: undefined reference to `spi_setup_slave'
> >>>>> +(ids8313) build/../include/_exports.h:58: undefined reference to `spi_free_slave'
> >>>>> +(ids8313) build/../include/_exports.h:65: undefined reference to `spi_claim_bus'
> >>>>> +(ids8313) build/../include/_exports.h:66: undefined reference to `spi_release_bus'
> >>>>> +(ids8313) build/../include/_exports.h:67: undefined reference to `spi_xfer'
> >>>>> +(ids8313) make[1]: *** [Makefile:1552: u-boot] Error 1
> >>>>> +(ids8313) make: *** [Makefile:148: sub-make] Error 2
> >>>>>
> >>>>
> >>>> Any help?
> >>>
> >>> @Heiko: I'll post a minimal patch that starts DM conversion on ids8313; I used
> >>> the mpc8313erdb tree from the Linux sources for now. No guarantees for
> >>> functionality, but it does compile.
> >>
> >> Just saw this patch .. it is really a fast shot :-P
> >>
> >> I just wrote an EMail to the customer, if we should remove the board
> >> from mainline (or convert it).
> >>
> >>> @Jagan: Could you rebase this series on the current master to pull in my
> >>> MPC83xx DM updates, and then apply the previously mentioned ids8313 patch after
> >>> Heiko gave his OK?
> >>
> >> As it blocks spi patches ... Isn,t it better we remove SPI functionality
> >> from the ids8313 board instead of adding a DTS which does not really fit?
> >>
> > That would be the alternative, of course. If you do want to go forward with
> > removing the board, then I'm all for disabling the SPI support until we know
> > more, of course.
> >
> > Do you want to prepare a patch for the SPI removal, or should I do it?
>
> If you can do it, that would be great!
>
Sure, one patch coming up...

> Many thanks!
>
> bye,
> Heiko
>
Best regards,
Mario

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-06-07  9:10         ` Mario Six
@ 2019-06-07  9:15           ` Heiko Schocher
  2019-06-07  9:33             ` Mario Six
  0 siblings, 1 reply; 217+ messages in thread
From: Heiko Schocher @ 2019-06-07  9:15 UTC (permalink / raw)
  To: u-boot

Hello Mario,

Am 07.06.2019 um 11:10 schrieb Mario Six:
> Hi Heiko,
> 
> On Fri, Jun 7, 2019 at 10:56 AM Heiko Schocher <hs@denx.de> wrote:
>>
>> Hello Mario,
>>
>> Am 07.06.2019 um 09:51 schrieb Mario Six:
>>> (adding Heiko, since he's the maintainer of the board in question)
>>>
>>> On Fri, May 24, 2019 at 9:34 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
>>
>> Huch, missed this Email ...
>>
>>>>
>>>> Hi Mario,
>>>>
>>>> On Tue, May 21, 2019 at 4:42 PM Tom Rini <trini@konsulko.com> wrote:
>>>>>
>>>>> On Mon, May 20, 2019 at 10:48:23PM +0530, Jagan Teki wrote:
>>>>>
>>>>>> Hi Tom,
>>>>>>
>>>>>> Please pull this PR.
>>>>>>
>>>>>> Summary:
>>>>>> - mpc8xxx spi driver fixes (Mario)
>>>>>> - mpc8xxx spi dm conversion (Mario, Jagan)
>>>>>> - SPI DM Migration update (Jagan)
>>>>>>
>>>>>> The following changes since commit 748198cb8d32d41bc35e6f492bac9948f339bece:
>>>>>>
>>>>>>     Revert "Makefile: Prioritize external dtb if defined" (2019-05-19 18:09:35 -0400)
>>>>>>
>>>>>> are available in the Git repository at:
>>>>>>
>>>>>>     git://git.denx.de/u-boot-spi.git master
>>>>>>
>>>>>> for you to fetch changes up to 93842e580cee40c9d3e70de625e4bd826a749e65:
>>>>>>
>>>>>>     dm: MIGRATION: Update migration status for SPI (2019-05-20 22:18:54 +0530)
>>>>>>
>>>>>
>>>>> NAK:
>>>>>      powerpc:  +   ids8313
>>>>> +(ids8313) cmd/built-in.o: In function `do_spi_xfer':
>>>>> +(ids8313) build/../cmd/spi.c:53: undefined reference to `spi_setup_slave'
>>>>> +(ids8313) build/../cmd/spi.c:60: undefined reference to `spi_claim_bus'
>>>>> +(ids8313) build/../cmd/spi.c:63: undefined reference to `spi_xfer'
>>>>> +(ids8313) build/../cmd/spi.c:80: undefined reference to `spi_release_bus'
>>>>> +(ids8313) build/../cmd/spi.c:82: undefined reference to `spi_free_slave'
>>>>> +(ids8313) common/built-in.o: In function `jumptable_init':
>>>>> +(ids8313) build/../include/_exports.h:56: undefined reference to `spi_setup_slave'
>>>>> +(ids8313) build/../include/_exports.h:58: undefined reference to `spi_free_slave'
>>>>> +(ids8313) build/../include/_exports.h:65: undefined reference to `spi_claim_bus'
>>>>> +(ids8313) build/../include/_exports.h:66: undefined reference to `spi_release_bus'
>>>>> +(ids8313) build/../include/_exports.h:67: undefined reference to `spi_xfer'
>>>>> +(ids8313) make[1]: *** [Makefile:1552: u-boot] Error 1
>>>>> +(ids8313) make: *** [Makefile:148: sub-make] Error 2
>>>>>
>>>>
>>>> Any help?
>>>
>>> @Heiko: I'll post a minimal patch that starts DM conversion on ids8313; I used
>>> the mpc8313erdb tree from the Linux sources for now. No guarantees for
>>> functionality, but it does compile.
>>
>> Just saw this patch .. it is really a fast shot :-P
>>
>> I just wrote an EMail to the customer, if we should remove the board
>> from mainline (or convert it).
>>
>>> @Jagan: Could you rebase this series on the current master to pull in my
>>> MPC83xx DM updates, and then apply the previously mentioned ids8313 patch after
>>> Heiko gave his OK?
>>
>> As it blocks spi patches ... Isn,t it better we remove SPI functionality
>> from the ids8313 board instead of adding a DTS which does not really fit?
>>
> That would be the alternative, of course. If you do want to go forward with
> removing the board, then I'm all for disabling the SPI support until we know
> more, of course.
> 
> Do you want to prepare a patch for the SPI removal, or should I do it?

If you can do it, that would be great!

Many thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-06-07  8:56       ` Heiko Schocher
@ 2019-06-07  9:10         ` Mario Six
  2019-06-07  9:15           ` Heiko Schocher
  0 siblings, 1 reply; 217+ messages in thread
From: Mario Six @ 2019-06-07  9:10 UTC (permalink / raw)
  To: u-boot

Hi Heiko,

On Fri, Jun 7, 2019 at 10:56 AM Heiko Schocher <hs@denx.de> wrote:
>
> Hello Mario,
>
> Am 07.06.2019 um 09:51 schrieb Mario Six:
> > (adding Heiko, since he's the maintainer of the board in question)
> >
> > On Fri, May 24, 2019 at 9:34 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
>
> Huch, missed this Email ...
>
> >>
> >> Hi Mario,
> >>
> >> On Tue, May 21, 2019 at 4:42 PM Tom Rini <trini@konsulko.com> wrote:
> >>>
> >>> On Mon, May 20, 2019 at 10:48:23PM +0530, Jagan Teki wrote:
> >>>
> >>>> Hi Tom,
> >>>>
> >>>> Please pull this PR.
> >>>>
> >>>> Summary:
> >>>> - mpc8xxx spi driver fixes (Mario)
> >>>> - mpc8xxx spi dm conversion (Mario, Jagan)
> >>>> - SPI DM Migration update (Jagan)
> >>>>
> >>>> The following changes since commit 748198cb8d32d41bc35e6f492bac9948f339bece:
> >>>>
> >>>>    Revert "Makefile: Prioritize external dtb if defined" (2019-05-19 18:09:35 -0400)
> >>>>
> >>>> are available in the Git repository at:
> >>>>
> >>>>    git://git.denx.de/u-boot-spi.git master
> >>>>
> >>>> for you to fetch changes up to 93842e580cee40c9d3e70de625e4bd826a749e65:
> >>>>
> >>>>    dm: MIGRATION: Update migration status for SPI (2019-05-20 22:18:54 +0530)
> >>>>
> >>>
> >>> NAK:
> >>>     powerpc:  +   ids8313
> >>> +(ids8313) cmd/built-in.o: In function `do_spi_xfer':
> >>> +(ids8313) build/../cmd/spi.c:53: undefined reference to `spi_setup_slave'
> >>> +(ids8313) build/../cmd/spi.c:60: undefined reference to `spi_claim_bus'
> >>> +(ids8313) build/../cmd/spi.c:63: undefined reference to `spi_xfer'
> >>> +(ids8313) build/../cmd/spi.c:80: undefined reference to `spi_release_bus'
> >>> +(ids8313) build/../cmd/spi.c:82: undefined reference to `spi_free_slave'
> >>> +(ids8313) common/built-in.o: In function `jumptable_init':
> >>> +(ids8313) build/../include/_exports.h:56: undefined reference to `spi_setup_slave'
> >>> +(ids8313) build/../include/_exports.h:58: undefined reference to `spi_free_slave'
> >>> +(ids8313) build/../include/_exports.h:65: undefined reference to `spi_claim_bus'
> >>> +(ids8313) build/../include/_exports.h:66: undefined reference to `spi_release_bus'
> >>> +(ids8313) build/../include/_exports.h:67: undefined reference to `spi_xfer'
> >>> +(ids8313) make[1]: *** [Makefile:1552: u-boot] Error 1
> >>> +(ids8313) make: *** [Makefile:148: sub-make] Error 2
> >>>
> >>
> >> Any help?
> >
> > @Heiko: I'll post a minimal patch that starts DM conversion on ids8313; I used
> > the mpc8313erdb tree from the Linux sources for now. No guarantees for
> > functionality, but it does compile.
>
> Just saw this patch .. it is really a fast shot :-P
>
> I just wrote an EMail to the customer, if we should remove the board
> from mainline (or convert it).
>
> > @Jagan: Could you rebase this series on the current master to pull in my
> > MPC83xx DM updates, and then apply the previously mentioned ids8313 patch after
> > Heiko gave his OK?
>
> As it blocks spi patches ... Isn,t it better we remove SPI functionality
> from the ids8313 board instead of adding a DTS which does not really fit?
>
That would be the alternative, of course. If you do want to go forward with
removing the board, then I'm all for disabling the SPI support until we know
more, of course.

Do you want to prepare a patch for the SPI removal, or should I do it?

> bye,
> Heiko
>
Best regards,
Mario

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-06-07  7:51     ` Mario Six
@ 2019-06-07  8:56       ` Heiko Schocher
  2019-06-07  9:10         ` Mario Six
  0 siblings, 1 reply; 217+ messages in thread
From: Heiko Schocher @ 2019-06-07  8:56 UTC (permalink / raw)
  To: u-boot

Hello Mario,

Am 07.06.2019 um 09:51 schrieb Mario Six:
> (adding Heiko, since he's the maintainer of the board in question)
> 
> On Fri, May 24, 2019 at 9:34 PM Jagan Teki <jagan@amarulasolutions.com> wrote:

Huch, missed this Email ...

>>
>> Hi Mario,
>>
>> On Tue, May 21, 2019 at 4:42 PM Tom Rini <trini@konsulko.com> wrote:
>>>
>>> On Mon, May 20, 2019 at 10:48:23PM +0530, Jagan Teki wrote:
>>>
>>>> Hi Tom,
>>>>
>>>> Please pull this PR.
>>>>
>>>> Summary:
>>>> - mpc8xxx spi driver fixes (Mario)
>>>> - mpc8xxx spi dm conversion (Mario, Jagan)
>>>> - SPI DM Migration update (Jagan)
>>>>
>>>> The following changes since commit 748198cb8d32d41bc35e6f492bac9948f339bece:
>>>>
>>>>    Revert "Makefile: Prioritize external dtb if defined" (2019-05-19 18:09:35 -0400)
>>>>
>>>> are available in the Git repository at:
>>>>
>>>>    git://git.denx.de/u-boot-spi.git master
>>>>
>>>> for you to fetch changes up to 93842e580cee40c9d3e70de625e4bd826a749e65:
>>>>
>>>>    dm: MIGRATION: Update migration status for SPI (2019-05-20 22:18:54 +0530)
>>>>
>>>
>>> NAK:
>>>     powerpc:  +   ids8313
>>> +(ids8313) cmd/built-in.o: In function `do_spi_xfer':
>>> +(ids8313) build/../cmd/spi.c:53: undefined reference to `spi_setup_slave'
>>> +(ids8313) build/../cmd/spi.c:60: undefined reference to `spi_claim_bus'
>>> +(ids8313) build/../cmd/spi.c:63: undefined reference to `spi_xfer'
>>> +(ids8313) build/../cmd/spi.c:80: undefined reference to `spi_release_bus'
>>> +(ids8313) build/../cmd/spi.c:82: undefined reference to `spi_free_slave'
>>> +(ids8313) common/built-in.o: In function `jumptable_init':
>>> +(ids8313) build/../include/_exports.h:56: undefined reference to `spi_setup_slave'
>>> +(ids8313) build/../include/_exports.h:58: undefined reference to `spi_free_slave'
>>> +(ids8313) build/../include/_exports.h:65: undefined reference to `spi_claim_bus'
>>> +(ids8313) build/../include/_exports.h:66: undefined reference to `spi_release_bus'
>>> +(ids8313) build/../include/_exports.h:67: undefined reference to `spi_xfer'
>>> +(ids8313) make[1]: *** [Makefile:1552: u-boot] Error 1
>>> +(ids8313) make: *** [Makefile:148: sub-make] Error 2
>>>
>>
>> Any help?
> 
> @Heiko: I'll post a minimal patch that starts DM conversion on ids8313; I used
> the mpc8313erdb tree from the Linux sources for now. No guarantees for
> functionality, but it does compile.

Just saw this patch .. it is really a fast shot :-P

I just wrote an EMail to the customer, if we should remove the board
from mainline (or convert it).

> @Jagan: Could you rebase this series on the current master to pull in my
> MPC83xx DM updates, and then apply the previously mentioned ids8313 patch after
> Heiko gave his OK?

As it blocks spi patches ... Isn,t it better we remove SPI functionality
from the ids8313 board instead of adding a DTS which does not really fit?

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-05-24 19:34   ` Jagan Teki
@ 2019-06-07  7:51     ` Mario Six
  2019-06-07  8:56       ` Heiko Schocher
  0 siblings, 1 reply; 217+ messages in thread
From: Mario Six @ 2019-06-07  7:51 UTC (permalink / raw)
  To: u-boot

(adding Heiko, since he's the maintainer of the board in question)

On Fri, May 24, 2019 at 9:34 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
>
> Hi Mario,
>
> On Tue, May 21, 2019 at 4:42 PM Tom Rini <trini@konsulko.com> wrote:
> >
> > On Mon, May 20, 2019 at 10:48:23PM +0530, Jagan Teki wrote:
> >
> > > Hi Tom,
> > >
> > > Please pull this PR.
> > >
> > > Summary:
> > > - mpc8xxx spi driver fixes (Mario)
> > > - mpc8xxx spi dm conversion (Mario, Jagan)
> > > - SPI DM Migration update (Jagan)
> > >
> > > The following changes since commit 748198cb8d32d41bc35e6f492bac9948f339bece:
> > >
> > >   Revert "Makefile: Prioritize external dtb if defined" (2019-05-19 18:09:35 -0400)
> > >
> > > are available in the Git repository at:
> > >
> > >   git://git.denx.de/u-boot-spi.git master
> > >
> > > for you to fetch changes up to 93842e580cee40c9d3e70de625e4bd826a749e65:
> > >
> > >   dm: MIGRATION: Update migration status for SPI (2019-05-20 22:18:54 +0530)
> > >
> >
> > NAK:
> >    powerpc:  +   ids8313
> > +(ids8313) cmd/built-in.o: In function `do_spi_xfer':
> > +(ids8313) build/../cmd/spi.c:53: undefined reference to `spi_setup_slave'
> > +(ids8313) build/../cmd/spi.c:60: undefined reference to `spi_claim_bus'
> > +(ids8313) build/../cmd/spi.c:63: undefined reference to `spi_xfer'
> > +(ids8313) build/../cmd/spi.c:80: undefined reference to `spi_release_bus'
> > +(ids8313) build/../cmd/spi.c:82: undefined reference to `spi_free_slave'
> > +(ids8313) common/built-in.o: In function `jumptable_init':
> > +(ids8313) build/../include/_exports.h:56: undefined reference to `spi_setup_slave'
> > +(ids8313) build/../include/_exports.h:58: undefined reference to `spi_free_slave'
> > +(ids8313) build/../include/_exports.h:65: undefined reference to `spi_claim_bus'
> > +(ids8313) build/../include/_exports.h:66: undefined reference to `spi_release_bus'
> > +(ids8313) build/../include/_exports.h:67: undefined reference to `spi_xfer'
> > +(ids8313) make[1]: *** [Makefile:1552: u-boot] Error 1
> > +(ids8313) make: *** [Makefile:148: sub-make] Error 2
> >
>
> Any help?

@Heiko: I'll post a minimal patch that starts DM conversion on ids8313; I used
the mpc8313erdb tree from the Linux sources for now. No guarantees for
functionality, but it does compile.

@Jagan: Could you rebase this series on the current master to pull in my
MPC83xx DM updates, and then apply the previously mentioned ids8313 patch after
Heiko gave his OK?

Thanks, and best regards,
Mario

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-05-21 11:12 ` Tom Rini
@ 2019-05-24 19:34   ` Jagan Teki
  2019-06-07  7:51     ` Mario Six
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2019-05-24 19:34 UTC (permalink / raw)
  To: u-boot

Hi Mario,

On Tue, May 21, 2019 at 4:42 PM Tom Rini <trini@konsulko.com> wrote:
>
> On Mon, May 20, 2019 at 10:48:23PM +0530, Jagan Teki wrote:
>
> > Hi Tom,
> >
> > Please pull this PR.
> >
> > Summary:
> > - mpc8xxx spi driver fixes (Mario)
> > - mpc8xxx spi dm conversion (Mario, Jagan)
> > - SPI DM Migration update (Jagan)
> >
> > The following changes since commit 748198cb8d32d41bc35e6f492bac9948f339bece:
> >
> >   Revert "Makefile: Prioritize external dtb if defined" (2019-05-19 18:09:35 -0400)
> >
> > are available in the Git repository at:
> >
> >   git://git.denx.de/u-boot-spi.git master
> >
> > for you to fetch changes up to 93842e580cee40c9d3e70de625e4bd826a749e65:
> >
> >   dm: MIGRATION: Update migration status for SPI (2019-05-20 22:18:54 +0530)
> >
>
> NAK:
>    powerpc:  +   ids8313
> +(ids8313) cmd/built-in.o: In function `do_spi_xfer':
> +(ids8313) build/../cmd/spi.c:53: undefined reference to `spi_setup_slave'
> +(ids8313) build/../cmd/spi.c:60: undefined reference to `spi_claim_bus'
> +(ids8313) build/../cmd/spi.c:63: undefined reference to `spi_xfer'
> +(ids8313) build/../cmd/spi.c:80: undefined reference to `spi_release_bus'
> +(ids8313) build/../cmd/spi.c:82: undefined reference to `spi_free_slave'
> +(ids8313) common/built-in.o: In function `jumptable_init':
> +(ids8313) build/../include/_exports.h:56: undefined reference to `spi_setup_slave'
> +(ids8313) build/../include/_exports.h:58: undefined reference to `spi_free_slave'
> +(ids8313) build/../include/_exports.h:65: undefined reference to `spi_claim_bus'
> +(ids8313) build/../include/_exports.h:66: undefined reference to `spi_release_bus'
> +(ids8313) build/../include/_exports.h:67: undefined reference to `spi_xfer'
> +(ids8313) make[1]: *** [Makefile:1552: u-boot] Error 1
> +(ids8313) make: *** [Makefile:148: sub-make] Error 2
>

Any help?

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-05-20 17:18 Jagan Teki
@ 2019-05-21 11:12 ` Tom Rini
  2019-05-24 19:34   ` Jagan Teki
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2019-05-21 11:12 UTC (permalink / raw)
  To: u-boot

On Mon, May 20, 2019 at 10:48:23PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> Summary:
> - mpc8xxx spi driver fixes (Mario)
> - mpc8xxx spi dm conversion (Mario, Jagan)
> - SPI DM Migration update (Jagan)
> 
> The following changes since commit 748198cb8d32d41bc35e6f492bac9948f339bece:
> 
>   Revert "Makefile: Prioritize external dtb if defined" (2019-05-19 18:09:35 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 93842e580cee40c9d3e70de625e4bd826a749e65:
> 
>   dm: MIGRATION: Update migration status for SPI (2019-05-20 22:18:54 +0530)
> 

NAK:
   powerpc:  +   ids8313
+(ids8313) cmd/built-in.o: In function `do_spi_xfer':
+(ids8313) build/../cmd/spi.c:53: undefined reference to `spi_setup_slave'
+(ids8313) build/../cmd/spi.c:60: undefined reference to `spi_claim_bus'
+(ids8313) build/../cmd/spi.c:63: undefined reference to `spi_xfer'
+(ids8313) build/../cmd/spi.c:80: undefined reference to `spi_release_bus'
+(ids8313) build/../cmd/spi.c:82: undefined reference to `spi_free_slave'
+(ids8313) common/built-in.o: In function `jumptable_init':
+(ids8313) build/../include/_exports.h:56: undefined reference to `spi_setup_slave'
+(ids8313) build/../include/_exports.h:58: undefined reference to `spi_free_slave'
+(ids8313) build/../include/_exports.h:65: undefined reference to `spi_claim_bus'
+(ids8313) build/../include/_exports.h:66: undefined reference to `spi_release_bus'
+(ids8313) build/../include/_exports.h:67: undefined reference to `spi_xfer'
+(ids8313) make[1]: *** [Makefile:1552: u-boot] Error 1
+(ids8313) make: *** [Makefile:148: sub-make] Error 2

Due to:
commit 96ff5503a543bee956c0f55f43c26a1f6a07f21a
Author: Jagan Teki <jagan@amarulasolutions.com>
Date:   Mon Apr 29 01:58:53 2019 +0530

    spi: mpc8xxx: Convert to DM
     

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190521/2bea9145/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2019-05-20 17:18 Jagan Teki
  2019-05-21 11:12 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2019-05-20 17:18 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

Summary:
- mpc8xxx spi driver fixes (Mario)
- mpc8xxx spi dm conversion (Mario, Jagan)
- SPI DM Migration update (Jagan)

The following changes since commit 748198cb8d32d41bc35e6f492bac9948f339bece:

  Revert "Makefile: Prioritize external dtb if defined" (2019-05-19 18:09:35 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 93842e580cee40c9d3e70de625e4bd826a749e65:

  dm: MIGRATION: Update migration status for SPI (2019-05-20 22:18:54 +0530)

----------------------------------------------------------------
Jagan Teki (2):
      spi: mpc8xxx: Convert to DM
      dm: MIGRATION: Update migration status for SPI

Mario Six (17):
      spi: mpc8xxx: Use short type names
      spi: mpc8xxx: Fix comments
      spi: mpc8xxx: Rename camel-case variables
      spi: mpc8xxx: Fix space after cast
      spi: mpc8xxx: Fix function names in strings
      spi: mpc8xxx: Replace defines with enums
      spi: mpc8xxx: Use IO accessors
      spi: mpc8xxx: Simplify if
      spi: mpc8xxx: Get rid of is_read
      spi: mpc8xxx: Simplify logic a bit
      spi: mpc8xxx: Reduce scope of loop variables
      spi: mpc8xxx: Make code more readable
      spi: mpc8xxx: Rename variable
      spi: mpc8xxx: Document LEN setting better
      spi: mpc8xxx: Re-order transfer setup
      spi: mpc8xxx: Fix if check
      spi: mpc8xxx: Use get_timer

 doc/driver-model/MIGRATION.txt |   6 +-
 drivers/spi/Kconfig            |  10 +-
 drivers/spi/mpc8xxx_spi.c      | 279 +++++++++++++++++++++++++++--------------
 3 files changed, 194 insertions(+), 101 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-05-05 16:42 Jagan Teki
@ 2019-05-07  2:43 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2019-05-07  2:43 UTC (permalink / raw)
  To: u-boot

On Sun, May 05, 2019 at 10:12:24PM +0530, Jagan Teki wrote:

> Hi Tom, 
> 
> Please pull this spi-mem fix.
> 
> thanks,
> Jagan.
> 
> The following changes since commit b4ee6daad7a2604ca9466b2ba48de86cc27d381f:
> 
>   Merge tag 'u-boot-imx-20190426' of git://git.denx.de/u-boot-imx (2019-05-01 07:25:51 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 60e2bf46784ebbd30ff29b3d3c7c97e56b11e86a:
> 
>   mtd: spi-nor: fix page program issue when using spi-mem driver (2019-05-03 15:26:12 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190506/2d0ff993/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2019-05-05 16:42 Jagan Teki
  2019-05-07  2:43 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2019-05-05 16:42 UTC (permalink / raw)
  To: u-boot

Hi Tom, 

Please pull this spi-mem fix.

thanks,
Jagan.

The following changes since commit b4ee6daad7a2604ca9466b2ba48de86cc27d381f:

  Merge tag 'u-boot-imx-20190426' of git://git.denx.de/u-boot-imx (2019-05-01 07:25:51 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 60e2bf46784ebbd30ff29b3d3c7c97e56b11e86a:

  mtd: spi-nor: fix page program issue when using spi-mem driver (2019-05-03 15:26:12 +0530)

----------------------------------------------------------------
Weijie Gao (1):
      mtd: spi-nor: fix page program issue when using spi-mem driver

 drivers/mtd/spi/spi-nor-core.c | 27 ++++++++-------------------
 1 file changed, 8 insertions(+), 19 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-04-17 12:21 Jagan Teki
  2019-04-17 12:45 ` Vignesh Raghavendra
@ 2019-04-18 16:20 ` Tom Rini
  1 sibling, 0 replies; 217+ messages in thread
From: Tom Rini @ 2019-04-18 16:20 UTC (permalink / raw)
  To: u-boot

On Wed, Apr 17, 2019 at 05:51:37PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> Summary:
> - drop non-DM code from ti_qspi
> - support spi-mem for ti_qspi
> 
> thanks,
> Jagan.
> 
> The following changes since commit 216800acf1fbf9f498455bf3c92d4513d9a4c681:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-spi (2019-04-14 00:03:06 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 4c96c61216719155b3a1d51f6373e996335861de:
> 
>   spi: ti_qspi: Convert to spi-mem ops (2019-04-17 17:43:54 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190418/2ded490c/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-04-17 12:21 Jagan Teki
@ 2019-04-17 12:45 ` Vignesh Raghavendra
  2019-04-18 16:20 ` Tom Rini
  1 sibling, 0 replies; 217+ messages in thread
From: Vignesh Raghavendra @ 2019-04-17 12:45 UTC (permalink / raw)
  To: u-boot



On 17/04/19 5:51 PM, Jagan Teki wrote:
> Hi Tom,
> 
> Please pull this PR.
> 

Thanks Jagan!

Tom,
These patches depend on [1] that drops cl-som-am57x board support.
http://patchwork.ozlabs.org/patch/1085281/

Regards
Vignesh

> Summary:
> - drop non-DM code from ti_qspi
> - support spi-mem for ti_qspi
> 
> thanks,
> Jagan.
> 
> The following changes since commit 216800acf1fbf9f498455bf3c92d4513d9a4c681:
> 
>    Merge branch 'master' of git://git.denx.de/u-boot-spi (2019-04-14 00:03:06 -0400)
> 
> are available in the Git repository at:
> 
>    git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 4c96c61216719155b3a1d51f6373e996335861de:
> 
>    spi: ti_qspi: Convert to spi-mem ops (2019-04-17 17:43:54 +0530)
> 
> ----------------------------------------------------------------
> Vignesh Raghavendra (2):
>        spi: ti_qspi: Drop non DM code
>        spi: ti_qspi: Convert to spi-mem ops
> 
>   doc/driver-model/MIGRATION.txt |   1 -
>   drivers/spi/Kconfig            |  13 +-
>   drivers/spi/Makefile           |   2 +-
>   drivers/spi/ti_qspi.c          | 351 ++++++++++++-----------------------------
>   include/configs/am43xx_evm.h   |   6 -
>   include/configs/am57xx_evm.h   |   5 -
>   include/configs/cm_t43.h       |   3 -
>   include/configs/dra7xx_evm.h   |   5 -
>   scripts/config_whitelist.txt   |   3 -
>   9 files changed, 108 insertions(+), 281 deletions(-)
> 

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2019-04-17 12:21 Jagan Teki
  2019-04-17 12:45 ` Vignesh Raghavendra
  2019-04-18 16:20 ` Tom Rini
  0 siblings, 2 replies; 217+ messages in thread
From: Jagan Teki @ 2019-04-17 12:21 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

Summary:
- drop non-DM code from ti_qspi
- support spi-mem for ti_qspi

thanks,
Jagan.

The following changes since commit 216800acf1fbf9f498455bf3c92d4513d9a4c681:

  Merge branch 'master' of git://git.denx.de/u-boot-spi (2019-04-14 00:03:06 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 4c96c61216719155b3a1d51f6373e996335861de:

  spi: ti_qspi: Convert to spi-mem ops (2019-04-17 17:43:54 +0530)

----------------------------------------------------------------
Vignesh Raghavendra (2):
      spi: ti_qspi: Drop non DM code
      spi: ti_qspi: Convert to spi-mem ops

 doc/driver-model/MIGRATION.txt |   1 -
 drivers/spi/Kconfig            |  13 +-
 drivers/spi/Makefile           |   2 +-
 drivers/spi/ti_qspi.c          | 351 ++++++++++++-----------------------------
 include/configs/am43xx_evm.h   |   6 -
 include/configs/am57xx_evm.h   |   5 -
 include/configs/cm_t43.h       |   3 -
 include/configs/dra7xx_evm.h   |   5 -
 scripts/config_whitelist.txt   |   3 -
 9 files changed, 108 insertions(+), 281 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-04-12 13:43 Jagan Teki
@ 2019-04-14 12:57 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2019-04-14 12:57 UTC (permalink / raw)
  To: u-boot

On Fri, Apr 12, 2019 at 07:13:01PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks,
> Jagan.
> 
> The following changes since commit 02f173ca156cee8526dff87603d5e446b443cde3:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-usb (2019-04-11 14:29:37 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 59aea29a31869ed0fd5ffc4b95050db966fcaf6d:
> 
>   MAINTAINERS: Change Jagan's email address (2019-04-12 18:47:16 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190414/e1819a57/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2019-04-12 13:43 Jagan Teki
  2019-04-14 12:57 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2019-04-12 13:43 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks,
Jagan.

The following changes since commit 02f173ca156cee8526dff87603d5e446b443cde3:

  Merge branch 'master' of git://git.denx.de/u-boot-usb (2019-04-11 14:29:37 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 59aea29a31869ed0fd5ffc4b95050db966fcaf6d:

  MAINTAINERS: Change Jagan's email address (2019-04-12 18:47:16 +0530)

----------------------------------------------------------------
Bernhard Messerklinger (1):
      spi: spi-mem: Check if exec_op function is set before calling it

Heiko Schocher (1):
      mtd: add spi flash id s25fl064l

Jagan Teki (1):
      MAINTAINERS: Change Jagan's email address

Jared Bents (1):
      spi: fsl_dspi fix to stop extra transmissions

Ley Foon Tan (1):
      spi: cadence_qspi: Add quad write support

Marek Vasut (2):
      mtd: spi: Add Macronix MX66U2G45F device
      mtd: spi: Replace ad-hoc default implementation with spi_mem_op

Miquel Raynal (2):
      mtd: fix mtd_oobavail() incoherent returned value
      mtd: fix Coverity integer handling issue

Neil Armstrong (5):
      dts: switch spi-flash to jedec, spi-nor compatible
      x86: dts: switch spi-flash to jedec, spi-nor compatible
      mtd: sf_probe: remove spi-flash compatible
      doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor
      mtd: spi-nor-ids: Add Gigadevice gd25lq128 ID

Patrick Delaunay (1):
      dm: spi: Read default speed and mode values from DT

Stefan Roese (1):
      mtd: spinand: Sync GigaDevice GD5F1GQ4UExxG with latest Linux version

 MAINTAINERS                                        |  6 +-
 arch/arc/dts/axs10x_mb.dtsi                        |  2 +-
 arch/arc/dts/hsdk.dts                              |  2 +-
 arch/arm/dts/am335x-brppt1-spi.dts                 |  2 +-
 arch/arm/dts/am437x-idk-evm.dts                    |  2 +-
 arch/arm/dts/am437x-sk-evm.dts                     |  2 +-
 arch/arm/dts/armada-3720-db.dts                    |  2 +-
 arch/arm/dts/armada-3720-espressobin.dts           |  2 +-
 arch/arm/dts/armada-3720-turris-mox.dts            |  2 +-
 arch/arm/dts/armada-385-amc.dts                    |  2 +-
 arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi   |  2 +-
 arch/arm/dts/armada-38x-controlcenterdc.dts        |  4 +-
 arch/arm/dts/armada-38x-solidrun-microsom.dtsi     |  2 +-
 arch/arm/dts/armada-8040-clearfog-gt-8k.dts        |  2 +-
 arch/arm/dts/armada-xp-theadorable.dts             |  2 +-
 arch/arm/dts/at91-sama5d2_xplained.dts             |  2 +-
 arch/arm/dts/at91-sama5d4_xplained.dts             |  2 +-
 arch/arm/dts/at91-sama5d4ek.dts                    |  2 +-
 arch/arm/dts/at91sam9n12ek.dts                     |  2 +-
 arch/arm/dts/at91sam9x5ek.dtsi                     |  2 +-
 arch/arm/dts/bk4r1.dts                             |  4 +-
 arch/arm/dts/da850-evm-u-boot.dtsi                 |  2 +-
 arch/arm/dts/exynos5250-snow.dts                   |  2 +-
 arch/arm/dts/exynos5250-spring.dts                 |  2 +-
 arch/arm/dts/exynos5420-peach-pit.dts              |  2 +-
 arch/arm/dts/fsl-ls1012a-2g5rdb.dts                |  2 +-
 arch/arm/dts/fsl-ls1012a-frdm.dtsi                 |  2 +-
 arch/arm/dts/fsl-ls1012a-frwy.dts                  |  2 +-
 arch/arm/dts/fsl-ls1012a-qds.dtsi                  |  8 +--
 arch/arm/dts/fsl-ls1012a-rdb.dtsi                  |  2 +-
 arch/arm/dts/fsl-ls1043a-qds.dtsi                  |  8 +--
 arch/arm/dts/fsl-ls1043a-rdb.dts                   |  2 +-
 arch/arm/dts/fsl-ls1046a-qds.dtsi                  |  8 +--
 arch/arm/dts/fsl-ls1046a-rdb.dts                   |  4 +-
 arch/arm/dts/fsl-ls1088a-qds.dts                   | 10 +--
 arch/arm/dts/fsl-ls1088a-rdb.dts                   |  4 +-
 arch/arm/dts/fsl-ls2080a-qds.dts                   |  8 +--
 arch/arm/dts/fsl-ls2080a-rdb.dts                   |  2 +-
 arch/arm/dts/fsl-ls2081a-rdb.dts                   |  6 +-
 arch/arm/dts/fsl-ls2088a-rdb-qspi.dts              |  6 +-
 arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi          |  4 +-
 arch/arm/dts/imx6sx-sdb-u-boot.dtsi                |  4 +-
 arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi          |  2 +-
 arch/arm/dts/imx6ul-9x9-evk-u-boot.dtsi            |  2 +-
 arch/arm/dts/imx6ull-14x14-evk.dts                 |  2 +-
 arch/arm/dts/imx7d-sdb-qspi-u-boot.dtsi            |  2 +-
 arch/arm/dts/keystone-k2e-evm.dts                  |  2 +-
 arch/arm/dts/keystone-k2g-evm.dts                  |  4 +-
 arch/arm/dts/keystone-k2g-ice.dts                  |  2 +-
 arch/arm/dts/keystone-k2hk-evm.dts                 |  2 +-
 arch/arm/dts/keystone-k2l-evm.dts                  |  2 +-
 arch/arm/dts/kirkwood-atl-sbx81lifkw.dts           |  2 +-
 arch/arm/dts/kirkwood-atl-sbx81lifxcat.dts         |  2 +-
 arch/arm/dts/kirkwood-dreamplug.dts                |  2 +-
 arch/arm/dts/kirkwood-lsxl.dtsi                    |  2 +-
 arch/arm/dts/kirkwood-netxbig.dtsi                 |  2 +-
 arch/arm/dts/kirkwood-ns2-common.dtsi              |  2 +-
 arch/arm/dts/kirkwood-synology.dtsi                |  2 +-
 arch/arm/dts/ls1021a-iot.dtsi                      |  4 +-
 arch/arm/dts/ls1021a-qds.dtsi                      |  2 +-
 arch/arm/dts/ls1021a-twr.dtsi                      |  4 +-
 arch/arm/dts/mt7629-rfb.dts                        |  2 +-
 arch/arm/dts/omap5-u-boot.dtsi                     |  2 +-
 arch/arm/dts/r8a77970-eagle-u-boot.dts             |  2 +-
 arch/arm/dts/rk3288-veyron.dtsi                    |  2 +-
 arch/arm/dts/rk3368-lion.dts                       |  2 +-
 arch/arm/dts/rk3399-gru.dtsi                       |  2 +-
 arch/arm/dts/rk3399-puma.dtsi                      |  2 +-
 arch/arm/dts/rv1108-evb.dts                        |  2 +-
 arch/arm/dts/sama5d27_som1.dtsi                    |  2 +-
 arch/arm/dts/sama5d3xmb.dtsi                       |  2 +-
 arch/arm/dts/sama5d3xmb_cmp.dtsi                   |  2 +-
 arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi      |  2 +-
 arch/arm/dts/socfpga_cyclone5_is1.dts              |  2 +-
 arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi    |  2 +-
 arch/arm/dts/socfpga_cyclone5_sockit-u-boot.dtsi   |  2 +-
 arch/arm/dts/socfpga_cyclone5_socrates-u-boot.dtsi |  2 +-
 arch/arm/dts/socfpga_cyclone5_sr1500.dts           |  2 +-
 .../dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi   |  4 +-
 arch/arm/dts/stm32f746-disco.dts                   |  2 +-
 arch/arm/dts/stm32f769-disco.dts                   |  2 +-
 arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi           |  4 +-
 arch/arm/dts/stv0991.dts                           |  2 +-
 arch/arm/dts/zynq-zed.dts                          |  2 +-
 arch/arm/dts/zynqmp-zc1232-revA.dts                |  2 +-
 arch/arm/dts/zynqmp-zc1254-revA.dts                |  2 +-
 arch/arm/dts/zynqmp-zc1275-revA.dts                |  2 +-
 arch/arm/dts/zynqmp-zc1275-revB.dts                |  2 +-
 arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts           |  2 +-
 arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts           |  2 +-
 arch/arm/dts/zynqmp-zcu102-revA.dts                |  2 +-
 arch/arm/dts/zynqmp-zcu104-revA.dts                |  2 +-
 arch/arm/dts/zynqmp-zcu104-revC.dts                |  2 +-
 arch/arm/dts/zynqmp-zcu106-revA.dts                |  2 +-
 arch/arm/dts/zynqmp-zcu111-revA.dts                |  2 +-
 arch/mips/dts/ap121.dts                            |  2 +-
 arch/mips/dts/ap143.dts                            |  2 +-
 arch/mips/dts/comtrend,ar-5315u.dts                |  2 +-
 arch/mips/dts/comtrend,ar-5387un.dts               |  2 +-
 arch/mips/dts/gardena-smart-gateway-mt7688.dts     |  2 +-
 arch/mips/dts/jr2_pcb110.dts                       |  2 +-
 arch/mips/dts/jr2_pcb111.dts                       |  2 +-
 arch/mips/dts/linkit-smart-7688.dts                |  2 +-
 arch/mips/dts/luton_pcb090.dts                     |  2 +-
 arch/mips/dts/luton_pcb091.dts                     |  2 +-
 arch/mips/dts/mscc,ocelot_pcb.dtsi                 |  2 +-
 arch/mips/dts/netgear,cg3100d.dts                  |  2 +-
 arch/mips/dts/sagem,f at st1704.dts                   |  2 +-
 arch/mips/dts/serval2_pcb112.dts                   |  2 +-
 arch/mips/dts/serval_pcb105.dts                    |  2 +-
 arch/mips/dts/serval_pcb106.dts                    |  2 +-
 arch/mips/dts/servalt_pcb116.dts                   |  2 +-
 arch/mips/dts/tplink_wdr4300.dts                   |  2 +-
 arch/nds32/dts/ae3xx.dts                           |  2 +-
 arch/riscv/dts/ae350_32.dts                        |  2 +-
 arch/riscv/dts/ae350_64.dts                        |  2 +-
 arch/sandbox/dts/test.dts                          |  2 +-
 arch/x86/dts/bayleybay.dts                         |  2 +-
 arch/x86/dts/baytrail_som-db5800-som-6867.dts      |  2 +-
 arch/x86/dts/cherryhill.dts                        |  2 +-
 arch/x86/dts/chromebook_link.dts                   |  2 +-
 arch/x86/dts/chromebook_samus.dts                  |  2 +-
 arch/x86/dts/chromebox_panther.dts                 |  2 +-
 arch/x86/dts/conga-qeval20-qa3-e3845.dts           |  2 +-
 arch/x86/dts/cougarcanyon2.dts                     |  2 +-
 arch/x86/dts/crownbay.dts                          |  2 +-
 arch/x86/dts/dfi-bt700.dtsi                        |  2 +-
 arch/x86/dts/galileo.dts                           |  2 +-
 arch/x86/dts/minnowmax.dts                         |  2 +-
 board/sunxi/MAINTAINERS                            |  2 +-
 cmd/sf.c                                           |  3 +-
 common/spl/spl_spi.c                               |  2 +
 configs/da850_am18xxevm_defconfig                  |  4 --
 configs/da850evm_defconfig                         |  4 --
 configs/mscc_jr2_defconfig                         |  4 --
 configs/mscc_luton_defconfig                       |  4 --
 configs/mscc_ocelot_defconfig                      |  4 --
 configs/mscc_serval_defconfig                      |  4 --
 configs/mscc_servalt_defconfig                     |  4 --
 .../pinctrl/atmel,at91-pio4-pinctrl.txt            |  2 +-
 doc/device-tree-bindings/spi/spi-atcspi200.txt     |  2 +-
 doc/device-tree-bindings/spi/spi-stm32-qspi.txt    |  2 +-
 doc/git-mailrc                                     |  2 +-
 drivers/mtd/mtdcore.c                              |  6 +-
 drivers/mtd/nand/spi/gigadevice.c                  | 79 +++++++++++++---------
 drivers/mtd/spi/Kconfig                            |  6 ++
 drivers/mtd/spi/sf_probe.c                         |  1 -
 drivers/mtd/spi/spi-nor-core.c                     | 14 ++--
 drivers/mtd/spi/spi-nor-ids.c                      |  7 ++
 drivers/spi/cadence_qspi.c                         |  2 +-
 drivers/spi/cadence_qspi.h                         |  2 +-
 drivers/spi/cadence_qspi_apb.c                     |  7 +-
 drivers/spi/fsl_dspi.c                             | 30 ++++++--
 drivers/spi/spi-mem.c                              |  2 +-
 drivers/spi/spi-uclass.c                           |  4 +-
 include/linux/mtd/mtd.h                            |  2 +-
 include/spi.h                                      |  9 +--
 lib/fdtdec.c                                       |  2 +-
 158 files changed, 284 insertions(+), 256 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-03-06 17:02 Jagan Teki
@ 2019-03-07 14:14 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2019-03-07 14:14 UTC (permalink / raw)
  To: u-boot

On Wed, Mar 06, 2019 at 10:32:20PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> Summary:
> - dw spi include file fix
> - Allwinner A31 spi, been in ML in many releases.
> 
> thanks,
> Jagan.
> 
> The following changes since commit cfba74d0bef350d81241b059180bcc5a1e93bdfa:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-socfpga (2019-02-28 18:57:32 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to a51cd54eff284ee42bfc1b74b8581daec78496f6:
> 
>   spi: Rename sun4i_spi.c into spi-sunxi.c (2019-03-04 18:08:56 +0530)
> 

Related, do you have any comments on
https://patchwork.ozlabs.org/patch/1014186/ ?

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190307/8d0d27e1/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2019-03-06 17:02 Jagan Teki
  2019-03-07 14:14 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2019-03-06 17:02 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

Summary:
- dw spi include file fix
- Allwinner A31 spi, been in ML in many releases.

thanks,
Jagan.

The following changes since commit cfba74d0bef350d81241b059180bcc5a1e93bdfa:

  Merge branch 'master' of git://git.denx.de/u-boot-socfpga (2019-02-28 18:57:32 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to a51cd54eff284ee42bfc1b74b8581daec78496f6:

  spi: Rename sun4i_spi.c into spi-sunxi.c (2019-03-04 18:08:56 +0530)

----------------------------------------------------------------
Horatiu.Vultur at microchip.com (1):
      spi: designware: Change include order

Jagan Teki (9):
      spi: sun4i: Poll for rxfifo to be filled up
      clk: sunxi: Implement SPI clocks, resets
      spi: sun4i: Simplify reg writes using set/clrbits_le32
      spi: sun4i: Access registers and bits via enum offsets
      spi: sun4i: Support fifo_depth via drvdata
      spi: sun4i: Add CLK support
      spi: sun4: Add A31 spi controller support
      spi: sun4i: Driver cleanup
      spi: Rename sun4i_spi.c into spi-sunxi.c

 drivers/clk/sunxi/clk_a10.c              |  10 +
 drivers/clk/sunxi/clk_a10s.c             |   7 +
 drivers/clk/sunxi/clk_a23.c              |   7 +
 drivers/clk/sunxi/clk_a31.c              |  13 +
 drivers/clk/sunxi/clk_a64.c              |   7 +
 drivers/clk/sunxi/clk_a80.c              |  13 +
 drivers/clk/sunxi/clk_a83t.c             |   7 +
 drivers/clk/sunxi/clk_h3.c               |   7 +
 drivers/clk/sunxi/clk_h6.c               |   9 +
 drivers/clk/sunxi/clk_r40.c              |  13 +
 drivers/clk/sunxi/clk_v3s.c              |   4 +
 drivers/spi/Kconfig                      |  12 +-
 drivers/spi/Makefile                     |   2 +-
 drivers/spi/designware_spi.c             |   2 +-
 drivers/spi/{sun4i_spi.c => spi-sunxi.c} | 445 +++++++++++++++++++++----------
 15 files changed, 417 insertions(+), 141 deletions(-)
 rename drivers/spi/{sun4i_spi.c => spi-sunxi.c} (50%)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-02-07 19:47 Jagan Teki
@ 2019-02-08  3:13 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2019-02-08  3:13 UTC (permalink / raw)
  To: u-boot

On Fri, Feb 08, 2019 at 01:17:21AM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this SPI-NOR sync.
> 
> thanks,
> Jagan.
> 
> The following changes since commit e5fd39c886485e3dec77f4438a6e364c2987cf5f:
> 
>   Merge tag 'for-master-20190201' of git://git.denx.de/u-boot-rockchip (2019-02-02 10:11:20 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 4d40e009c06742df9582f8b54f37f6cea0680ba1:
> 
>   MAINTAINERS: Add an entry for SPI NOR (2019-02-07 15:36:00 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190207/7550aee7/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2019-02-07 19:47 Jagan Teki
  2019-02-08  3:13 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2019-02-07 19:47 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this SPI-NOR sync.

thanks,
Jagan.

The following changes since commit e5fd39c886485e3dec77f4438a6e364c2987cf5f:

  Merge tag 'for-master-20190201' of git://git.denx.de/u-boot-rockchip (2019-02-02 10:11:20 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 4d40e009c06742df9582f8b54f37f6cea0680ba1:

  MAINTAINERS: Add an entry for SPI NOR (2019-02-07 15:36:00 +0530)

----------------------------------------------------------------
Vignesh R (20):
      configs: Move CONFIG_SPI_FLASH into defconfigs
      bitops: Fix GENMASK definition for Sandbox
      spi: spi-mem: Allow use of spi_mem_exec_op for all SPI modes
      spi: spi-mem: Extend spi_mem_adjust_op_size() to honor max xfer size
      spi: spi-mem: Claim SPI bus before spi mem access
      spi: Add non DM version of SPI_MEM
      sh: bitops: add hweight*() macros
      mtd: spi: Port SPI NOR framework from Linux
      mtd: spi: spi-nor-core: Add SPI MEM support
      mtd: spi: spi-nor-core: Add 4 Byte addressing support
      mtd: spi: spi-nor-core: Add SFDP support
      mtd: spi: spi-nor-core: Add back U-Boot specific features
      mtd: spi: sf_probe: Add "jedec, spi-nor" compatible string
      mtd: spi: Switch to new SPI NOR framework
      mtd: spi: Remove unused files
      mtd: spi: Add lightweight SPI flash stack for SPL
      spl: Kconfig: Enable SPI_FLASH_TINY by default for SPL
      configs: Remove SF_DUAL_FLASH
      configs: Don't use SPI_FLASH_BAR as default
      MAINTAINERS: Add an entry for SPI NOR

 MAINTAINERS                                      |   10 +-
 arch/arm/mach-omap2/am33xx/Kconfig               |    1 -
 arch/sh/include/asm/bitops.h                     |    4 +
 common/spl/Kconfig                               |   23 +-
 configs/alt_defconfig                            |    1 -
 configs/am57xx_evm_defconfig                     |    1 -
 configs/am57xx_hs_evm_defconfig                  |    1 -
 configs/ap121_defconfig                          |    1 -
 configs/ap143_defconfig                          |    1 -
 configs/avnet_ultra96_rev1_defconfig             |    1 -
 configs/axs101_defconfig                         |    1 -
 configs/axs103_defconfig                         |    1 -
 configs/bg0900_defconfig                         |    1 -
 configs/blanche_defconfig                        |    1 -
 configs/cgtqmx6eval_defconfig                    |    1 +
 configs/chromebit_mickey_defconfig               |    1 +
 configs/chromebook_jerry_defconfig               |    1 +
 configs/chromebook_minnie_defconfig              |    1 +
 configs/cl-som-am57x_defconfig                   |    1 -
 configs/clearfog_defconfig                       |    1 -
 configs/cm_t43_defconfig                         |    1 -
 configs/db-88f6820-amc_defconfig                 |    1 -
 configs/display5_defconfig                       |    1 -
 configs/display5_factory_defconfig               |    1 -
 configs/dra7xx_evm_defconfig                     |    1 -
 configs/dra7xx_hs_evm_defconfig                  |    1 -
 configs/ds109_defconfig                          |    1 -
 configs/ds414_defconfig                          |    1 -
 configs/evb-rk3036_defconfig                     |    1 +
 configs/evb-rk3128_defconfig                     |    1 +
 configs/evb-rk3288_defconfig                     |    1 +
 configs/evb-rk3328_defconfig                     |    1 +
 configs/evb-rv1108_defconfig                     |    1 -
 configs/fennec-rk3288_defconfig                  |    1 +
 configs/firefly-rk3288_defconfig                 |    1 +
 configs/gose_defconfig                           |    1 -
 configs/helios4_defconfig                        |    1 -
 configs/k2g_evm_defconfig                        |    1 -
 configs/k2g_hs_evm_defconfig                     |    1 -
 configs/koelsch_defconfig                        |    1 -
 configs/kylin-rk3036_defconfig                   |    1 +
 configs/lager_defconfig                          |    1 -
 configs/ls2080aqds_SECURE_BOOT_defconfig         |    1 +
 configs/ls2080aqds_defconfig                     |    1 +
 configs/ls2080aqds_nand_defconfig                |    1 +
 configs/ls2080aqds_qspi_defconfig                |    1 +
 configs/ls2080aqds_sdcard_defconfig              |    1 +
 configs/maxbcm_defconfig                         |    1 -
 configs/miqi-rk3288_defconfig                    |    1 +
 configs/mt7629_rfb_defconfig                     |    1 -
 configs/mx6sxsabreauto_defconfig                 |    1 -
 configs/mx6sxsabresd_defconfig                   |    1 -
 configs/mx6ul_14x14_evk_defconfig                |    1 -
 configs/mx6ul_9x9_evk_defconfig                  |    1 -
 configs/mx6ull_14x14_evk_defconfig               |    1 -
 configs/mx6ull_14x14_evk_plugin_defconfig        |    1 -
 configs/mx7dsabresd_qspi_defconfig               |    1 -
 configs/phycore-rk3288_defconfig                 |    1 +
 configs/popmetal-rk3288_defconfig                |    1 +
 configs/porter_defconfig                         |    1 -
 configs/r8a77970_eagle_defconfig                 |    1 -
 configs/rock2_defconfig                          |    1 +
 configs/rock_defconfig                           |    1 +
 configs/silk_defconfig                           |    1 -
 configs/socfpga_arria5_defconfig                 |    1 -
 configs/socfpga_cyclone5_defconfig               |    1 -
 configs/socfpga_is1_defconfig                    |    1 -
 configs/socfpga_sockit_defconfig                 |    1 -
 configs/socfpga_socrates_defconfig               |    1 -
 configs/socfpga_sr1500_defconfig                 |    1 -
 configs/socfpga_stratix10_defconfig              |    1 -
 configs/stout_defconfig                          |    1 -
 configs/tinker-rk3288_defconfig                  |    1 +
 configs/topic_miami_defconfig                    |    1 -
 configs/topic_miamilite_defconfig                |    2 -
 configs/topic_miamiplus_defconfig                |    2 -
 configs/turris_omnia_defconfig                   |    1 +
 configs/vyasa-rk3288_defconfig                   |    1 +
 configs/xilinx_versal_virt_defconfig             |    1 -
 configs/xilinx_zynqmp_mini_qspi_defconfig        |    2 -
 configs/xilinx_zynqmp_zc1232_revA_defconfig      |    2 -
 configs/xilinx_zynqmp_zc1254_revA_defconfig      |    2 -
 configs/xilinx_zynqmp_zc1275_revA_defconfig      |    2 -
 configs/xilinx_zynqmp_zc1275_revB_defconfig      |    2 -
 configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig |    2 -
 configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig |    1 -
 configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig |    2 -
 configs/xilinx_zynqmp_zcu100_revC_defconfig      |    1 -
 configs/xilinx_zynqmp_zcu102_rev1_0_defconfig    |    2 -
 configs/xilinx_zynqmp_zcu102_revA_defconfig      |    2 -
 configs/xilinx_zynqmp_zcu102_revB_defconfig      |    2 -
 configs/xilinx_zynqmp_zcu104_revA_defconfig      |    2 -
 configs/xilinx_zynqmp_zcu104_revC_defconfig      |    2 -
 configs/xilinx_zynqmp_zcu106_revA_defconfig      |    2 -
 configs/xilinx_zynqmp_zcu111_revA_defconfig      |    1 -
 configs/zynq_cc108_defconfig                     |    1 -
 configs/zynq_cse_qspi_defconfig                  |    1 -
 configs/zynq_dlc20_rev1_0_defconfig              |    1 -
 configs/zynq_microzed_defconfig                  |    1 -
 configs/zynq_minized_defconfig                   |    1 -
 configs/zynq_z_turn_defconfig                    |    1 -
 configs/zynq_zc702_defconfig                     |    1 -
 configs/zynq_zc706_defconfig                     |    1 -
 configs/zynq_zc770_xm010_defconfig               |    1 -
 configs/zynq_zc770_xm013_defconfig               |    1 -
 configs/zynq_zed_defconfig                       |    1 -
 configs/zynq_zybo_defconfig                      |    1 -
 configs/zynq_zybo_z7_defconfig                   |    1 -
 doc/SPI/README.dual-flash                        |   92 -
 doc/SPI/README.ti_qspi_dra_test                  |    1 -
 drivers/mtd/spi/Kconfig                          |   16 +-
 drivers/mtd/spi/Makefile                         |   12 +-
 drivers/mtd/spi/sandbox.c                        |   36 +-
 drivers/mtd/spi/sf_dataflash.c                   |   11 +-
 drivers/mtd/spi/sf_internal.h                    |  225 +-
 drivers/mtd/spi/sf_probe.c                       |   33 +-
 drivers/mtd/spi/spi-nor-core.c                   | 2414 ++++++++++++++++++++++
 drivers/mtd/spi/spi-nor-ids.c                    |  297 +++
 drivers/mtd/spi/spi-nor-tiny.c                   |  804 +++++++
 drivers/mtd/spi/spi_flash.c                      | 1337 ------------
 drivers/mtd/spi/spi_flash_ids.c                  |  211 --
 drivers/spi/Kconfig                              |   10 +-
 drivers/spi/Makefile                             |    1 +
 drivers/spi/spi-mem-nodm.c                       |  105 +
 drivers/spi/spi-mem.c                            |   41 +-
 drivers/spi/stm32_qspi.c                         |    4 +-
 include/configs/T102xQDS.h                       |    1 -
 include/configs/T102xRDB.h                       |    1 -
 include/configs/T104xRDB.h                       |    1 -
 include/configs/T208xQDS.h                       |    1 -
 include/configs/T208xRDB.h                       |    1 -
 include/configs/cgtqmx6eval.h                    |    1 -
 include/configs/gw_ventana.h                     |    1 -
 include/configs/km/kmp204x-common.h              |    1 -
 include/configs/ls1021aiot.h                     |    1 -
 include/configs/ls2080aqds.h                     |    2 -
 include/configs/rk3036_common.h                  |    1 -
 include/configs/rk3128_common.h                  |    1 -
 include/configs/rk3188_common.h                  |    1 -
 include/configs/rk3288_common.h                  |    1 -
 include/configs/rk3328_common.h                  |    1 -
 include/configs/socfpga_stratix10_socdk.h        |    1 -
 include/configs/turris_omnia.h                   |    1 -
 include/linux/bitops.h                           |    5 +
 include/linux/mtd/cfi.h                          |   32 +
 include/linux/mtd/spi-nor.h                      |  419 ++++
 include/spi_flash.h                              |  105 +-
 147 files changed, 4302 insertions(+), 2084 deletions(-)
 delete mode 100644 doc/SPI/README.dual-flash
 create mode 100644 drivers/mtd/spi/spi-nor-core.c
 create mode 100644 drivers/mtd/spi/spi-nor-ids.c
 create mode 100644 drivers/mtd/spi/spi-nor-tiny.c
 delete mode 100644 drivers/mtd/spi/spi_flash.c
 delete mode 100644 drivers/mtd/spi/spi_flash_ids.c
 create mode 100644 drivers/spi/spi-mem-nodm.c
 create mode 100644 include/linux/mtd/cfi.h
 create mode 100644 include/linux/mtd/spi-nor.h

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-01-02 19:19 Jagan Teki
  2019-01-03 19:54 ` Jagan Teki
@ 2019-01-03 20:34 ` Tom Rini
  1 sibling, 0 replies; 217+ messages in thread
From: Tom Rini @ 2019-01-03 20:34 UTC (permalink / raw)
  To: u-boot

On Thu, Jan 03, 2019 at 12:49:12AM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this spi PR as part of 2019.01
> 
> thanks,
> Jagan.
> 
> The following changes since commit 08337cd64832ed7f8147da75013510b92bbcd188:
> 
>   riscv: bootm: Support booting VxWorks (2018-12-31 08:08:51 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 689795242b1cb7de5a3d8c8bf1a9582a8924ff69:
> 
>   dm: MIGRATION: Update migration plan for DM_SPI_FLASH (2019-01-02 01:00:31 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190103/7e412151/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2019-01-02 19:19 Jagan Teki
@ 2019-01-03 19:54 ` Jagan Teki
  2019-01-03 20:34 ` Tom Rini
  1 sibling, 0 replies; 217+ messages in thread
From: Jagan Teki @ 2019-01-03 19:54 UTC (permalink / raw)
  To: u-boot

On Thu, Jan 3, 2019 at 12:49 AM Jagan Teki <jagan@amarulasolutions.com> wrote:
>
> Hi Tom,
>
> Please pull this spi PR as part of 2019.01

This PR is for the release as well, please pick.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2019-01-02 19:19 Jagan Teki
  2019-01-03 19:54 ` Jagan Teki
  2019-01-03 20:34 ` Tom Rini
  0 siblings, 2 replies; 217+ messages in thread
From: Jagan Teki @ 2019-01-02 19:19 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this spi PR as part of 2019.01

thanks,
Jagan.

The following changes since commit 08337cd64832ed7f8147da75013510b92bbcd188:

  riscv: bootm: Support booting VxWorks (2018-12-31 08:08:51 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 689795242b1cb7de5a3d8c8bf1a9582a8924ff69:

  dm: MIGRATION: Update migration plan for DM_SPI_FLASH (2019-01-02 01:00:31 +0530)

----------------------------------------------------------------
Jagan Teki (2):
      dm: MIGRATION: Update migration plan for SPI
      dm: MIGRATION: Update migration plan for DM_SPI_FLASH

Nikolai Zhubr (1):
      mtd: nand: raw: Add Hynix H27UBG8T2BTR id table

Stefan Mavrodiev (1):
      spi: sun4i: Add rx_buf NULL pointer check

 Makefile                        | 21 +++++++++++++++++++++
 doc/driver-model/MIGRATION.txt  | 10 +++++++---
 drivers/mtd/nand/raw/nand_ids.c |  4 ++++
 drivers/spi/sun4i_spi.c         |  3 ++-
 4 files changed, 34 insertions(+), 4 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-12-23 21:19 Jagan Teki
  2018-12-23 21:56 ` Jagan Teki
@ 2018-12-24  1:01 ` Tom Rini
  1 sibling, 0 replies; 217+ messages in thread
From: Tom Rini @ 2018-12-24  1:01 UTC (permalink / raw)
  To: u-boot

On Mon, Dec 24, 2018 at 02:49:30AM +0530, Jagan Teki wrote:
> Hi Tom,
> 
> Please pull this as part of v2019.01 release.
> 
> thanks,
> Jagan.
> 
> The following changes since commit 562a63e86bc7b308a328a7bbdf0db237855c39a8:
> 
>   Merge git://git.denx.de/u-boot-marvell (2018-12-21 13:38:09 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 532741dfbfebe917bf6c7c05ed7bab55105ce2a4:
> 
>   dm: MIGRATION: Update migration plan for SPI/SPI_FLASH (2018-12-24 02:05:25 +0530)
> 
> ----------------------------------------------------------------
> Jagan Teki (1):
>       dm: MIGRATION: Update migration plan for SPI/SPI_FLASH

WARNING: 'convertion' may be misspelled - perhaps 'conversion'?
#30: FILE: Makefile:960:
+       @echo >&2 "Please update the board before v2019.04 for no dm
convertion"
 
Please fix since you're doing v2 anyhow, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181223/a633d4f2/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-12-23 21:19 Jagan Teki
@ 2018-12-23 21:56 ` Jagan Teki
  2018-12-24  1:01 ` Tom Rini
  1 sibling, 0 replies; 217+ messages in thread
From: Jagan Teki @ 2018-12-23 21:56 UTC (permalink / raw)
  To: u-boot

Tom,

Forgot to include once patch, please ignore this will send v2.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2018-12-23 21:19 Jagan Teki
  2018-12-23 21:56 ` Jagan Teki
  2018-12-24  1:01 ` Tom Rini
  0 siblings, 2 replies; 217+ messages in thread
From: Jagan Teki @ 2018-12-23 21:19 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this as part of v2019.01 release.

thanks,
Jagan.

The following changes since commit 562a63e86bc7b308a328a7bbdf0db237855c39a8:

  Merge git://git.denx.de/u-boot-marvell (2018-12-21 13:38:09 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 532741dfbfebe917bf6c7c05ed7bab55105ce2a4:

  dm: MIGRATION: Update migration plan for SPI/SPI_FLASH (2018-12-24 02:05:25 +0530)

----------------------------------------------------------------
Jagan Teki (1):
      dm: MIGRATION: Update migration plan for SPI/SPI_FLASH

Stefan Mavrodiev (1):
      spi: sun4i: Add rx_buf NULL pointer check

 Makefile                       |  9 +++++++++
 doc/driver-model/MIGRATION.txt | 10 +++++++---
 drivers/spi/sun4i_spi.c        |  3 ++-
 3 files changed, 18 insertions(+), 4 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-12-05 19:23 Jagan Teki
@ 2018-12-06  1:32 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2018-12-06  1:32 UTC (permalink / raw)
  To: u-boot

On Thu, Dec 06, 2018 at 12:53:32AM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.

I've done a short summary this time, can you please include one in the
future?  Thanks.

> 
> thanks,
> Jagan.
> 
> The following changes since commit a3e1653ddeb02f39481eba572275016171e9670c:
> 
>   Merge git://git.denx.de/u-boot-marvell (2018-11-20 12:39:16 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 08898e8b22d74a4511eadee9b06b11aab43e809c:
> 
>   mtd: sf: Make sf_mtd.c more robust (2018-12-06 00:45:36 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181205/26a45ea0/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2018-12-05 19:23 Jagan Teki
  2018-12-06  1:32 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-12-05 19:23 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks,
Jagan.

The following changes since commit a3e1653ddeb02f39481eba572275016171e9670c:

  Merge git://git.denx.de/u-boot-marvell (2018-11-20 12:39:16 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 08898e8b22d74a4511eadee9b06b11aab43e809c:

  mtd: sf: Make sf_mtd.c more robust (2018-12-06 00:45:36 +0530)

----------------------------------------------------------------
Boris Brezillon (11):
      mtd: Add a function to report when the MTD dev list has been updated
      mtd: Parse mtdparts/mtdids again when the MTD list has been updated
      mtd: Delete partitions attached to the device when a device is deleted
      mtd: sf: Make sure we don't register the same device twice
      mtd: Use get_mtdids() instead of env_get("mtdids") in mtd_search_alternate_name()
      mtd: Be more strict on the "mtdparts=" prefix check
      mtd: Make sure the name passed in mtdparts fits in mtd_name[]
      mtd: Make sure we don't parse MTD partitions belonging to another dev
      mtd: Don't stop MTD partition creation when it fails on one device
      mtd: sf: Unregister the MTD device prior to removing the spi_flash obj
      mtd: sf: Make sf_mtd.c more robust

Christophe Leroy (1):
      spi: mpc8xx: Migrate to DM_SPI

Guochun Mao (1):
      spi: mtk_qspi: add qspi driver for MT7629 SoC

Jagan Teki (8):
      spi: pl022: Simplify platdata code
      spi: pl022: Drop unnecessary include files
      dm: platform_data: spi: s/pl022_spi.h/spi_pl022.h
      spi: Remove unused spi_init
      spi: Remove used spi_init
      spi: Remove unused mpc8xx code
      spi: Zap CONFIG_HARD_SPI
      board_r: Remove initr_spi

Miquel Raynal (3):
      mtd: nand: pxa3xx: add raw read support
      mtd: nand: pxa3xx: re-read a page in raw mode on uncorrectable error
      mtd: rawnand: pxa3xx: fix 2kiB pages with 8b strength chips layout

Neil Armstrong (3):
      regmap: add regmap_read_poll_timeout() helper
      test: regmap: add regmap_read_poll_timeout test
      spi: Add Amlogic Meson SPI Flash Controller driver

Stefan Roese (1):
      cmd: ubi: Make ubi_detach() static

 README                                             |   8 -
 arch/powerpc/include/asm/config.h                  |   7 -
 board/freescale/mpc8349emds/mpc8349emds.c          |   2 +-
 board/ids/ids8313/ids8313.c                        |   2 +-
 cmd/eeprom.c                                       |  15 +-
 cmd/ubi.c                                          |   5 +-
 common/board_f.c                                   |  14 -
 common/board_r.c                                   |  18 --
 doc/driver-model/spi-howto.txt                     |   5 -
 drivers/mtd/mtd_uboot.c                            | 185 +++++++----
 drivers/mtd/mtdcore.c                              |  23 +-
 drivers/mtd/mtdpart.c                              |  12 +
 drivers/mtd/nand/raw/pxa3xx_nand.c                 | 143 ++++++--
 drivers/mtd/spi/sf_mtd.c                           |  48 ++-
 drivers/mtd/spi/sf_probe.c                         |   9 +
 drivers/net/e1000_spi.c                            |   3 -
 drivers/spi/Kconfig                                |  27 +-
 drivers/spi/Makefile                               |   2 +
 drivers/spi/atmel_spi.c                            |   5 -
 drivers/spi/davinci_spi.c                          |   5 -
 drivers/spi/fsl_dspi.c                             |   5 -
 drivers/spi/fsl_espi.c                             |   5 -
 drivers/spi/lpc32xx_ssp.c                          |   9 -
 drivers/spi/meson_spifc.c                          | 320 ++++++++++++++++++
 drivers/spi/mpc8xx_spi.c                           | 179 ++--------
 drivers/spi/mtk_qspi.c                             | 359 +++++++++++++++++++++
 drivers/spi/mxc_spi.c                              |   4 -
 drivers/spi/mxs_spi.c                              |   4 -
 drivers/spi/omap3_spi.c                            |   5 -
 drivers/spi/pl022_spi.c                            |  55 ++--
 drivers/spi/sh_qspi.c                              |   5 -
 drivers/spi/sh_spi.c                               |   4 -
 drivers/spi/soft_spi_legacy.c                      |   7 -
 examples/standalone/atmel_df_pow2.c                |   2 -
 include/_exports.h                                 |   2 -
 include/common.h                                   |   7 -
 include/configs/M52277EVB.h                        |   1 -
 include/configs/M54418TWR.h                        |   1 -
 include/configs/M54451EVB.h                        |   1 -
 include/configs/M54455EVB.h                        |   1 -
 include/configs/MPC8536DS.h                        |   5 -
 include/configs/P1022DS.h                          |   6 -
 include/configs/UCP1020.h                          |   5 -
 include/configs/controlcenterd.h                   |   4 -
 include/configs/dreamplug.h                        |   1 -
 include/configs/ds109.h                            |   1 -
 include/configs/ids8313.h                          |  10 -
 include/configs/mx31pdk.h                          |   1 -
 include/configs/mxs.h                              |   1 -
 include/configs/p1_p2_rdb_pc.h                     |   5 -
 include/configs/p1_twr.h                           |   5 -
 include/configs/stmark2.h                          |   1 -
 include/configs/ts4800.h                           |   5 -
 .../dm/platform_data/{pl022_spi.h => spi_pl022.h}  |  13 +-
 include/linux/mtd/mtd.h                            |  18 ++
 include/regmap.h                                   |  38 +++
 include/spi.h                                      |   7 -
 scripts/config_whitelist.txt                       |   1 -
 test/dm/regmap.c                                   |  26 ++
 59 files changed, 1181 insertions(+), 486 deletions(-)
 create mode 100644 drivers/spi/meson_spifc.c
 create mode 100644 drivers/spi/mtk_qspi.c
 rename include/dm/platform_data/{pl022_spi.h => spi_pl022.h} (64%)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-10-12  6:15 Jagan Teki
@ 2018-10-15 12:41 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2018-10-15 12:41 UTC (permalink / raw)
  To: u-boot

On Fri, Oct 12, 2018 at 11:45:13AM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks,
> Jagan.
> 
> The following changes since commit 0a60a81ba3860946551cb79aa6486aa076e357f3:
> 
>   Kconfig: sandbox: enable cmd_avb and dependencies (2018-10-07 13:34:19 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 5c391486b411025785e064f160d248bef31b3d28:
> 
>   sf: Add MICRON manufacturer id (2018-10-12 11:37:49 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181015/a2f8afb8/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2018-10-12  6:15 Jagan Teki
  2018-10-15 12:41 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-10-12  6:15 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks,
Jagan.

The following changes since commit 0a60a81ba3860946551cb79aa6486aa076e357f3:

  Kconfig: sandbox: enable cmd_avb and dependencies (2018-10-07 13:34:19 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 5c391486b411025785e064f160d248bef31b3d28:

  sf: Add MICRON manufacturer id (2018-10-12 11:37:49 +0530)

----------------------------------------------------------------
Adam Ford (1):
      mtd: uboot: Fix hanging during mtd list command

Ashish Kumar (1):
      sf: Add MICRON manufacturer id

Jagan Teki (2):
      spi: davinci: Add platdata support
      board: da8xxevm: Add SPL DM for serial, spi

 board/davinci/da8xxevm/da850evm.c      | 27 +++++++++++++++++++
 configs/da850_am18xxevm_defconfig      |  3 +++
 configs/da850evm_defconfig             |  3 +++
 drivers/mtd/mtd_uboot.c                |  9 ++++++-
 drivers/mtd/spi/sf_internal.h          |  1 +
 drivers/mtd/spi/spi_flash.c            |  2 ++
 drivers/spi/davinci_spi.c              | 47 ++++++++++++++++++++--------------
 include/configs/da850evm.h             |  3 ---
 include/dm/platform_data/spi_davinci.h | 15 +++++++++++
 9 files changed, 87 insertions(+), 23 deletions(-)
 create mode 100644 include/dm/platform_data/spi_davinci.h

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-10-04 13:16 Jagan Teki
@ 2018-10-05 14:16 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2018-10-05 14:16 UTC (permalink / raw)
  To: u-boot

On Thu, Oct 04, 2018 at 06:46:57PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks,
> Jagan.
> 
> The following changes since commit 94228a9188803473206544c8f33649ea72bf1ee1:
> 
>   Merge git://git.denx.de/u-boot-riscv (2018-10-03 08:09:53 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 5eee9dee419f940ea75977df8b7ed8bb12bc029f:
> 
>   spi: Add SPI driver for MT76xx SoCs (2018-10-04 18:27:28 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181005/26fa17b3/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2018-10-04 13:16 Jagan Teki
  2018-10-05 14:16 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-10-04 13:16 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks,
Jagan.

The following changes since commit 94228a9188803473206544c8f33649ea72bf1ee1:

  Merge git://git.denx.de/u-boot-riscv (2018-10-03 08:09:53 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 5eee9dee419f940ea75977df8b7ed8bb12bc029f:

  spi: Add SPI driver for MT76xx SoCs (2018-10-04 18:27:28 +0530)

----------------------------------------------------------------
Stefan Roese (3):
      sf: Add XMC xm25qh64a and xm25qh128a entries
      mtd: nand: spi: Add Gigadevice SPI NAND support
      spi: Add SPI driver for MT76xx SoCs

 drivers/mtd/nand/spi/Makefile     |   2 +-
 drivers/mtd/nand/spi/core.c       |   1 +
 drivers/mtd/nand/spi/gigadevice.c | 135 +++++++++++++++++
 drivers/mtd/spi/Kconfig           |   6 +
 drivers/mtd/spi/spi_flash_ids.c   |   4 +
 drivers/spi/Kconfig               |   8 +
 drivers/spi/Makefile              |   1 +
 drivers/spi/mt7621_spi.c          | 312 ++++++++++++++++++++++++++++++++++++++
 include/linux/mtd/spinand.h       |   1 +
 9 files changed, 469 insertions(+), 1 deletion(-)
 create mode 100644 drivers/mtd/nand/spi/gigadevice.c
 create mode 100644 drivers/spi/mt7621_spi.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-10-03  0:54 ` Tom Rini
@ 2018-10-03  6:42   ` Miquel Raynal
  0 siblings, 0 replies; 217+ messages in thread
From: Miquel Raynal @ 2018-10-03  6:42 UTC (permalink / raw)
  To: u-boot

Hi Jagan, Tom,

Tom Rini <trini@konsulko.com> wrote on Tue, 2 Oct 2018 20:54:31 -0400:

> On Tue, Oct 02, 2018 at 10:26:04PM +0530, Jagan Teki wrote:
> 
> > Hi Tom,
> > 
> > This is the PR for SPI-NAND changes along with few spi changes.
> > 
> > Yes, we missed one day for MW but Miquel did his best since 
> > from few releases. request you to accept the delay and pull this PR.
> > 
> > thanks,
> > Jagan.
> > 
> > The following changes since commit 9dc8d155d4e88563f572ee79aab758eb4272f3fd:
> > 
> >   Merge git://git.denx.de/u-boot-imx (2018-09-19 20:35:27 -0400)
> > 
> > are available in the Git repository at:
> > 
> >   git://git.denx.de/u-boot-spi.git master 
> > 
> > for you to fetch changes up to b3bec2525604d6b42bb9e7fd719c84b022447db3:
> > 
> >   spi: sh_qspi: Add DM support to SH QSPI driver (2018-10-02 22:14:59 +0530)
> >   
> 
> Note that I had to modify the configs/ls1012afrwy_qspi_* files slightly
> to keep them building.
> 
> Applied to u-boot/master, thanks!
> 

Thanks for the PR and for taking it, let me know if people raise
issues without cc'ing me.

Kind regards,
Miquèl

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-10-02 16:56 Jagan Teki
@ 2018-10-03  0:54 ` Tom Rini
  2018-10-03  6:42   ` Miquel Raynal
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2018-10-03  0:54 UTC (permalink / raw)
  To: u-boot

On Tue, Oct 02, 2018 at 10:26:04PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> This is the PR for SPI-NAND changes along with few spi changes.
> 
> Yes, we missed one day for MW but Miquel did his best since 
> from few releases. request you to accept the delay and pull this PR.
> 
> thanks,
> Jagan.
> 
> The following changes since commit 9dc8d155d4e88563f572ee79aab758eb4272f3fd:
> 
>   Merge git://git.denx.de/u-boot-imx (2018-09-19 20:35:27 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master 
> 
> for you to fetch changes up to b3bec2525604d6b42bb9e7fd719c84b022447db3:
> 
>   spi: sh_qspi: Add DM support to SH QSPI driver (2018-10-02 22:14:59 +0530)
> 

Note that I had to modify the configs/ls1012afrwy_qspi_* files slightly
to keep them building.

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181002/436af209/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2018-10-02 16:56 Jagan Teki
  2018-10-03  0:54 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-10-02 16:56 UTC (permalink / raw)
  To: u-boot

Hi Tom,

This is the PR for SPI-NAND changes along with few spi changes.

Yes, we missed one day for MW but Miquel did his best since 
from few releases. request you to accept the delay and pull this PR.

thanks,
Jagan.

The following changes since commit 9dc8d155d4e88563f572ee79aab758eb4272f3fd:

  Merge git://git.denx.de/u-boot-imx (2018-09-19 20:35:27 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master 

for you to fetch changes up to b3bec2525604d6b42bb9e7fd719c84b022447db3:

  spi: sh_qspi: Add DM support to SH QSPI driver (2018-10-02 22:14:59 +0530)

----------------------------------------------------------------
Ashish Kumar (1):
      driver/spi: fsl_qspi: Remove non-DM stuff

Boris Brezillon (7):
      mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing
      mtd: Add sanity checks in mtd_write/read_oob()
      mtd: nand: Add core infrastructure to deal with NAND devices
      mtd: nand: Pass mode information to nand_page_io_req
      spi: Extend the core to ease integration of SPI memory controllers
      mtd: spinand: Add initial support for the MX35LF1GE4AB chip
      dt-bindings: Add bindings for SPI NAND devices

Brian Norris (1):
      mtd: add get/set of_node/flash_node helpers

Ezequiel Garcia (1):
      mtd: Uninline mtd_write_oob and move it to mtdcore.c

Frieder Schrempf (1):
      mtd: spinand: Add initial support for Winbond W25M02GV

Ley Foon Tan (1):
      spi: designware_spi: Add reset ctrl to driver

Marek Vasut (1):
      spi: sh_qspi: Add DM support to SH QSPI driver

Miquel Raynal (22):
      mtd: Fallback to ->_read/write() when ->_read/write_oob() is missing
      mtd: move definitions to enlarge their range
      mtd: move all flash categories inside MTD submenu
      mtd: move NAND files into a raw/ subdirectory
      mtd: rename nand into rawnand in Kconfig prompt
      mtd: spinand: Add initial support for the MX35LF2GE4AB chip
      mtd: declare MTD_PARTITIONS symbol in Kconfig
      mtd: mtdpart: balance debug messages
      cmd: ubi: delete useless and misleading definitions
      cmd: mtdparts: add fallthrough in switch statement
      lib: strto: parse all lowercase metric prefixes in ustrtoul[l]
      lib: strto: fix metric suffix parsing in strtoul[l]
      cmd: mtdparts: accept spi-nand devices
      cmd: mtdparts: remove mandatory 'mtdparts=' prefix
      dm: drop unused helper in MTD header
      mtd: uclass: add probe function
      mtd: mtdpart: add a generic mtdparts-like parser
      mtd: uboot: search for an equivalent MTD name with the mtdids
      mtd: mtdpart: implement proper partition handling
      cmd: mtd: add 'mtd' command
      cmd: ubi: clean the partition handling
      cmd: mtdparts: describe as legacy

Peter Pan (2):
      mtd: nand: Add core infrastructure to support SPI NANDs
      mtd: spinand: Add initial support for Micron MT29F2G01ABAGD

 MAINTAINERS                                   |    6 +-
 Makefile                                      |    2 +-
 README                                        |    6 +-
 arch/arm/mach-uniphier/board_late_init.c      |    2 +-
 cmd/Kconfig                                   |   18 +-
 cmd/Makefile                                  |    1 +
 cmd/mtd.c                                     |  473 ++++++++++
 cmd/mtdparts.c                                |   33 +-
 cmd/ubi.c                                     |  101 +-
 common/spl/Kconfig                            |    2 +-
 common/spl/spl_spi.c                          |    2 +-
 doc/README.SPL                                |    4 +-
 doc/README.arm-relocation                     |    2 +-
 doc/README.nand                               |    6 +-
 doc/README.zynq                               |    2 +-
 doc/device-tree-bindings/mtd/spi-nand.txt     |    5 +
 drivers/Makefile                              |    2 +-
 drivers/mtd/Kconfig                           |    7 +-
 drivers/mtd/Makefile                          |    4 +-
 drivers/mtd/mtd-uclass.c                      |   16 +
 drivers/mtd/mtd_uboot.c                       |  224 ++++-
 drivers/mtd/mtdcore.c                         |  108 ++-
 drivers/mtd/mtdcore.h                         |    6 -
 drivers/mtd/mtdpart.c                         |  627 ++++++++-----
 drivers/mtd/nand/Kconfig                      |  299 +-----
 drivers/mtd/nand/Makefile                     |   78 +-
 drivers/mtd/nand/bbt.c                        |  132 +++
 drivers/mtd/nand/core.c                       |  243 +++++
 drivers/mtd/nand/raw/Kconfig                  |  297 ++++++
 drivers/mtd/nand/raw/Makefile                 |   77 ++
 drivers/mtd/nand/{ => raw}/am335x_spl_bch.c   |    0
 drivers/mtd/nand/{ => raw}/arasan_nfc.c       |    0
 drivers/mtd/nand/{ => raw}/atmel_nand.c       |    0
 drivers/mtd/nand/{ => raw}/atmel_nand_ecc.h   |    0
 drivers/mtd/nand/{ => raw}/davinci_nand.c     |    2 +-
 drivers/mtd/nand/{ => raw}/denali.c           |    0
 drivers/mtd/nand/{ => raw}/denali.h           |    0
 drivers/mtd/nand/{ => raw}/denali_dt.c        |    0
 drivers/mtd/nand/{ => raw}/denali_spl.c       |    0
 drivers/mtd/nand/{ => raw}/fsl_elbc_nand.c    |    0
 drivers/mtd/nand/{ => raw}/fsl_elbc_spl.c     |    0
 drivers/mtd/nand/{ => raw}/fsl_ifc_nand.c     |    0
 drivers/mtd/nand/{ => raw}/fsl_ifc_spl.c      |    0
 drivers/mtd/nand/{ => raw}/fsl_upm.c          |    0
 drivers/mtd/nand/{ => raw}/fsmc_nand.c        |    0
 drivers/mtd/nand/{ => raw}/kb9202_nand.c      |    0
 drivers/mtd/nand/{ => raw}/kirkwood_nand.c    |    0
 drivers/mtd/nand/{ => raw}/kmeter1_nand.c     |    0
 drivers/mtd/nand/{ => raw}/lpc32xx_nand_mlc.c |    0
 drivers/mtd/nand/{ => raw}/lpc32xx_nand_slc.c |    0
 drivers/mtd/nand/{ => raw}/mxc_nand.c         |    0
 drivers/mtd/nand/{ => raw}/mxc_nand.h         |    0
 drivers/mtd/nand/{ => raw}/mxc_nand_spl.c     |    0
 drivers/mtd/nand/{ => raw}/mxs_nand.c         |    0
 drivers/mtd/nand/{ => raw}/mxs_nand.h         |    0
 drivers/mtd/nand/{ => raw}/mxs_nand_dt.c      |    0
 drivers/mtd/nand/{ => raw}/mxs_nand_spl.c     |    0
 drivers/mtd/nand/{ => raw}/nand.c             |    0
 drivers/mtd/nand/{ => raw}/nand_base.c        |   56 --
 drivers/mtd/nand/{ => raw}/nand_bbt.c         |    0
 drivers/mtd/nand/{ => raw}/nand_bch.c         |    0
 drivers/mtd/nand/{ => raw}/nand_ecc.c         |    2 +-
 drivers/mtd/nand/{ => raw}/nand_ids.c         |    0
 drivers/mtd/nand/{ => raw}/nand_plat.c        |    0
 drivers/mtd/nand/{ => raw}/nand_spl_load.c    |    0
 drivers/mtd/nand/{ => raw}/nand_spl_loaders.c |    0
 drivers/mtd/nand/{ => raw}/nand_spl_simple.c  |    0
 drivers/mtd/nand/{ => raw}/nand_timings.c     |    0
 drivers/mtd/nand/{ => raw}/nand_util.c        |    2 +-
 drivers/mtd/nand/{ => raw}/omap_elm.c         |    0
 drivers/mtd/nand/{ => raw}/omap_gpmc.c        |    0
 drivers/mtd/nand/{ => raw}/pxa3xx_nand.c      |    2 +-
 drivers/mtd/nand/{ => raw}/pxa3xx_nand.h      |    0
 drivers/mtd/nand/{ => raw}/sunxi_nand.c       |    0
 drivers/mtd/nand/{ => raw}/sunxi_nand_spl.c   |    0
 drivers/mtd/nand/{ => raw}/tegra_nand.c       |    0
 drivers/mtd/nand/{ => raw}/tegra_nand.h       |    0
 drivers/mtd/nand/{ => raw}/vf610_nfc.c        |    0
 drivers/mtd/nand/{ => raw}/zynq_nand.c        |    0
 drivers/mtd/nand/spi/Kconfig                  |    7 +
 drivers/mtd/nand/spi/Makefile                 |    4 +
 drivers/mtd/nand/spi/core.c                   | 1254 +++++++++++++++++++++++++
 drivers/mtd/nand/spi/macronix.c               |  146 +++
 drivers/mtd/nand/spi/micron.c                 |  135 +++
 drivers/mtd/nand/spi/winbond.c                |  143 +++
 drivers/mtd/onenand/onenand_base.c            |    2 -
 drivers/spi/Kconfig                           |    7 +
 drivers/spi/Makefile                          |    1 +
 drivers/spi/designware_spi.c                  |   43 +
 drivers/spi/fsl_qspi.c                        |  138 ---
 drivers/spi/sh_qspi.c                         |  215 +++--
 drivers/spi/spi-mem.c                         |  501 ++++++++++
 include/configs/MPC8313ERDB.h                 |    2 +-
 include/jffs2/load_kernel.h                   |    7 +-
 include/linux/mtd/mtd.h                       |   83 +-
 include/linux/mtd/nand.h                      |  734 +++++++++++++++
 include/linux/mtd/partitions.h                |   22 +-
 include/linux/mtd/spinand.h                   |  432 +++++++++
 include/mtd.h                                 |   12 +-
 include/spi-mem.h                             |  258 +++++
 include/spi.h                                 |   11 +
 lib/strto.c                                   |   36 +-
 102 files changed, 5997 insertions(+), 1045 deletions(-)
 create mode 100644 cmd/mtd.c
 create mode 100644 doc/device-tree-bindings/mtd/spi-nand.txt
 create mode 100644 drivers/mtd/nand/bbt.c
 create mode 100644 drivers/mtd/nand/core.c
 create mode 100644 drivers/mtd/nand/raw/Kconfig
 create mode 100644 drivers/mtd/nand/raw/Makefile
 rename drivers/mtd/nand/{ => raw}/am335x_spl_bch.c (100%)
 rename drivers/mtd/nand/{ => raw}/arasan_nfc.c (100%)
 rename drivers/mtd/nand/{ => raw}/atmel_nand.c (100%)
 rename drivers/mtd/nand/{ => raw}/atmel_nand_ecc.h (100%)
 rename drivers/mtd/nand/{ => raw}/davinci_nand.c (99%)
 rename drivers/mtd/nand/{ => raw}/denali.c (100%)
 rename drivers/mtd/nand/{ => raw}/denali.h (100%)
 rename drivers/mtd/nand/{ => raw}/denali_dt.c (100%)
 rename drivers/mtd/nand/{ => raw}/denali_spl.c (100%)
 rename drivers/mtd/nand/{ => raw}/fsl_elbc_nand.c (100%)
 rename drivers/mtd/nand/{ => raw}/fsl_elbc_spl.c (100%)
 rename drivers/mtd/nand/{ => raw}/fsl_ifc_nand.c (100%)
 rename drivers/mtd/nand/{ => raw}/fsl_ifc_spl.c (100%)
 rename drivers/mtd/nand/{ => raw}/fsl_upm.c (100%)
 rename drivers/mtd/nand/{ => raw}/fsmc_nand.c (100%)
 rename drivers/mtd/nand/{ => raw}/kb9202_nand.c (100%)
 rename drivers/mtd/nand/{ => raw}/kirkwood_nand.c (100%)
 rename drivers/mtd/nand/{ => raw}/kmeter1_nand.c (100%)
 rename drivers/mtd/nand/{ => raw}/lpc32xx_nand_mlc.c (100%)
 rename drivers/mtd/nand/{ => raw}/lpc32xx_nand_slc.c (100%)
 rename drivers/mtd/nand/{ => raw}/mxc_nand.c (100%)
 rename drivers/mtd/nand/{ => raw}/mxc_nand.h (100%)
 rename drivers/mtd/nand/{ => raw}/mxc_nand_spl.c (100%)
 rename drivers/mtd/nand/{ => raw}/mxs_nand.c (100%)
 rename drivers/mtd/nand/{ => raw}/mxs_nand.h (100%)
 rename drivers/mtd/nand/{ => raw}/mxs_nand_dt.c (100%)
 rename drivers/mtd/nand/{ => raw}/mxs_nand_spl.c (100%)
 rename drivers/mtd/nand/{ => raw}/nand.c (100%)
 rename drivers/mtd/nand/{ => raw}/nand_base.c (98%)
 rename drivers/mtd/nand/{ => raw}/nand_bbt.c (100%)
 rename drivers/mtd/nand/{ => raw}/nand_bch.c (100%)
 rename drivers/mtd/nand/{ => raw}/nand_ecc.c (99%)
 rename drivers/mtd/nand/{ => raw}/nand_ids.c (100%)
 rename drivers/mtd/nand/{ => raw}/nand_plat.c (100%)
 rename drivers/mtd/nand/{ => raw}/nand_spl_load.c (100%)
 rename drivers/mtd/nand/{ => raw}/nand_spl_loaders.c (100%)
 rename drivers/mtd/nand/{ => raw}/nand_spl_simple.c (100%)
 rename drivers/mtd/nand/{ => raw}/nand_timings.c (100%)
 rename drivers/mtd/nand/{ => raw}/nand_util.c (99%)
 rename drivers/mtd/nand/{ => raw}/omap_elm.c (100%)
 rename drivers/mtd/nand/{ => raw}/omap_gpmc.c (100%)
 rename drivers/mtd/nand/{ => raw}/pxa3xx_nand.c (99%)
 rename drivers/mtd/nand/{ => raw}/pxa3xx_nand.h (100%)
 rename drivers/mtd/nand/{ => raw}/sunxi_nand.c (100%)
 rename drivers/mtd/nand/{ => raw}/sunxi_nand_spl.c (100%)
 rename drivers/mtd/nand/{ => raw}/tegra_nand.c (100%)
 rename drivers/mtd/nand/{ => raw}/tegra_nand.h (100%)
 rename drivers/mtd/nand/{ => raw}/vf610_nfc.c (100%)
 rename drivers/mtd/nand/{ => raw}/zynq_nand.c (100%)
 create mode 100644 drivers/mtd/nand/spi/Kconfig
 create mode 100644 drivers/mtd/nand/spi/Makefile
 create mode 100644 drivers/mtd/nand/spi/core.c
 create mode 100644 drivers/mtd/nand/spi/macronix.c
 create mode 100644 drivers/mtd/nand/spi/micron.c
 create mode 100644 drivers/mtd/nand/spi/winbond.c
 create mode 100644 drivers/spi/spi-mem.c
 create mode 100644 include/linux/mtd/nand.h
 create mode 100644 include/linux/mtd/spinand.h
 create mode 100644 include/spi-mem.h

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-08-04 16:13 Jagan Teki
@ 2018-08-05 11:59 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2018-08-05 11:59 UTC (permalink / raw)
  To: u-boot

On Sat, Aug 04, 2018 at 09:43:24PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks,
> Jagan.
> 
> The following changes since commit a839c3641e4de98981695056eeeb2ec17ba1a4ab:
> 
>   ARM: tegra: align carveout size (2018-08-01 20:06:10 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 7f25d8179776226a8ecfbaad3d3a88e9acd89f28:
> 
>   arm: sunxi: Allwinner A10 SPI driver (2018-08-03 11:14:08 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180805/5ce4e48f/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2018-08-04 16:13 Jagan Teki
  2018-08-05 11:59 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-08-04 16:13 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks,
Jagan.

The following changes since commit a839c3641e4de98981695056eeeb2ec17ba1a4ab:

  ARM: tegra: align carveout size (2018-08-01 20:06:10 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 7f25d8179776226a8ecfbaad3d3a88e9acd89f28:

  arm: sunxi: Allwinner A10 SPI driver (2018-08-03 11:14:08 +0530)

----------------------------------------------------------------
Chris Packham (1):
      spi: kirkwood: add orion-spi compatible string

Clément Laigle (1):
      mtd: add spi flash id s25fl128l

Jagan Teki (1):
      spi: kirkwood: Get drvdata in .ofdata_to_platdata

Stefan Mavrodiev (1):
      arm: sunxi: Allwinner A10 SPI driver

 drivers/mtd/spi/spi_flash_ids.c |   1 +
 drivers/spi/Kconfig             |   5 +
 drivers/spi/Makefile            |   1 +
 drivers/spi/kirkwood_spi.c      |  16 +-
 drivers/spi/sun4i_spi.c         | 456 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 476 insertions(+), 3 deletions(-)
 create mode 100644 drivers/spi/sun4i_spi.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-07-16 13:01 Jagan Teki
@ 2018-07-17  1:11 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2018-07-17  1:11 UTC (permalink / raw)
  To: u-boot

On Mon, Jul 16, 2018 at 06:31:19PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks,
> Jagan.
> 
> The following changes since commit 5e9a9645816edcc68c09729f257e0c863292bf26:
> 
>   mach-stm32: Rename CONFIG_SPL_RESET_SUPPORT to CONFIG_SPL_DM_RESET (2018-07-13 14:47:29 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 51b2411946e5f247f26fde41a7227a002270d376:
> 
>   sf: add paired dev info for winbond w25q16jv (2018-07-16 14:17:13 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180716/fb505062/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2018-07-16 13:01 Jagan Teki
  2018-07-17  1:11 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-07-16 13:01 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks,
Jagan.

The following changes since commit 5e9a9645816edcc68c09729f257e0c863292bf26:

  mach-stm32: Rename CONFIG_SPL_RESET_SUPPORT to CONFIG_SPL_DM_RESET (2018-07-13 14:47:29 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 51b2411946e5f247f26fde41a7227a002270d376:

  sf: add paired dev info for winbond w25q16jv (2018-07-16 14:17:13 +0530)

----------------------------------------------------------------
Hannes Schmelzer (1):
      spi_flash: add a bunch of winbond flashes to id-table

Ludwig Zenz (3):
      sf: add Gigadevice gd25q16c entry
      sf: add Macronix mx25l1633e entry
      sf: add paired dev info for winbond w25q16jv

Michal Simek (1):
      spi: xilinx: Read reg base address from DTS file

Siva Durga Prasad Paladugu (2):
      spi: zynqmp_gqspi: Add support for ZynqMP qspi driver
      zynqmp: zcu102: Add qspi driver support for ZynqMP zcu102 boards

Vipul Kumar (3):
      spi: xilinx_spi: Modify transfer logic xilinx_spi_xfer() function
      spi: xilinx_spi: Added support to read JEDEC-id twice at the boot time
      spi: xilinx_spi: convert to livetree

 arch/arm/dts/zynqmp-zcu102-revA.dts           |   2 +-
 configs/xilinx_zynqmp_zcu102_rev1_0_defconfig |   5 +
 configs/xilinx_zynqmp_zcu102_revA_defconfig   |   5 +
 configs/xilinx_zynqmp_zcu102_revB_defconfig   |   5 +
 drivers/mtd/spi/spi_flash_ids.c               |   9 +-
 drivers/spi/Kconfig                           |   7 +
 drivers/spi/Makefile                          |   1 +
 drivers/spi/xilinx_spi.c                      | 152 ++++--
 drivers/spi/zynqmp_gqspi.c                    | 729 ++++++++++++++++++++++++++
 9 files changed, 871 insertions(+), 44 deletions(-)
 create mode 100644 drivers/spi/zynqmp_gqspi.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-07-02 17:35 Jagan Teki
@ 2018-07-03  3:24 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2018-07-03  3:24 UTC (permalink / raw)
  To: u-boot

On Mon, Jul 02, 2018 at 11:05:35PM +0530, Jagan Teki wrote:

> Hi,
> 
> Please pull this PR.
> 
> thanks,
> Jagan.
> 
> The following changes since commit 51dce7d2bfdecd974412634e4a0758ac55edcc00:
> 
>   mtd: spi: Correct parameters for s25fs512s flash (2018-06-25 15:50:33 +0530)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 069b746ad9e66ab75973020f992e059c06cf3a7c:
> 
>   sf: Enable FSR polling on N25Q256(A) (2018-06-28 19:58:40 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180702/9bd3a58b/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2018-07-02 17:35 Jagan Teki
  2018-07-03  3:24 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-07-02 17:35 UTC (permalink / raw)
  To: u-boot

Hi,

Please pull this PR.

thanks,
Jagan.

The following changes since commit 51dce7d2bfdecd974412634e4a0758ac55edcc00:

  mtd: spi: Correct parameters for s25fs512s flash (2018-06-25 15:50:33 +0530)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 069b746ad9e66ab75973020f992e059c06cf3a7c:

  sf: Enable FSR polling on N25Q256(A) (2018-06-28 19:58:40 +0530)

----------------------------------------------------------------
Hannes Schmelzer (1):
      spi: omap3: fix claim/release bus within DM

Marek Vasut (1):
      sf: Enable FSR polling on N25Q256(A)

 drivers/mtd/spi/spi_flash_ids.c |  4 ++--
 drivers/spi/omap3_spi.c         | 14 +++++++-------
 2 files changed, 9 insertions(+), 9 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-06-25 18:49 Jagan Teki
  2018-06-25 21:35 ` Tom Rini
@ 2018-06-28 18:17 ` Tom Rini
  1 sibling, 0 replies; 217+ messages in thread
From: Tom Rini @ 2018-06-28 18:17 UTC (permalink / raw)
  To: u-boot

On Tue, Jun 26, 2018 at 12:19:03AM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks,
> Jagan.
> 
> The following changes since commit 77b5ba5d2b94c5b028991c82782493f64bd4f392:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-uniphier (2018-06-22 13:12:53 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 51dce7d2bfdecd974412634e4a0758ac55edcc00:
> 
>   mtd: spi: Correct parameters for s25fs512s flash (2018-06-25 15:50:33 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180628/703fb428/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-06-27 15:20     ` Tom Rini
@ 2018-06-27 15:34       ` Jagan Teki
  0 siblings, 0 replies; 217+ messages in thread
From: Jagan Teki @ 2018-06-27 15:34 UTC (permalink / raw)
  To: u-boot

On Wed, Jun 27, 2018 at 8:50 PM, Tom Rini <trini@konsulko.com> wrote:
> On Wed, Jun 27, 2018 at 12:17:56PM +0530, Jagan Teki wrote:
>> On Tue, Jun 26, 2018 at 3:05 AM, Tom Rini <trini@konsulko.com> wrote:
>> > On Tue, Jun 26, 2018 at 12:19:03AM +0530, Jagan Teki wrote:
>> >
>> >> Hi Tom,
>> >>
>> >> Please pull this PR.
>> >>
>> >> thanks,
>> >> Jagan.
>> >>
>> >> The following changes since commit 77b5ba5d2b94c5b028991c82782493f64bd4f392:
>> >>
>> >>   Merge branch 'master' of git://git.denx.de/u-boot-uniphier (2018-06-22 13:12:53 -0400)
>> >>
>> >> are available in the Git repository at:
>> >>
>> >>   git://git.denx.de/u-boot-spi.git master
>> >>
>> >> for you to fetch changes up to 51dce7d2bfdecd974412634e4a0758ac55edcc00:
>> >>
>> >>   mtd: spi: Correct parameters for s25fs512s flash (2018-06-25 15:50:33 +0530)
>> >>
>> >> ----------------------------------------------------------------
>> >> Ashish Kumar (1):
>> >>       mtd: spi: Correct parameters for s25fs512s flash
>> >>
>> >> Hannes Schmelzer (2):
>> >>       spi: omap3: pre-initialize bus-speed with max. slave-speed
>> >>       spi: omap3: fix set_speed and set_mode dm callbacks
>> >>
>> >> Michael Trimarchi (2):
>> >>       spi: mxc: Fix compilation problem of DM_SPI class driver
>> >>       spi: mxc_spi: Fix chipselect on DM_SPI driver uclass
>> >>
>> >> Vipul Kumar (1):
>> >>       spi: zynq_qspi: Fixed incorrect return value error
>> >
>> > I thought we had a change or two from Marek that were bug fixes that
>> > should be brought in?  Thanks!
>>
>> One fix from Marek "sf: Set current flash bank to 0 in clean_bar()"
>> already in master, other one is under discussion [1]. are you
>> referring any other fixes?
>>
>> [1] https://patchwork.ozlabs.org/patch/920094/
>
> That didn't seem under discussion to me, it seemed like it had been
> explained as a correct change given the datasheet.  Thanks!

Please see my last comment on that patch, I'm waiting for response for
the same. don't understand why we discuss here, if all fine that patch
anyway go into next PR.

Jagan.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-06-27  6:47   ` Jagan Teki
@ 2018-06-27 15:20     ` Tom Rini
  2018-06-27 15:34       ` Jagan Teki
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2018-06-27 15:20 UTC (permalink / raw)
  To: u-boot

On Wed, Jun 27, 2018 at 12:17:56PM +0530, Jagan Teki wrote:
> On Tue, Jun 26, 2018 at 3:05 AM, Tom Rini <trini@konsulko.com> wrote:
> > On Tue, Jun 26, 2018 at 12:19:03AM +0530, Jagan Teki wrote:
> >
> >> Hi Tom,
> >>
> >> Please pull this PR.
> >>
> >> thanks,
> >> Jagan.
> >>
> >> The following changes since commit 77b5ba5d2b94c5b028991c82782493f64bd4f392:
> >>
> >>   Merge branch 'master' of git://git.denx.de/u-boot-uniphier (2018-06-22 13:12:53 -0400)
> >>
> >> are available in the Git repository at:
> >>
> >>   git://git.denx.de/u-boot-spi.git master
> >>
> >> for you to fetch changes up to 51dce7d2bfdecd974412634e4a0758ac55edcc00:
> >>
> >>   mtd: spi: Correct parameters for s25fs512s flash (2018-06-25 15:50:33 +0530)
> >>
> >> ----------------------------------------------------------------
> >> Ashish Kumar (1):
> >>       mtd: spi: Correct parameters for s25fs512s flash
> >>
> >> Hannes Schmelzer (2):
> >>       spi: omap3: pre-initialize bus-speed with max. slave-speed
> >>       spi: omap3: fix set_speed and set_mode dm callbacks
> >>
> >> Michael Trimarchi (2):
> >>       spi: mxc: Fix compilation problem of DM_SPI class driver
> >>       spi: mxc_spi: Fix chipselect on DM_SPI driver uclass
> >>
> >> Vipul Kumar (1):
> >>       spi: zynq_qspi: Fixed incorrect return value error
> >
> > I thought we had a change or two from Marek that were bug fixes that
> > should be brought in?  Thanks!
> 
> One fix from Marek "sf: Set current flash bank to 0 in clean_bar()"
> already in master, other one is under discussion [1]. are you
> referring any other fixes?
> 
> [1] https://patchwork.ozlabs.org/patch/920094/

That didn't seem under discussion to me, it seemed like it had been
explained as a correct change given the datasheet.  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180627/949c4e16/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-06-25 21:35 ` Tom Rini
@ 2018-06-27  6:47   ` Jagan Teki
  2018-06-27 15:20     ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-06-27  6:47 UTC (permalink / raw)
  To: u-boot

On Tue, Jun 26, 2018 at 3:05 AM, Tom Rini <trini@konsulko.com> wrote:
> On Tue, Jun 26, 2018 at 12:19:03AM +0530, Jagan Teki wrote:
>
>> Hi Tom,
>>
>> Please pull this PR.
>>
>> thanks,
>> Jagan.
>>
>> The following changes since commit 77b5ba5d2b94c5b028991c82782493f64bd4f392:
>>
>>   Merge branch 'master' of git://git.denx.de/u-boot-uniphier (2018-06-22 13:12:53 -0400)
>>
>> are available in the Git repository at:
>>
>>   git://git.denx.de/u-boot-spi.git master
>>
>> for you to fetch changes up to 51dce7d2bfdecd974412634e4a0758ac55edcc00:
>>
>>   mtd: spi: Correct parameters for s25fs512s flash (2018-06-25 15:50:33 +0530)
>>
>> ----------------------------------------------------------------
>> Ashish Kumar (1):
>>       mtd: spi: Correct parameters for s25fs512s flash
>>
>> Hannes Schmelzer (2):
>>       spi: omap3: pre-initialize bus-speed with max. slave-speed
>>       spi: omap3: fix set_speed and set_mode dm callbacks
>>
>> Michael Trimarchi (2):
>>       spi: mxc: Fix compilation problem of DM_SPI class driver
>>       spi: mxc_spi: Fix chipselect on DM_SPI driver uclass
>>
>> Vipul Kumar (1):
>>       spi: zynq_qspi: Fixed incorrect return value error
>
> I thought we had a change or two from Marek that were bug fixes that
> should be brought in?  Thanks!

One fix from Marek "sf: Set current flash bank to 0 in clean_bar()"
already in master, other one is under discussion [1]. are you
referring any other fixes?

[1] https://patchwork.ozlabs.org/patch/920094/

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-06-25 18:49 Jagan Teki
@ 2018-06-25 21:35 ` Tom Rini
  2018-06-27  6:47   ` Jagan Teki
  2018-06-28 18:17 ` Tom Rini
  1 sibling, 1 reply; 217+ messages in thread
From: Tom Rini @ 2018-06-25 21:35 UTC (permalink / raw)
  To: u-boot

On Tue, Jun 26, 2018 at 12:19:03AM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks,
> Jagan.
> 
> The following changes since commit 77b5ba5d2b94c5b028991c82782493f64bd4f392:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-uniphier (2018-06-22 13:12:53 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 51dce7d2bfdecd974412634e4a0758ac55edcc00:
> 
>   mtd: spi: Correct parameters for s25fs512s flash (2018-06-25 15:50:33 +0530)
> 
> ----------------------------------------------------------------
> Ashish Kumar (1):
>       mtd: spi: Correct parameters for s25fs512s flash
> 
> Hannes Schmelzer (2):
>       spi: omap3: pre-initialize bus-speed with max. slave-speed
>       spi: omap3: fix set_speed and set_mode dm callbacks
> 
> Michael Trimarchi (2):
>       spi: mxc: Fix compilation problem of DM_SPI class driver
>       spi: mxc_spi: Fix chipselect on DM_SPI driver uclass
> 
> Vipul Kumar (1):
>       spi: zynq_qspi: Fixed incorrect return value error

I thought we had a change or two from Marek that were bug fixes that
should be brought in?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180625/659a3e74/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2018-06-25 18:49 Jagan Teki
  2018-06-25 21:35 ` Tom Rini
  2018-06-28 18:17 ` Tom Rini
  0 siblings, 2 replies; 217+ messages in thread
From: Jagan Teki @ 2018-06-25 18:49 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks,
Jagan.

The following changes since commit 77b5ba5d2b94c5b028991c82782493f64bd4f392:

  Merge branch 'master' of git://git.denx.de/u-boot-uniphier (2018-06-22 13:12:53 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 51dce7d2bfdecd974412634e4a0758ac55edcc00:

  mtd: spi: Correct parameters for s25fs512s flash (2018-06-25 15:50:33 +0530)

----------------------------------------------------------------
Ashish Kumar (1):
      mtd: spi: Correct parameters for s25fs512s flash

Hannes Schmelzer (2):
      spi: omap3: pre-initialize bus-speed with max. slave-speed
      spi: omap3: fix set_speed and set_mode dm callbacks

Michael Trimarchi (2):
      spi: mxc: Fix compilation problem of DM_SPI class driver
      spi: mxc_spi: Fix chipselect on DM_SPI driver uclass

Vipul Kumar (1):
      spi: zynq_qspi: Fixed incorrect return value error

 drivers/mtd/spi/spi_flash_ids.c |  2 +-
 drivers/spi/mxc_spi.c           |  8 ++++----
 drivers/spi/omap3_spi.c         | 18 ++++++++----------
 drivers/spi/zynq_qspi.c         |  2 +-
 4 files changed, 14 insertions(+), 16 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-06-05 18:28 Jagan Teki
@ 2018-06-06 15:09 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2018-06-06 15:09 UTC (permalink / raw)
  To: u-boot

On Tue, Jun 05, 2018 at 11:58:34PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks,
> Jagan.
> 
> The following changes since commit 809e0e398a91db7bf8b4d6259d9bfc6fbd6bce83:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2018-06-04 08:55:00 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to b1f2b72e39465f2d4582bb4d8c426489ee94e2d9:
> 
>   sf: Add support for gd25q32b gigadevice flash (2018-06-04 23:40:04 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180606/f0b03367/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2018-06-05 18:28 Jagan Teki
  2018-06-06 15:09 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-06-05 18:28 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks,
Jagan.

The following changes since commit 809e0e398a91db7bf8b4d6259d9bfc6fbd6bce83:

  Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2018-06-04 08:55:00 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to b1f2b72e39465f2d4582bb4d8c426489ee94e2d9:

  sf: Add support for gd25q32b gigadevice flash (2018-06-04 23:40:04 +0530)

----------------------------------------------------------------
Carlo Caione (1):
      sf: Add support for gd25q32b gigadevice flash

Ley Foon Tan (1):
      spi: cadence_qspi: Change to use devfdt_get_addr_index()

Marek Vasut (1):
      sf: Set current flash bank to 0 in clean_bar()

 drivers/mtd/spi/spi_flash.c     |  1 +
 drivers/mtd/spi/spi_flash_ids.c |  1 +
 drivers/spi/cadence_qspi.c      | 13 ++-----------
 3 files changed, 4 insertions(+), 11 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-05-30 18:08 Jagan Teki
@ 2018-05-31  2:10 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2018-05-31  2:10 UTC (permalink / raw)
  To: u-boot

On Wed, May 30, 2018 at 11:38:37PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks,
> Jagan.
> 
> The following changes since commit 31dd8efeb661c8dbffff9175a09cf2bab090906a:
> 
>   usb: composite convert __set_bit to generic_set_bit (2018-05-15 21:44:05 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to a2569f12f0efaad2b1e0754a19f373275562f91e:
> 
>   sf: Add Macronix MX25U25635F ID (2018-05-29 10:05:52 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180530/954d3cc9/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2018-05-30 18:08 Jagan Teki
  2018-05-31  2:10 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-05-30 18:08 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks,
Jagan.

The following changes since commit 31dd8efeb661c8dbffff9175a09cf2bab090906a:

  usb: composite convert __set_bit to generic_set_bit (2018-05-15 21:44:05 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to a2569f12f0efaad2b1e0754a19f373275562f91e:

  sf: Add Macronix MX25U25635F ID (2018-05-29 10:05:52 +0530)

----------------------------------------------------------------
Ashish Kumar (1):
      sf: Default page size Spansion flash "S25FS512S" is 256b

Christophe Kerello (3):
      spi: stm32_qspi: Align reg-names with kernel 4.12 RC1
      spi: stm32_qspi: Add st, stm32f469-qspi compatible string
      spi: stm32_qspi: Add chip select management

Heinrich Schuchardt (3):
      spi: atcspi200: avoid NULL dereference
      spi: lpc32xx: simplify logical expression
      spi: fsl_qspi: remove superfluous assignment

Kimmo Rautkoski (1):
      sf: Add support for ISSI is25wp

Marek Vasut (2):
      sf: Add Winbond W25Q256 ID
      sf: Add Macronix MX25U25635F ID

Patrice Chotard (6):
      spi: stm32_qspi: Remove CONFIG_CLK flag
      spi: stm32_qspi: Sort include files alphabetically
      spi: stm32_qspi: Use dev_read_xxx API
      spi: stm32_qspi: Add reset support
      ARM: dts: stm32: Add quadspi reset for stm32f746
      ARM: dts: stm32: Update qspi bindings for stm32f746

Patrick Delaunay (1):
      spi: stm32_qspi: Solve issue detected by checkpatch

 arch/arm/dts/stm32f746.dtsi     |  3 +-
 drivers/mtd/spi/spi_flash.c     | 11 ++---
 drivers/mtd/spi/spi_flash_ids.c |  6 +++
 drivers/spi/atcspi200_spi.c     |  6 ++-
 drivers/spi/fsl_qspi.c          |  2 +-
 drivers/spi/lpc32xx_ssp.c       |  2 +-
 drivers/spi/stm32_qspi.c        | 91 +++++++++++++++++++++++++++--------------
 7 files changed, 80 insertions(+), 41 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-04-25  5:29 Jagan Teki
@ 2018-04-26 11:21 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2018-04-26 11:21 UTC (permalink / raw)
  To: u-boot

On Wed, Apr 25, 2018 at 10:59:27AM +0530, Jagan Teki wrote:

> Hi Tom, 
> 
> Please pull this PR.
> 
> thanks,
> Jagan.
> 
> The following changes since commit 40df6b3e1882c55dd34b9177a42e21a591d668ee:
> 
>   Merge git://git.denx.de/u-boot-socfpga (2018-04-17 17:45:28 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 9b14ac5cc2294ac3eaae92421abff27ed3e6caae:
> 
>   spi: dw: invert wait condition in dw_spi_xfer (2018-04-23 11:16:41 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180426/ba16b78b/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2018-04-25  5:29 Jagan Teki
  2018-04-26 11:21 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-04-25  5:29 UTC (permalink / raw)
  To: u-boot

Hi Tom, 

Please pull this PR.

thanks,
Jagan.

The following changes since commit 40df6b3e1882c55dd34b9177a42e21a591d668ee:

  Merge git://git.denx.de/u-boot-socfpga (2018-04-17 17:45:28 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 9b14ac5cc2294ac3eaae92421abff27ed3e6caae:

  spi: dw: invert wait condition in dw_spi_xfer (2018-04-23 11:16:41 +0530)

----------------------------------------------------------------
Eugeniy Paltsev (3):
      mtd: sf: Add support of sst26wf* flash ICs protection ops
      mtd: sf: add support for sst26wf016, sst26wf032, sst26wf064
      spi: dw: invert wait condition in dw_spi_xfer

Sean Nyekjaer (1):
      sf: Add Spansion s25fl208k entry

 drivers/mtd/spi/sf_internal.h   |  13 ++++
 drivers/mtd/spi/spi_flash.c     | 168 ++++++++++++++++++++++++++++++++++++++++
 drivers/mtd/spi/spi_flash_ids.c |   4 +
 drivers/spi/designware_spi.c    |   2 +-
 4 files changed, 186 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-03-24  8:25 Jagan Teki
@ 2018-03-26 19:09 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2018-03-26 19:09 UTC (permalink / raw)
  To: u-boot

On Sat, Mar 24, 2018 at 01:55:17PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 2511930193a420eb8bb6cfa9c60912626f68ae67:
> 
>   Merge git://git.denx.de/u-boot-mips (2018-03-21 18:58:03 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 63018a3eddd5d9c64f7ee42615a63c6a67ab484d:
> 
>   omap3: spi: Correct ti, pindir-d0-out-d1-in parsing (2018-03-23 23:03:29 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180326/840ac574/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2018-03-24  8:25 Jagan Teki
  2018-03-26 19:09 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-03-24  8:25 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 2511930193a420eb8bb6cfa9c60912626f68ae67:

  Merge git://git.denx.de/u-boot-mips (2018-03-21 18:58:03 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 63018a3eddd5d9c64f7ee42615a63c6a67ab484d:

  omap3: spi: Correct ti, pindir-d0-out-d1-in parsing (2018-03-23 23:03:29 +0530)

----------------------------------------------------------------
Eugeniy Paltsev (5):
      DW SPI: fix tx data loss on FIFO flush
      DW SPI: fix transmit only mode
      DW SPI: refactor poll_transfer functions
      DW SPI: add option to use external gpio for chip select
      DW SPI: use 32 bit access instead of 16 and 32 bit mix

Sjoerd Simons (1):
      omap3: spi: Correct ti, pindir-d0-out-d1-in parsing

 drivers/spi/designware_spi.c | 130 ++++++++++++++++++++++++++++---------------
 drivers/spi/omap3_spi.c      |   6 +-
 2 files changed, 89 insertions(+), 47 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-03-14 18:47       ` Jagan Teki
@ 2018-03-15 14:10         ` Jagan Teki
  0 siblings, 0 replies; 217+ messages in thread
From: Jagan Teki @ 2018-03-15 14:10 UTC (permalink / raw)
  To: u-boot

On Thu, Mar 15, 2018 at 12:17 AM, Jagan Teki <jagannadh.teki@gmail.com> wrote:
> On Thu, Mar 15, 2018 at 12:08 AM, Adam Ford <aford173@gmail.com> wrote:
>> On Wed, Mar 14, 2018 at 12:39 PM, Jagan Teki <jagan@amarulasolutions.com> wrote:
>>> On Wed, Mar 14, 2018 at 10:57 PM, Tom Rini <trini@konsulko.com> wrote:
>>>> On Wed, Mar 14, 2018 at 07:32:07PM +0530, Jagan Teki wrote:
>>>>
>>>>> Hi Tom,
>>>>>
>>>>> Please pull this PR.
>>>>>
>>>>> thanks,
>>>>> Jagan.
>>>>>
>>>>> The following changes since commit f95ab1fb6e37f0601f397091bb011edf7a98b890:
>>>>>
>>>>>   Prepare v2018.03 (2018-03-13 08:02:19 -0400)
>>>>>
>>>>> are available in the Git repository at:
>>>>>
>>>>>   git://git.denx.de/u-booti-spi.git master
>>>>>
>>>>> for you to fetch changes up to 3e4ef60403c626cf6c9a5f3d1f600bc9a39f3ce5:
>>>>>
>>>>>   omap3_logic: Enable DM_SPI (2018-03-13 19:50:10 +0530)
>>>>>
>>>>
>>>> NAK, omap3_logic no longer builds with this PR.
>>>
>>> Ahh, missed one local patch will resend the PR with updated patch. sorry.
>>
>> Can you CC me on the final patch so I can re-verify? I won't
>> necessarily see the post if it just goes to the mailing list.
>
> Here is the fix [1]
>
> [1] https://patchwork.ozlabs.org/patch/885976/

Any issues with this fix?

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-03-14 18:38     ` Adam Ford
@ 2018-03-14 18:47       ` Jagan Teki
  2018-03-15 14:10         ` Jagan Teki
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-03-14 18:47 UTC (permalink / raw)
  To: u-boot

On Thu, Mar 15, 2018 at 12:08 AM, Adam Ford <aford173@gmail.com> wrote:
> On Wed, Mar 14, 2018 at 12:39 PM, Jagan Teki <jagan@amarulasolutions.com> wrote:
>> On Wed, Mar 14, 2018 at 10:57 PM, Tom Rini <trini@konsulko.com> wrote:
>>> On Wed, Mar 14, 2018 at 07:32:07PM +0530, Jagan Teki wrote:
>>>
>>>> Hi Tom,
>>>>
>>>> Please pull this PR.
>>>>
>>>> thanks,
>>>> Jagan.
>>>>
>>>> The following changes since commit f95ab1fb6e37f0601f397091bb011edf7a98b890:
>>>>
>>>>   Prepare v2018.03 (2018-03-13 08:02:19 -0400)
>>>>
>>>> are available in the Git repository at:
>>>>
>>>>   git://git.denx.de/u-booti-spi.git master
>>>>
>>>> for you to fetch changes up to 3e4ef60403c626cf6c9a5f3d1f600bc9a39f3ce5:
>>>>
>>>>   omap3_logic: Enable DM_SPI (2018-03-13 19:50:10 +0530)
>>>>
>>>
>>> NAK, omap3_logic no longer builds with this PR.
>>
>> Ahh, missed one local patch will resend the PR with updated patch. sorry.
>
> Can you CC me on the final patch so I can re-verify? I won't
> necessarily see the post if it just goes to the mailing list.

Here is the fix [1]

[1] https://patchwork.ozlabs.org/patch/885976/

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-03-14 17:39   ` Jagan Teki
@ 2018-03-14 18:38     ` Adam Ford
  2018-03-14 18:47       ` Jagan Teki
  0 siblings, 1 reply; 217+ messages in thread
From: Adam Ford @ 2018-03-14 18:38 UTC (permalink / raw)
  To: u-boot

On Wed, Mar 14, 2018 at 12:39 PM, Jagan Teki <jagan@amarulasolutions.com> wrote:
> On Wed, Mar 14, 2018 at 10:57 PM, Tom Rini <trini@konsulko.com> wrote:
>> On Wed, Mar 14, 2018 at 07:32:07PM +0530, Jagan Teki wrote:
>>
>>> Hi Tom,
>>>
>>> Please pull this PR.
>>>
>>> thanks,
>>> Jagan.
>>>
>>> The following changes since commit f95ab1fb6e37f0601f397091bb011edf7a98b890:
>>>
>>>   Prepare v2018.03 (2018-03-13 08:02:19 -0400)
>>>
>>> are available in the Git repository at:
>>>
>>>   git://git.denx.de/u-booti-spi.git master
>>>
>>> for you to fetch changes up to 3e4ef60403c626cf6c9a5f3d1f600bc9a39f3ce5:
>>>
>>>   omap3_logic: Enable DM_SPI (2018-03-13 19:50:10 +0530)
>>>
>>
>> NAK, omap3_logic no longer builds with this PR.
>
> Ahh, missed one local patch will resend the PR with updated patch. sorry.

Can you CC me on the final patch so I can re-verify? I won't
necessarily see the post if it just goes to the mailing list.

adam

> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-03-14 17:27 ` Tom Rini
@ 2018-03-14 17:39   ` Jagan Teki
  2018-03-14 18:38     ` Adam Ford
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-03-14 17:39 UTC (permalink / raw)
  To: u-boot

On Wed, Mar 14, 2018 at 10:57 PM, Tom Rini <trini@konsulko.com> wrote:
> On Wed, Mar 14, 2018 at 07:32:07PM +0530, Jagan Teki wrote:
>
>> Hi Tom,
>>
>> Please pull this PR.
>>
>> thanks,
>> Jagan.
>>
>> The following changes since commit f95ab1fb6e37f0601f397091bb011edf7a98b890:
>>
>>   Prepare v2018.03 (2018-03-13 08:02:19 -0400)
>>
>> are available in the Git repository at:
>>
>>   git://git.denx.de/u-booti-spi.git master
>>
>> for you to fetch changes up to 3e4ef60403c626cf6c9a5f3d1f600bc9a39f3ce5:
>>
>>   omap3_logic: Enable DM_SPI (2018-03-13 19:50:10 +0530)
>>
>
> NAK, omap3_logic no longer builds with this PR.

Ahh, missed one local patch will resend the PR with updated patch. sorry.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-03-14 14:02 Jagan Teki
@ 2018-03-14 17:27 ` Tom Rini
  2018-03-14 17:39   ` Jagan Teki
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2018-03-14 17:27 UTC (permalink / raw)
  To: u-boot

On Wed, Mar 14, 2018 at 07:32:07PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks,
> Jagan.
> 
> The following changes since commit f95ab1fb6e37f0601f397091bb011edf7a98b890:
> 
>   Prepare v2018.03 (2018-03-13 08:02:19 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-booti-spi.git master
> 
> for you to fetch changes up to 3e4ef60403c626cf6c9a5f3d1f600bc9a39f3ce5:
> 
>   omap3_logic: Enable DM_SPI (2018-03-13 19:50:10 +0530)
> 

NAK, omap3_logic no longer builds with this PR.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180314/b6f346d4/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2018-03-14 14:02 Jagan Teki
  2018-03-14 17:27 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-03-14 14:02 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks,
Jagan.

The following changes since commit f95ab1fb6e37f0601f397091bb011edf7a98b890:

  Prepare v2018.03 (2018-03-13 08:02:19 -0400)

are available in the Git repository at:

  git://git.denx.de/u-booti-spi.git master

for you to fetch changes up to 3e4ef60403c626cf6c9a5f3d1f600bc9a39f3ce5:

  omap3_logic: Enable DM_SPI (2018-03-13 19:50:10 +0530)

----------------------------------------------------------------
Adam Ford (1):
      omap3_logic: Enable DM_SPI

Jagan Teki (3):
      spi: atcspi200: Drop non-dm code
      spi: omap3: Skip set_mode, set_speed from claim
      arm: sunxi: Move spl spi sunxi code to mach-sunxi

 arch/arm/mach-sunxi/Kconfig                        |  8 ++
 arch/arm/mach-sunxi/Makefile                       |  1 +
 .../arm/mach-sunxi/spl_spi_sunxi.c                 |  0
 configs/omap3_logic_defconfig                      |  1 +
 drivers/mtd/spi/Kconfig                            | 13 ----
 drivers/mtd/spi/Makefile                           |  1 -
 drivers/spi/Kconfig                                | 14 ++--
 drivers/spi/atcspi200_spi.c                        | 87 ----------------------
 drivers/spi/omap3_spi.c                            | 21 ++++--
 9 files changed, 33 insertions(+), 113 deletions(-)
 rename drivers/mtd/spi/sunxi_spi_spl.c => arch/arm/mach-sunxi/spl_spi_sunxi.c (100%)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-01-24  6:57             ` Jagan Teki
@ 2018-01-25 16:00               ` Álvaro Fernández Rojas
  0 siblings, 0 replies; 217+ messages in thread
From: Álvaro Fernández Rojas @ 2018-01-25 16:00 UTC (permalink / raw)
  To: u-boot

Hi Jagan,

El 24/01/2018 a las 7:57, Jagan Teki escribió:
> On Tue, Jan 23, 2018 at 3:58 PM, Daniel Schwierzeck
> <daniel.schwierzeck@gmail.com> wrote:
>>
>> On 22.01.2018 21:55, Álvaro Fernández Rojas wrote:
>>> Hi Daniel,
>>>
>>>
>>> El 22/01/2018 a las 21:26, Daniel Schwierzeck escribió:
>>>> On 22.01.2018 18:14, Tom Rini wrote:
>>>>> On Mon, Jan 22, 2018 at 05:49:39PM +0100, Daniel Schwierzeck wrote:
>>>>>> On 22.01.2018 13:58, Tom Rini wrote:
>>>>>>> On Mon, Jan 22, 2018 at 11:20:56AM +0530, Jagan Teki wrote:
>>>>>>>
>>>>>>>> Hi Tom,
>>>>>>>>
>>>>>>>> Please pull this PR.
>>>>>>>>
>>>>>>>> thanks!
>>>>>>>> Jagan.
>>>>>>>>
>>>>>>>> The following changes since commit
>>>>>>>> 98691a60abffb44303d7dae6e9e699d0daded930:
>>>>>>>>
>>>>>>>>     Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51
>>>>>>>> -0500)
>>>>>>>>
>>>>>>>> are available in the git repository at:
>>>>>>>>
>>>>>>>>     git://git.denx.de/u-boot-spi.git master
>>>>>>>>
>>>>>>>> for you to fetch changes up to
>>>>>>>> b23c685c6f295da3c01dd487f0e003b70299af91:
>>>>>>>>
>>>>>>>>     mips: bmips: enable the SPI flash on the Comtrend AR-5387un
>>>>>>>> (2018-01-22 10:39:13 +0530)
>>>>>>>>
>>>>>>> NAK:
>>>>>>>
>>>>>>> commit 19e3a4856c1cba751a9ecb3931ff0d96a7f169be
>>>>>>> Author: Álvaro Fernández Rojas <noltari@gmail.com>
>>>>>>> Date:   Sat Jan 20 02:11:34 2018 +0100
>>>>>>>
>>>>>>>       wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
>>>>>>>
>>>>>>>       Add 8/16/32 bits and BE/LE versions of wait_for_bit.
>>>>>>>       This is needed for reading registers that are not aligned to
>>>>>>> 32 bits, and for
>>>>>>>       Big Endian platforms.
>>>>>>>
>>>>>>>       Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
>>>>>>>       Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
>>>>>>>       Reviewed-by: Jagan Teki <jagan@openedev.com>
>>>>>>>
>>>>>>> Adds warnings on almost all platforms:
>>>>>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function
>>>>>>> ?wait_for_bit_be16?:
>>>>>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:76:31:
>>>>>>> warning: implicit declaration of function ?readw_be?
>>>>>>> [-Wimplicit-function-declaration]
>>>>>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function
>>>>>>> ?wait_for_bit_be32?:         w+(ls1088ardb_qspi_SECURE_BOOT)
>>>>>>> ../include/wait_bit.h:78:31: warning: implicit declaration of
>>>>>>> function ?readl_be? [-Wimplicit-function-declaration]
>>>>>>>
>>>>>>>
>>>>>> Tom, would this change to the patch be acceptable?
>>>>>>
>>>>>> --- a/include/wait_bit.h
>>>>>> +++ b/include/wait_bit.h
>>>>>> @@ -73,8 +73,12 @@ static inline int wait_for_bit_##sfx(const void
>>>>>> *reg,            \
>>>>>>
>>>>>>    BUILD_WAIT_FOR_BIT(8, u8, readb)
>>>>>>    BUILD_WAIT_FOR_BIT(le16, u16, readw)
>>>>>> +#ifdef readw_be
>>>>>>    BUILD_WAIT_FOR_BIT(be16, u16, readw_be)
>>>>>> +#endif
>>>>>>    BUILD_WAIT_FOR_BIT(le32, u32, readl)
>>>>>> +#ifdef readl_be
>>>>>>    BUILD_WAIT_FOR_BIT(be32, u32, readl_be)
>>>>>> +#endif
>>>>>>
>>>>>>    #endif
>>>>>>
>>>>>> This wouldn't define wait_bit_be*() on archs which doesn't implement
>>>>>> readw_be or readl_be.
>>>>>>
>>>>>> A build with the updated patch is scheduled at
>>>>>> https://travis-ci.org/danielschwierzeck/u-boot/builds/331899381
>>>>> That seems reasonable, thanks!
>>>>>
>>>> Álvaro, could you send a v10 where the patch "wait_bit: add 8/16/32
>>>> BE/LE versions of wait_for_bit" is fixed like above? Thanks.
>>> Sure, but I think this alternative would be much cleaner:
>>> https://gist.github.com/Noltari/3e6ed4648b87484c73ca22e2f533f9b0
>>>
>>> What do you think?
>>>
>> I had a similar idea at first but a #ifdef within a #define is not possible and AFAIK not implemented in C standards.
>>
>> Have you tried it? With nested #ifdef I'm getting:
>>
>> $ ./tools/buildman/buildman -o /tmp/bm -b master..wait_for_bit aarch64
>> Building 1 commit for 111 boards (8 threads, 1 job per thread)
>>     50   11   50 /111    lion-rk3368
>>
>> vs.
>>
>> $ ./tools/buildman/buildman -o /tmp/bm -b master..wait_for_bit_2 aarch64
>> Building 1 commit for 111 boards (8 threads, 1 job per thread)
>>     98   13    0 /111    0:00:06  : ls1046ardb_emm
>>
>> Also a Travis CI build already shows several broken builds:
>> https://travis-ci.org/danielschwierzeck/u-boot/builds/332205310
>>
>> Maybe a yet better solution would be if each arch implements the same common set of I/O primitives like Linux is doing.
> Recent patch from Alvaro, seems fine to built all [1]
>
> [1] https://travis-ci.org/openedev/u-boot-spi/builds/332390626
I ended up adding the changes proposed by Daniel to avoid nested ifdefs.
So I guess it can be merged now :).

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-01-23 10:28           ` Daniel Schwierzeck
@ 2018-01-24  6:57             ` Jagan Teki
  2018-01-25 16:00               ` Álvaro Fernández Rojas
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-01-24  6:57 UTC (permalink / raw)
  To: u-boot

On Tue, Jan 23, 2018 at 3:58 PM, Daniel Schwierzeck
<daniel.schwierzeck@gmail.com> wrote:
>
>
> On 22.01.2018 21:55, Álvaro Fernández Rojas wrote:
>> Hi Daniel,
>>
>>
>> El 22/01/2018 a las 21:26, Daniel Schwierzeck escribió:
>>>
>>> On 22.01.2018 18:14, Tom Rini wrote:
>>>> On Mon, Jan 22, 2018 at 05:49:39PM +0100, Daniel Schwierzeck wrote:
>>>>>
>>>>> On 22.01.2018 13:58, Tom Rini wrote:
>>>>>> On Mon, Jan 22, 2018 at 11:20:56AM +0530, Jagan Teki wrote:
>>>>>>
>>>>>>> Hi Tom,
>>>>>>>
>>>>>>> Please pull this PR.
>>>>>>>
>>>>>>> thanks!
>>>>>>> Jagan.
>>>>>>>
>>>>>>> The following changes since commit
>>>>>>> 98691a60abffb44303d7dae6e9e699d0daded930:
>>>>>>>
>>>>>>>    Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51
>>>>>>> -0500)
>>>>>>>
>>>>>>> are available in the git repository at:
>>>>>>>
>>>>>>>    git://git.denx.de/u-boot-spi.git master
>>>>>>>
>>>>>>> for you to fetch changes up to
>>>>>>> b23c685c6f295da3c01dd487f0e003b70299af91:
>>>>>>>
>>>>>>>    mips: bmips: enable the SPI flash on the Comtrend AR-5387un
>>>>>>> (2018-01-22 10:39:13 +0530)
>>>>>>>
>>>>>> NAK:
>>>>>>
>>>>>> commit 19e3a4856c1cba751a9ecb3931ff0d96a7f169be
>>>>>> Author: Álvaro Fernández Rojas <noltari@gmail.com>
>>>>>> Date:   Sat Jan 20 02:11:34 2018 +0100
>>>>>>
>>>>>>      wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
>>>>>>
>>>>>>      Add 8/16/32 bits and BE/LE versions of wait_for_bit.
>>>>>>      This is needed for reading registers that are not aligned to
>>>>>> 32 bits, and for
>>>>>>      Big Endian platforms.
>>>>>>
>>>>>>      Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
>>>>>>      Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
>>>>>>      Reviewed-by: Jagan Teki <jagan@openedev.com>
>>>>>>
>>>>>> Adds warnings on almost all platforms:
>>>>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function
>>>>>> ?wait_for_bit_be16?:
>>>>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:76:31:
>>>>>> warning: implicit declaration of function ?readw_be?
>>>>>> [-Wimplicit-function-declaration]
>>>>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function
>>>>>> ?wait_for_bit_be32?:         w+(ls1088ardb_qspi_SECURE_BOOT)
>>>>>> ../include/wait_bit.h:78:31: warning: implicit declaration of
>>>>>> function ?readl_be? [-Wimplicit-function-declaration]
>>>>>>
>>>>>>
>>>>> Tom, would this change to the patch be acceptable?
>>>>>
>>>>> --- a/include/wait_bit.h
>>>>> +++ b/include/wait_bit.h
>>>>> @@ -73,8 +73,12 @@ static inline int wait_for_bit_##sfx(const void
>>>>> *reg,            \
>>>>>
>>>>>   BUILD_WAIT_FOR_BIT(8, u8, readb)
>>>>>   BUILD_WAIT_FOR_BIT(le16, u16, readw)
>>>>> +#ifdef readw_be
>>>>>   BUILD_WAIT_FOR_BIT(be16, u16, readw_be)
>>>>> +#endif
>>>>>   BUILD_WAIT_FOR_BIT(le32, u32, readl)
>>>>> +#ifdef readl_be
>>>>>   BUILD_WAIT_FOR_BIT(be32, u32, readl_be)
>>>>> +#endif
>>>>>
>>>>>   #endif
>>>>>
>>>>> This wouldn't define wait_bit_be*() on archs which doesn't implement
>>>>> readw_be or readl_be.
>>>>>
>>>>> A build with the updated patch is scheduled at
>>>>> https://travis-ci.org/danielschwierzeck/u-boot/builds/331899381
>>>> That seems reasonable, thanks!
>>>>
>>> Álvaro, could you send a v10 where the patch "wait_bit: add 8/16/32
>>> BE/LE versions of wait_for_bit" is fixed like above? Thanks.
>> Sure, but I think this alternative would be much cleaner:
>> https://gist.github.com/Noltari/3e6ed4648b87484c73ca22e2f533f9b0
>>
>> What do you think?
>>
>
> I had a similar idea at first but a #ifdef within a #define is not possible and AFAIK not implemented in C standards.
>
> Have you tried it? With nested #ifdef I'm getting:
>
> $ ./tools/buildman/buildman -o /tmp/bm -b master..wait_for_bit aarch64
> Building 1 commit for 111 boards (8 threads, 1 job per thread)
>    50   11   50 /111    lion-rk3368
>
> vs.
>
> $ ./tools/buildman/buildman -o /tmp/bm -b master..wait_for_bit_2 aarch64
> Building 1 commit for 111 boards (8 threads, 1 job per thread)
>    98   13    0 /111    0:00:06  : ls1046ardb_emm
>
> Also a Travis CI build already shows several broken builds:
> https://travis-ci.org/danielschwierzeck/u-boot/builds/332205310
>
> Maybe a yet better solution would be if each arch implements the same common set of I/O primitives like Linux is doing.

Recent patch from Alvaro, seems fine to built all [1]

[1] https://travis-ci.org/openedev/u-boot-spi/builds/332390626

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-01-22 20:55         ` Álvaro Fernández Rojas
  2018-01-22 21:05           ` Tom Rini
@ 2018-01-23 10:28           ` Daniel Schwierzeck
  2018-01-24  6:57             ` Jagan Teki
  1 sibling, 1 reply; 217+ messages in thread
From: Daniel Schwierzeck @ 2018-01-23 10:28 UTC (permalink / raw)
  To: u-boot



On 22.01.2018 21:55, Álvaro Fernández Rojas wrote:
> Hi Daniel,
> 
> 
> El 22/01/2018 a las 21:26, Daniel Schwierzeck escribió:
>>
>> On 22.01.2018 18:14, Tom Rini wrote:
>>> On Mon, Jan 22, 2018 at 05:49:39PM +0100, Daniel Schwierzeck wrote:
>>>>
>>>> On 22.01.2018 13:58, Tom Rini wrote:
>>>>> On Mon, Jan 22, 2018 at 11:20:56AM +0530, Jagan Teki wrote:
>>>>>
>>>>>> Hi Tom,
>>>>>>
>>>>>> Please pull this PR.
>>>>>>
>>>>>> thanks!
>>>>>> Jagan.
>>>>>>
>>>>>> The following changes since commit
>>>>>> 98691a60abffb44303d7dae6e9e699d0daded930:
>>>>>>
>>>>>>    Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51
>>>>>> -0500)
>>>>>>
>>>>>> are available in the git repository at:
>>>>>>
>>>>>>    git://git.denx.de/u-boot-spi.git master
>>>>>>
>>>>>> for you to fetch changes up to
>>>>>> b23c685c6f295da3c01dd487f0e003b70299af91:
>>>>>>
>>>>>>    mips: bmips: enable the SPI flash on the Comtrend AR-5387un
>>>>>> (2018-01-22 10:39:13 +0530)
>>>>>>
>>>>> NAK:
>>>>>
>>>>> commit 19e3a4856c1cba751a9ecb3931ff0d96a7f169be
>>>>> Author: Álvaro Fernández Rojas <noltari@gmail.com>
>>>>> Date:   Sat Jan 20 02:11:34 2018 +0100
>>>>>
>>>>>      wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
>>>>>
>>>>>      Add 8/16/32 bits and BE/LE versions of wait_for_bit.
>>>>>      This is needed for reading registers that are not aligned to
>>>>> 32 bits, and for
>>>>>      Big Endian platforms.
>>>>>
>>>>>      Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
>>>>>      Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
>>>>>      Reviewed-by: Jagan Teki <jagan@openedev.com>
>>>>>
>>>>> Adds warnings on almost all platforms:
>>>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function
>>>>> ?wait_for_bit_be16?:
>>>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:76:31:
>>>>> warning: implicit declaration of function ?readw_be?
>>>>> [-Wimplicit-function-declaration]
>>>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function
>>>>> ?wait_for_bit_be32?:         w+(ls1088ardb_qspi_SECURE_BOOT)
>>>>> ../include/wait_bit.h:78:31: warning: implicit declaration of
>>>>> function ?readl_be? [-Wimplicit-function-declaration]
>>>>>
>>>>>
>>>> Tom, would this change to the patch be acceptable?
>>>>
>>>> --- a/include/wait_bit.h
>>>> +++ b/include/wait_bit.h
>>>> @@ -73,8 +73,12 @@ static inline int wait_for_bit_##sfx(const void
>>>> *reg,            \
>>>>
>>>>   BUILD_WAIT_FOR_BIT(8, u8, readb)
>>>>   BUILD_WAIT_FOR_BIT(le16, u16, readw)
>>>> +#ifdef readw_be
>>>>   BUILD_WAIT_FOR_BIT(be16, u16, readw_be)
>>>> +#endif
>>>>   BUILD_WAIT_FOR_BIT(le32, u32, readl)
>>>> +#ifdef readl_be
>>>>   BUILD_WAIT_FOR_BIT(be32, u32, readl_be)
>>>> +#endif
>>>>
>>>>   #endif
>>>>
>>>> This wouldn't define wait_bit_be*() on archs which doesn't implement
>>>> readw_be or readl_be.
>>>>
>>>> A build with the updated patch is scheduled at
>>>> https://travis-ci.org/danielschwierzeck/u-boot/builds/331899381
>>> That seems reasonable, thanks!
>>>
>> Álvaro, could you send a v10 where the patch "wait_bit: add 8/16/32
>> BE/LE versions of wait_for_bit" is fixed like above? Thanks.
> Sure, but I think this alternative would be much cleaner:
> https://gist.github.com/Noltari/3e6ed4648b87484c73ca22e2f533f9b0
> 
> What do you think?
> 

I had a similar idea at first but a #ifdef within a #define is not possible and AFAIK not implemented in C standards. 

Have you tried it? With nested #ifdef I'm getting:

$ ./tools/buildman/buildman -o /tmp/bm -b master..wait_for_bit aarch64 
Building 1 commit for 111 boards (8 threads, 1 job per thread)
   50   11   50 /111    lion-rk3368
 
vs.

$ ./tools/buildman/buildman -o /tmp/bm -b master..wait_for_bit_2 aarch64 
Building 1 commit for 111 boards (8 threads, 1 job per thread)
   98   13    0 /111    0:00:06  : ls1046ardb_emm

Also a Travis CI build already shows several broken builds:
https://travis-ci.org/danielschwierzeck/u-boot/builds/332205310

Maybe a yet better solution would be if each arch implements the same common set of I/O primitives like Linux is doing.

-- 
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180123/beee2404/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-01-22 20:55         ` Álvaro Fernández Rojas
@ 2018-01-22 21:05           ` Tom Rini
  2018-01-23 10:28           ` Daniel Schwierzeck
  1 sibling, 0 replies; 217+ messages in thread
From: Tom Rini @ 2018-01-22 21:05 UTC (permalink / raw)
  To: u-boot

On Mon, Jan 22, 2018 at 09:55:43PM +0100, Álvaro Fernández Rojas wrote:
> Hi Daniel,
> 
> 
> El 22/01/2018 a las 21:26, Daniel Schwierzeck escribió:
> >
> >On 22.01.2018 18:14, Tom Rini wrote:
> >>On Mon, Jan 22, 2018 at 05:49:39PM +0100, Daniel Schwierzeck wrote:
> >>>
> >>>On 22.01.2018 13:58, Tom Rini wrote:
> >>>>On Mon, Jan 22, 2018 at 11:20:56AM +0530, Jagan Teki wrote:
> >>>>
> >>>>>Hi Tom,
> >>>>>
> >>>>>Please pull this PR.
> >>>>>
> >>>>>thanks!
> >>>>>Jagan.
> >>>>>
> >>>>>The following changes since commit 98691a60abffb44303d7dae6e9e699d0daded930:
> >>>>>
> >>>>>   Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51 -0500)
> >>>>>
> >>>>>are available in the git repository at:
> >>>>>
> >>>>>   git://git.denx.de/u-boot-spi.git master
> >>>>>
> >>>>>for you to fetch changes up to b23c685c6f295da3c01dd487f0e003b70299af91:
> >>>>>
> >>>>>   mips: bmips: enable the SPI flash on the Comtrend AR-5387un (2018-01-22 10:39:13 +0530)
> >>>>>
> >>>>NAK:
> >>>>
> >>>>commit 19e3a4856c1cba751a9ecb3931ff0d96a7f169be
> >>>>Author: Álvaro Fernández Rojas <noltari@gmail.com>
> >>>>Date:   Sat Jan 20 02:11:34 2018 +0100
> >>>>
> >>>>     wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
> >>>>
> >>>>     Add 8/16/32 bits and BE/LE versions of wait_for_bit.
> >>>>     This is needed for reading registers that are not aligned to 32 bits, and for
> >>>>     Big Endian platforms.
> >>>>
> >>>>     Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
> >>>>     Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
> >>>>     Reviewed-by: Jagan Teki <jagan@openedev.com>
> >>>>
> >>>>Adds warnings on almost all platforms:
> >>>>w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be16?:
> >>>>w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:76:31: warning: implicit declaration of function ?readw_be? [-Wimplicit-function-declaration]
> >>>>w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be32?:         w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:78:31: warning: implicit declaration of function ?readl_be? [-Wimplicit-function-declaration]
> >>>>
> >>>>
> >>>Tom, would this change to the patch be acceptable?
> >>>
> >>>--- a/include/wait_bit.h
> >>>+++ b/include/wait_bit.h
> >>>@@ -73,8 +73,12 @@ static inline int wait_for_bit_##sfx(const void *reg,			\
> >>>
> >>>  BUILD_WAIT_FOR_BIT(8, u8, readb)
> >>>  BUILD_WAIT_FOR_BIT(le16, u16, readw)
> >>>+#ifdef readw_be
> >>>  BUILD_WAIT_FOR_BIT(be16, u16, readw_be)
> >>>+#endif
> >>>  BUILD_WAIT_FOR_BIT(le32, u32, readl)
> >>>+#ifdef readl_be
> >>>  BUILD_WAIT_FOR_BIT(be32, u32, readl_be)
> >>>+#endif
> >>>
> >>>  #endif
> >>>
> >>>This wouldn't define wait_bit_be*() on archs which doesn't implement
> >>>readw_be or readl_be.
> >>>
> >>>A build with the updated patch is scheduled at
> >>>https://travis-ci.org/danielschwierzeck/u-boot/builds/331899381
> >>That seems reasonable, thanks!
> >>
> >Álvaro, could you send a v10 where the patch "wait_bit: add 8/16/32
> >BE/LE versions of wait_for_bit" is fixed like above? Thanks.
> Sure, but I think this alternative would be much cleaner:
> https://gist.github.com/Noltari/3e6ed4648b87484c73ca22e2f533f9b0
> 
> What do you think?

That is a bit cleaner, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180122/219c5819/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-01-22 20:26       ` Daniel Schwierzeck
@ 2018-01-22 20:55         ` Álvaro Fernández Rojas
  2018-01-22 21:05           ` Tom Rini
  2018-01-23 10:28           ` Daniel Schwierzeck
  0 siblings, 2 replies; 217+ messages in thread
From: Álvaro Fernández Rojas @ 2018-01-22 20:55 UTC (permalink / raw)
  To: u-boot

Hi Daniel,


El 22/01/2018 a las 21:26, Daniel Schwierzeck escribió:
>
> On 22.01.2018 18:14, Tom Rini wrote:
>> On Mon, Jan 22, 2018 at 05:49:39PM +0100, Daniel Schwierzeck wrote:
>>>
>>> On 22.01.2018 13:58, Tom Rini wrote:
>>>> On Mon, Jan 22, 2018 at 11:20:56AM +0530, Jagan Teki wrote:
>>>>
>>>>> Hi Tom,
>>>>>
>>>>> Please pull this PR.
>>>>>
>>>>> thanks!
>>>>> Jagan.
>>>>>
>>>>> The following changes since commit 98691a60abffb44303d7dae6e9e699d0daded930:
>>>>>
>>>>>    Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51 -0500)
>>>>>
>>>>> are available in the git repository at:
>>>>>
>>>>>    git://git.denx.de/u-boot-spi.git master
>>>>>
>>>>> for you to fetch changes up to b23c685c6f295da3c01dd487f0e003b70299af91:
>>>>>
>>>>>    mips: bmips: enable the SPI flash on the Comtrend AR-5387un (2018-01-22 10:39:13 +0530)
>>>>>
>>>> NAK:
>>>>
>>>> commit 19e3a4856c1cba751a9ecb3931ff0d96a7f169be
>>>> Author: Álvaro Fernández Rojas <noltari@gmail.com>
>>>> Date:   Sat Jan 20 02:11:34 2018 +0100
>>>>
>>>>      wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
>>>>
>>>>      Add 8/16/32 bits and BE/LE versions of wait_for_bit.
>>>>      This is needed for reading registers that are not aligned to 32 bits, and for
>>>>      Big Endian platforms.
>>>>
>>>>      Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
>>>>      Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
>>>>      Reviewed-by: Jagan Teki <jagan@openedev.com>
>>>>
>>>> Adds warnings on almost all platforms:
>>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be16?:
>>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:76:31: warning: implicit declaration of function ?readw_be? [-Wimplicit-function-declaration]
>>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be32?:         w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:78:31: warning: implicit declaration of function ?readl_be? [-Wimplicit-function-declaration]
>>>>
>>>>
>>> Tom, would this change to the patch be acceptable?
>>>
>>> --- a/include/wait_bit.h
>>> +++ b/include/wait_bit.h
>>> @@ -73,8 +73,12 @@ static inline int wait_for_bit_##sfx(const void *reg,			\
>>>
>>>   BUILD_WAIT_FOR_BIT(8, u8, readb)
>>>   BUILD_WAIT_FOR_BIT(le16, u16, readw)
>>> +#ifdef readw_be
>>>   BUILD_WAIT_FOR_BIT(be16, u16, readw_be)
>>> +#endif
>>>   BUILD_WAIT_FOR_BIT(le32, u32, readl)
>>> +#ifdef readl_be
>>>   BUILD_WAIT_FOR_BIT(be32, u32, readl_be)
>>> +#endif
>>>
>>>   #endif
>>>
>>> This wouldn't define wait_bit_be*() on archs which doesn't implement
>>> readw_be or readl_be.
>>>
>>> A build with the updated patch is scheduled at
>>> https://travis-ci.org/danielschwierzeck/u-boot/builds/331899381
>> That seems reasonable, thanks!
>>
> Álvaro, could you send a v10 where the patch "wait_bit: add 8/16/32
> BE/LE versions of wait_for_bit" is fixed like above? Thanks.
Sure, but I think this alternative would be much cleaner:
https://gist.github.com/Noltari/3e6ed4648b87484c73ca22e2f533f9b0

What do you think?

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-01-22 17:14     ` Tom Rini
@ 2018-01-22 20:26       ` Daniel Schwierzeck
  2018-01-22 20:55         ` Álvaro Fernández Rojas
  0 siblings, 1 reply; 217+ messages in thread
From: Daniel Schwierzeck @ 2018-01-22 20:26 UTC (permalink / raw)
  To: u-boot



On 22.01.2018 18:14, Tom Rini wrote:
> On Mon, Jan 22, 2018 at 05:49:39PM +0100, Daniel Schwierzeck wrote:
>>
>>
>> On 22.01.2018 13:58, Tom Rini wrote:
>>> On Mon, Jan 22, 2018 at 11:20:56AM +0530, Jagan Teki wrote:
>>>
>>>> Hi Tom,
>>>>
>>>> Please pull this PR.
>>>>
>>>> thanks!
>>>> Jagan.
>>>>
>>>> The following changes since commit 98691a60abffb44303d7dae6e9e699d0daded930:
>>>>
>>>>   Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51 -0500)
>>>>
>>>> are available in the git repository at:
>>>>
>>>>   git://git.denx.de/u-boot-spi.git master
>>>>
>>>> for you to fetch changes up to b23c685c6f295da3c01dd487f0e003b70299af91:
>>>>
>>>>   mips: bmips: enable the SPI flash on the Comtrend AR-5387un (2018-01-22 10:39:13 +0530)
>>>>
>>>
>>> NAK:
>>>
>>> commit 19e3a4856c1cba751a9ecb3931ff0d96a7f169be
>>> Author: Álvaro Fernández Rojas <noltari@gmail.com>
>>> Date:   Sat Jan 20 02:11:34 2018 +0100
>>>
>>>     wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
>>>
>>>     Add 8/16/32 bits and BE/LE versions of wait_for_bit.
>>>     This is needed for reading registers that are not aligned to 32 bits, and for
>>>     Big Endian platforms.
>>>
>>>     Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
>>>     Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
>>>     Reviewed-by: Jagan Teki <jagan@openedev.com>
>>>
>>> Adds warnings on almost all platforms:
>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be16?:
>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:76:31: warning: implicit declaration of function ?readw_be? [-Wimplicit-function-declaration]
>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be32?:         w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:78:31: warning: implicit declaration of function ?readl_be? [-Wimplicit-function-declaration]
>>>
>>>
>>
>> Tom, would this change to the patch be acceptable?
>>
>> --- a/include/wait_bit.h
>> +++ b/include/wait_bit.h
>> @@ -73,8 +73,12 @@ static inline int wait_for_bit_##sfx(const void *reg,			\
>>
>>  BUILD_WAIT_FOR_BIT(8, u8, readb)
>>  BUILD_WAIT_FOR_BIT(le16, u16, readw)
>> +#ifdef readw_be
>>  BUILD_WAIT_FOR_BIT(be16, u16, readw_be)
>> +#endif
>>  BUILD_WAIT_FOR_BIT(le32, u32, readl)
>> +#ifdef readl_be
>>  BUILD_WAIT_FOR_BIT(be32, u32, readl_be)
>> +#endif
>>
>>  #endif
>>
>> This wouldn't define wait_bit_be*() on archs which doesn't implement
>> readw_be or readl_be.
>>
>> A build with the updated patch is scheduled at
>> https://travis-ci.org/danielschwierzeck/u-boot/builds/331899381
> 
> That seems reasonable, thanks!
> 

Álvaro, could you send a v10 where the patch "wait_bit: add 8/16/32
BE/LE versions of wait_for_bit" is fixed like above? Thanks.

-- 
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180122/6f3b7ba8/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-01-22 16:49   ` Daniel Schwierzeck
@ 2018-01-22 17:14     ` Tom Rini
  2018-01-22 20:26       ` Daniel Schwierzeck
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2018-01-22 17:14 UTC (permalink / raw)
  To: u-boot

On Mon, Jan 22, 2018 at 05:49:39PM +0100, Daniel Schwierzeck wrote:
> 
> 
> On 22.01.2018 13:58, Tom Rini wrote:
> > On Mon, Jan 22, 2018 at 11:20:56AM +0530, Jagan Teki wrote:
> > 
> >> Hi Tom,
> >>
> >> Please pull this PR.
> >>
> >> thanks!
> >> Jagan.
> >>
> >> The following changes since commit 98691a60abffb44303d7dae6e9e699d0daded930:
> >>
> >>   Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51 -0500)
> >>
> >> are available in the git repository at:
> >>
> >>   git://git.denx.de/u-boot-spi.git master
> >>
> >> for you to fetch changes up to b23c685c6f295da3c01dd487f0e003b70299af91:
> >>
> >>   mips: bmips: enable the SPI flash on the Comtrend AR-5387un (2018-01-22 10:39:13 +0530)
> >>
> > 
> > NAK:
> > 
> > commit 19e3a4856c1cba751a9ecb3931ff0d96a7f169be
> > Author: Álvaro Fernández Rojas <noltari@gmail.com>
> > Date:   Sat Jan 20 02:11:34 2018 +0100
> > 
> >     wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
> > 
> >     Add 8/16/32 bits and BE/LE versions of wait_for_bit.
> >     This is needed for reading registers that are not aligned to 32 bits, and for
> >     Big Endian platforms.
> > 
> >     Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
> >     Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
> >     Reviewed-by: Jagan Teki <jagan@openedev.com>
> > 
> > Adds warnings on almost all platforms:
> > w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be16?:
> > w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:76:31: warning: implicit declaration of function ?readw_be? [-Wimplicit-function-declaration]
> > w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be32?:         w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:78:31: warning: implicit declaration of function ?readl_be? [-Wimplicit-function-declaration]
> > 
> > 
> 
> Tom, would this change to the patch be acceptable?
> 
> --- a/include/wait_bit.h
> +++ b/include/wait_bit.h
> @@ -73,8 +73,12 @@ static inline int wait_for_bit_##sfx(const void *reg,			\
> 
>  BUILD_WAIT_FOR_BIT(8, u8, readb)
>  BUILD_WAIT_FOR_BIT(le16, u16, readw)
> +#ifdef readw_be
>  BUILD_WAIT_FOR_BIT(be16, u16, readw_be)
> +#endif
>  BUILD_WAIT_FOR_BIT(le32, u32, readl)
> +#ifdef readl_be
>  BUILD_WAIT_FOR_BIT(be32, u32, readl_be)
> +#endif
> 
>  #endif
> 
> This wouldn't define wait_bit_be*() on archs which doesn't implement
> readw_be or readl_be.
> 
> A build with the updated patch is scheduled at
> https://travis-ci.org/danielschwierzeck/u-boot/builds/331899381

That seems reasonable, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180122/a8906979/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-01-22 12:58 ` Tom Rini
  2018-01-22 14:56   ` Daniel Schwierzeck
@ 2018-01-22 16:49   ` Daniel Schwierzeck
  2018-01-22 17:14     ` Tom Rini
  1 sibling, 1 reply; 217+ messages in thread
From: Daniel Schwierzeck @ 2018-01-22 16:49 UTC (permalink / raw)
  To: u-boot



On 22.01.2018 13:58, Tom Rini wrote:
> On Mon, Jan 22, 2018 at 11:20:56AM +0530, Jagan Teki wrote:
> 
>> Hi Tom,
>>
>> Please pull this PR.
>>
>> thanks!
>> Jagan.
>>
>> The following changes since commit 98691a60abffb44303d7dae6e9e699d0daded930:
>>
>>   Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51 -0500)
>>
>> are available in the git repository at:
>>
>>   git://git.denx.de/u-boot-spi.git master
>>
>> for you to fetch changes up to b23c685c6f295da3c01dd487f0e003b70299af91:
>>
>>   mips: bmips: enable the SPI flash on the Comtrend AR-5387un (2018-01-22 10:39:13 +0530)
>>
> 
> NAK:
> 
> commit 19e3a4856c1cba751a9ecb3931ff0d96a7f169be
> Author: Álvaro Fernández Rojas <noltari@gmail.com>
> Date:   Sat Jan 20 02:11:34 2018 +0100
> 
>     wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
> 
>     Add 8/16/32 bits and BE/LE versions of wait_for_bit.
>     This is needed for reading registers that are not aligned to 32 bits, and for
>     Big Endian platforms.
> 
>     Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
>     Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
>     Reviewed-by: Jagan Teki <jagan@openedev.com>
> 
> Adds warnings on almost all platforms:
> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be16?:
> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:76:31: warning: implicit declaration of function ?readw_be? [-Wimplicit-function-declaration]
> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be32?:         w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:78:31: warning: implicit declaration of function ?readl_be? [-Wimplicit-function-declaration]
> 
> 

Tom, would this change to the patch be acceptable?

--- a/include/wait_bit.h
+++ b/include/wait_bit.h
@@ -73,8 +73,12 @@ static inline int wait_for_bit_##sfx(const void *reg,			\

 BUILD_WAIT_FOR_BIT(8, u8, readb)
 BUILD_WAIT_FOR_BIT(le16, u16, readw)
+#ifdef readw_be
 BUILD_WAIT_FOR_BIT(be16, u16, readw_be)
+#endif
 BUILD_WAIT_FOR_BIT(le32, u32, readl)
+#ifdef readl_be
 BUILD_WAIT_FOR_BIT(be32, u32, readl_be)
+#endif

 #endif

This wouldn't define wait_bit_be*() on archs which doesn't implement
readw_be or readl_be.

A build with the updated patch is scheduled at
https://travis-ci.org/danielschwierzeck/u-boot/builds/331899381

-- 
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180122/7a712800/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-01-22 15:32         ` Tom Rini
@ 2018-01-22 15:47           ` Daniel Schwierzeck
  0 siblings, 0 replies; 217+ messages in thread
From: Daniel Schwierzeck @ 2018-01-22 15:47 UTC (permalink / raw)
  To: u-boot



On 22.01.2018 16:32, Tom Rini wrote:
> On Mon, Jan 22, 2018 at 04:28:16PM +0100, Daniel Schwierzeck wrote:
>>
>>
>> On 22.01.2018 15:59, Tom Rini wrote:
>>> On Mon, Jan 22, 2018 at 03:56:09PM +0100, Daniel Schwierzeck wrote:
>>>> Hi Tom,
>>>>
>>>> On 22.01.2018 13:58, Tom Rini wrote:
>>>>> On Mon, Jan 22, 2018 at 11:20:56AM +0530, Jagan Teki wrote:
>>>>>
>>>>>> Hi Tom,
>>>>>>
>>>>>> Please pull this PR.
>>>>>>
>>>>>> thanks!
>>>>>> Jagan.
>>>>>>
>>>>>> The following changes since commit 98691a60abffb44303d7dae6e9e699d0daded930:
>>>>>>
>>>>>>   Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51 -0500)
>>>>>>
>>>>>> are available in the git repository at:
>>>>>>
>>>>>>   git://git.denx.de/u-boot-spi.git master
>>>>>>
>>>>>> for you to fetch changes up to b23c685c6f295da3c01dd487f0e003b70299af91:
>>>>>>
>>>>>>   mips: bmips: enable the SPI flash on the Comtrend AR-5387un (2018-01-22 10:39:13 +0530)
>>>>>>
>>>>>
>>>>> NAK:
>>>>>
>>>>> commit 19e3a4856c1cba751a9ecb3931ff0d96a7f169be
>>>>> Author: Álvaro Fernández Rojas <noltari@gmail.com>
>>>>> Date:   Sat Jan 20 02:11:34 2018 +0100
>>>>>
>>>>>     wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
>>>>>
>>>>>     Add 8/16/32 bits and BE/LE versions of wait_for_bit.
>>>>>     This is needed for reading registers that are not aligned to 32 bits, and for
>>>>>     Big Endian platforms.
>>>>>
>>>>>     Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
>>>>>     Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
>>>>>     Reviewed-by: Jagan Teki <jagan@openedev.com>
>>>>>
>>>>> Adds warnings on almost all platforms:
>>>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be16?:
>>>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:76:31: warning: implicit declaration of function ?readw_be? [-Wimplicit-function-declaration]
>>>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be32?:         w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:78:31: warning: implicit declaration of function ?readl_be? [-Wimplicit-function-declaration]
>>>>>
>>>>
>>>>
>>>> did this commit alone produce those warnings? The patch series itself
>>>> builds successfully on Travis CI [1].
>>>>
>>>> [1] https://travis-ci.org/danielschwierzeck/u-boot/builds/331506036
>>>
>>> It builds, yes.  But it adds that warning too:
>>> https://travis-ci.org/danielschwierzeck/u-boot/jobs/331506059
>>>
>>> And I bisect'd down to the above commit being what adds that warning.
>>>
>>> And yes, sigh, I need to something-something to get us back to zero
>>> warnings and make -Werror at least a CONFIG option and perhaps default
>>> in travis as this isn't the first warning to come in that wasn't noticed
>>> as travis didn't fail.
>>
>> hm, since when are gcc warnings being ignored? I thought only DTC
>> warnings were suppressed. Thus I still expected to have Travis CI builds
>> marked as yellow in case of gcc warnings ;)
> 
> ... wait, you can have Travis CI do yellow for warnings?  That'd be
> handy to get back again.  Especially if we can have it for non-DTC
> warnings only.
> 

hm, I think I saw this in the past but can't find any reference in the
documentation. Sorry for creating false hopes ;)

-- 
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180122/d5d68a09/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-01-22 15:28       ` Daniel Schwierzeck
@ 2018-01-22 15:32         ` Tom Rini
  2018-01-22 15:47           ` Daniel Schwierzeck
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2018-01-22 15:32 UTC (permalink / raw)
  To: u-boot

On Mon, Jan 22, 2018 at 04:28:16PM +0100, Daniel Schwierzeck wrote:
> 
> 
> On 22.01.2018 15:59, Tom Rini wrote:
> > On Mon, Jan 22, 2018 at 03:56:09PM +0100, Daniel Schwierzeck wrote:
> >> Hi Tom,
> >>
> >> On 22.01.2018 13:58, Tom Rini wrote:
> >>> On Mon, Jan 22, 2018 at 11:20:56AM +0530, Jagan Teki wrote:
> >>>
> >>>> Hi Tom,
> >>>>
> >>>> Please pull this PR.
> >>>>
> >>>> thanks!
> >>>> Jagan.
> >>>>
> >>>> The following changes since commit 98691a60abffb44303d7dae6e9e699d0daded930:
> >>>>
> >>>>   Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51 -0500)
> >>>>
> >>>> are available in the git repository at:
> >>>>
> >>>>   git://git.denx.de/u-boot-spi.git master
> >>>>
> >>>> for you to fetch changes up to b23c685c6f295da3c01dd487f0e003b70299af91:
> >>>>
> >>>>   mips: bmips: enable the SPI flash on the Comtrend AR-5387un (2018-01-22 10:39:13 +0530)
> >>>>
> >>>
> >>> NAK:
> >>>
> >>> commit 19e3a4856c1cba751a9ecb3931ff0d96a7f169be
> >>> Author: Álvaro Fernández Rojas <noltari@gmail.com>
> >>> Date:   Sat Jan 20 02:11:34 2018 +0100
> >>>
> >>>     wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
> >>>
> >>>     Add 8/16/32 bits and BE/LE versions of wait_for_bit.
> >>>     This is needed for reading registers that are not aligned to 32 bits, and for
> >>>     Big Endian platforms.
> >>>
> >>>     Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
> >>>     Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
> >>>     Reviewed-by: Jagan Teki <jagan@openedev.com>
> >>>
> >>> Adds warnings on almost all platforms:
> >>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be16?:
> >>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:76:31: warning: implicit declaration of function ?readw_be? [-Wimplicit-function-declaration]
> >>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be32?:         w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:78:31: warning: implicit declaration of function ?readl_be? [-Wimplicit-function-declaration]
> >>>
> >>
> >>
> >> did this commit alone produce those warnings? The patch series itself
> >> builds successfully on Travis CI [1].
> >>
> >> [1] https://travis-ci.org/danielschwierzeck/u-boot/builds/331506036
> > 
> > It builds, yes.  But it adds that warning too:
> > https://travis-ci.org/danielschwierzeck/u-boot/jobs/331506059
> > 
> > And I bisect'd down to the above commit being what adds that warning.
> > 
> > And yes, sigh, I need to something-something to get us back to zero
> > warnings and make -Werror at least a CONFIG option and perhaps default
> > in travis as this isn't the first warning to come in that wasn't noticed
> > as travis didn't fail.
> 
> hm, since when are gcc warnings being ignored? I thought only DTC
> warnings were suppressed. Thus I still expected to have Travis CI builds
> marked as yellow in case of gcc warnings ;)

... wait, you can have Travis CI do yellow for warnings?  That'd be
handy to get back again.  Especially if we can have it for non-DTC
warnings only.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180122/bc5108b4/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-01-22 14:59     ` Tom Rini
@ 2018-01-22 15:28       ` Daniel Schwierzeck
  2018-01-22 15:32         ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Daniel Schwierzeck @ 2018-01-22 15:28 UTC (permalink / raw)
  To: u-boot



On 22.01.2018 15:59, Tom Rini wrote:
> On Mon, Jan 22, 2018 at 03:56:09PM +0100, Daniel Schwierzeck wrote:
>> Hi Tom,
>>
>> On 22.01.2018 13:58, Tom Rini wrote:
>>> On Mon, Jan 22, 2018 at 11:20:56AM +0530, Jagan Teki wrote:
>>>
>>>> Hi Tom,
>>>>
>>>> Please pull this PR.
>>>>
>>>> thanks!
>>>> Jagan.
>>>>
>>>> The following changes since commit 98691a60abffb44303d7dae6e9e699d0daded930:
>>>>
>>>>   Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51 -0500)
>>>>
>>>> are available in the git repository at:
>>>>
>>>>   git://git.denx.de/u-boot-spi.git master
>>>>
>>>> for you to fetch changes up to b23c685c6f295da3c01dd487f0e003b70299af91:
>>>>
>>>>   mips: bmips: enable the SPI flash on the Comtrend AR-5387un (2018-01-22 10:39:13 +0530)
>>>>
>>>
>>> NAK:
>>>
>>> commit 19e3a4856c1cba751a9ecb3931ff0d96a7f169be
>>> Author: Álvaro Fernández Rojas <noltari@gmail.com>
>>> Date:   Sat Jan 20 02:11:34 2018 +0100
>>>
>>>     wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
>>>
>>>     Add 8/16/32 bits and BE/LE versions of wait_for_bit.
>>>     This is needed for reading registers that are not aligned to 32 bits, and for
>>>     Big Endian platforms.
>>>
>>>     Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
>>>     Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
>>>     Reviewed-by: Jagan Teki <jagan@openedev.com>
>>>
>>> Adds warnings on almost all platforms:
>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be16?:
>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:76:31: warning: implicit declaration of function ?readw_be? [-Wimplicit-function-declaration]
>>> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be32?:         w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:78:31: warning: implicit declaration of function ?readl_be? [-Wimplicit-function-declaration]
>>>
>>
>>
>> did this commit alone produce those warnings? The patch series itself
>> builds successfully on Travis CI [1].
>>
>> [1] https://travis-ci.org/danielschwierzeck/u-boot/builds/331506036
> 
> It builds, yes.  But it adds that warning too:
> https://travis-ci.org/danielschwierzeck/u-boot/jobs/331506059
> 
> And I bisect'd down to the above commit being what adds that warning.
> 
> And yes, sigh, I need to something-something to get us back to zero
> warnings and make -Werror at least a CONFIG option and perhaps default
> in travis as this isn't the first warning to come in that wasn't noticed
> as travis didn't fail.
> 

hm, since when are gcc warnings being ignored? I thought only DTC
warnings were suppressed. Thus I still expected to have Travis CI builds
marked as yellow in case of gcc warnings ;)

-- 
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180122/8ec846d9/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-01-22 14:56   ` Daniel Schwierzeck
@ 2018-01-22 14:59     ` Tom Rini
  2018-01-22 15:28       ` Daniel Schwierzeck
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2018-01-22 14:59 UTC (permalink / raw)
  To: u-boot

On Mon, Jan 22, 2018 at 03:56:09PM +0100, Daniel Schwierzeck wrote:
> Hi Tom,
> 
> On 22.01.2018 13:58, Tom Rini wrote:
> > On Mon, Jan 22, 2018 at 11:20:56AM +0530, Jagan Teki wrote:
> > 
> >> Hi Tom,
> >>
> >> Please pull this PR.
> >>
> >> thanks!
> >> Jagan.
> >>
> >> The following changes since commit 98691a60abffb44303d7dae6e9e699d0daded930:
> >>
> >>   Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51 -0500)
> >>
> >> are available in the git repository at:
> >>
> >>   git://git.denx.de/u-boot-spi.git master
> >>
> >> for you to fetch changes up to b23c685c6f295da3c01dd487f0e003b70299af91:
> >>
> >>   mips: bmips: enable the SPI flash on the Comtrend AR-5387un (2018-01-22 10:39:13 +0530)
> >>
> > 
> > NAK:
> > 
> > commit 19e3a4856c1cba751a9ecb3931ff0d96a7f169be
> > Author: Álvaro Fernández Rojas <noltari@gmail.com>
> > Date:   Sat Jan 20 02:11:34 2018 +0100
> > 
> >     wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
> > 
> >     Add 8/16/32 bits and BE/LE versions of wait_for_bit.
> >     This is needed for reading registers that are not aligned to 32 bits, and for
> >     Big Endian platforms.
> > 
> >     Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
> >     Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
> >     Reviewed-by: Jagan Teki <jagan@openedev.com>
> > 
> > Adds warnings on almost all platforms:
> > w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be16?:
> > w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:76:31: warning: implicit declaration of function ?readw_be? [-Wimplicit-function-declaration]
> > w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be32?:         w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:78:31: warning: implicit declaration of function ?readl_be? [-Wimplicit-function-declaration]
> > 
> 
> 
> did this commit alone produce those warnings? The patch series itself
> builds successfully on Travis CI [1].
> 
> [1] https://travis-ci.org/danielschwierzeck/u-boot/builds/331506036

It builds, yes.  But it adds that warning too:
https://travis-ci.org/danielschwierzeck/u-boot/jobs/331506059

And I bisect'd down to the above commit being what adds that warning.

And yes, sigh, I need to something-something to get us back to zero
warnings and make -Werror at least a CONFIG option and perhaps default
in travis as this isn't the first warning to come in that wasn't noticed
as travis didn't fail.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180122/e63dbea2/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-01-22 12:58 ` Tom Rini
@ 2018-01-22 14:56   ` Daniel Schwierzeck
  2018-01-22 14:59     ` Tom Rini
  2018-01-22 16:49   ` Daniel Schwierzeck
  1 sibling, 1 reply; 217+ messages in thread
From: Daniel Schwierzeck @ 2018-01-22 14:56 UTC (permalink / raw)
  To: u-boot

Hi Tom,

On 22.01.2018 13:58, Tom Rini wrote:
> On Mon, Jan 22, 2018 at 11:20:56AM +0530, Jagan Teki wrote:
> 
>> Hi Tom,
>>
>> Please pull this PR.
>>
>> thanks!
>> Jagan.
>>
>> The following changes since commit 98691a60abffb44303d7dae6e9e699d0daded930:
>>
>>   Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51 -0500)
>>
>> are available in the git repository at:
>>
>>   git://git.denx.de/u-boot-spi.git master
>>
>> for you to fetch changes up to b23c685c6f295da3c01dd487f0e003b70299af91:
>>
>>   mips: bmips: enable the SPI flash on the Comtrend AR-5387un (2018-01-22 10:39:13 +0530)
>>
> 
> NAK:
> 
> commit 19e3a4856c1cba751a9ecb3931ff0d96a7f169be
> Author: Álvaro Fernández Rojas <noltari@gmail.com>
> Date:   Sat Jan 20 02:11:34 2018 +0100
> 
>     wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
> 
>     Add 8/16/32 bits and BE/LE versions of wait_for_bit.
>     This is needed for reading registers that are not aligned to 32 bits, and for
>     Big Endian platforms.
> 
>     Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
>     Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
>     Reviewed-by: Jagan Teki <jagan@openedev.com>
> 
> Adds warnings on almost all platforms:
> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be16?:
> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:76:31: warning: implicit declaration of function ?readw_be? [-Wimplicit-function-declaration]
> w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be32?:         w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:78:31: warning: implicit declaration of function ?readl_be? [-Wimplicit-function-declaration]
> 


did this commit alone produce those warnings? The patch series itself
builds successfully on Travis CI [1].

[1] https://travis-ci.org/danielschwierzeck/u-boot/builds/331506036

-- 
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180122/e0b5172d/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2018-01-22  5:50 Jagan Teki
@ 2018-01-22 12:58 ` Tom Rini
  2018-01-22 14:56   ` Daniel Schwierzeck
  2018-01-22 16:49   ` Daniel Schwierzeck
  0 siblings, 2 replies; 217+ messages in thread
From: Tom Rini @ 2018-01-22 12:58 UTC (permalink / raw)
  To: u-boot

On Mon, Jan 22, 2018 at 11:20:56AM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 98691a60abffb44303d7dae6e9e699d0daded930:
> 
>   Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51 -0500)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to b23c685c6f295da3c01dd487f0e003b70299af91:
> 
>   mips: bmips: enable the SPI flash on the Comtrend AR-5387un (2018-01-22 10:39:13 +0530)
> 

NAK:

commit 19e3a4856c1cba751a9ecb3931ff0d96a7f169be
Author: Álvaro Fernández Rojas <noltari@gmail.com>
Date:   Sat Jan 20 02:11:34 2018 +0100

    wait_bit: add 8/16/32 BE/LE versions of wait_for_bit

    Add 8/16/32 bits and BE/LE versions of wait_for_bit.
    This is needed for reading registers that are not aligned to 32 bits, and for
    Big Endian platforms.

    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
    Reviewed-by: Jagan Teki <jagan@openedev.com>

Adds warnings on almost all platforms:
w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be16?:
w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:76:31: warning: implicit declaration of function ?readw_be? [-Wimplicit-function-declaration]
w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h: In function ?wait_for_bit_be32?:         w+(ls1088ardb_qspi_SECURE_BOOT) ../include/wait_bit.h:78:31: warning: implicit declaration of function ?readl_be? [-Wimplicit-function-declaration]

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180122/9cc52f5c/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2018-01-22  5:50 Jagan Teki
  2018-01-22 12:58 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2018-01-22  5:50 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 98691a60abffb44303d7dae6e9e699d0daded930:

  Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51 -0500)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to b23c685c6f295da3c01dd487f0e003b70299af91:

  mips: bmips: enable the SPI flash on the Comtrend AR-5387un (2018-01-22 10:39:13 +0530)

----------------------------------------------------------------
Miquel Raynal (1):
      doc: bindings: soft-spi: update documentation to match the code

Álvaro Fernández Rojas (16):
      wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
      wait_bit: use wait_for_bit_le32 and remove wait_for_bit
      drivers: spi: allow limiting reads
      drivers: spi: consider command bytes when sending transfers
      dm: spi: add BCM63xx SPI driver
      mips: bmips: add bcm63xx-spi driver support for BCM6338
      mips: bmips: add bcm63xx-spi driver support for BCM6348
      mips: bmips: add bcm63xx-spi driver support for BCM6358
      mips: bmips: add bcm63xx-spi driver support for BCM3380
      mips: bmips: add bcm63xx-spi driver support for BCM63268
      mips: bmips: enable the SPI flash on the Sagem F at ST1704
      mips: bmips: enable the SPI flash on the Netgear CG3100D
      dm: spi: add BCM63xx HSSPI driver
      mips: bmips: add bcm63xx-hsspi driver support for BCM6328
      mips: bmips: add bcm63xx-hsspi driver support for BCM63268
      mips: bmips: enable the SPI flash on the Comtrend AR-5387un

 arch/arm/mach-imx/mx6/ddr.c                   |  22 +-
 arch/arm/mach-socfpga/clock_manager.c         |   4 +-
 arch/arm/mach-socfpga/clock_manager_gen5.c    |   6 +-
 arch/arm/mach-socfpga/reset_manager_arria10.c |  36 +--
 arch/mips/dts/brcm,bcm3380.dtsi               |  17 +
 arch/mips/dts/brcm,bcm63268.dtsi              |  38 +++
 arch/mips/dts/brcm,bcm6328.dtsi               |  24 ++
 arch/mips/dts/brcm,bcm6338.dtsi               |  17 +
 arch/mips/dts/brcm,bcm6348.dtsi               |  17 +
 arch/mips/dts/brcm,bcm6358.dtsi               |  17 +
 arch/mips/dts/comtrend,ar-5387un.dts          |  12 +
 arch/mips/dts/netgear,cg3100d.dts             |  12 +
 arch/mips/dts/sagem,f at st1704.dts              |  12 +
 arch/mips/mach-ath79/ar934x/clk.c             |   2 +-
 board/samtec/vining_2000/vining_2000.c        |   4 +-
 configs/comtrend_ar5387un_ram_defconfig       |   8 +
 configs/netgear_cg3100d_ram_defconfig         |   8 +
 configs/sagem_f at st1704_ram_defconfig          |   8 +
 doc/device-tree-bindings/spi/soft-spi.txt     |  24 +-
 drivers/clk/clk_pic32.c                       |  12 +-
 drivers/clk/renesas/clk-rcar-gen3.c           |   4 +-
 drivers/ddr/microchip/ddr2.c                  |   8 +-
 drivers/fpga/socfpga_arria10.c                |  17 +-
 drivers/mmc/msm_sdhci.c                       |   8 +-
 drivers/mtd/pic32_flash.c                     |   4 +-
 drivers/mtd/spi/spi_flash.c                   |   5 +-
 drivers/net/ag7xxx.c                          |  16 +-
 drivers/net/dwc_eth_qos.c                     |  17 +-
 drivers/net/ethoc.c                           |   8 +-
 drivers/net/pic32_eth.c                       |  12 +-
 drivers/net/pic32_mdio.c                      |  28 +-
 drivers/net/ravb.c                            |   4 +-
 drivers/net/xilinx_axi_emac.c                 |   4 +-
 drivers/net/zynq_gem.c                        |  12 +-
 drivers/reset/sti-reset.c                     |   4 +-
 drivers/serial/serial_pic32.c                 |   4 +-
 drivers/spi/Kconfig                           |  16 +
 drivers/spi/Makefile                          |   2 +
 drivers/spi/atmel_spi.c                       |   4 +-
 drivers/spi/bcm63xx_hsspi.c                   | 414 ++++++++++++++++++++++++
 drivers/spi/bcm63xx_spi.c                     | 433 ++++++++++++++++++++++++++
 drivers/spi/cadence_qspi_apb.c                |  14 +-
 drivers/spi/fsl_qspi.c                        |  20 +-
 drivers/spi/mvebu_a3700_spi.c                 |  20 +-
 drivers/usb/host/dwc2.c                       |  24 +-
 drivers/usb/host/ehci-msm.c                   |   3 +-
 drivers/usb/host/ehci-mx6.c                   |   5 +-
 drivers/usb/host/ohci-lpc32xx.c               |  12 +-
 drivers/usb/host/xhci-rcar.c                  |  12 +-
 drivers/video/atmel_hlcdfb.c                  |  64 ++--
 include/spi.h                                 |   5 +-
 include/wait_bit.h                            |  81 ++---
 52 files changed, 1326 insertions(+), 258 deletions(-)
 create mode 100644 drivers/spi/bcm63xx_hsspi.c
 create mode 100644 drivers/spi/bcm63xx_spi.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2017-12-19 12:24 Jagan Teki
@ 2017-12-19 20:44 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2017-12-19 20:44 UTC (permalink / raw)
  To: u-boot

On Tue, Dec 19, 2017 at 05:54:21PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 16fa2eb95172e63820ee5f3d4052f3362a6de84e:
> 
>   ARM: dra7: Kconfig: Add thermal configs for dra7xx and am57xx (2017-11-21 08:03:39 -0500)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 065592b40b41b11ee66d8ff71a55156bf1b35088:
> 
>   mtd/spi: fix block count for is25lq040b (2017-12-19 17:33:48 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171219/f14d5380/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2017-12-19 12:24 Jagan Teki
  2017-12-19 20:44 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2017-12-19 12:24 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 16fa2eb95172e63820ee5f3d4052f3362a6de84e:

  ARM: dra7: Kconfig: Add thermal configs for dra7xx and am57xx (2017-11-21 08:03:39 -0500)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 065592b40b41b11ee66d8ff71a55156bf1b35088:

  mtd/spi: fix block count for is25lq040b (2017-12-19 17:33:48 +0530)

----------------------------------------------------------------
Jagan Teki (1):
      spi: Zap unneeded option

Sean Nyekjaer (2):
      mtd/spi: add support for is25lq040b
      mtd/spi: fix block count for is25lq040b

 drivers/mtd/spi/spi_flash_ids.c | 1 +
 include/spi.h                   | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2017-10-17 13:50 Jagan Teki
@ 2017-10-18 19:47 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2017-10-18 19:47 UTC (permalink / raw)
  To: u-boot

On Tue, Oct 17, 2017 at 07:20:04PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 10509987285515b0a969c39ef7374fea3545851b:
> 
>   spi: fsl_qspi: Copy 16 byte aligned data in TX FIFO (2017-09-25 15:45:15 +0530)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to ca1ac16da097bf0ab176b1a201653553160dc042:
> 
>   sf: bar: Clean BA24 Bank Address Register bit after read/write/erase operation (2017-09-27 13:31:59 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171018/bb5c863d/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2017-10-17 13:50 Jagan Teki
  2017-10-18 19:47 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2017-10-17 13:50 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 10509987285515b0a969c39ef7374fea3545851b:

  spi: fsl_qspi: Copy 16 byte aligned data in TX FIFO (2017-09-25 15:45:15 +0530)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to ca1ac16da097bf0ab176b1a201653553160dc042:

  sf: bar: Clean BA24 Bank Address Register bit after read/write/erase operation (2017-09-27 13:31:59 +0530)

----------------------------------------------------------------
Andre Przywara (1):
      SPL: SPI: sunxi: add SPL FIT image support

Lukasz Majewski (1):
      sf: bar: Clean BA24 Bank Address Register bit after read/write/erase operation

 drivers/mtd/spi/spi_flash.c     | 33 +++++++++++++++++++++++++++++++++
 drivers/mtd/spi/sunxi_spi_spl.c | 39 ++++++++++++++++++++++++++++++++-------
 2 files changed, 65 insertions(+), 7 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2017-09-25  7:51 Jagan Teki
  2017-09-25  8:41 ` Łukasz Majewski
@ 2017-09-26 12:17 ` Tom Rini
  1 sibling, 0 replies; 217+ messages in thread
From: Tom Rini @ 2017-09-26 12:17 UTC (permalink / raw)
  To: u-boot

On Mon, Sep 25, 2017 at 01:21:35PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 1f6049e2501b5c35c61435dbc05ba96743202674:
> 
>   tools/mkimage: Make the path to the dtc binary that mkimage calls configurable (2017-09-24 07:33:03 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to db10809c17c7cd8960d0c45248bbef6e76251ad7:
> 
>   Fix s25fl256s position in spi_flash_ids list (2017-09-25 13:00:34 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170926/dd19015c/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2017-09-25  8:41 ` Łukasz Majewski
@ 2017-09-25  8:57   ` Jagan Teki
  0 siblings, 0 replies; 217+ messages in thread
From: Jagan Teki @ 2017-09-25  8:57 UTC (permalink / raw)
  To: u-boot

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 406 bytes --]

On Mon, Sep 25, 2017 at 2:11 PM, Łukasz Majewski <lukma@denx.de> wrote:
> Hi Jagan,
>
>> Hi Tom,
>>
>> Please pull this PR.
>
>
> Would you find some time and look into following patch:
>
> http://patchwork.ozlabs.org/patch/813266/

Of-course, will comment on respective patch itself.

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2017-09-25  7:51 Jagan Teki
@ 2017-09-25  8:41 ` Łukasz Majewski
  2017-09-25  8:57   ` Jagan Teki
  2017-09-26 12:17 ` Tom Rini
  1 sibling, 1 reply; 217+ messages in thread
From: Łukasz Majewski @ 2017-09-25  8:41 UTC (permalink / raw)
  To: u-boot

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 1766 bytes --]

Hi Jagan,

> Hi Tom,
> 
> Please pull this PR.

Would you find some time and look into following patch:

http://patchwork.ozlabs.org/patch/813266/

Thanks in advance,
Łukasz

> 
> thanks!
> Jagan.
> 
> The following changes since commit 1f6049e2501b5c35c61435dbc05ba96743202674:
> 
>    tools/mkimage: Make the path to the dtc binary that mkimage calls configurable (2017-09-24 07:33:03 -0400)
> 
> are available in the git repository at:
> 
>    git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to db10809c17c7cd8960d0c45248bbef6e76251ad7:
> 
>    Fix s25fl256s position in spi_flash_ids list (2017-09-25 13:00:34 +0530)
> 
> ----------------------------------------------------------------
> Marek Vasut (1):
>        sf: Fix S25FL116K entry
> 
> Peng Fan (1):
>        spi: mxc_spi: support driver model
> 
> Suresh Gupta (1):
>        spi: fsl_qspi: Add controller busy check before new spi operation
> 
> Vsevolod Gribov (1):
>        Fix s25fl256s position in spi_flash_ids list
> 
> Yogesh Gaur (1):
>        mtd/spi: Add MT35XU512ABA1G12 NOR flash support
> 
>   drivers/mtd/spi/spi_flash_ids.c |   5 +-
>   drivers/spi/fsl_qspi.c          |  28 ++++++-
>   drivers/spi/fsl_qspi.h          |   4 +
>   drivers/spi/mxc_spi.c           | 181 +++++++++++++++++++++++++++++++++-------
>   4 files changed, 183 insertions(+), 35 deletions(-)
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
> 


-- 
Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2017-09-25  7:51 Jagan Teki
  2017-09-25  8:41 ` Łukasz Majewski
  2017-09-26 12:17 ` Tom Rini
  0 siblings, 2 replies; 217+ messages in thread
From: Jagan Teki @ 2017-09-25  7:51 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 1f6049e2501b5c35c61435dbc05ba96743202674:

  tools/mkimage: Make the path to the dtc binary that mkimage calls configurable (2017-09-24 07:33:03 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to db10809c17c7cd8960d0c45248bbef6e76251ad7:

  Fix s25fl256s position in spi_flash_ids list (2017-09-25 13:00:34 +0530)

----------------------------------------------------------------
Marek Vasut (1):
      sf: Fix S25FL116K entry

Peng Fan (1):
      spi: mxc_spi: support driver model

Suresh Gupta (1):
      spi: fsl_qspi: Add controller busy check before new spi operation

Vsevolod Gribov (1):
      Fix s25fl256s position in spi_flash_ids list

Yogesh Gaur (1):
      mtd/spi: Add MT35XU512ABA1G12 NOR flash support

 drivers/mtd/spi/spi_flash_ids.c |   5 +-
 drivers/spi/fsl_qspi.c          |  28 ++++++-
 drivers/spi/fsl_qspi.h          |   4 +
 drivers/spi/mxc_spi.c           | 181 +++++++++++++++++++++++++++++++++-------
 4 files changed, 183 insertions(+), 35 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2017-08-16 13:00 Jagan Teki
@ 2017-08-17  1:17 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2017-08-17  1:17 UTC (permalink / raw)
  To: u-boot

On Wed, Aug 16, 2017 at 06:30:39PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit eaa90e5df2a4a1cb12fb73571978a9379242d0b5:
> 
>   common/env_embedded.c: rename PPCENV/PPCTEXT macros (2017-08-04 20:38:39 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 294f2050c438d1e4ab39fd040d394927772048f2:
> 
>   sf: Preserve QE bit when clearing BP# bits for Macronix flash (2017-08-16 18:21:50 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170816/ff694ecc/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2017-08-16 13:00 Jagan Teki
  2017-08-17  1:17 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2017-08-16 13:00 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit eaa90e5df2a4a1cb12fb73571978a9379242d0b5:

  common/env_embedded.c: rename PPCENV/PPCTEXT macros (2017-08-04 20:38:39 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 294f2050c438d1e4ab39fd040d394927772048f2:

  sf: Preserve QE bit when clearing BP# bits for Macronix flash (2017-08-16 18:21:50 +0530)

----------------------------------------------------------------
Bin Meng (2):
      sf: Add Macronix MX25U6435F device parameters
      sf: Preserve QE bit when clearing BP# bits for Macronix flash

Wenyou.Yang at microchip.com (1):
      mtd: spi: sf_dataflash: Add print message while erase error

 drivers/mtd/spi/sf_dataflash.c  | 10 ++++++++--
 drivers/mtd/spi/spi_flash.c     | 22 ++++++++++++++++++----
 drivers/mtd/spi/spi_flash_ids.c |  1 +
 3 files changed, 27 insertions(+), 6 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2017-05-03 12:13 Jagan Teki
@ 2017-05-07  1:27 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2017-05-07  1:27 UTC (permalink / raw)
  To: u-boot

On Wed, May 03, 2017 at 05:43:46PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please take this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit a63d800196ebee59b0f8ff924f67843cd597a8c1:
> 
>   Prepare v2017.05-rc3 (2017-05-01 19:54:41 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 2f54205829429d82c7591340a106bf68f3916120:
> 
>   drivers: spi: Remove duplicate .probe method (2017-05-03 11:52:16 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170506/2e003ffb/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2017-05-03 12:13 Jagan Teki
  2017-05-07  1:27 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2017-05-03 12:13 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please take this PR.

thanks!
Jagan.

The following changes since commit a63d800196ebee59b0f8ff924f67843cd597a8c1:

  Prepare v2017.05-rc3 (2017-05-01 19:54:41 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 2f54205829429d82c7591340a106bf68f3916120:

  drivers: spi: Remove duplicate .probe method (2017-05-03 11:52:16 +0530)

----------------------------------------------------------------
Moritz Fischer (1):
      zynq: spi: Honour the activation / deactivation delay

Suniel Mahesh (1):
      drivers: spi: Remove duplicate .probe method

Wenyou Yang (1):
      spi: atmel: check GPIO validity before using cs_gpios

 drivers/spi/atmel_spi.c |  9 +++++++++
 drivers/spi/omap3_spi.c |  1 -
 drivers/spi/zynq_spi.c  | 24 ++++++++++++++++++++++++
 3 files changed, 33 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2017-01-15 17:32 Jagan Teki
@ 2017-01-16  4:02 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2017-01-16  4:02 UTC (permalink / raw)
  To: u-boot

On Sun, Jan 15, 2017 at 06:32:14PM +0100, Jagan Teki wrote:

> Hi Tom,
> 
> Please take this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 70c1e0474a9df2c4493b4e2330cc41d3132b4e90:
> 
>   Merge git://git.denx.de/u-boot-rockchip (2017-01-12 21:20:51 -0500)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 68e7999ba9de0a15dd3dc99e078b70f41eb98c82:
> 
>   spi: Zap cf_qspi driver and related code (2017-01-15 18:29:04 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170115/efa3ba65/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2017-01-15 17:32 Jagan Teki
  2017-01-16  4:02 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2017-01-15 17:32 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please take this PR.

thanks!
Jagan.

The following changes since commit 70c1e0474a9df2c4493b4e2330cc41d3132b4e90:

  Merge git://git.denx.de/u-boot-rockchip (2017-01-12 21:20:51 -0500)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 68e7999ba9de0a15dd3dc99e078b70f41eb98c82:

  spi: Zap cf_qspi driver and related code (2017-01-15 18:29:04 +0100)

----------------------------------------------------------------
Jagan Teki (2):
      spi: Zap ep93xx_spi driver and related code
      spi: Zap cf_qspi driver and related code

 arch/m68k/cpu/mcf52x2/cpu_init.c |  12 --
 board/cirrus/edb93xx/edb93xx.c   |  98 -----------
 drivers/spi/Makefile             |   2 -
 drivers/spi/cf_qspi.c            | 354 ---------------------------------------
 drivers/spi/cf_spi.c             |   4 -
 drivers/spi/ep93xx_spi.c         | 272 ------------------------------
 include/configs/edb93xx.h        |  10 --
 scripts/config_whitelist.txt     |   5 -
 8 files changed, 757 deletions(-)
 delete mode 100644 drivers/spi/cf_qspi.c
 delete mode 100644 drivers/spi/ep93xx_spi.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2017-01-04 16:33 Jagan Teki
@ 2017-01-05 13:28 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2017-01-05 13:28 UTC (permalink / raw)
  To: u-boot

On Wed, Jan 04, 2017 at 05:33:56PM +0100, Jagan Teki wrote:

> Hi Tom,
> 
> Please take this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 87f5f5417fc897df0b05826b408f0f4b7d2ee388:
> 
>   Prepare v2017.01-rc3 (2017-01-02 20:00:55 -0500)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 101000b771164d9deaf7f911c72a251302d56a5d:
> 
>   mtd: nand: mxs_nand_spl: Fix to remove twise 'NAND' print (2017-01-04 16:56:44 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170105/05d6e350/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2017-01-04 16:33 Jagan Teki
  2017-01-05 13:28 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2017-01-04 16:33 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please take this PR.

thanks!
Jagan.

The following changes since commit 87f5f5417fc897df0b05826b408f0f4b7d2ee388:

  Prepare v2017.01-rc3 (2017-01-02 20:00:55 -0500)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 101000b771164d9deaf7f911c72a251302d56a5d:

  mtd: nand: mxs_nand_spl: Fix to remove twise 'NAND' print (2017-01-04 16:56:44 +0100)

----------------------------------------------------------------
Jagan Teki (1):
      mtd: nand: mxs_nand_spl: Fix to remove twise 'NAND' print

Vignesh R (2):
      spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible
      spi: cadence_qspi_apb: Use 32 bit indirect read transaction when possible

 drivers/mtd/nand/mxs_nand_spl.c  |  2 +-
 drivers/spi/cadence_qspi_apb.c   | 48 ++++++++++++++++++++++++++++++----------
 include/configs/k2g_evm.h        |  1 +
 include/configs/socfpga_common.h |  1 +
 include/configs/stv0991.h        |  1 +
 5 files changed, 40 insertions(+), 13 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-12-23 23:39 Jagan Teki
@ 2016-12-23 23:43 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2016-12-23 23:43 UTC (permalink / raw)
  To: u-boot

On Sat, Dec 24, 2016 at 12:39:22AM +0100, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 4cf5c5f1e60e6541630ae829b5fa2db704c268f0:
> 
>   Prepare v2017.01-rc2 (2016-12-19 16:08:57 -0500)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master 
> 
> for you to fetch changes up to b98fa02e8a1480eeab6c7e10eb1a2a9971a11497:
> 
>   spi: Zap armada100_spi.c and env (2016-12-23 11:13:04 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161223/0da28da6/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2016-12-23 23:39 Jagan Teki
  2016-12-23 23:43 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2016-12-23 23:39 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 4cf5c5f1e60e6541630ae829b5fa2db704c268f0:

  Prepare v2017.01-rc2 (2016-12-19 16:08:57 -0500)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master 

for you to fetch changes up to b98fa02e8a1480eeab6c7e10eb1a2a9971a11497:

  spi: Zap armada100_spi.c and env (2016-12-23 11:13:04 +0100)

----------------------------------------------------------------
Jagan Teki (2):
      spi: Zap mpc52xx_spi.c, config and related code
      spi: Zap armada100_spi.c and env

 board/intercontrol/digsy_mtc/Makefile    |   2 +-
 board/intercontrol/digsy_mtc/cmd_mtc.c   | 369 -------------------------------
 board/intercontrol/digsy_mtc/cmd_mtc.h   |  45 ----
 board/intercontrol/digsy_mtc/digsy_mtc.c |   9 -
 configs/digsy_mtc_RAMBOOT_defconfig      |   1 -
 configs/digsy_mtc_defconfig              |   1 -
 configs/digsy_mtc_rev5_RAMBOOT_defconfig |   1 -
 configs/digsy_mtc_rev5_defconfig         |   1 -
 configs/gplugd_defconfig                 |   5 -
 drivers/spi/Makefile                     |   2 -
 drivers/spi/armada100_spi.c              | 203 -----------------
 drivers/spi/mpc52xx_spi.c                |  90 --------
 include/configs/digsy_mtc.h              |   6 -
 include/configs/gplugd.h                 |   9 +-
 scripts/config_whitelist.txt             |   2 -
 15 files changed, 2 insertions(+), 744 deletions(-)
 delete mode 100644 board/intercontrol/digsy_mtc/cmd_mtc.c
 delete mode 100644 board/intercontrol/digsy_mtc/cmd_mtc.h
 delete mode 100644 drivers/spi/armada100_spi.c
 delete mode 100644 drivers/spi/mpc52xx_spi.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-12-14 15:36 Jagan Teki
@ 2016-12-14 23:35 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2016-12-14 23:35 UTC (permalink / raw)
  To: u-boot

On Wed, Dec 14, 2016 at 04:36:58PM +0100, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 136179bec19f4bc84227cba138214ea392a723ea:
> 
>   colibri_pxa270: transition to driver model for serial (2016-11-23 13:53:20 +0100)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 6c11b3a89fe9cd5ef8070b2a13103f6f466860f1:
> 
>   sf: Do not force the DT memory map size to exactly match the device (2016-12-14 16:30:04 +0100)
> 

NAK:
https://travis-ci.org/trini/u-boot/jobs/184036802

Please fix, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161214/fd90675b/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2016-12-14 15:36 Jagan Teki
  2016-12-14 23:35 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2016-12-14 15:36 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 136179bec19f4bc84227cba138214ea392a723ea:

  colibri_pxa270: transition to driver model for serial (2016-11-23 13:53:20 +0100)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 6c11b3a89fe9cd5ef8070b2a13103f6f466860f1:

  sf: Do not force the DT memory map size to exactly match the device (2016-12-14 16:30:04 +0100)

----------------------------------------------------------------
Fabien Parent (1):
      mtd: spi: don't return -1 when scan succeed

Jagan Teki (1):
      spi: Zap mpc52xx_spi.c and config

Phil Edworthy (10):
      spi: cadence_qspi: Fix clearing of pol/pha bits
      spi: cadence_qspi: Fix baud rate calculation
      spi: cadence_qspi: Better debug information on the SPI clock rate
      spi: cadence_qspi: Use #define for bits instead of bit shifts
      spi: cadence_qspi: Clean up the #define names
      spi: cadence_qspi: Use spi mode at the point it is needed
      spi: cadence_qspi: Remove returns from end of void functions
      spi: cadence_qspi: Fix CS timings
      spi: cadence_qspi: Move DT prop code to match layout
      sf: Do not force the DT memory map size to exactly match the device

Simon Glass (1):
      spi: Add error checking for invalid bus widths

Vignesh R (1):
      ARM: dts: am437x-idk: Fix QSPI compatible string

 arch/arm/dts/am437x-idk-evm.dts          |   2 +-
 board/intercontrol/digsy_mtc/digsy_mtc.c |   9 --
 configs/digsy_mtc_RAMBOOT_defconfig      |   1 -
 configs/digsy_mtc_defconfig              |   1 -
 configs/digsy_mtc_rev5_RAMBOOT_defconfig |   1 -
 configs/digsy_mtc_rev5_defconfig         |   1 -
 drivers/mtd/spi/spi_flash.c              |   6 +-
 drivers/spi/Makefile                     |   1 -
 drivers/spi/cadence_qspi.c               |   6 +-
 drivers/spi/cadence_qspi.h               |   3 +-
 drivers/spi/cadence_qspi_apb.c           | 185 ++++++++++++++-----------------
 drivers/spi/mpc52xx_spi.c                |  90 ---------------
 drivers/spi/spi-uclass.c                 |   4 +-
 include/configs/digsy_mtc.h              |   6 -
 scripts/config_whitelist.txt             |   1 -
 15 files changed, 93 insertions(+), 224 deletions(-)
 delete mode 100644 drivers/spi/mpc52xx_spi.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-11-12 12:13 Jagan Teki
@ 2016-11-13 20:55 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2016-11-13 20:55 UTC (permalink / raw)
  To: u-boot

On Sat, Nov 12, 2016 at 05:43:08PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please take these fixes.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 38cacdab3b5a6d8efd16a4b2620f7ab72144a624:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-tegra (2016-11-08 10:36:57 -0500)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 7480b35fd19d18871d09fc0447d978d8d10c05b8:
> 
>   spi: ti_qspi: Fix baudrate divider calculation (2016-11-11 17:22:47 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161113/e78beb6a/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2016-11-12 12:13 Jagan Teki
  2016-11-13 20:55 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2016-11-12 12:13 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please take these fixes.

thanks!
Jagan.

The following changes since commit 38cacdab3b5a6d8efd16a4b2620f7ab72144a624:

  Merge branch 'master' of git://git.denx.de/u-boot-tegra (2016-11-08 10:36:57 -0500)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 7480b35fd19d18871d09fc0447d978d8d10c05b8:

  spi: ti_qspi: Fix baudrate divider calculation (2016-11-11 17:22:47 +0530)

----------------------------------------------------------------
Vignesh R (2):
      ARM: dts: dra7xx: Update spi-max-frequency for qspi slave node
      spi: ti_qspi: Fix baudrate divider calculation

 arch/arm/dts/dra7-evm.dts          |  2 +-
 arch/arm/dts/dra72-evm-common.dtsi |  2 +-
 drivers/spi/ti_qspi.c              | 16 +++++++---------
 3 files changed, 9 insertions(+), 11 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-09-22 15:02 Jagan Teki
@ 2016-09-23  1:57 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2016-09-23  1:57 UTC (permalink / raw)
  To: u-boot

On Thu, Sep 22, 2016 at 08:32:48PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please take this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 9b1b6d42256a4c2e59c803afdbf90d39371e61ba:
> 
>   Revert "Increase default of CONFIG_SYS_MALLOC_F_LEN for SPL_OF_CONTROL" (2016-09-19 15:20:09 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to fe4753cbc6c51f712024121aad0d21293d6a85fc:
> 
>   configs: fsl: Move SPI/SPI-FLASH configs to defconfig (2016-09-22 14:17:02 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160922/f87a8af2/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2016-09-22 15:02 Jagan Teki
  2016-09-23  1:57 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2016-09-22 15:02 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please take this PR.

thanks!
Jagan.

The following changes since commit 9b1b6d42256a4c2e59c803afdbf90d39371e61ba:

  Revert "Increase default of CONFIG_SYS_MALLOC_F_LEN for SPL_OF_CONTROL" (2016-09-19 15:20:09 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to fe4753cbc6c51f712024121aad0d21293d6a85fc:

  configs: fsl: Move SPI/SPI-FLASH configs to defconfig (2016-09-22 14:17:02 +0530)

----------------------------------------------------------------
Jagan Teki (9):
      sf: Simplify fastest read cmd code
      sf: Remove e_rd_cmd from param table
      spi: Use mode for rx mode flags
      spi: Remove SPI_RX_FAST
      sf: Remove SECT_32K
      sf: Add CONFIG_SPI_FLASH_USE_4K_SECTORS in spi_flash
      sf: Move flags macro's to spi_flash_params{} members
      spi: Kconfig: Move FSL_QSPI entry to non-dm place
      configs: fsl: Move SPI/SPI-FLASH configs to defconfig

Lad, Prabhakar (1):
      spi: zynq_spi: Fix infinite looping while xfer

Vignesh R (2):
      spi: ti_qspi: use 128 bit transfer mode when writing to flash
      spi: ti_qspi: Remove unnecessary udelay for AM437x

 configs/mx6sxsabreauto_defconfig  |   1 +
 configs/mx6ul_14x14_evk_defconfig |   4 +
 configs/mx6ul_9x9_evk_defconfig   |   4 +
 drivers/mtd/spi/sandbox.c         |   5 +-
 drivers/mtd/spi/sf_internal.h     |  41 ++------
 drivers/mtd/spi/sf_params.c       | 200 +++++++++++++++++++-------------------
 drivers/mtd/spi/spi_flash.c       |  36 +++----
 drivers/spi/Kconfig               |  14 +--
 drivers/spi/cadence_qspi.c        |   2 +-
 drivers/spi/ich.c                 |   6 +-
 drivers/spi/spi-uclass.c          |  11 +--
 drivers/spi/ti_qspi.c             |  52 +++++++---
 drivers/spi/zynq_spi.c            |   2 +-
 include/configs/mx6sxsabreauto.h  |   1 -
 include/configs/mx6ul_14x14_evk.h |   4 -
 include/spi.h                     |  13 +--
 16 files changed, 188 insertions(+), 208 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-08-09 12:03 Jagan Teki
@ 2016-08-09 13:27 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2016-08-09 13:27 UTC (permalink / raw)
  To: u-boot

On Tue, Aug 09, 2016 at 05:33:59PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this request.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 08887ed4505ec14ee94ab32c482dc4dec5ddc1e4:
> 
>   ARM: am57xx_evm: Enable QSPI support (2016-07-30 00:15:07 +0530)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 53208741d6c3448b7a7f5260d52c28f912ff6453:
> 
>   dm: at91: Add driver model support for the spi driver (2016-07-31 17:03:33 +0530)
> 

NAK.  The atmel DM prep stuff needs to be taken in, all at once perhaps,
by Andreas all at once to avoid warnings like:
+   sama5d4_xplained_spiflash
+(sama5d4_xplained_spiflash)  static int clk_get_by_name(struct udevice *dev, const char *name,
+(sama5d4_xplained_spiflash)             ^
w+(sama5d4_xplained_spiflash) In file included from drivers/spi/atmel_spi.c:7:0:
w+(sama5d4_xplained_spiflash) include/clk.h:107:12: warning: 'clk_get_by_name' defined but not used [-Wunused-function]
that Marek also hit with the USB patch.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160809/3932cfc2/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2016-08-09 12:03 Jagan Teki
  2016-08-09 13:27 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2016-08-09 12:03 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this request.

thanks!
Jagan.

The following changes since commit 08887ed4505ec14ee94ab32c482dc4dec5ddc1e4:

  ARM: am57xx_evm: Enable QSPI support (2016-07-30 00:15:07 +0530)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 53208741d6c3448b7a7f5260d52c28f912ff6453:

  dm: at91: Add driver model support for the spi driver (2016-07-31 17:03:33 +0530)

----------------------------------------------------------------
Lad, Prabhakar (1):
      spi: zynq_spi: Fix infinite looping while xfer

Wenyou Yang (1):
      dm: at91: Add driver model support for the spi driver

 drivers/spi/Kconfig     |   7 ++
 drivers/spi/atmel_spi.c | 295 ++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/spi/zynq_spi.c  |   2 +-
 3 files changed, 303 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-07-29 18:48 Jagan Teki
@ 2016-07-30  0:20 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2016-07-30  0:20 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 30, 2016 at 12:18:15AM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 4711e7f7af839b41a6d78490257a9e7975494dd3:
> 
>   Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2016-07-28 08:45:00 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 08887ed4505ec14ee94ab32c482dc4dec5ddc1e4:
> 
>   ARM: am57xx_evm: Enable QSPI support (2016-07-30 00:15:07 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160729/138e85c9/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2016-07-29 18:48 Jagan Teki
  2016-07-30  0:20 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2016-07-29 18:48 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 4711e7f7af839b41a6d78490257a9e7975494dd3:

  Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2016-07-28 08:45:00 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 08887ed4505ec14ee94ab32c482dc4dec5ddc1e4:

  ARM: am57xx_evm: Enable QSPI support (2016-07-30 00:15:07 +0530)

----------------------------------------------------------------
Lokesh Vutla (1):
      ARM: dra7xx: Change DPLL_PER_HS13 divider value

Moritz Fischer (1):
      spi: Add support for N25Q016A

Vignesh R (9):
      spi: ti_qspi: Fix failure on multiple READ_ID cmd
      spi: ti_qspi: Fix compiler warning when DEBUG macro is set
      spi: ti_qspi: Remove delay in read path for dra7xx
      spi: ti_qspi: dra7xx: Add support to use 76.8MHz clock
      configs: dra7xx: Update QSPI speed to 76.8MHz
      ARM: dts: dra7xx: Update spi-max-frequency for QSPI
      configs: am43xx_evm_defconfig: Enable CONFIG_SPI_FLASH_BAR
      ARM: dts: am57xx-idk-common: Enable support for QSPI
      ARM: am57xx_evm: Enable QSPI support

Wenyou Yang (1):
      sf: sf_params: Add AT25DF321 flash support

 arch/arm/cpu/armv7/omap5/hw_data.c  |  2 +-
 arch/arm/dts/am57xx-idk-common.dtsi | 49 +++++++++++++++++++++++++++++++++++++
 arch/arm/dts/dra7-evm.dts           |  2 +-
 arch/arm/dts/dra72-evm.dts          |  2 +-
 configs/am43xx_evm_defconfig        |  1 +
 configs/am57xx_evm_defconfig        |  5 ++++
 configs/am57xx_evm_nodt_defconfig   |  5 ++++
 configs/am57xx_hs_evm_defconfig     |  5 ++++
 drivers/mtd/spi/sf_params.c         |  4 ++-
 drivers/spi/ti_qspi.c               | 29 ++++++++++++----------
 include/configs/am57xx_evm.h        | 36 +++++++++++++++++++++++++++
 include/configs/dra7xx_evm.h        |  2 +-
 12 files changed, 124 insertions(+), 18 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-07-09 15:30 Jagan Teki
  2016-07-09 16:06 ` Tom Rini
@ 2016-07-12 17:59 ` Tom Rini
  1 sibling, 0 replies; 217+ messages in thread
From: Tom Rini @ 2016-07-12 17:59 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 09, 2016 at 09:00:16PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please take this series.
> 
> thanks!
> Jagan.
> 
> The following changes since commit e8009beff6d5c55c1bf1ae8184791f167e6378b0:
> 
>   Merge git://git.denx.de/u-boot-arc (2016-07-04 11:46:21 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 96907c0fe50a856f66f60ade68864a2d7949bf15:
> 
>   dm: spi: Read default speed and mode values from DT (2016-07-09 20:16:34 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160712/2655d676/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-07-09 15:30 Jagan Teki
@ 2016-07-09 16:06 ` Tom Rini
  2016-07-12 17:59 ` Tom Rini
  1 sibling, 0 replies; 217+ messages in thread
From: Tom Rini @ 2016-07-09 16:06 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 09, 2016 at 09:00:16PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please take this series.

We are about 2 days from release.  None of these changes are clearly 
critical for release bug fixes.  I will pick this up after the release,
thanks.

> 
> thanks!
> Jagan.
> 
> The following changes since commit e8009beff6d5c55c1bf1ae8184791f167e6378b0:
> 
>   Merge git://git.denx.de/u-boot-arc (2016-07-04 11:46:21 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 96907c0fe50a856f66f60ade68864a2d7949bf15:
> 
>   dm: spi: Read default speed and mode values from DT (2016-07-09 20:16:34 +0530)
> 
> ----------------------------------------------------------------
> Anatolij Gustschin (1):
>       spi: spi-uclass: fix typo in debug output
> 
> Vignesh R (18):
>       dm: core: implement dev_map_physmem()
>       spi: davinci_spi: Convert to driver to adapt to DM
>       keystone2: spi: do not define DM_SPI and DM_SPI_FLASH for SPL build
>       ARM: dts: keystone2: add SPI aliases for davinci SPI nodes
>       ARM: dts: k2hk: Enable Davinci SPI controller
>       defconfig: k2hk_evm_defconfig: enable SPI driver model
>       ARM: dts: k2e: Enable Davinci SPI controller
>       defconfig: k2e_evm_defconfig: enable SPI driver model
>       ARM: dts: k2l: Enable Davinci SPI controller
>       defconfig: k2l_evm_defconfig: enable SPI driver model
>       ARM: dts: k2g: add support for Davinci SPI controller
>       defconfig: k2g_evm_defconfig: enable SPI driver model
>       spi: cadence_qspi_apb: Support 32 bit AHB address
>       spi: cadence_quadspi: Enable QUAD mode based on DT data
>       ARM: dts: K2G: Add support for QSPI controller
>       defconfig: k2g_evm_defconfig: Enable Cadence QSPI controller
>       ARM: dts: dra7x: Support QSPI MODE-0 operation at 64MHz
>       dm: spi: Read default speed and mode values from DT
> 
>  arch/arm/dts/dra7-evm.dts            |   6 +-
>  arch/arm/dts/dra72-evm.dts           |   6 +-
>  arch/arm/dts/k2e-evm.dts             |   3 +-
>  arch/arm/dts/k2g-evm.dts             |  69 ++++++++
>  arch/arm/dts/k2g.dtsi                |  61 +++++++
>  arch/arm/dts/k2hk-evm.dts            |   3 +-
>  arch/arm/dts/k2l-evm.dts             |   3 +-
>  arch/arm/dts/keystone.dtsi           |   3 +
>  cmd/sf.c                             |   2 +
>  common/env_sf.c                      |   8 +-
>  configs/k2e_evm_defconfig            |   2 +
>  configs/k2g_evm_defconfig            |   4 +
>  configs/k2hk_evm_defconfig           |   2 +
>  configs/k2l_evm_defconfig            |   2 +
>  drivers/core/device.c                |  11 ++
>  drivers/spi/cadence_qspi.c           |   3 +-
>  drivers/spi/cadence_qspi.h           |   2 +-
>  drivers/spi/cadence_qspi_apb.c       |  15 +-
>  drivers/spi/davinci_spi.c            | 329 +++++++++++++++++++++++++----------
>  drivers/spi/spi-uclass.c             |  10 +-
>  include/configs/k2g_evm.h            |   6 +
>  include/configs/ti_armv7_keystone2.h |   4 +
>  include/dm/device.h                  |  13 ++
>  23 files changed, 450 insertions(+), 117 deletions(-)

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160709/b7103fb6/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2016-07-09 15:30 Jagan Teki
  2016-07-09 16:06 ` Tom Rini
  2016-07-12 17:59 ` Tom Rini
  0 siblings, 2 replies; 217+ messages in thread
From: Jagan Teki @ 2016-07-09 15:30 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please take this series.

thanks!
Jagan.

The following changes since commit e8009beff6d5c55c1bf1ae8184791f167e6378b0:

  Merge git://git.denx.de/u-boot-arc (2016-07-04 11:46:21 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 96907c0fe50a856f66f60ade68864a2d7949bf15:

  dm: spi: Read default speed and mode values from DT (2016-07-09 20:16:34 +0530)

----------------------------------------------------------------
Anatolij Gustschin (1):
      spi: spi-uclass: fix typo in debug output

Vignesh R (18):
      dm: core: implement dev_map_physmem()
      spi: davinci_spi: Convert to driver to adapt to DM
      keystone2: spi: do not define DM_SPI and DM_SPI_FLASH for SPL build
      ARM: dts: keystone2: add SPI aliases for davinci SPI nodes
      ARM: dts: k2hk: Enable Davinci SPI controller
      defconfig: k2hk_evm_defconfig: enable SPI driver model
      ARM: dts: k2e: Enable Davinci SPI controller
      defconfig: k2e_evm_defconfig: enable SPI driver model
      ARM: dts: k2l: Enable Davinci SPI controller
      defconfig: k2l_evm_defconfig: enable SPI driver model
      ARM: dts: k2g: add support for Davinci SPI controller
      defconfig: k2g_evm_defconfig: enable SPI driver model
      spi: cadence_qspi_apb: Support 32 bit AHB address
      spi: cadence_quadspi: Enable QUAD mode based on DT data
      ARM: dts: K2G: Add support for QSPI controller
      defconfig: k2g_evm_defconfig: Enable Cadence QSPI controller
      ARM: dts: dra7x: Support QSPI MODE-0 operation at 64MHz
      dm: spi: Read default speed and mode values from DT

 arch/arm/dts/dra7-evm.dts            |   6 +-
 arch/arm/dts/dra72-evm.dts           |   6 +-
 arch/arm/dts/k2e-evm.dts             |   3 +-
 arch/arm/dts/k2g-evm.dts             |  69 ++++++++
 arch/arm/dts/k2g.dtsi                |  61 +++++++
 arch/arm/dts/k2hk-evm.dts            |   3 +-
 arch/arm/dts/k2l-evm.dts             |   3 +-
 arch/arm/dts/keystone.dtsi           |   3 +
 cmd/sf.c                             |   2 +
 common/env_sf.c                      |   8 +-
 configs/k2e_evm_defconfig            |   2 +
 configs/k2g_evm_defconfig            |   4 +
 configs/k2hk_evm_defconfig           |   2 +
 configs/k2l_evm_defconfig            |   2 +
 drivers/core/device.c                |  11 ++
 drivers/spi/cadence_qspi.c           |   3 +-
 drivers/spi/cadence_qspi.h           |   2 +-
 drivers/spi/cadence_qspi_apb.c       |  15 +-
 drivers/spi/davinci_spi.c            | 329 +++++++++++++++++++++++++----------
 drivers/spi/spi-uclass.c             |  10 +-
 include/configs/k2g_evm.h            |   6 +
 include/configs/ti_armv7_keystone2.h |   4 +
 include/dm/device.h                  |  13 ++
 23 files changed, 450 insertions(+), 117 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-03-15 15:04   ` Tom Rini
@ 2016-03-15 17:51     ` Jagan Teki
  0 siblings, 0 replies; 217+ messages in thread
From: Jagan Teki @ 2016-03-15 17:51 UTC (permalink / raw)
  To: u-boot

On 15 March 2016 at 20:34, Tom Rini <trini@konsulko.com> wrote:
> On Tue, Mar 15, 2016 at 08:01:14AM -0400, Tom Rini wrote:
>> On Tue, Mar 15, 2016 at 12:41:20PM +0530, Jagan Teki wrote:
>>
>> > Hi Tom,
>> >
>> > Please pull this PR.
>> >
>> > thanks!
>> > Jagan.
>> >
>> > The following changes since commit df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa:
>> >
>> >   Prepare v2016.03 (2016-03-14 10:20:21 -0400)
>> >
>> > are available in the git repository at:
>> >
>> >   git://git.denx.de/u-boot-spi.git master
>> >
>> > for you to fetch changes up to 77b8d04854f486741471ad02b93b473b5b3d72f8:
>> >
>> >   spi: omap3: Convert to driver model (2016-03-14 22:46:28 +0530)
>> >
>>
>> Applied to u-boot/master, thanks!
>
> But, bah!
>
> +(cm_t3517,cm_t35) drivers/spi/built-in.o:(.bss.priv+0x0): multiple definition of `priv'
> +(cm_t3517,cm_t35) drivers/built-in.o:(.bss.priv+0x0): first defined here
> +(cm_t3517,cm_t35) arm-linux-gnueabi-ld.bfd: Warning: size of symbol `priv' changed from 20 in drivers/built-in.o to 4 in drivers/spi/built-in.o
> +(cm_t3517,cm_t35) make[1]: *** [u-boot] Error 1
> +(cm_t3517,cm_t35) make: *** [sub-make] Error 2
>

Ohh, yes look like an issue with global priv on non-dm stuff, will send the fix.

thanks!
-- 
Jagan.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-03-15 12:01 ` Tom Rini
@ 2016-03-15 15:04   ` Tom Rini
  2016-03-15 17:51     ` Jagan Teki
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2016-03-15 15:04 UTC (permalink / raw)
  To: u-boot

On Tue, Mar 15, 2016 at 08:01:14AM -0400, Tom Rini wrote:
> On Tue, Mar 15, 2016 at 12:41:20PM +0530, Jagan Teki wrote:
> 
> > Hi Tom,
> > 
> > Please pull this PR.
> > 
> > thanks!
> > Jagan.
> > 
> > The following changes since commit df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa:
> > 
> >   Prepare v2016.03 (2016-03-14 10:20:21 -0400)
> > 
> > are available in the git repository at:
> > 
> >   git://git.denx.de/u-boot-spi.git master
> > 
> > for you to fetch changes up to 77b8d04854f486741471ad02b93b473b5b3d72f8:
> > 
> >   spi: omap3: Convert to driver model (2016-03-14 22:46:28 +0530)
> > 
> 
> Applied to u-boot/master, thanks!

But, bah!

+(cm_t3517,cm_t35) drivers/spi/built-in.o:(.bss.priv+0x0): multiple definition of `priv'
+(cm_t3517,cm_t35) drivers/built-in.o:(.bss.priv+0x0): first defined here
+(cm_t3517,cm_t35) arm-linux-gnueabi-ld.bfd: Warning: size of symbol `priv' changed from 20 in drivers/built-in.o to 4 in drivers/spi/built-in.o
+(cm_t3517,cm_t35) make[1]: *** [u-boot] Error 1
+(cm_t3517,cm_t35) make: *** [sub-make] Error 2

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160315/8c7e255c/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-03-15  7:11 Jagan Teki
@ 2016-03-15 12:01 ` Tom Rini
  2016-03-15 15:04   ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2016-03-15 12:01 UTC (permalink / raw)
  To: u-boot

On Tue, Mar 15, 2016 at 12:41:20PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa:
> 
>   Prepare v2016.03 (2016-03-14 10:20:21 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 77b8d04854f486741471ad02b93b473b5b3d72f8:
> 
>   spi: omap3: Convert to driver model (2016-03-14 22:46:28 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160315/f253631d/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2016-03-15  7:11 Jagan Teki
  2016-03-15 12:01 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2016-03-15  7:11 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa:

  Prepare v2016.03 (2016-03-14 10:20:21 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 77b8d04854f486741471ad02b93b473b5b3d72f8:

  spi: omap3: Convert to driver model (2016-03-14 22:46:28 +0530)

----------------------------------------------------------------
Jagan Teki (3):
      spi: omap3: Move headers code inside the driver
      spi: omap3: Make local functions as static
      spi: omap3: Convert to driver model

 drivers/spi/Kconfig     |   7 +
 drivers/spi/omap3_spi.c | 757 +++++++++++++++++++++++++++++++-----------------
 drivers/spi/omap3_spi.h | 109 -------
 3 files changed, 497 insertions(+), 376 deletions(-)
 delete mode 100644 drivers/spi/omap3_spi.h

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-03-12 14:44 Jagan Teki
@ 2016-03-13 13:45 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2016-03-13 13:45 UTC (permalink / raw)
  To: u-boot

On Sat, Mar 12, 2016 at 08:14:47PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please take these two fixes for this release.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 76aab9eb8b4618891914e41fa1ea84441f8c53fd:
> 
>   exynos5: common: Enable CONFIG_USB_ETHER_RTL8152 ethernet support (2016-03-11 10:59:51 +0900)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to ea9619aed6908e83b0679bd9c9aa4ae97714ef97:
> 
>   sf: Correct data types in stm_is_locked_sr() (2016-03-12 19:55:42 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160313/a2700b1e/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2016-03-12 14:44 Jagan Teki
  2016-03-13 13:45 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2016-03-12 14:44 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please take these two fixes for this release.

thanks!
Jagan.

The following changes since commit 76aab9eb8b4618891914e41fa1ea84441f8c53fd:

  exynos5: common: Enable CONFIG_USB_ETHER_RTL8152 ethernet support (2016-03-11 10:59:51 +0900)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to ea9619aed6908e83b0679bd9c9aa4ae97714ef97:

  sf: Correct data types in stm_is_locked_sr() (2016-03-12 19:55:42 +0530)

----------------------------------------------------------------
Lokesh Vutla (1):
      dm: ti_qspi: Fix conversion of address to a pointer

Marek Vasut (1):
      sf: Correct data types in stm_is_locked_sr()

 drivers/mtd/spi/spi_flash.c |  6 +++---
 drivers/spi/ti_qspi.c       | 10 +++++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-02-23 20:35 ` Tom Rini
  2016-02-25 17:13   ` Mugunthan V N
@ 2016-03-01  5:46   ` Mugunthan V N
  1 sibling, 0 replies; 217+ messages in thread
From: Mugunthan V N @ 2016-03-01  5:46 UTC (permalink / raw)
  To: u-boot

On Wednesday 24 February 2016 02:05 AM, Tom Rini wrote:
> On Tue, Feb 23, 2016 at 04:19:01PM +0530, Jagan Teki wrote:
> 
>> Hi Tom,
>>
>> Please pull this series.
>>
>> thanks!
>> Jagan.
>>
>> The following changes since commit 595af9db2422fa5ae734cfe615415b17a5098f34:
>>
>>   Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2016-02-21 07:56:16 -0500)
>>
>> are available in the git repository at:
>>
>>
>>   git://git.denx.de/u-boot-spi.git master
>>
>> for you to fetch changes up to 674f3609aad39f099a5c3605643a6be124504b96:
>>
>>   spi: spi-uclass: Set slave wordlen with SPI_DEFAULT_WORDLEN (2016-02-23 16:14:46 +0530)
>>
> 
> Applied to u-boot/master, thanks!
> 
> Mugunthan, can you please test QSPI boot on J6 or J6Eco?  My board isn't
> behaving well and I couldn't walk Nishanth through doing it on his (or,
> there's a problem..).  Thanks!
> 

Tom, I am able to boot DRA74x EVM in QSPI boot Logs [1].

[1] - http://pastebin.ubuntu.com/15249899/

Regards
Mugunthan V N

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-02-23 20:35 ` Tom Rini
@ 2016-02-25 17:13   ` Mugunthan V N
  2016-03-01  5:46   ` Mugunthan V N
  1 sibling, 0 replies; 217+ messages in thread
From: Mugunthan V N @ 2016-02-25 17:13 UTC (permalink / raw)
  To: u-boot

On Wednesday 24 February 2016 02:05 AM, Tom Rini wrote:
> On Tue, Feb 23, 2016 at 04:19:01PM +0530, Jagan Teki wrote:
> 
>> Hi Tom,
>>
>> Please pull this series.
>>
>> thanks!
>> Jagan.
>>
>> The following changes since commit 595af9db2422fa5ae734cfe615415b17a5098f34:
>>
>>   Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2016-02-21 07:56:16 -0500)
>>
>> are available in the git repository at:
>>
>>
>>   git://git.denx.de/u-boot-spi.git master
>>
>> for you to fetch changes up to 674f3609aad39f099a5c3605643a6be124504b96:
>>
>>   spi: spi-uclass: Set slave wordlen with SPI_DEFAULT_WORDLEN (2016-02-23 16:14:46 +0530)
>>
> 
> Applied to u-boot/master, thanks!
> 
> Mugunthan, can you please test QSPI boot on J6 or J6Eco?  My board isn't
> behaving well and I couldn't walk Nishanth through doing it on his (or,
> there's a problem..).  Thanks!
> 

Tom, I will do a qspi boot test tomorrow and update here.

Regards
Mugunthan V N

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-02-23 10:49 Jagan Teki
@ 2016-02-23 20:35 ` Tom Rini
  2016-02-25 17:13   ` Mugunthan V N
  2016-03-01  5:46   ` Mugunthan V N
  0 siblings, 2 replies; 217+ messages in thread
From: Tom Rini @ 2016-02-23 20:35 UTC (permalink / raw)
  To: u-boot

On Tue, Feb 23, 2016 at 04:19:01PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this series.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 595af9db2422fa5ae734cfe615415b17a5098f34:
> 
>   Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2016-02-21 07:56:16 -0500)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 674f3609aad39f099a5c3605643a6be124504b96:
> 
>   spi: spi-uclass: Set slave wordlen with SPI_DEFAULT_WORDLEN (2016-02-23 16:14:46 +0530)
> 

Applied to u-boot/master, thanks!

Mugunthan, can you please test QSPI boot on J6 or J6Eco?  My board isn't
behaving well and I couldn't walk Nishanth through doing it on his (or,
there's a problem..).  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160223/887440c8/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2016-02-23 10:49 Jagan Teki
  2016-02-23 20:35 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2016-02-23 10:49 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this series.

thanks!
Jagan.

The following changes since commit 595af9db2422fa5ae734cfe615415b17a5098f34:

  Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2016-02-21 07:56:16 -0500)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 674f3609aad39f099a5c3605643a6be124504b96:

  spi: spi-uclass: Set slave wordlen with SPI_DEFAULT_WORDLEN (2016-02-23 16:14:46 +0530)

----------------------------------------------------------------
Christophe Ricard (2):
      spi: omap3: Remove unused variable irqstatus in omap3_spi_txrx
      spi: spi-uclass: Set slave wordlen with SPI_DEFAULT_WORDLEN

Michal Simek (1):
      ARM: zynq: Wire-up saving environment to QSPI

Mugunthan V N (6):
      dm: implement a DMA uclass
      dma: Kconfig: Add TI_EDMA3 entry
      sf: spi_flash: use dma to copy data from mmap region if platform supports
      spi: ti_qspi: compile out spi_flash_copy_mmap when CONFIG_DMA is defined
      drivers: dma: ti-edma3: convert driver to adopt driver model
      defconfig: am437x_sk_evm: enable dma driver model

 configs/am437x_sk_evm_defconfig |  1 +
 drivers/dma/Kconfig             | 22 +++++++++++
 drivers/dma/Makefile            |  2 +
 drivers/dma/dma-uclass.c        | 72 ++++++++++++++++++++++++++++++++++
 drivers/dma/ti-edma3.c          | 82 ++++++++++++++++++++++++++++++++++++++-
 drivers/mtd/spi/spi_flash.c     |  9 +++++
 drivers/spi/omap3_spi.c         |  2 -
 drivers/spi/spi-uclass.c        |  1 +
 drivers/spi/ti_qspi.c           |  2 +-
 include/configs/zynq-common.h   |  4 ++
 include/dm/uclass-id.h          |  1 +
 include/dma.h                   | 86 +++++++++++++++++++++++++++++++++++++++++
 12 files changed, 279 insertions(+), 5 deletions(-)
 create mode 100644 drivers/dma/dma-uclass.c
 create mode 100644 include/dma.h

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-01-13 14:46 Jagan Teki
@ 2016-01-13 21:54 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2016-01-13 21:54 UTC (permalink / raw)
  To: u-boot

On Wed, Jan 13, 2016 at 08:16:41PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR - this sent intially before the release.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 077678eb0c226e52a1f90edabd3369ab26065b32:
> 
>   Merge git://git.denx.de/u-boot-dm (2016-01-12 18:12:42 -0500)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 69b41388ba45b853b3538f5b8cac8ab2154d36d8:
> 
>   dm: core: Add a new api to get indexed device address (2016-01-13 18:54:22 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160113/b4ae24c5/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2016-01-13 14:46 Jagan Teki
  2016-01-13 21:54 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2016-01-13 14:46 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR - this sent intially before the release.

thanks!
Jagan.

The following changes since commit 077678eb0c226e52a1f90edabd3369ab26065b32:

  Merge git://git.denx.de/u-boot-dm (2016-01-12 18:12:42 -0500)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 69b41388ba45b853b3538f5b8cac8ab2154d36d8:

  dm: core: Add a new api to get indexed device address (2016-01-13 18:54:22 +0530)

----------------------------------------------------------------
Jagan Teki (25):
      sf: Get spi locally from spi_flash
      spi: make mode visible to both dm and non-dm
      spi: Use mode instead of op_mode_tx
      spi: Rename SPI_TX_BP|QPP to SPI_TX_BYTE|QUAD
      sf: Move spi_read_cmds_array locally
      sf: Rename spi_flash_set_* functions
      sf: Rename bank_end to bar_end in read_bar
      sf: Remove spi_flash_remove
      sf: Minor cleanup
      sf: Use BIT macro
      sf: Fix quad bit set for micron devices
      sf: Read back and check once spansion quad bit set
      sf: Read back and check once macronix quad bit set
      sf: Write quad bit along with read status
      spi: Remove SPI_OPM_RX_EXTN
      spi: Remove SPI_OPM_RX_DIO|QIOF
      spi: Rename SPI_OPM_RX_* to SPI_RX_*
      spi: Rename op_mode_rx to mode_rx
      spi: Move flags macro's to spi_slave{} members
      spi: Fix bit assignment with flags
      spi: Use BIT macro
      spi: Minor cleanup
      sf: Make IO modes at last in read modes
      spi: Add SPI_TX_DUAL mode
      power: pmic.h: Drop include <spi.h>

Mugunthan V N (17):
      drivers: spi: ti_qspi: do not hard code chip select for memory map configuration
      drivers: spi:ti_qspi: change ti_qspi_slave to ti_qspi_priv for driver model conversion
      drivers: spi: ti_qspi: prepare driver for DM conversion
      spi: Add support for dual and quad mode
      dra7xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl
      dts: dra7: add spi alias for qspi
      drivers: spi: ti_qspi: convert driver to adopt device driver model
      arm: dts: dra7: add qspi register maps for memory map and control module
      arm: dts: am437x-gp-evm: add spi-flash comaptible for flash
      arm: dts: dra7-evm: add spi-flash comaptible for flash
      arm: dts: dra72-evm: add spi-flash comaptible for flash
      defconfig: dra72_evm: enable spi driver model
      defconfig: dra74_evm: enable spi driver model
      am43xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl
      arm: dts: am4372: add qspi register maps for memory map
      defconfig: am437x_sk_evm: enable spi driver model
      dm: core: Add a new api to get indexed device address

 arch/arm/dts/am4372.dtsi        |   5 +-
 arch/arm/dts/am437x-sk-evm.dts  |   2 +-
 arch/arm/dts/dra7-evm.dts       |   2 +-
 arch/arm/dts/dra7.dtsi          |   8 +-
 arch/arm/dts/dra72-evm.dts      |   2 +-
 configs/am437x_sk_evm_defconfig |   3 +
 configs/dra72_evm_defconfig     |   2 +
 configs/dra74_evm_defconfig     |   2 +
 drivers/core/device.c           |  31 ++-
 drivers/mtd/spi/sf-uclass.c     |   7 +-
 drivers/mtd/spi/sf_internal.h   |  55 +++--
 drivers/mtd/spi/sf_probe.c      |   2 +-
 drivers/mtd/spi/spi_flash.c     | 185 +++++++++-----
 drivers/spi/ich.c               |   4 +-
 drivers/spi/spi-uclass.c        |  38 ++-
 drivers/spi/ti_qspi.c           | 524 ++++++++++++++++++++++++++++------------
 include/configs/am43xx_evm.h    |   2 +
 include/configs/dra7xx_evm.h    |   5 +
 include/dm/device.h             |  11 +
 include/power/pmic.h            |   1 -
 include/spi.h                   |  75 +++---
 include/spi_flash.h             |   2 -
 22 files changed, 667 insertions(+), 301 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2016-01-07 17:02 Jagan Teki
@ 2016-01-07 17:42 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2016-01-07 17:42 UTC (permalink / raw)
  To: u-boot

On Thu, Jan 07, 2016 at 10:32:08PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 78680314c53a95c0bb25e942662979843b60d7b9:
> 
>   Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2015-12-27 09:15:57 -0500)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 8770413f380d07439bc9ad60c6b4d108d5a9adf0:
> 
>   spi: fsl_qspi: fix an error of using GENMASK (2016-01-07 20:29:33 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160107/e4191c60/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2016-01-07 17:02 Jagan Teki
  2016-01-07 17:42 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2016-01-07 17:02 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 78680314c53a95c0bb25e942662979843b60d7b9:

  Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2015-12-27 09:15:57 -0500)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 8770413f380d07439bc9ad60c6b4d108d5a9adf0:

  spi: fsl_qspi: fix an error of using GENMASK (2016-01-07 20:29:33 +0530)

----------------------------------------------------------------
Fabio Estevam (1):
      spi: spi_flash: Fix the arguments of stm_is_locked_sr()

Gong Qianyu (1):
      spi: fsl_qspi: fix an error of using GENMASK

 drivers/mtd/spi/spi_flash.c | 4 ++--
 drivers/spi/fsl_qspi.c      | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-12-11 16:53 Jagan Teki
@ 2015-12-12  1:13 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2015-12-12  1:13 UTC (permalink / raw)
  To: u-boot

On Fri, Dec 11, 2015 at 10:23:06PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 789fa275b3750e60c60cb3d18eabc9467892c257:
> 
>   x86: Remove HAVE_ACPI_RESUME (2015-12-09 17:44:56 +0800)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 76de51a6da0411e1f3e80e1c9a2ef5bfa8e35571:
> 
>   spi: xilinx: Add new compatible strings (2015-12-11 22:12:24 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151211/6fc06c80/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2015-12-11 16:53 Jagan Teki
  2015-12-12  1:13 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2015-12-11 16:53 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 789fa275b3750e60c60cb3d18eabc9467892c257:

  x86: Remove HAVE_ACPI_RESUME (2015-12-09 17:44:56 +0800)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 76de51a6da0411e1f3e80e1c9a2ef5bfa8e35571:

  spi: xilinx: Add new compatible strings (2015-12-11 22:12:24 +0530)

----------------------------------------------------------------
Jagan Teki (17):
      spi: Get spi-3wire from dts
      spi: ti_qspi: Fix SPI_3WIRE checking using mode
      sf: spi_flash_validate_params => spi_flash_scan
      sf: Move spi_flash_scan code to sf_ops
      sf: Move read_id code to sf_ops
      sf: probe: Code cleanup
      sf: Use static for file-scope functions
      sf: Fix Makefile
      sf: Use simple name for register access functions
      sf: Flash power up read-only based on idcode0
      sf: Remove unneeded header includes
      sf: Remove unneeded SST_BP and SST_WP
      sf: ops: Fix missing break on spansion read_bar
      sf: sf_probe: Remove spi_slave pointer argument
      sf: Use static for file-scope functions
      sf: Rename sf_ops.c to spi-flash.c
      mailmap: Update Jagan Teki's name and email address

Michal Simek (3):
      spi: zynq_spi: Add cadence compatible string
      spi: Kconfig: Fix correct target name for ZynqMP
      spi: xilinx: Add new compatible strings

Peng Fan (1):
      imx: mx7dsabresd: Add QSPI support

 .mailmap                                  |   6 +-
 board/freescale/mx7dsabresd/mx7dsabresd.c |  30 +++
 drivers/mtd/spi/Makefile                  |   6 +-
 drivers/mtd/spi/sf_internal.h             |  38 ++-
 drivers/mtd/spi/sf_probe.c                | 373 +--------------------------
 drivers/mtd/spi/{sf_ops.c => spi_flash.c} | 406 ++++++++++++++++++++++++++++--
 drivers/spi/Kconfig                       |   2 +-
 drivers/spi/spi-uclass.c                  |   2 +
 drivers/spi/ti_qspi.c                     |   2 +-
 drivers/spi/xilinx_spi.c                  |   3 +-
 drivers/spi/zynq_spi.c                    |   1 +
 include/configs/mx7dsabresd.h             |  15 ++
 12 files changed, 465 insertions(+), 419 deletions(-)
 rename drivers/mtd/spi/{sf_ops.c => spi_flash.c} (60%)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-11-19 17:46 Jagan Teki
@ 2015-11-19 22:07 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2015-11-19 22:07 UTC (permalink / raw)
  To: u-boot

On Thu, Nov 19, 2015 at 11:16:40PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 3d4825446e4258192e1f2302d691a8c0c82a0975:
> 
>   Prepare v2016.01-rc1 (2015-11-16 20:29:51 -0500)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 3e56ecec435d30e25fcffb971f8c9627e85ac1df:
> 
>   sf: Correct flash->flags for SST flash (2015-11-18 12:52:05 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151119/275ab6f8/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2015-11-19 17:46 Jagan Teki
  2015-11-19 22:07 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2015-11-19 17:46 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 3d4825446e4258192e1f2302d691a8c0c82a0975:

  Prepare v2016.01-rc1 (2015-11-16 20:29:51 -0500)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 3e56ecec435d30e25fcffb971f8c9627e85ac1df:

  sf: Correct flash->flags for SST flash (2015-11-18 12:52:05 +0530)

----------------------------------------------------------------
Bin Meng (1):
      sf: Correct flash->flags for SST flash

Fabio Estevam (2):
      sf: Add lock ops for SST SPI NOR flash
      spi: sf_ops: Check the return value from spi_flash_cmd_read_status()

Jagan Teki (1):
      sf: Remove eeprom_m95xxx test driver

Vignesh R (2):
      spi: ti_qspi: Add dummy readl for bus sync
      ARM: am43xx: Enable QUAD read and EDMA support for ti_qspi

 arch/arm/include/asm/arch-am33xx/hardware_am43xx.h |   3 +
 drivers/mtd/spi/Makefile                           |   1 -
 drivers/mtd/spi/eeprom_m95xxx.c                    | 111 ---------------------
 drivers/mtd/spi/sf_internal.h                      |   1 +
 drivers/mtd/spi/sf_ops.c                           |  14 ++-
 drivers/mtd/spi/sf_probe.c                         |  12 ++-
 drivers/spi/ti_qspi.c                              |   2 +
 include/configs/am43xx_evm.h                       |   2 +
 8 files changed, 25 insertions(+), 121 deletions(-)
 delete mode 100644 drivers/mtd/spi/eeprom_m95xxx.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-10-28 18:22 Jagan Teki
  2015-10-28 18:25 ` Otavio Salvador
@ 2015-10-29  1:42 ` Tom Rini
  1 sibling, 0 replies; 217+ messages in thread
From: Tom Rini @ 2015-10-29  1:42 UTC (permalink / raw)
  To: u-boot

On Wed, Oct 28, 2015 at 11:52:15PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR, and skip the previous one [1]
> 
> [1] https://patchwork.ozlabs.org/patch/535548/
> 
> thanks!
> Jagan.
> 
> The following changes since commit 677f970bc62a661690b3431543d5a5d5e682ba70:
> 
>   common/board_f.c: modify the macro to use get_clocks() more common (2015-10-24 13:50:38 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to bef87adf95e7ca923f866e27bbcccb2dad85df9f:
> 
>   spi: altera_spi: Minor cleanup (2015-10-28 13:54:09 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151028/222636b9/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-10-28 18:25 ` Otavio Salvador
@ 2015-10-28 18:31   ` Jagan Teki
  0 siblings, 0 replies; 217+ messages in thread
From: Jagan Teki @ 2015-10-28 18:31 UTC (permalink / raw)
  To: u-boot

On 28 October 2015 at 23:55, Otavio Salvador
<otavio.salvador@ossystems.com.br> wrote:
> On Wed, Oct 28, 2015 at 4:22 PM, Jagan Teki <jteki@openedev.com> wrote:
>> Please pull this PR, and skip the previous one [1]
>>
>> [1] https://patchwork.ozlabs.org/patch/535548/
>
> What about Fabio's serie? it is required for the Congatec support to
> go in as well.

Next TODO!

thanks!
-- 
Jagan | openedev.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-10-28 18:22 Jagan Teki
@ 2015-10-28 18:25 ` Otavio Salvador
  2015-10-28 18:31   ` Jagan Teki
  2015-10-29  1:42 ` Tom Rini
  1 sibling, 1 reply; 217+ messages in thread
From: Otavio Salvador @ 2015-10-28 18:25 UTC (permalink / raw)
  To: u-boot

On Wed, Oct 28, 2015 at 4:22 PM, Jagan Teki <jteki@openedev.com> wrote:
> Please pull this PR, and skip the previous one [1]
>
> [1] https://patchwork.ozlabs.org/patch/535548/

What about Fabio's serie? it is required for the Congatec support to
go in as well.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2015-10-28 18:22 Jagan Teki
  2015-10-28 18:25 ` Otavio Salvador
  2015-10-29  1:42 ` Tom Rini
  0 siblings, 2 replies; 217+ messages in thread
From: Jagan Teki @ 2015-10-28 18:22 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR, and skip the previous one [1]

[1] https://patchwork.ozlabs.org/patch/535548/

thanks!
Jagan.

The following changes since commit 677f970bc62a661690b3431543d5a5d5e682ba70:

  common/board_f.c: modify the macro to use get_clocks() more common (2015-10-24 13:50:38 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to bef87adf95e7ca923f866e27bbcccb2dad85df9f:

  spi: altera_spi: Minor cleanup (2015-10-28 13:54:09 +0530)

----------------------------------------------------------------
Jagan Teki (51):
      spi: Add zynq qspi controller driver
      dts: zynq: Add zynq qspi controller nodes
      doc: device-tree-bindings: spi: Add zynq qspi info
      dts: microzed: Enable zynq qspi controller node
      dts: zc702: Enable zynq qspi controller node
      dts: zc706: Enable zynq qspi controller node
      dts: zc770-xm010: Enable zynq qspi controller node
      dts: zed: Enable zynq qspi controller node
      configs: Enable legacy SPI flash interface support
      zynq-common: Enable zynq qspi controller support
      zynq-common: Enable Bank/Extended address register support
      configs: zynq: Enable zynq qspi controller
      spi: Kconfig: Add Zynq QSPI controller entry
      spi: zynq_spi: Add config reg shift named macros
      spi: zynq_spi: Rename baudrate divisor mask name
      spi: zynq_spi: Store cs value into private data
      sf: params: Add IS25LP032 part support
      sf: params: Add IS25LP064 part support
      sf: params: Add IS25LP128 part support
      zynq-common: Enable ISSI SPI-NOR flash support
      spi: zynq_qspi: Fix to configure CPOL, CPHA mask
      spi: zynq_spi: Remove unneeded headers
      sf: Return bank_sel, if flash->bank_curr == bank_sel
      sf: Add spi_flash_read_bar
      sf: Optimize BAR write code
      sf: Make flash->flags use for generic usage
      sf: Update status reg check in spi_flash_cmd_wait_ready
      sf: Add FSR support to spi_flash_cmd_wait_ready
      spi: zynq_qspi: Minor cleanups
      spi: zynq_[q]spi: Use BIT macro
      spi: zynq_[q]spi: Use GENMASK macro
      spi: atmel_spi: Use BIT macro
      spi: bfin_spi6xx: Use BIT macro
      spi: cadence_qspi_apb: Use BIT macro
      spi: designware_spi: Use BIT macro
      spi: fsl: Use BIT macro
      spi: ich: Use BIT macro
      spi: mpc8xxx_spi: Use BIT macro
      spi: omap3_spi: Use BIT macro
      spi: sh_qspi: Use BIT macro
      spi: tegra: Use BIT macro
      spi: ti_qspi: Use BIT macro
      spi: xilinx_spi: Use BIT macro
      spi: atmel_spi: Use GENMASK
      spi: designware_spi: Use GENMASK
      spi: fsl_qspi: Use GENMASK
      spi: omap3_spi: Use GENMASK
      spi: tegra: Use GENMASK
      spi: xilinx_spi: Use GENMASK
      spi: altera_spi: Use BIT macro
      spi: altera_spi: Minor cleanup

Siva Durga Prasad Paladugu (1):
      zynq-common: Add SPL SPI offset, size configs

 arch/arm/dts/zynq-7000.dtsi                    |  12 +
 arch/arm/dts/zynq-microzed.dts                 |   5 +
 arch/arm/dts/zynq-zc702.dts                    |   5 +
 arch/arm/dts/zynq-zc706.dts                    |   5 +
 arch/arm/dts/zynq-zc770-xm010.dts              |   7 +-
 arch/arm/dts/zynq-zed.dts                      |   5 +
 configs/zynq_microzed_defconfig                |   2 +
 configs/zynq_zc702_defconfig                   |   2 +
 configs/zynq_zc706_defconfig                   |   2 +
 configs/zynq_zc70x_defconfig                   |   2 +
 configs/zynq_zc770_xm010_defconfig             |   1 +
 configs/zynq_zed_defconfig                     |   2 +
 doc/device-tree-bindings/spi/spi-zynq-qspi.txt |  26 ++
 drivers/mtd/spi/sf_internal.h                  |   5 +
 drivers/mtd/spi/sf_ops.c                       | 138 +++---
 drivers/mtd/spi/sf_params.c                    |   5 +
 drivers/mtd/spi/sf_probe.c                     |  67 +--
 drivers/spi/Kconfig                            |   9 +
 drivers/spi/Makefile                           |   1 +
 drivers/spi/altera_spi.c                       |  10 +-
 drivers/spi/atmel_spi.h                        |  54 +--
 drivers/spi/bfin_spi6xx.c                      |   8 +-
 drivers/spi/cadence_qspi_apb.c                 |  28 +-
 drivers/spi/designware_spi.c                   |  16 +-
 drivers/spi/fsl_dspi.c                         |   2 +-
 drivers/spi/fsl_espi.c                         |  20 +-
 drivers/spi/fsl_qspi.c                         |   6 +-
 drivers/spi/ich.c                              |   4 +-
 drivers/spi/mpc8xxx_spi.c                      |   2 +-
 drivers/spi/omap3_spi.h                        |  64 +--
 drivers/spi/sh_qspi.c                          |  16 +-
 drivers/spi/tegra114_spi.c                     |  76 +--
 drivers/spi/tegra20_sflash.c                   |  54 +--
 drivers/spi/tegra20_slink.c                    |  62 +--
 drivers/spi/ti_qspi.c                          |  10 +-
 drivers/spi/xilinx_spi.c                       |  46 +-
 drivers/spi/zynq_qspi.c                        | 621 +++++++++++++++++++++++++
 drivers/spi/zynq_spi.c                         |  46 +-
 include/configs/zynq-common.h                  |  15 +
 include/spi_flash.h                            |   6 +-
 40 files changed, 1101 insertions(+), 366 deletions(-)
 create mode 100644 doc/device-tree-bindings/spi/spi-zynq-qspi.txt
 create mode 100644 drivers/spi/zynq_qspi.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2015-10-25  8:04 Jagan Teki
  0 siblings, 0 replies; 217+ messages in thread
From: Jagan Teki @ 2015-10-25  8:04 UTC (permalink / raw)
  To: u-boot

Hi Tom,

This PR will also include zynq changes which I sent before the release.
And the zynq SPI SPL build issue still there, as Michal need to send 
related patches.

thanks!
Jagan.

The following changes since commit 677f970bc62a661690b3431543d5a5d5e682ba70:

  common/board_f.c: modify the macro to use get_clocks() more common (2015-10-24 13:50:38 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 760178738cd610895b684293492600d69665be6d:

  spi: altera_spi: Use BIT macro (2015-10-25 10:16:31 +0530)

----------------------------------------------------------------
Jagan Teki (50):
      spi: Add zynq qspi controller driver
      dts: zynq: Add zynq qspi controller nodes
      doc: device-tree-bindings: spi: Add zynq qspi info
      dts: microzed: Enable zynq qspi controller node
      dts: zc702: Enable zynq qspi controller node
      dts: zc706: Enable zynq qspi controller node
      dts: zc770-xm010: Enable zynq qspi controller node
      dts: zed: Enable zynq qspi controller node
      configs: Enable legacy SPI flash interface support
      zynq-common: Enable zynq qspi controller support
      zynq-common: Enable Bank/Extended address register support
      configs: zynq: Enable zynq qspi controller
      spi: Kconfig: Add Zynq QSPI controller entry
      spi: zynq_spi: Add config reg shift named macros
      spi: zynq_spi: Rename baudrate divisor mask name
      spi: zynq_spi: Store cs value into private data
      sf: params: Add IS25LP032 part support
      sf: params: Add IS25LP064 part support
      sf: params: Add IS25LP128 part support
      zynq-common: Enable ISSI SPI-NOR flash support
      spi: zynq_qspi: Fix to configure CPOL, CPHA mask
      spi: zynq_spi: Remove unneeded headers
      sf: Return bank_sel, if flash->bank_curr == bank_sel
      sf: Add spi_flash_read_bar
      sf: Optimize BAR write code
      sf: Make flash->flags use for generic usage
      sf: Update status reg check in spi_flash_cmd_wait_ready
      sf: Add FSR support to spi_flash_cmd_wait_ready
      spi: zynq_qspi: Use __func__ on debug
      spi: zynq_[q]spi: Use BIT macro
      spi: zynq_[q]spi: Use GENMASK macro
      spi: atmel_spi: Use BIT macro
      spi: bfin_spi6xx: Use BIT macro
      spi: cadence_qspi_apb: Use BIT macro
      spi: designware_spi: Use BIT macro
      spi: fsl: Use BIT macro
      spi: ich: Use BIT macro
      spi: mpc8xxx_spi: Use BIT macro
      spi: omap3_spi: Use BIT macro
      spi: sh_qspi: Use BIT macro
      spi: tegra: Use BIT macro
      spi: ti_qspi: Use BIT macro
      spi: xilinx_spi: Use BIT macro
      spi: atmel_spi: Use GENMASK
      spi: designware_spi: Use GENMASK
      spi: fsl_qspi: Use GENMASK
      spi: omap3_spi: Use GENMASK
      spi: tegra: Use GENMASK
      spi: xilinx_spi: Use GENMASK
      spi: altera_spi: Use BIT macro

Siva Durga Prasad Paladugu (1):
      zynq-common: Add SPL SPI offset, size configs

 arch/arm/dts/zynq-7000.dtsi                    |  12 +
 arch/arm/dts/zynq-microzed.dts                 |   5 +
 arch/arm/dts/zynq-zc702.dts                    |   5 +
 arch/arm/dts/zynq-zc706.dts                    |   5 +
 arch/arm/dts/zynq-zc770-xm010.dts              |   7 +-
 arch/arm/dts/zynq-zed.dts                      |   5 +
 configs/zynq_microzed_defconfig                |   2 +
 configs/zynq_zc702_defconfig                   |   2 +
 configs/zynq_zc706_defconfig                   |   2 +
 configs/zynq_zc70x_defconfig                   |   2 +
 configs/zynq_zc770_xm010_defconfig             |   1 +
 configs/zynq_zed_defconfig                     |   2 +
 doc/device-tree-bindings/spi/spi-zynq-qspi.txt |  26 ++
 drivers/mtd/spi/sf_internal.h                  |   5 +
 drivers/mtd/spi/sf_ops.c                       | 138 +++---
 drivers/mtd/spi/sf_params.c                    |   5 +
 drivers/mtd/spi/sf_probe.c                     |  67 +--
 drivers/spi/Kconfig                            |   9 +
 drivers/spi/Makefile                           |   1 +
 drivers/spi/altera_spi.c                       |   8 +-
 drivers/spi/atmel_spi.h                        |  54 +--
 drivers/spi/bfin_spi6xx.c                      |   8 +-
 drivers/spi/cadence_qspi_apb.c                 |  28 +-
 drivers/spi/designware_spi.c                   |  16 +-
 drivers/spi/fsl_dspi.c                         |   2 +-
 drivers/spi/fsl_espi.c                         |  20 +-
 drivers/spi/fsl_qspi.c                         |   6 +-
 drivers/spi/ich.c                              |   4 +-
 drivers/spi/mpc8xxx_spi.c                      |   2 +-
 drivers/spi/omap3_spi.h                        |  64 +--
 drivers/spi/sh_qspi.c                          |  16 +-
 drivers/spi/tegra114_spi.c                     |  76 +--
 drivers/spi/tegra20_sflash.c                   |  54 +--
 drivers/spi/tegra20_slink.c                    |  62 +--
 drivers/spi/ti_qspi.c                          |  10 +-
 drivers/spi/xilinx_spi.c                       |  46 +-
 drivers/spi/zynq_qspi.c                        | 621 +++++++++++++++++++++++++
 drivers/spi/zynq_spi.c                         |  46 +-
 include/configs/zynq-common.h                  |  15 +
 include/spi_flash.h                            |   6 +-
 40 files changed, 1100 insertions(+), 365 deletions(-)
 create mode 100644 doc/device-tree-bindings/spi/spi-zynq-qspi.txt
 create mode 100644 drivers/spi/zynq_qspi.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-08-18  6:38 Jagan Teki
@ 2015-08-18 14:47 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2015-08-18 14:47 UTC (permalink / raw)
  To: u-boot

On Tue, Aug 18, 2015 at 12:08:17PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 632093b566569329bc6e5b0893bdca01de905314:
> 
>   Merge git://git.denx.de/u-boot-x86 (2015-08-14 16:27:16 -0400)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to fc5e22008a668a75d108ebf8edc93849c6f9dcb4:
> 
>   ARM: dra7xx_evm: Enable EDMA3 in SPL to support DMA on qspi (2015-08-17 23:29:15 +0530)
> 

Reviewed-by: Tom Rini <trini@konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150818/eff1a6a7/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2015-08-18  6:38 Jagan Teki
  2015-08-18 14:47 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2015-08-18  6:38 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 632093b566569329bc6e5b0893bdca01de905314:

  Merge git://git.denx.de/u-boot-x86 (2015-08-14 16:27:16 -0400)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to fc5e22008a668a75d108ebf8edc93849c6f9dcb4:

  ARM: dra7xx_evm: Enable EDMA3 in SPL to support DMA on qspi (2015-08-17 23:29:15 +0530)

----------------------------------------------------------------
Kishon Vijay Abraham I (2):
      ARM: AM43xx: Add support for disabling clocks in uboot
      ARM: OMAP5: Add support for disabling clocks in uboot

Marek Vasut (1):
      sf: Make 4K sector support configurable

Ravi Babu (2):
      sf: allocate cache aligned buffers to copy from flash
      env: use cache line aligned memory for flash read

Tom Rini (1):
      sf: ops: Add spi_flash_copy_mmap function

Vignesh R (5):
      ARM: OMAP5: Add functions to enable and disable EDMA3 clocks
      ARM: AM43XX: Add functions to enable and disable EDMA3 clocks
      dma: ti-edma3: Add helper function to support edma3 transfer
      spi: ti_qspi: Use DMA to read from qspi flash
      ARM: dra7xx_evm: Enable EDMA3 in SPL to support DMA on qspi

vishalm at ti.com (1):
      ti: qspi: set flash quad bit based on quad support flag

 arch/arm/cpu/armv7/am33xx/clock.c              | 52 +++++++++++++++++
 arch/arm/cpu/armv7/am33xx/clock_am43xx.c       | 36 ++++++++++++
 arch/arm/cpu/armv7/omap-common/clocks-common.c | 53 +++++++++++++++++
 arch/arm/cpu/armv7/omap5/hw_data.c             | 41 ++++++++++++++
 arch/arm/cpu/armv7/omap5/prcm-regs.c           |  4 ++
 arch/arm/include/asm/arch-am33xx/clock.h       |  1 +
 arch/arm/include/asm/arch-omap5/hardware.h     |  5 ++
 arch/arm/include/asm/omap_common.h             | 11 ++++
 arch/arm/include/asm/ti-common/ti-edma3.h      |  2 +
 common/cmd_sf.c                                |  6 +-
 common/env_sf.c                                | 11 ++--
 drivers/dma/ti-edma3.c                         | 78 ++++++++++++++++++++++++++
 drivers/mtd/spi/Kconfig                        | 15 +++++
 drivers/mtd/spi/sf_internal.h                  |  4 ++
 drivers/mtd/spi/sf_ops.c                       |  8 ++-
 drivers/spi/ti_qspi.c                          | 27 ++++++++-
 include/configs/dra7xx_evm.h                   |  2 +
 include/spi.h                                  |  3 +
 18 files changed, 349 insertions(+), 10 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-07-04  8:41 Jagan Teki
  2015-07-04 11:42 ` Tom Rini
@ 2015-07-14 22:12 ` Tom Rini
  1 sibling, 0 replies; 217+ messages in thread
From: Tom Rini @ 2015-07-14 22:12 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 04, 2015 at 02:11:35PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 891b487098ee2169a16b1bbb354aaef28aa90630:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-spi (2015-07-01 15:38:12 -0400)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 8097cba809d8c40d8fe72f792c7dc0644c845a32:
> 
>   spi: cadence_qspi: add device tree binding doc (2015-07-03 13:50:53 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150714/213b9376/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-07-04 11:42 ` Tom Rini
@ 2015-07-07 15:26   ` Jagan Teki
  0 siblings, 0 replies; 217+ messages in thread
From: Jagan Teki @ 2015-07-07 15:26 UTC (permalink / raw)
  To: u-boot

On 4 July 2015 at 17:12, Tom Rini <trini@konsulko.com> wrote:
> On Sat, Jul 04, 2015 at 02:11:35PM +0530, Jagan Teki wrote:
>> Hi Tom,
>>
>> Please pull this PR.
>>
>> thanks!
>> Jagan.
>>
>> The following changes since commit 891b487098ee2169a16b1bbb354aaef28aa90630:
>>
>>   Merge branch 'master' of git://git.denx.de/u-boot-spi (2015-07-01 15:38:12 -0400)
>>
>> are available in the git repository at:
>>
>>
>>   git://git.denx.de/u-boot-spi.git master
>>
>> for you to fetch changes up to 8097cba809d8c40d8fe72f792c7dc0644c845a32:
>>
>>   spi: cadence_qspi: add device tree binding doc (2015-07-03 13:50:53 +0530)
>>
>> ----------------------------------------------------------------
>> Vikas Manocha (10):
>>       stv0991: enable saving enrironment in spi flash
>>       stv0991: move OF_CONTROL config to defconfig
>>       stv0991: remove define CONFIG_OF_SEPARATE from board file
>>       stv0991: configure clock & pad muxing for qspi
>>       stv0991: enable cadence qspi controller & spi flash
>>       stv0991: configure device tree for cadence qspi & flash
>>       spi: cadence_qspi: move the sram partition in init
>>       spi: cadence_qspi: get sram size from device tree
>>       spi: cadence_qspi: support FIFO width other than 4 bytes
>>       spi: cadence_qspi: add device tree binding doc
>
> Given the planned release on the 13th, is any of this stuff that can't
> wait?  Thanks!

No issues, May be you can apply once tag done.

thanks!
-- 
Jagan | openedev.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-07-04  8:41 Jagan Teki
@ 2015-07-04 11:42 ` Tom Rini
  2015-07-07 15:26   ` Jagan Teki
  2015-07-14 22:12 ` Tom Rini
  1 sibling, 1 reply; 217+ messages in thread
From: Tom Rini @ 2015-07-04 11:42 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 04, 2015 at 02:11:35PM +0530, Jagan Teki wrote:
> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 891b487098ee2169a16b1bbb354aaef28aa90630:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-spi (2015-07-01 15:38:12 -0400)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 8097cba809d8c40d8fe72f792c7dc0644c845a32:
> 
>   spi: cadence_qspi: add device tree binding doc (2015-07-03 13:50:53 +0530)
> 
> ----------------------------------------------------------------
> Vikas Manocha (10):
>       stv0991: enable saving enrironment in spi flash
>       stv0991: move OF_CONTROL config to defconfig
>       stv0991: remove define CONFIG_OF_SEPARATE from board file
>       stv0991: configure clock & pad muxing for qspi
>       stv0991: enable cadence qspi controller & spi flash
>       stv0991: configure device tree for cadence qspi & flash
>       spi: cadence_qspi: move the sram partition in init
>       spi: cadence_qspi: get sram size from device tree
>       spi: cadence_qspi: support FIFO width other than 4 bytes
>       spi: cadence_qspi: add device tree binding doc

Given the planned release on the 13th, is any of this stuff that can't
wait?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150704/944f1101/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2015-07-04  8:41 Jagan Teki
  2015-07-04 11:42 ` Tom Rini
  2015-07-14 22:12 ` Tom Rini
  0 siblings, 2 replies; 217+ messages in thread
From: Jagan Teki @ 2015-07-04  8:41 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 891b487098ee2169a16b1bbb354aaef28aa90630:

  Merge branch 'master' of git://git.denx.de/u-boot-spi (2015-07-01 15:38:12 -0400)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 8097cba809d8c40d8fe72f792c7dc0644c845a32:

  spi: cadence_qspi: add device tree binding doc (2015-07-03 13:50:53 +0530)

----------------------------------------------------------------
Vikas Manocha (10):
      stv0991: enable saving enrironment in spi flash
      stv0991: move OF_CONTROL config to defconfig
      stv0991: remove define CONFIG_OF_SEPARATE from board file
      stv0991: configure clock & pad muxing for qspi
      stv0991: enable cadence qspi controller & spi flash
      stv0991: configure device tree for cadence qspi & flash
      spi: cadence_qspi: move the sram partition in init
      spi: cadence_qspi: get sram size from device tree
      spi: cadence_qspi: support FIFO width other than 4 bytes
      spi: cadence_qspi: add device tree binding doc

 arch/arm/Kconfig                                   |  3 ++
 arch/arm/cpu/armv7/stv0991/clock.c                 |  4 +-
 arch/arm/cpu/armv7/stv0991/pinmux.c                |  5 ++
 arch/arm/dts/socfpga.dtsi                          |  1 +
 arch/arm/dts/stv0991.dts                           | 30 +++++++++++
 arch/arm/include/asm/arch-stv0991/stv0991_cgu.h    | 15 ++++++
 arch/arm/include/asm/arch-stv0991/stv0991_creg.h   |  9 ++++
 arch/arm/include/asm/arch-stv0991/stv0991_periph.h |  2 +
 board/st/stv0991/stv0991.c                         |  8 +++
 configs/stv0991_defconfig                          |  2 +-
 doc/device-tree-bindings/spi/spi-cadence.txt       | 28 ++++++++++
 drivers/spi/cadence_qspi.c                         |  1 +
 drivers/spi/cadence_qspi.h                         |  1 +
 drivers/spi/cadence_qspi_apb.c                     | 62 +++++++++-------------
 include/configs/stv0991.h                          | 21 ++++++--
 15 files changed, 151 insertions(+), 41 deletions(-)
 create mode 100644 doc/device-tree-bindings/spi/spi-cadence.txt

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-07-01 17:33 Jagan Teki
@ 2015-07-01 21:56 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2015-07-01 21:56 UTC (permalink / raw)
  To: u-boot

On Wed, Jul 01, 2015 at 11:03:26PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull these series for Kconfig/defconfig updates
> for spi/sf subsystems.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 8ee81b7f9b675cb675119a998b04ca843d24ddcd:
> 
>   mtd, spi: Check if flash pointer is used (2015-06-30 00:40:11 +0530)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 8aa5f1d971df0f668144759991e19b5195606a32:
> 
>   spi: cf_qspi: fix clamp macro type check compilation warnings (2015-07-01 22:58:50 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150701/6785fb03/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2015-07-01 17:33 Jagan Teki
  2015-07-01 21:56 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2015-07-01 17:33 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull these series for Kconfig/defconfig updates
for spi/sf subsystems.

thanks!
Jagan.

The following changes since commit 8ee81b7f9b675cb675119a998b04ca843d24ddcd:

  mtd, spi: Check if flash pointer is used (2015-06-30 00:40:11 +0530)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 8aa5f1d971df0f668144759991e19b5195606a32:

  spi: cf_qspi: fix clamp macro type check compilation warnings (2015-07-01 22:58:50 +0530)

----------------------------------------------------------------
Angelo Dureghello (1):
      spi: cf_qspi: fix clamp macro type check compilation warnings

Haikun Wang (1):
      sf: update sst25wf040b flash params

Jagan Teki (43):
      spi: Zap andes_spi driver
      spi: Zap ftssp010_spi driver
      spi: Zap oc_tiny_spi driver
      spi: xilinx_spi: Move header code to driver
      spi: xilinx_spi: Driver clean-up
      spi: davinci_spi: Move header code to driver
      spi: davinci_spi: Driver cleanup
      spi/sf: Minor cleanups
      dm: spi: zynq_spi: Convert to driver model
      zynq: Kconfig: Enable dm spi and spi_flash
      dts: zynq: Add zynq spi controller nodes
      spi: zynq_spi: Add fdt support in driver
      dts: zynq: Enable spi1 for zc770_xm010 board
      dm: spi: xilinx_spi: Convert to driver model
      spi: xilinx_spi: Add asm/io.h include file
      spi: Kconfig: Add Zynq SPI controller entry
      defconfig: Add CONFIG_OF_CONTROL in zynq_picozed
      zynq: defconfig: Move CONFIG_OF_* to Kconfig
      sf: dataflash: Rename to CONFIG_SPI_FLASH_DATAFLASH
      README: Add CONFIG_SPI_FLASH_DATAFLASH description
      sf: Add Kconfig menu entry
      common: Add CMD_SF Kconfig entry
      sf: Kconfig: Update SPI_FLASH entry
      sf: Kconfig: Add SPI_FLASH_MTD entry
      sf: Kconfig: Add SPI_FLASH_DATAFLASH entry
      spi: Add Kconfig menu entry
      spi: Kconfig: Add XILINX_SPI entry
      spi: Kconfig: Add TI_QSPI entry
      spi: Makefile: Use object file alphabetic order
      spi: Kconfig: Show dm-spi drivers if DM_SPI set
      spi: Kconfig: Add FSL_DSPI entry
      spi: Kconfig: Add FSL_ESPI entry
      spi: Kconfig: Add FSL_QSPI entry
      spi: Kconfig: Add EXYNOS_SPI entry
      spi: Kconfig: Add ICH_SPI entry
      spi: Kconfig: Add TEGRA114_SPI entry
      spi: Kconfig: Add TEGRA20_SFLASH entry
      spi: Kconfig: Add TEGRA20_SLINK entry
      README: Remove CONFIG_SPI_FLASH_MTD help text
      defconfig: Move CONFIG_SPI_FLASH_BAR from configs
      sf: Kconfig: Add SPI_FLASH_BAR entry
      README: Remove CONFIG_SPI_FLASH_BAR help text
      README: Remove CONFIG_SPI_FLASH_DATAFLASH help text

 README                                    |  14 -
 arch/arm/Kconfig                          |   4 +
 arch/arm/dts/zynq-7000.dtsi               |  26 ++
 arch/arm/dts/zynq-zc770-xm010.dts         |   5 +
 common/Kconfig                            |   5 +
 configs/alt_defconfig                     |   1 +
 configs/am43xx_evm_defconfig              |   1 +
 configs/bg0900_defconfig                  |   1 +
 configs/dra7xx_evm_defconfig              |   1 +
 configs/gose_defconfig                    |   1 +
 configs/koelsch_defconfig                 |   1 +
 configs/lager_defconfig                   |   1 +
 configs/maxbcm_defconfig                  |   1 +
 configs/mx6sxsabresd_defconfig            |   1 +
 configs/porter_defconfig                  |   1 +
 configs/silk_defconfig                    |   1 +
 configs/zynq_microzed_defconfig           |   2 -
 configs/zynq_zc702_defconfig              |   1 -
 configs/zynq_zc706_defconfig              |   1 -
 configs/zynq_zc70x_defconfig              |   2 -
 configs/zynq_zc770_xm010_defconfig        |   2 -
 configs/zynq_zc770_xm012_defconfig        |   2 -
 configs/zynq_zc770_xm013_defconfig        |   2 -
 configs/zynq_zed_defconfig                |   2 -
 configs/zynq_zybo_defconfig               |   2 -
 doc/device-tree-bindings/spi/spi-zynq.txt |  29 ++
 drivers/mtd/spi/Kconfig                   |  55 +++-
 drivers/mtd/spi/Makefile                  |   2 +-
 drivers/mtd/spi/sf_dataflash.c            |  10 -
 drivers/mtd/spi/sf_internal.h             |  18 +-
 drivers/mtd/spi/sf_params.c               |   2 +-
 drivers/spi/Kconfig                       | 112 ++++++-
 drivers/spi/Makefile                      |  13 +-
 drivers/spi/andes_spi.c                   | 284 -----------------
 drivers/spi/andes_spi.h                   | 115 -------
 drivers/spi/cf_qspi.c                     |   3 +-
 drivers/spi/davinci_spi.c                 | 369 ++++++++++++++--------
 drivers/spi/davinci_spi.h                 | 121 --------
 drivers/spi/ftssp010_spi.c                | 498 ------------------------------
 drivers/spi/oc_tiny_spi.c                 | 245 ---------------
 drivers/spi/xilinx_spi.c                  | 318 ++++++++++++-------
 drivers/spi/xilinx_spi.h                  | 138 ---------
 drivers/spi/zynq_spi.c                    | 300 ++++++++++--------
 include/configs/alt.h                     |   1 -
 include/configs/am43xx_evm.h              |   1 -
 include/configs/bg0900.h                  |   1 -
 include/configs/dra7xx_evm.h              |   1 -
 include/configs/gose.h                    |   1 -
 include/configs/koelsch.h                 |   1 -
 include/configs/lager.h                   |   1 -
 include/configs/ls1021aqds.h              |   2 +-
 include/configs/maxbcm.h                  |   1 -
 include/configs/mx6sxsabresd.h            |   1 -
 include/configs/porter.h                  |   1 -
 include/configs/silk.h                    |   1 -
 include/spi.h                             |   2 +-
 include/spi_flash.h                       |  10 +-
 57 files changed, 868 insertions(+), 1870 deletions(-)
 create mode 100644 doc/device-tree-bindings/spi/spi-zynq.txt
 delete mode 100644 drivers/spi/andes_spi.c
 delete mode 100644 drivers/spi/andes_spi.h
 delete mode 100644 drivers/spi/davinci_spi.h
 delete mode 100644 drivers/spi/ftssp010_spi.c
 delete mode 100644 drivers/spi/oc_tiny_spi.c
 delete mode 100644 drivers/spi/xilinx_spi.h

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-06-29 19:24 Jagan Teki
@ 2015-06-29 21:51 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2015-06-29 21:51 UTC (permalink / raw)
  To: u-boot

On Tue, Jun 30, 2015 at 12:54:52AM +0530, Jagan Teki wrote:

> Please pull this request, few importent feature list on spi-flash front
> like data flash and spi flash MTD supports.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 7853d76b0bdab9b1a4da0bba8da6d12b5b8a303f:
> 
>   Merge git://git.denx.de/u-boot-marvell (2015-06-28 16:31:32 -0400)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 8ee81b7f9b675cb675119a998b04ca843d24ddcd:
> 
>   mtd, spi: Check if flash pointer is used (2015-06-30 00:40:11 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150629/f0dd3424/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2015-06-29 19:24 Jagan Teki
  2015-06-29 21:51 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2015-06-29 19:24 UTC (permalink / raw)
  To: u-boot

Please pull this request, few importent feature list on spi-flash front
like data flash and spi flash MTD supports.

thanks!
Jagan.

The following changes since commit 7853d76b0bdab9b1a4da0bba8da6d12b5b8a303f:

  Merge git://git.denx.de/u-boot-marvell (2015-06-28 16:31:32 -0400)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 8ee81b7f9b675cb675119a998b04ca843d24ddcd:

  mtd, spi: Check if flash pointer is used (2015-06-30 00:40:11 +0530)

----------------------------------------------------------------
Daniel Schwierzeck (1):
      mtd, spi: Add MTD layer driver

Haikun Wang (5):
      dm: sf: Add Atmel DataFlash spi flash driver
      dm: ls1021aqds: dts: Use "spi_dataflash" driver instead of "spi_flash_std" for DSPI flash
      arm: ls102xa: Enable Driver Model SPI for ls1021aqds
      arm: ls102xa: Enable Driver Model SPI for ls1021atwr
      defconfig: ls1021a: Add OF_CONTROL and DM support

Heiko Schocher (3):
      mtd, nand: Move common functions from cmd_nand.c to common place
      spi, sf: Use offset and size in sf cmd from mtdpartition
      mtd, spi: Check if flash pointer is used

 README                            |   9 +
 arch/arm/dts/ls1021a-qds.dts      |   2 +-
 common/cmd_nand.c                 | 148 ++------
 common/cmd_onenand.c              |  19 +-
 common/cmd_sf.c                   |  61 ++--
 common/cmd_test.c                 |  12 +-
 configs/ls1021aqds_qspi_defconfig |   4 +
 configs/ls1021atwr_qspi_defconfig |   4 +
 drivers/mtd/Makefile              |   4 +-
 drivers/mtd/mtd_uboot.c           |  99 ++++++
 drivers/mtd/spi/Makefile          |   2 +
 drivers/mtd/spi/sf_dataflash.c    | 711 ++++++++++++++++++++++++++++++++++++++
 drivers/mtd/spi/sf_internal.h     |   5 +
 drivers/mtd/spi/sf_mtd.c          | 104 ++++++
 drivers/mtd/spi/sf_probe.c        |  11 +-
 include/configs/ls1021aqds.h      |  13 +-
 include/configs/ls1021atwr.h      |   9 +-
 include/linux/mtd/mtd.h           |   5 +
 include/vsprintf.h                |   2 +
 lib/vsprintf.c                    |  16 +
 20 files changed, 1062 insertions(+), 178 deletions(-)
 create mode 100644 drivers/mtd/mtd_uboot.c
 create mode 100644 drivers/mtd/spi/sf_dataflash.c
 create mode 100644 drivers/mtd/spi/sf_mtd.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-06-25 11:36     ` Tom Rini
@ 2015-06-25 13:26       ` Jagan Teki
  0 siblings, 0 replies; 217+ messages in thread
From: Jagan Teki @ 2015-06-25 13:26 UTC (permalink / raw)
  To: u-boot

On 25 June 2015 at 17:06, Tom Rini <trini@konsulko.com> wrote:
> On Thu, Jun 25, 2015 at 11:01:44AM +0530, Jagan Teki wrote:
>> On 25 June 2015 at 05:01, Tom Rini <trini@konsulko.com> wrote:
>> > On Tue, Jun 23, 2015 at 08:47:25PM +0530, Jagan Teki wrote:
>> >
>> >> Hi Tom,
>> >>
>> >> Please pull this request, few importent feature list on spi-flash front
>> >> like data flash and spi flash MTD supports.
>> >>
>> >> thanks!
>> >> Jagan.
>> >>
>> >> The following changes since commit c6265f7f3410b5e5763181cdd123a3f6fcd9fd58:
>> >>
>> >>   CPCI4052: Remove CONFIG_SYS_LONGHELP (2015-06-18 16:19:00 -0400)
>> >>
>> >> are available in the git repository at:
>> >>
>> >>   git://git.denx.de/u-boot-spi.git master
>> >>
>> >> for you to fetch changes up to 1070bf38a5c92c8d1a77b26380988957890ba6de:
>> >>
>> >>   mtd, spi: Check if flash pointer is used (2015-06-23 01:13:23 +0530)
>> >>
>> >
>> > This introduces build problems on ls1021atwr_qspi and ls1021aqds_qspi.
>>
>> Don't know what it causes, I applied manually all 8 patches on master
>> and I couldn't
>> see any issues.
>
> Same for both:
>        arm:  +   ls1021atwr_qspi
> +(ls1021atwr_qspi) drivers/mtd/spi/sf_probe.c: In function 'spi_flash_std_probe':
> +(ls1021atwr_qspi) drivers/mtd/spi/sf_probe.c:480:54: error: dereferencing pointer to i
> ncomplete type
> +(ls1021atwr_qspi)   debug("%s: slave=%p, cs=%d\n", __func__, slave, plat->cs);
> +(ls1021atwr_qspi)                                                       ^
> +(ls1021atwr_qspi) include/common.h:109:26: note: in definition of macro 'debug_cond'
> +(ls1021atwr_qspi)     printf(pr_fmt(fmt), ##args); \
> +(ls1021atwr_qspi)                           ^
> +(ls1021atwr_qspi) drivers/mtd/spi/sf_probe.c:480:2: note: in expansion of macro 'debug
> '
> +(ls1021atwr_qspi)   ^
> +(ls1021atwr_qspi) drivers/mtd/spi/sf-uclass.c: In function 'spi_flash_free':
> +(ls1021atwr_qspi) drivers/mtd/spi/sf-uclass.c:47:29: error: 'struct spi_slave' has no member named 'dev'
> +(ls1021atwr_qspi)   spi_flash_remove(flash->spi->dev);
> +(ls1021atwr_qspi)                              ^
> +(ls1021atwr_qspi)   ret = spi_get_bus_and_cs(busnum, cs, max_hz, spi_mode,
> +(ls1021atwr_qspi) drivers/mtd/spi/sf-uclass.c:66:15: error: 'struct spi_slave' has no member named 'dev'
> +(ls1021atwr_qspi)   *devp = slave->dev;
> +(ls1021atwr_qspi)                ^
> +(ls1021atwr_qspi) make[2]: *** [drivers/mtd/spi/sf_probe.o] Error 1
> +(ls1021atwr_qspi) make[2]: *** [drivers/mtd/spi/sf-uclass.o] Error 1
> +(ls1021atwr_qspi) make[1]: *** [drivers/mtd/spi] Error 2
> +(ls1021atwr_qspi)   ret = spi_find_bus_and_cs(bus, cs, &bus_dev, &new);
> +(ls1021atwr_qspi) make: *** [sub-make] Error 2
> w+(ls1021atwr_qspi) drivers/mtd/spi/sf-uclass.c: In function 'spi_flash_probe_bus_cs':
> w+(ls1021atwr_qspi) drivers/mtd/spi/sf-uclass.c:61:2: warning: implicit declaration of function 'spi_get_bus_and_cs' [-Wimplicit-function-declaration]
> w+(ls1021atwr_qspi) common/cmd_sf.c: In function 'do_spi_flash_probe':
> w+(ls1021atwr_qspi) common/cmd_sf.c:123:2: warning: implicit declaration of function 'spi_find_bus_and_cs' [-Wimplicit-function-declaration]
>
> Because CONFIG_DM is not set, and before the SPI patches this is fine but
> now it's causing this failure.

Looks like some other dependencies about CONFIG_DM, let me look at it.
and will come back.

thanks!
-- 
Jagan | openedev.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-06-25  5:31   ` Jagan Teki
@ 2015-06-25 11:36     ` Tom Rini
  2015-06-25 13:26       ` Jagan Teki
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2015-06-25 11:36 UTC (permalink / raw)
  To: u-boot

On Thu, Jun 25, 2015 at 11:01:44AM +0530, Jagan Teki wrote:
> On 25 June 2015 at 05:01, Tom Rini <trini@konsulko.com> wrote:
> > On Tue, Jun 23, 2015 at 08:47:25PM +0530, Jagan Teki wrote:
> >
> >> Hi Tom,
> >>
> >> Please pull this request, few importent feature list on spi-flash front
> >> like data flash and spi flash MTD supports.
> >>
> >> thanks!
> >> Jagan.
> >>
> >> The following changes since commit c6265f7f3410b5e5763181cdd123a3f6fcd9fd58:
> >>
> >>   CPCI4052: Remove CONFIG_SYS_LONGHELP (2015-06-18 16:19:00 -0400)
> >>
> >> are available in the git repository at:
> >>
> >>   git://git.denx.de/u-boot-spi.git master
> >>
> >> for you to fetch changes up to 1070bf38a5c92c8d1a77b26380988957890ba6de:
> >>
> >>   mtd, spi: Check if flash pointer is used (2015-06-23 01:13:23 +0530)
> >>
> >
> > This introduces build problems on ls1021atwr_qspi and ls1021aqds_qspi.
> 
> Don't know what it causes, I applied manually all 8 patches on master
> and I couldn't
> see any issues.

Same for both:
       arm:  +   ls1021atwr_qspi
+(ls1021atwr_qspi) drivers/mtd/spi/sf_probe.c: In function 'spi_flash_std_probe':
+(ls1021atwr_qspi) drivers/mtd/spi/sf_probe.c:480:54: error: dereferencing pointer to i
ncomplete type
+(ls1021atwr_qspi)   debug("%s: slave=%p, cs=%d\n", __func__, slave, plat->cs);
+(ls1021atwr_qspi)                                                       ^
+(ls1021atwr_qspi) include/common.h:109:26: note: in definition of macro 'debug_cond'
+(ls1021atwr_qspi)     printf(pr_fmt(fmt), ##args); \
+(ls1021atwr_qspi)                           ^
+(ls1021atwr_qspi) drivers/mtd/spi/sf_probe.c:480:2: note: in expansion of macro 'debug
'
+(ls1021atwr_qspi)   ^
+(ls1021atwr_qspi) drivers/mtd/spi/sf-uclass.c: In function 'spi_flash_free':
+(ls1021atwr_qspi) drivers/mtd/spi/sf-uclass.c:47:29: error: 'struct spi_slave' has no member named 'dev'
+(ls1021atwr_qspi)   spi_flash_remove(flash->spi->dev);
+(ls1021atwr_qspi)                              ^
+(ls1021atwr_qspi)   ret = spi_get_bus_and_cs(busnum, cs, max_hz, spi_mode,
+(ls1021atwr_qspi) drivers/mtd/spi/sf-uclass.c:66:15: error: 'struct spi_slave' has no member named 'dev'
+(ls1021atwr_qspi)   *devp = slave->dev;
+(ls1021atwr_qspi)                ^
+(ls1021atwr_qspi) make[2]: *** [drivers/mtd/spi/sf_probe.o] Error 1
+(ls1021atwr_qspi) make[2]: *** [drivers/mtd/spi/sf-uclass.o] Error 1
+(ls1021atwr_qspi) make[1]: *** [drivers/mtd/spi] Error 2
+(ls1021atwr_qspi)   ret = spi_find_bus_and_cs(bus, cs, &bus_dev, &new);
+(ls1021atwr_qspi) make: *** [sub-make] Error 2
w+(ls1021atwr_qspi) drivers/mtd/spi/sf-uclass.c: In function 'spi_flash_probe_bus_cs':
w+(ls1021atwr_qspi) drivers/mtd/spi/sf-uclass.c:61:2: warning: implicit declaration of function 'spi_get_bus_and_cs' [-Wimplicit-function-declaration]
w+(ls1021atwr_qspi) common/cmd_sf.c: In function 'do_spi_flash_probe':
w+(ls1021atwr_qspi) common/cmd_sf.c:123:2: warning: implicit declaration of function 'spi_find_bus_and_cs' [-Wimplicit-function-declaration]

Because CONFIG_DM is not set, and before the SPI patches this is fine but
now it's causing this failure.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150625/21169900/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-06-24 23:31 ` Tom Rini
  2015-06-25  3:58   ` Heiko Schocher denx
@ 2015-06-25  5:31   ` Jagan Teki
  2015-06-25 11:36     ` Tom Rini
  1 sibling, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2015-06-25  5:31 UTC (permalink / raw)
  To: u-boot

On 25 June 2015 at 05:01, Tom Rini <trini@konsulko.com> wrote:
> On Tue, Jun 23, 2015 at 08:47:25PM +0530, Jagan Teki wrote:
>
>> Hi Tom,
>>
>> Please pull this request, few importent feature list on spi-flash front
>> like data flash and spi flash MTD supports.
>>
>> thanks!
>> Jagan.
>>
>> The following changes since commit c6265f7f3410b5e5763181cdd123a3f6fcd9fd58:
>>
>>   CPCI4052: Remove CONFIG_SYS_LONGHELP (2015-06-18 16:19:00 -0400)
>>
>> are available in the git repository at:
>>
>>   git://git.denx.de/u-boot-spi.git master
>>
>> for you to fetch changes up to 1070bf38a5c92c8d1a77b26380988957890ba6de:
>>
>>   mtd, spi: Check if flash pointer is used (2015-06-23 01:13:23 +0530)
>>
>
> This introduces build problems on ls1021atwr_qspi and ls1021aqds_qspi.

Don't know what it causes, I applied manually all 8 patches on master
and I couldn't
see any issues.

thanks!
-- 
Jagan | openedev.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-06-24 23:31 ` Tom Rini
@ 2015-06-25  3:58   ` Heiko Schocher denx
  2015-06-25  5:31   ` Jagan Teki
  1 sibling, 0 replies; 217+ messages in thread
From: Heiko Schocher denx @ 2015-06-25  3:58 UTC (permalink / raw)
  To: u-boot

Hello Tom,

Am 25.06.2015 um 01:31 schrieb Tom Rini:
> On Tue, Jun 23, 2015 at 08:47:25PM +0530, Jagan Teki wrote:
>
>> Hi Tom,
>>
>> Please pull this request, few importent feature list on spi-flash front
>> like data flash and spi flash MTD supports.
>>
>> thanks!
>> Jagan.
>>
>> The following changes since commit c6265f7f3410b5e5763181cdd123a3f6fcd9fd58:
>>
>>    CPCI4052: Remove CONFIG_SYS_LONGHELP (2015-06-18 16:19:00 -0400)
>>
>> are available in the git repository at:
>>
>>    git://git.denx.de/u-boot-spi.git master
>>
>> for you to fetch changes up to 1070bf38a5c92c8d1a77b26380988957890ba6de:
>>
>>    mtd, spi: Check if flash pointer is used (2015-06-23 01:13:23 +0530)
>>
>
> This introduces build problems on ls1021atwr_qspi and ls1021aqds_qspi.

Could you provide a log?

I see, based on current mainline:
commit 325849ff3d4adeebb8f8f9bc5db950724df9bc21
Merge: 8c65a2f de45149
Author: Tom Rini <trini@konsulko.com>
Date:   Fri Jun 19 14:21:32 2015 -0400

     Merge git://git.denx.de/u-boot-usb

pollux:u-boot hs [20150527] $ make mrproper
   CLEAN   examples/standalone
   CLEAN   tools
   CLEAN   tools/lib tools/common
   CLEAN   include/bmp_logo.h include/bmp_logo_data.h u-boot.lds u-boot.bin u-boot.srec u-boot.map 
u-boot.cfg u-boot System.map
   CLEAN   scripts/basic
   CLEAN   scripts/kconfig
   CLEAN   include/config include/generated
   CLEAN   .config include/autoconf.mk.dep include/autoconf.mk include/config.h
pollux:u-boot hs [20150527] $ make ls1021atwr_qspi_defconfig
   HOSTCC  scripts/basic/fixdep
   HOSTCC  scripts/kconfig/conf.o
   SHIPPED scripts/kconfig/zconf.tab.c
   SHIPPED scripts/kconfig/zconf.lex.c
   SHIPPED scripts/kconfig/zconf.hash.c
   HOSTCC  scripts/kconfig/zconf.tab.o
   HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
pollux:u-boot hs [20150527] $ make -s all
pollux:u-boot hs [20150527] $ make mrproper
m  CLEAN   examples/standalone
a  CLEAN   tools
k  CLEAN   tools/lib tools/common
   CLEAN   include/bmp_logo.h include/bmp_logo_data.h u-boot.lds u-boot.bin u-boot.srec u-boot.map 
u-boot.cfg u-boot System.map
e ls1021aqds_qspi_  CLEAN   scripts/basic
   CLEAN   scripts/kconfig
   CLEAN   include/config include/generated
d  CLEAN   .config include/autoconf.mk.dep include/autoconf.mk include/config.h
pollux:u-boot hs [20150527] $ make ls1021aqds_qspi_defconfig
   HOSTCC  scripts/basic/fixdep
   HOSTCC  scripts/kconfig/conf.o
   SHIPPED scripts/kconfig/zconf.tab.c
   SHIPPED scripts/kconfig/zconf.lex.c
   SHIPPED scripts/kconfig/zconf.hash.c
   HOSTCC  scripts/kconfig/zconf.tab.o
   HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
pollux:u-boot hs [20150527] $ make -s all
pollux:u-boot hs [20150527] $

Thanks!

bye,
Heiko

>
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-06-23 15:17 Jagan Teki
@ 2015-06-24 23:31 ` Tom Rini
  2015-06-25  3:58   ` Heiko Schocher denx
  2015-06-25  5:31   ` Jagan Teki
  0 siblings, 2 replies; 217+ messages in thread
From: Tom Rini @ 2015-06-24 23:31 UTC (permalink / raw)
  To: u-boot

On Tue, Jun 23, 2015 at 08:47:25PM +0530, Jagan Teki wrote:

> Hi Tom,
> 
> Please pull this request, few importent feature list on spi-flash front
> like data flash and spi flash MTD supports.
> 
> thanks!
> Jagan.
> 
> The following changes since commit c6265f7f3410b5e5763181cdd123a3f6fcd9fd58:
> 
>   CPCI4052: Remove CONFIG_SYS_LONGHELP (2015-06-18 16:19:00 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 1070bf38a5c92c8d1a77b26380988957890ba6de:
> 
>   mtd, spi: Check if flash pointer is used (2015-06-23 01:13:23 +0530)
> 

This introduces build problems on ls1021atwr_qspi and ls1021aqds_qspi.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150624/011116de/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2015-06-23 15:17 Jagan Teki
  2015-06-24 23:31 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2015-06-23 15:17 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this request, few importent feature list on spi-flash front
like data flash and spi flash MTD supports.

thanks!
Jagan.

The following changes since commit c6265f7f3410b5e5763181cdd123a3f6fcd9fd58:

  CPCI4052: Remove CONFIG_SYS_LONGHELP (2015-06-18 16:19:00 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 1070bf38a5c92c8d1a77b26380988957890ba6de:

  mtd, spi: Check if flash pointer is used (2015-06-23 01:13:23 +0530)

----------------------------------------------------------------
Daniel Schwierzeck (1):
      mtd, spi: Add MTD layer driver

Haikun Wang (1):
      arm: ls102xa: Enable Driver Model SPI for ls1021atwr

Haikun.Wang at freescale.com (3):
      dm: sf: Add Atmel DataFlash spi flash driver
      arm: dts: s1021a-qds: Update dspiflash compatible to use "spi_dataflash"
      arm: ls102xa: Enable Driver Model SPI for ls1021aqds

Heiko Schocher (3):
      mtd, nand: Move common functions from cmd_nand.c to common place
      spi, sf: Use offset and size in sf cmd from mtdpartition
      mtd, spi: Check if flash pointer is used

 README                         |   9 +
 arch/arm/dts/ls1021a-qds.dts   |   2 +-
 common/cmd_nand.c              | 148 ++-------
 common/cmd_onenand.c           |  19 +-
 common/cmd_sf.c                |  61 ++--
 common/cmd_test.c              |  12 +-
 drivers/mtd/Makefile           |   4 +-
 drivers/mtd/mtd_uboot.c        |  99 ++++++
 drivers/mtd/spi/Makefile       |   2 +
 drivers/mtd/spi/sf_dataflash.c | 711 +++++++++++++++++++++++++++++++++++++++++
 drivers/mtd/spi/sf_internal.h  |   5 +
 drivers/mtd/spi/sf_mtd.c       | 104 ++++++
 drivers/mtd/spi/sf_probe.c     |  11 +-
 include/configs/ls1021aqds.h   |  13 +-
 include/configs/ls1021atwr.h   |  10 +-
 include/linux/mtd/mtd.h        |   5 +
 include/vsprintf.h             |   2 +
 lib/vsprintf.c                 |  16 +
 18 files changed, 1055 insertions(+), 178 deletions(-)
 create mode 100644 drivers/mtd/mtd_uboot.c
 create mode 100644 drivers/mtd/spi/sf_dataflash.c
 create mode 100644 drivers/mtd/spi/sf_mtd.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-04-28  8:17 Jagannadha Sutradharudu Teki
@ 2015-04-28 14:51 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2015-04-28 14:51 UTC (permalink / raw)
  To: u-boot

On Tue, Apr 28, 2015 at 01:47:35PM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Please pick this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit d77447fdb122dab290fb1ad184a62456011e6e06:
> 
>   serial: pl01x: fix PL010 regression (2015-04-21 10:05:42 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to c650ca7b4c160193791dc7a52381c71c6a29e871:
> 
>   sf: Fix to compute proper sector_size (2015-04-28 13:31:36 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150428/92effd6a/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2015-04-28  8:17 Jagannadha Sutradharudu Teki
  2015-04-28 14:51 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2015-04-28  8:17 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pick this PR.

thanks!
Jagan.

The following changes since commit d77447fdb122dab290fb1ad184a62456011e6e06:

  serial: pl01x: fix PL010 regression (2015-04-21 10:05:42 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to c650ca7b4c160193791dc7a52381c71c6a29e871:

  sf: Fix to compute proper sector_size (2015-04-28 13:31:36 +0530)

----------------------------------------------------------------
Bin Meng (2):
      dm: sf: Save flash flags to struct spi_flash
      dm: sf: Make SST flash write op work again

David Dueck (1):
      spi: omap3: Fix timeout handling

Jagannadha Sutradharudu Teki (2):
      Revert "spi: add config option to enable the WP pin function on st micron flashes"
      sf: Fix to compute proper sector_size

Pavel Machek (1):
      spi flash: fix trivial problems

Peng Fan (1):
      mtd: spi: check return value of spi_setup_slave

Simon Glass (1):
      dm: spi: Correct SPI claim/release_bus() methods

Siva Durga Prasad Paladugu (3):
      sf: Correct the macros as per new array fast read command
      sf: Poll both the read status and flag status
      zynq: spi: Remove unnecessary error condition

Stefan Roese (1):
      cmd_sf: Fix problem with "sf update" and unaligned length

 README                        | 11 ----------
 common/cmd_sf.c               | 16 +++++++-------
 drivers/mtd/spi/sf_internal.h |  7 ++-----
 drivers/mtd/spi/sf_ops.c      | 32 +++++++++++++++++++++-------
 drivers/mtd/spi/sf_probe.c    | 49 +++++++++++++++++--------------------------
 drivers/spi/exynos_spi.c      |  6 ++++--
 drivers/spi/omap3_spi.c       | 20 +++++++++++-------
 drivers/spi/spi-uclass.c      |  4 ++--
 drivers/spi/tegra114_spi.c    |  3 ++-
 drivers/spi/tegra20_sflash.c  |  3 ++-
 drivers/spi/tegra20_slink.c   |  3 ++-
 drivers/spi/zynq_spi.c        |  3 ---
 include/spi.h                 | 21 ++++++++++---------
 include/spi_flash.h           |  9 ++++----
 14 files changed, 93 insertions(+), 94 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-03-31  7:14 Jagannadha Sutradharudu Teki
@ 2015-04-07 17:58 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2015-04-07 17:58 UTC (permalink / raw)
  To: u-boot

On Tue, Mar 31, 2015 at 12:44:46PM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 662e2acb46250881ec26bc8366fc9eb1856cb7c2:
> 
>   sunxi: UTOO_P66: Add missing MAINTAINERS entry (2015-03-29 14:56:48 +0200)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 52091ad146d766cdc5ccd65430b2a4e5cb7aec32:
> 
>   spi: designware_spi: revisit FIFO size detection again (2015-03-30 01:42:49 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150407/3c551dc6/attachment.sig>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2015-03-31  7:14 Jagannadha Sutradharudu Teki
  2015-04-07 17:58 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2015-03-31  7:14 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 662e2acb46250881ec26bc8366fc9eb1856cb7c2:

  sunxi: UTOO_P66: Add missing MAINTAINERS entry (2015-03-29 14:56:48 +0200)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 52091ad146d766cdc5ccd65430b2a4e5cb7aec32:

  spi: designware_spi: revisit FIFO size detection again (2015-03-30 01:42:49 +0530)

----------------------------------------------------------------
Axel Lin (6):
      spi: cf_qspi: Fixup to_cf_qspi_slave macro
      spi: davinci: Remove duplicate code to set bus and cs for slave
      spi: ftssp010_spi: Use to_ftssp010_spi() to ensure free correct address
      spi: cf_spi: Use to_cf_spi_slave to resolve cfslave from slave
      spi: cf_spi: Staticize local functions
      spi: designware_spi: revisit FIFO size detection again

Ravi Babu (1):
      qspi: dra7x: enable quad mode read for ti-qspi driver

 drivers/spi/cf_qspi.c        |  2 +-
 drivers/spi/cf_spi.c         | 31 ++++++++++++++++---------------
 drivers/spi/davinci_spi.c    |  3 ---
 drivers/spi/designware_spi.c |  4 ++--
 drivers/spi/ftssp010_spi.c   |  4 +++-
 drivers/spi/ti_qspi.c        |  7 +++++++
 include/configs/dra7xx_evm.h |  1 +
 7 files changed, 30 insertions(+), 22 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-01-08 18:40 Jagannadha Sutradharudu Teki
@ 2015-01-09 13:34 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2015-01-09 13:34 UTC (permalink / raw)
  To: u-boot

On Fri, Jan 09, 2015 at 12:10:35AM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit d622ac39274a949b6445f1bfd92dc1644014388b:
> 
>   powerpc: mpc824x: remove MPC824X cpu support (2015-01-05 12:08:55 -0500)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to adc0fabfd9662fa690e866332cd4277351f991c4:
> 
>   imx:mx6sxsabresd support qspi AHB read (2015-01-09 00:03:28 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150109/948cef96/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2015-01-08 18:40 Jagannadha Sutradharudu Teki
  2015-01-09 13:34 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2015-01-08 18:40 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit d622ac39274a949b6445f1bfd92dc1644014388b:

  powerpc: mpc824x: remove MPC824X cpu support (2015-01-05 12:08:55 -0500)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to adc0fabfd9662fa690e866332cd4277351f991c4:

  imx:mx6sxsabresd support qspi AHB read (2015-01-09 00:03:28 +0530)

----------------------------------------------------------------
Axel Lin (3):
      spi: designware_spi: Fix detecting FIFO depth
      spi: cadence_qspi: Fix checking return value of fdt_first_subnode()
      spi: ftssp010_spi: Simplify code flow in ftssp010_[wait|wait_tx|wait_rx]

Marek Vasut (2):
      dt: socfpga: Rename snps, dw-spi-mmio to snps, dw-apb-ssi
      dt: socfpga: Replace num-chipselect with num-cs

Peng Fan (4):
      spi:fsl-quadspi support bank register read write
      mx6sxsabresd: support qspi flash bigger than 16MB
      qspi:fsl implement AHB read
      imx:mx6sxsabresd support qspi AHB read

 arch/arm/dts/socfpga.dtsi      |  10 +-
 drivers/spi/cadence_qspi.c     |   2 +-
 drivers/spi/designware_spi.c   |   6 +-
 drivers/spi/fsl_qspi.c         | 297 +++++++++++++++++++++++++++++++++++++----
 drivers/spi/fsl_qspi.h         |  15 +++
 drivers/spi/ftssp010_spi.c     |  36 ++---
 include/configs/mx6sxsabresd.h |   8 ++
 7 files changed, 316 insertions(+), 58 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-12-29 17:07 Jagannadha Sutradharudu Teki
@ 2015-01-05 15:10 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2015-01-05 15:10 UTC (permalink / raw)
  To: u-boot

On Mon, Dec 29, 2014 at 10:37:52PM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit e3bf81b1e841ecabe7c8b3d48621256db8b8623e:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx (2014-12-16 15:20:02 -0500)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to babe6994ca28e5a354ee32b33b7a54b0276d9df1:
> 
>   sf: sf_params: Add S25FL164K flash identifier info (2014-12-18 18:48:30 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150105/31302d1b/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2015-01-01 20:45 Jagannadha Sutradharudu Teki
@ 2015-01-05 15:10 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2015-01-05 15:10 UTC (permalink / raw)
  To: u-boot

On Fri, Jan 02, 2015 at 02:15:21AM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit babe6994ca28e5a354ee32b33b7a54b0276d9df1:
> 
>   sf: sf_params: Add S25FL164K flash identifier info (2014-12-18 18:48:30 +0530)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to be2fde60b0de7723d29035ba952a970d9e1ca94d:
> 
>   imx:mx6slevk add spi nor boot support (2014-12-31 14:54:01 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150105/f6ab82ec/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2015-01-01 20:45 Jagannadha Sutradharudu Teki
  2015-01-05 15:10 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2015-01-01 20:45 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit babe6994ca28e5a354ee32b33b7a54b0276d9df1:

  sf: sf_params: Add S25FL164K flash identifier info (2014-12-18 18:48:30 +0530)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to be2fde60b0de7723d29035ba952a970d9e1ca94d:

  imx:mx6slevk add spi nor boot support (2014-12-31 14:54:01 +0530)

----------------------------------------------------------------
Peng Fan (6):
      QuadSPI: use QSPI_CMD_xx instead of flash opcodes
      QuadSPI: use correct amba_base
      arm:mx6sx add QSPI support
      imx:qspi add 4K erase support
      imx:mx6sxsabresd add qspi support
      imx:mx6slevk add spi nor boot support

 arch/arm/cpu/armv7/mx6/clock.c              |  50 ++++++++++
 arch/arm/include/asm/arch-mx6/clock.h       |   1 +
 arch/arm/include/asm/arch-mx6/imx-regs.h    |  12 +--
 board/freescale/mx6slevk/MAINTAINERS        |   1 +
 board/freescale/mx6sxsabresd/mx6sxsabresd.c |  40 ++++++++
 configs/mx6slevk_spinor_defconfig           |   3 +
 drivers/spi/fsl_qspi.c                      | 137 +++++++++++++++++++---------
 include/configs/mx6slevk.h                  |  13 ++-
 include/configs/mx6sxsabresd.h              |  12 +++
 9 files changed, 221 insertions(+), 48 deletions(-)
 create mode 100644 configs/mx6slevk_spinor_defconfig

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2014-12-29 17:07 Jagannadha Sutradharudu Teki
  2015-01-05 15:10 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2014-12-29 17:07 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit e3bf81b1e841ecabe7c8b3d48621256db8b8623e:

  Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx (2014-12-16 15:20:02 -0500)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to babe6994ca28e5a354ee32b33b7a54b0276d9df1:

  sf: sf_params: Add S25FL164K flash identifier info (2014-12-18 18:48:30 +0530)

----------------------------------------------------------------
Adnan Ali (2):
      sf: sf_params: Add S25FL116K flash support
      sf: sf_params: Add S25FL164K flash identifier info

Jagannadha Sutradharudu Teki (1):
      mtd: sf: Zap ramtron driver

Shengzhou Liu (1):
      mtd/spi: Add support for SST25WF040B

 drivers/mtd/spi/Makefile    |   1 -
 drivers/mtd/spi/ramtron.c   | 404 --------------------------------------------
 drivers/mtd/spi/sf_params.c |   3 +
 3 files changed, 3 insertions(+), 405 deletions(-)
 delete mode 100644 drivers/mtd/spi/ramtron.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-10-27 18:43 Jagannadha Sutradharudu Teki
@ 2014-11-04  2:32 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2014-11-04  2:32 UTC (permalink / raw)
  To: u-boot

On Tue, Oct 28, 2014 at 12:13:58AM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> --
> Jagan.
> 
> The following changes since commit 0ce4af99c07acebf4fce9a91f1099d2460629293:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-imx (2014-10-27 09:08:42 -0400)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 027a9a002455a1175b0f5b7c7c5350afab2b4421:
> 
>   SPI: mxc_spi: delay initialisation until claim bus (2014-10-27 22:37:03 +0530)
> 

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141103/acbd9fbf/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2014-10-27 18:43 Jagannadha Sutradharudu Teki
  2014-11-04  2:32 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2014-10-27 18:43 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
--
Jagan.

The following changes since commit 0ce4af99c07acebf4fce9a91f1099d2460629293:

  Merge branch 'master' of git://git.denx.de/u-boot-imx (2014-10-27 09:08:42 -0400)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 027a9a002455a1175b0f5b7c7c5350afab2b4421:

  SPI: mxc_spi: delay initialisation until claim bus (2014-10-27 22:37:03 +0530)

----------------------------------------------------------------
Marek Vasut (7):
      spi: altera: Use struct-based register access
      spi: altera: Clean up bit definitions
      spi: altera: Clean up most checkpatch issues
      spi: altera: Zap endless loop
      spi: altera: Clean up the use of variable d
      spi: altera: Add short note about EPCS/EPCQx1
      spi: altera: Move the config options to the top

Markus Niebel (2):
      SPI: mxc_spi: remove second reset from ECSPI config handler
      SPI: mxc_spi: delay initialisation until claim bus

 doc/SPI/README.altera_spi |   6 +++
 drivers/spi/altera_spi.c  | 132 ++++++++++++++++++++++++++--------------------
 drivers/spi/mxc_spi.c     |  40 +++++++-------
 3 files changed, 101 insertions(+), 77 deletions(-)
 create mode 100644 doc/SPI/README.altera_spi

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-09-24 12:45 Jagannadha Sutradharudu Teki
@ 2014-09-25 14:43 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2014-09-25 14:43 UTC (permalink / raw)
  To: u-boot

On Wed, Sep 24, 2014 at 06:15:43PM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 47d3debe1ab8315dc9ade22279e02f60eceda25b:
> 
>   Merge git://git.denx.de/u-boot-dm (2014-09-23 15:21:43 -0400)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to bf9b86dc47988a404964c97c74e541a129719f9c:
> 
>   spi: kirkwood_spi.c: cosmetic: Fix minor coding style issues (2014-09-24 17:48:56 +0530)
> 
> ----------------------------------------------------------------
> Nikita Kiryanov (3):
>       mtd: spi: add support for M25PE16 and M25PX16
>       spi: mxc: fix sf probe when using mxc_spi
>       spl: replace CONFIG_SPL_SPI_* with CONFIG_SF_DEFAULT_*
> 
> Stefan Roese (5):
>       sf: Add M25PX64 SPI NOR flash ID
>       arm: kirkwood: spi.h: Add some missing parenthesis
>       spi: kirkwood_spi.c: Some fixes and cleanup
>       spi: kirkwood_spi.c: Make global variable static
>       spi: kirkwood_spi.c: cosmetic: Fix minor coding style issues
> 
>  arch/arm/include/asm/arch-kirkwood/spi.h      |  8 ++---
>  board/boundary/nitrogen6x/nitrogen6x.c        |  5 +++
>  board/embest/mx6boards/mx6boards.c            |  5 +++
>  board/freescale/mx6qsabreauto/mx6qsabreauto.c |  7 ++++
>  board/freescale/mx6sabresd/mx6sabresd.c       |  7 ++++
>  board/freescale/mx6slevk/mx6slevk.c           |  5 +++
>  board/gateworks/gw_ventana/gw_ventana.c       |  7 +++-
>  board/genesi/mx51_efikamx/efikamx.c           |  5 +++
>  board/ttcontrol/vision2/vision2.c             |  5 +++
>  common/cmd_sf.c                               | 13 --------
>  drivers/mtd/spi/sf_params.c                   |  3 ++
>  drivers/mtd/spi/spi_spl_load.c                |  6 ++--
>  drivers/spi/kirkwood_spi.c                    | 27 +++++++--------
>  drivers/spi/mxc_spi.c                         | 48 ++++++++++++++-------------
>  include/configs/am335x_evm.h                  |  2 --
>  include/configs/da850evm.h                    |  4 ---
>  include/configs/dra7xx_evm.h                  |  2 --
>  include/configs/embestmx6boards.h             |  2 +-
>  include/configs/gw_ventana.h                  |  2 +-
>  include/configs/ks2_evm.h                     |  2 --
>  include/configs/mx51_efikamx.h                |  4 +--
>  include/configs/mx6sabre_common.h             |  2 +-
>  include/configs/mx6slevk.h                    |  2 +-
>  include/configs/nitrogen6x.h                  |  2 +-
>  include/configs/pcm051.h                      |  2 --
>  include/configs/sama5d3xek.h                  |  2 --
>  include/configs/siemens-am33x-common.h        |  2 --
>  include/configs/tseries.h                     |  2 --
>  include/configs/vision2.h                     |  4 +--
>  include/configs/zynq-common.h                 |  2 --
>  include/spi_flash.h                           | 13 ++++++++
>  31 files changed, 115 insertions(+), 87 deletions(-)

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140925/6a9d9544/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2014-09-24 12:45 Jagannadha Sutradharudu Teki
  2014-09-25 14:43 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2014-09-24 12:45 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 47d3debe1ab8315dc9ade22279e02f60eceda25b:

  Merge git://git.denx.de/u-boot-dm (2014-09-23 15:21:43 -0400)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to bf9b86dc47988a404964c97c74e541a129719f9c:

  spi: kirkwood_spi.c: cosmetic: Fix minor coding style issues (2014-09-24 17:48:56 +0530)

----------------------------------------------------------------
Nikita Kiryanov (3):
      mtd: spi: add support for M25PE16 and M25PX16
      spi: mxc: fix sf probe when using mxc_spi
      spl: replace CONFIG_SPL_SPI_* with CONFIG_SF_DEFAULT_*

Stefan Roese (5):
      sf: Add M25PX64 SPI NOR flash ID
      arm: kirkwood: spi.h: Add some missing parenthesis
      spi: kirkwood_spi.c: Some fixes and cleanup
      spi: kirkwood_spi.c: Make global variable static
      spi: kirkwood_spi.c: cosmetic: Fix minor coding style issues

 arch/arm/include/asm/arch-kirkwood/spi.h      |  8 ++---
 board/boundary/nitrogen6x/nitrogen6x.c        |  5 +++
 board/embest/mx6boards/mx6boards.c            |  5 +++
 board/freescale/mx6qsabreauto/mx6qsabreauto.c |  7 ++++
 board/freescale/mx6sabresd/mx6sabresd.c       |  7 ++++
 board/freescale/mx6slevk/mx6slevk.c           |  5 +++
 board/gateworks/gw_ventana/gw_ventana.c       |  7 +++-
 board/genesi/mx51_efikamx/efikamx.c           |  5 +++
 board/ttcontrol/vision2/vision2.c             |  5 +++
 common/cmd_sf.c                               | 13 --------
 drivers/mtd/spi/sf_params.c                   |  3 ++
 drivers/mtd/spi/spi_spl_load.c                |  6 ++--
 drivers/spi/kirkwood_spi.c                    | 27 +++++++--------
 drivers/spi/mxc_spi.c                         | 48 ++++++++++++++-------------
 include/configs/am335x_evm.h                  |  2 --
 include/configs/da850evm.h                    |  4 ---
 include/configs/dra7xx_evm.h                  |  2 --
 include/configs/embestmx6boards.h             |  2 +-
 include/configs/gw_ventana.h                  |  2 +-
 include/configs/ks2_evm.h                     |  2 --
 include/configs/mx51_efikamx.h                |  4 +--
 include/configs/mx6sabre_common.h             |  2 +-
 include/configs/mx6slevk.h                    |  2 +-
 include/configs/nitrogen6x.h                  |  2 +-
 include/configs/pcm051.h                      |  2 --
 include/configs/sama5d3xek.h                  |  2 --
 include/configs/siemens-am33x-common.h        |  2 --
 include/configs/tseries.h                     |  2 --
 include/configs/vision2.h                     |  4 +--
 include/configs/zynq-common.h                 |  2 --
 include/spi_flash.h                           | 13 ++++++++
 31 files changed, 115 insertions(+), 87 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-08-05 18:52 Jagannadha Sutradharudu Teki
@ 2014-08-06 14:37 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2014-08-06 14:37 UTC (permalink / raw)
  To: u-boot

On Wed, Aug 06, 2014 at 12:22:15AM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Please pull this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 25b4adbba018633b943a99322bfb2fb819c0bafb:
> 
>   include: remove CONFIG_SPL/CONFIG_TPL definition in config headers (2014-07-30 14:42:03 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to f659b57361c4a351ef2a5fc23b9197428e2e67f0:
> 
>   spi, spi_mxc: do not hang in spi_xchg_single (2014-08-06 00:18:01 +0530)
> 
> ----------------------------------------------------------------
> Heiko Schocher (1):
>       spi, spi_mxc: do not hang in spi_xchg_single
> 
> Marek Vasut (1):
>       sf: sf_ops: Stop leaking memory
> 
> Simon Glass (3):
>       cros_ec: Fix two bugs in the SPI implementation
>       exynos: spi: Fix calculation of SPI transaction start time
>       spi: Support half-duplex mode in FDT decode
> 
>  README                                   |  4 ++++
>  doc/device-tree-bindings/spi/spi-bus.txt |  2 ++
>  drivers/misc/cros_ec_spi.c               |  4 ++--
>  drivers/mtd/spi/sf_ops.c                 |  1 +
>  drivers/spi/exynos_spi.c                 |  9 +++++----
>  drivers/spi/mxc_spi.c                    | 17 +++++++++++++++--
>  drivers/spi/spi.c                        |  2 ++
>  7 files changed, 31 insertions(+), 8 deletions(-)

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140806/d58f7c77/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2014-08-05 18:52 Jagannadha Sutradharudu Teki
  2014-08-06 14:37 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2014-08-05 18:52 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please pull this PR.

thanks!
Jagan.

The following changes since commit 25b4adbba018633b943a99322bfb2fb819c0bafb:

  include: remove CONFIG_SPL/CONFIG_TPL definition in config headers (2014-07-30 14:42:03 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to f659b57361c4a351ef2a5fc23b9197428e2e67f0:

  spi, spi_mxc: do not hang in spi_xchg_single (2014-08-06 00:18:01 +0530)

----------------------------------------------------------------
Heiko Schocher (1):
      spi, spi_mxc: do not hang in spi_xchg_single

Marek Vasut (1):
      sf: sf_ops: Stop leaking memory

Simon Glass (3):
      cros_ec: Fix two bugs in the SPI implementation
      exynos: spi: Fix calculation of SPI transaction start time
      spi: Support half-duplex mode in FDT decode

 README                                   |  4 ++++
 doc/device-tree-bindings/spi/spi-bus.txt |  2 ++
 drivers/misc/cros_ec_spi.c               |  4 ++--
 drivers/mtd/spi/sf_ops.c                 |  1 +
 drivers/spi/exynos_spi.c                 |  9 +++++----
 drivers/spi/mxc_spi.c                    | 17 +++++++++++++++--
 drivers/spi/spi.c                        |  2 ++
 7 files changed, 31 insertions(+), 8 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-06-08 17:57 Jagannadha Sutradharudu Teki
@ 2014-06-11 19:09 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2014-06-11 19:09 UTC (permalink / raw)
  To: u-boot

On Sun, Jun 08, 2014 at 11:27:57PM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Please take this PR.
> 
> thanks!
> Jagan.
> 
> The following changes since commit 3e1fa221f94b7ae3389d166882b77f1da5895f22:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx (2014-06-05 17:38:30 -0400)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 1f436a6ddf7eb7f2da1c8df6c13100429baf844a:
> 
>   sf: probe: Fix quad bit set path (2014-06-08 23:12:27 +0530)
> 
> ----------------------------------------------------------------
> Andrew Ruder (1):
>       spi: soft_spi: Support NULL din/dout buffers
> 
> Poddar, Sourav (1):
>       sf: probe: Fix quad bit set path
> 
> Siva Durga Prasad Paladugu (1):
>       sf: params: Added support for Spansion S25FL512S_512K
> 
>  drivers/mtd/spi/sf_params.c |  1 +
>  drivers/mtd/spi/sf_probe.c  | 20 ++++++++++----------
>  drivers/spi/soft_spi.c      | 18 ++++++++++++------
>  3 files changed, 23 insertions(+), 16 deletions(-)

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140611/d8889b98/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2014-06-08 17:57 Jagannadha Sutradharudu Teki
  2014-06-11 19:09 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2014-06-08 17:57 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please take this PR.

thanks!
Jagan.

The following changes since commit 3e1fa221f94b7ae3389d166882b77f1da5895f22:

  Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx (2014-06-05 17:38:30 -0400)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 1f436a6ddf7eb7f2da1c8df6c13100429baf844a:

  sf: probe: Fix quad bit set path (2014-06-08 23:12:27 +0530)

----------------------------------------------------------------
Andrew Ruder (1):
      spi: soft_spi: Support NULL din/dout buffers

Poddar, Sourav (1):
      sf: probe: Fix quad bit set path

Siva Durga Prasad Paladugu (1):
      sf: params: Added support for Spansion S25FL512S_512K

 drivers/mtd/spi/sf_params.c |  1 +
 drivers/mtd/spi/sf_probe.c  | 20 ++++++++++----------
 drivers/spi/soft_spi.c      | 18 ++++++++++++------
 3 files changed, 23 insertions(+), 16 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-03-17 16:42 Jagannadha Sutradharudu Teki
@ 2014-03-17 21:19 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2014-03-17 21:19 UTC (permalink / raw)
  To: u-boot

On Mon, Mar 17, 2014 at 10:12:24PM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Please take this PR, few fixes.
> 
> thanks!
> --
> Jagan.
> 
> The following changes since commit 194ba5d4ecb2ad1195333cc7453f291e5b316479:
> 
>   sh: ecovec: correct romImage address in comment (2014-03-14 14:50:28 +0900)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to bf64035a159f114d0fb93391acb7f5e73eb020e6:
> 
>   mtd: spi: Fix page size for S25FL032P,S25FL064P (2014-03-17 21:54:57 +0530)
> 
> ----------------------------------------------------------------
> Axel Lin (1):
>       spi: atmel_dataflash: Simplify AT91F_SpiEnable implementation
> 
> Jagannadha Sutradharudu Teki (1):
>       sf: ops: Squash the malloc+memset combo
> 
> Marek Vasut (4):
>       sf: Fix entries for S25FL256S_256K and S25FL512S_256K
>       sf: Add S25FL128S_256K IDs
>       sf: Squash the malloc+memset combo
>       mtd: spi: Fix page size for S25FL032P,S25FL064P
> 
>  drivers/mtd/spi/sf_ops.c          |  8 ++++++--
>  drivers/mtd/spi/sf_params.c       |  5 +++--
>  drivers/mtd/spi/sf_probe.c        | 19 ++++++++++++++++---
>  drivers/spi/atmel_dataflash_spi.c | 31 ++++++++++++-------------------
>  4 files changed, 37 insertions(+), 26 deletions(-)

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140317/13e4e9b8/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2014-03-17 16:42 Jagannadha Sutradharudu Teki
  2014-03-17 21:19 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2014-03-17 16:42 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please take this PR, few fixes.

thanks!
--
Jagan.

The following changes since commit 194ba5d4ecb2ad1195333cc7453f291e5b316479:

  sh: ecovec: correct romImage address in comment (2014-03-14 14:50:28 +0900)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to bf64035a159f114d0fb93391acb7f5e73eb020e6:

  mtd: spi: Fix page size for S25FL032P,S25FL064P (2014-03-17 21:54:57 +0530)

----------------------------------------------------------------
Axel Lin (1):
      spi: atmel_dataflash: Simplify AT91F_SpiEnable implementation

Jagannadha Sutradharudu Teki (1):
      sf: ops: Squash the malloc+memset combo

Marek Vasut (4):
      sf: Fix entries for S25FL256S_256K and S25FL512S_256K
      sf: Add S25FL128S_256K IDs
      sf: Squash the malloc+memset combo
      mtd: spi: Fix page size for S25FL032P,S25FL064P

 drivers/mtd/spi/sf_ops.c          |  8 ++++++--
 drivers/mtd/spi/sf_params.c       |  5 +++--
 drivers/mtd/spi/sf_probe.c        | 19 ++++++++++++++++---
 drivers/spi/atmel_dataflash_spi.c | 31 ++++++++++++-------------------
 4 files changed, 37 insertions(+), 26 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-02-18 17:24 Jagannadha Sutradharudu Teki
@ 2014-02-21 14:35 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2014-02-21 14:35 UTC (permalink / raw)
  To: u-boot

On Tue, Feb 18, 2014 at 10:54:30PM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Please take this PR, few fixes and pending patches on qspi am43xx.
> 
> thanks!
> --
> Jagan.
> 
> The following changes since commit 22a240c32c1340183fce12867ae5f8736b92a638:
> 
>   serial/serial_arc - add driver for ARC UART (2014-02-07 12:55:07 -0500)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 9ea09e20376abbca21760ed4ba87d6b5c4df465c:
> 
>   doc: SPI: Add qspi test details on AM43xx (2014-02-18 22:41:09 +0530)
> 
> ----------------------------------------------------------------
> Markus Niebel (3):
>       spi: spi-mxc: add defines for clk inactive state for ECSPI
>       spi: spi-mxc: implement clk control for ECSPI to fix SPI_MODE_3
>       spi: mxc_spi: i.MX6 DL/S have only 4 eCSPI controller
> 
> Michal Simek (1):
>       spi: xilinx: Move timeout calculation out of the loop
> 
> Sourav Poddar (5):
>       am43xx: Add qspi support
>       am437x_epos_evm: add SPL API, QSPI, and serial flash support
>       spi: ti_qspi: Add AM43xx specifics changes
>       spi: ti_qspi: Add delay before xfer for am43xx
>       doc: SPI: Add qspi test details on AM43xx
> 
>  arch/arm/cpu/armv7/am33xx/clock_am43xx.c |  1 +
>  arch/arm/include/asm/arch-am33xx/cpu.h   |  4 +-
>  arch/arm/include/asm/arch-am33xx/omap.h  |  1 +
>  arch/arm/include/asm/arch-mx5/imx-regs.h |  7 +--
>  arch/arm/include/asm/arch-mx6/imx-regs.h |  9 ++--
>  board/ti/am43xx/mux.c                    | 11 +++++
>  doc/SPI/README.ti_qspi_am43x_test        | 76 ++++++++++++++++++++++++++++++++
>  drivers/spi/mxc_spi.c                    |  9 +++-
>  drivers/spi/ti_qspi.c                    | 33 ++++++++++++--
>  drivers/spi/xilinx_spi.c                 |  8 ++--
>  include/configs/am43xx_evm.h             | 20 +++++++++
>  11 files changed, 163 insertions(+), 16 deletions(-)
>  create mode 100644 doc/SPI/README.ti_qspi_am43x_test

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140221/8b315c25/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2014-02-18 17:24 Jagannadha Sutradharudu Teki
  2014-02-21 14:35 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2014-02-18 17:24 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Please take this PR, few fixes and pending patches on qspi am43xx.

thanks!
--
Jagan.

The following changes since commit 22a240c32c1340183fce12867ae5f8736b92a638:

  serial/serial_arc - add driver for ARC UART (2014-02-07 12:55:07 -0500)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 9ea09e20376abbca21760ed4ba87d6b5c4df465c:

  doc: SPI: Add qspi test details on AM43xx (2014-02-18 22:41:09 +0530)

----------------------------------------------------------------
Markus Niebel (3):
      spi: spi-mxc: add defines for clk inactive state for ECSPI
      spi: spi-mxc: implement clk control for ECSPI to fix SPI_MODE_3
      spi: mxc_spi: i.MX6 DL/S have only 4 eCSPI controller

Michal Simek (1):
      spi: xilinx: Move timeout calculation out of the loop

Sourav Poddar (5):
      am43xx: Add qspi support
      am437x_epos_evm: add SPL API, QSPI, and serial flash support
      spi: ti_qspi: Add AM43xx specifics changes
      spi: ti_qspi: Add delay before xfer for am43xx
      doc: SPI: Add qspi test details on AM43xx

 arch/arm/cpu/armv7/am33xx/clock_am43xx.c |  1 +
 arch/arm/include/asm/arch-am33xx/cpu.h   |  4 +-
 arch/arm/include/asm/arch-am33xx/omap.h  |  1 +
 arch/arm/include/asm/arch-mx5/imx-regs.h |  7 +--
 arch/arm/include/asm/arch-mx6/imx-regs.h |  9 ++--
 board/ti/am43xx/mux.c                    | 11 +++++
 doc/SPI/README.ti_qspi_am43x_test        | 76 ++++++++++++++++++++++++++++++++
 drivers/spi/mxc_spi.c                    |  9 +++-
 drivers/spi/ti_qspi.c                    | 33 ++++++++++++--
 drivers/spi/xilinx_spi.c                 |  8 ++--
 include/configs/am43xx_evm.h             | 20 +++++++++
 11 files changed, 163 insertions(+), 16 deletions(-)
 create mode 100644 doc/SPI/README.ti_qspi_am43x_test

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-01-27 17:26 Jagannadha Sutradharudu Teki
@ 2014-01-27 19:21 ` Marek Vasut
  0 siblings, 0 replies; 217+ messages in thread
From: Marek Vasut @ 2014-01-27 19:21 UTC (permalink / raw)
  To: u-boot

On Monday, January 27, 2014 at 06:26:21 PM, Jagannadha Sutradharudu Teki wrote:
> Hi Tom,
> 
> SF code optimized stuff and few fixes.

Hi, I see PR, but I don't see the fixed patches reposted to the ML. Did you 
repost the new ones please ?

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2014-01-27 17:26 Jagannadha Sutradharudu Teki
  2014-01-27 19:21 ` Marek Vasut
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2014-01-27 17:26 UTC (permalink / raw)
  To: u-boot

Hi Tom,

SF code optimized stuff and few fixes.

--
Thanks!
Jagan.

The following changes since commit 0876703cf2ee107372b56037d4eeeb7604c56796:

  boards.cfg: Keep the entries sorted (2014-01-27 08:28:35 -0500)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 6dc0ce128f1d3ec8a06f98606d9c6f5020b98b3f:

  sf: Update bank configuration (2014-01-27 22:47:17 +0530)

----------------------------------------------------------------
Jagannadha Sutradharudu Teki (5):
      sf: ops: Squash the malloc+memset combo
      sf: Optimize flash features code
      sf: Use slave mode for dual_flash connection
      doc: SPI: Update the dual_flash info
      sf: Update bank configuration

Marek Vasut (3):
      sf: Squash the malloc+memset combo
      sf: Fix entries for S25FL256S_256K and S25FL512S_256K
      sf: Add S25FL128S_256K IDs

 doc/SPI/README.dual-flash     |   5 +-
 doc/SPI/README.sf-features    | 124 ++++++++++++++++++++++++++++++
 drivers/mtd/spi/sf.c          |   4 +-
 drivers/mtd/spi/sf_internal.h |   1 -
 drivers/mtd/spi/sf_ops.c      |  16 ++--
 drivers/mtd/spi/sf_params.c   | 171 +++++++++++++++++++++---------------------
 drivers/mtd/spi/sf_probe.c    | 104 ++++++++++++-------------
 include/spi.h                 |  42 ++++-------
 include/spi_flash.h           |  34 ++++-----
 9 files changed, 303 insertions(+), 198 deletions(-)
 create mode 100644 doc/SPI/README.sf-features

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-01-22 16:26 Jagannadha Sutradharudu Teki
@ 2014-01-24 20:10 ` Marek Vasut
  0 siblings, 0 replies; 217+ messages in thread
From: Marek Vasut @ 2014-01-24 20:10 UTC (permalink / raw)
  To: u-boot

On Wednesday, January 22, 2014 at 05:26:36 PM, Jagannadha Sutradharudu Teki 
wrote:
> Hi Tom,
> 
> SF code optimized stuff and few fixes.
> 
> --
> Thanks!
> Jagan.
> 
> The following changes since commit
> b44bd2c73c4cfb6e3b9e7f8cf987e8e39aa74a0b:
> 
>   Prepare v2014.01 (2014-01-20 17:52:59 -0500)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to b53c0ea9adb7b72f4e3074d382598b6b3d9c5037:
> 
>   sf: Update bank configuration (2014-01-21 23:08:28 +0530)
> 
> ----------------------------------------------------------------
> Jagannadha Sutradharudu Teki (5):
>       sf: ops: Squash the malloc+memset combo
>       sf: Optimize flash features code

756802dd776e5687060c50cabb64b775e64830d7 in your u-boot-spi/master still uses
#define FOO n << m
please fix

[...]

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2014-01-22 16:26 Jagannadha Sutradharudu Teki
  2014-01-24 20:10 ` Marek Vasut
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2014-01-22 16:26 UTC (permalink / raw)
  To: u-boot

Hi Tom,

SF code optimized stuff and few fixes.

--
Thanks!
Jagan.

The following changes since commit b44bd2c73c4cfb6e3b9e7f8cf987e8e39aa74a0b:

  Prepare v2014.01 (2014-01-20 17:52:59 -0500)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to b53c0ea9adb7b72f4e3074d382598b6b3d9c5037:

  sf: Update bank configuration (2014-01-21 23:08:28 +0530)

----------------------------------------------------------------
Jagannadha Sutradharudu Teki (5):
      sf: ops: Squash the malloc+memset combo
      sf: Optimize flash features code
      sf: Use mode_bits for dual_flash connection
      doc: SPI: Update the dual_flash info
      sf: Update bank configuration

Marek Vasut (3):
      sf: Squash the malloc+memset combo
      sf: Fix entries for S25FL256S_256K and S25FL512S_256K
      sf: Add S25FL128S_256K IDs

 doc/SPI/README.dual-flash     |   5 +-
 doc/SPI/README.sf-features    | 124 ++++++++++++++++++++++++++++++
 drivers/mtd/spi/sf.c          |   4 +-
 drivers/mtd/spi/sf_internal.h |   1 -
 drivers/mtd/spi/sf_ops.c      |  16 ++--
 drivers/mtd/spi/sf_params.c   | 171 +++++++++++++++++++++---------------------
 drivers/mtd/spi/sf_probe.c    | 104 ++++++++++++-------------
 include/spi.h                 |  42 ++++-------
 include/spi_flash.h           |  24 +++---
 9 files changed, 299 insertions(+), 192 deletions(-)
 create mode 100644 doc/SPI/README.sf-features

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-01-20 19:37 ` Marek Vasut
@ 2014-01-20 19:47   ` Jagan Teki
  0 siblings, 0 replies; 217+ messages in thread
From: Jagan Teki @ 2014-01-20 19:47 UTC (permalink / raw)
  To: u-boot

Hi Marek,

Waited your response since last couple of hours.!

On Tue, Jan 21, 2014 at 1:07 AM, Marek Vasut <marex@denx.de> wrote:
> On Monday, January 20, 2014 at 06:53:58 PM, Jagannadha Sutradharudu Teki wrote:
>> Hi Tom,
>>
>> SF code optimized stuff and few fixes.
>>
>> --
>> Thanks,
>> Jagan.
>>
>> The following changes since commit
>> 5c9038b6af1a93410af966999638eabb81efcd0f:
>>
>>   omap3_beagle: use omap3-beagle.dtb for the C4 revision (2014-01-17
>> 11:03:04 -0500)
>>
>> are available in the git repository at:
>>
>>   git://git.denx.de/u-boot-spi.git master
>>
>> for you to fetch changes up to 83ba605953162443b054d5ad60535468b46558bd:
>>
>>   sf: Update bank configuration (2014-01-20 22:30:35 +0530)
>>
>> ----------------------------------------------------------------
>> Jagannadha Sutradharudu Teki (5):
>>       sf: ops: Squash the malloc+memset combo
Agree this for -next

>>       sf: Optimize flash features code
>>       sf: Use mode_bits for dual_flash connection
>>       doc: SPI: Update the dual_flash info
>>       sf: Update bank configuration
>
> This is for -next.

Better to keep this in release - as code optimized at-least for
current framework, I'm OK with this.

>
>> Marek Vasut (3):
>>       sf: Squash the malloc+memset combo
>
> This is definitelly for -next.
>
>>       sf: Fix entries for S25FL256S_256K and S25FL512S_256K
>
> This is the only one I would let into current , since it's an actual bugfix .
> The rest are just adjustments.
>
>>       sf: Add S25FL128S_256K IDs
>
> This is an adjustment, can wait for -next.
>
>>
>>  doc/SPI/README.dual-flash     |   5 +-
>>  doc/SPI/README.sf-features    | 125 ++++++++++++++++++++++++++++++
>>  drivers/mtd/spi/sf.c          |   4 +-
>>  drivers/mtd/spi/sf_internal.h |   1 -
>>  drivers/mtd/spi/sf_ops.c      |  16 ++--
>>  drivers/mtd/spi/sf_params.c   | 171
>> +++++++++++++++++++++--------------------- drivers/mtd/spi/sf_probe.c    |
>> 104 ++++++++++++-------------
>>  include/spi.h                 |  42 ++++-------
>>  include/spi_flash.h           |  24 +++---
>>  9 files changed, 301 insertions(+), 191 deletions(-)
>>  create mode 100644 doc/SPI/README.sf-features

thanks!
-- 
Jagan.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-01-20 17:53 Jagannadha Sutradharudu Teki
@ 2014-01-20 19:37 ` Marek Vasut
  2014-01-20 19:47   ` Jagan Teki
  0 siblings, 1 reply; 217+ messages in thread
From: Marek Vasut @ 2014-01-20 19:37 UTC (permalink / raw)
  To: u-boot

On Monday, January 20, 2014 at 06:53:58 PM, Jagannadha Sutradharudu Teki wrote:
> Hi Tom,
> 
> SF code optimized stuff and few fixes.
> 
> --
> Thanks,
> Jagan.
> 
> The following changes since commit
> 5c9038b6af1a93410af966999638eabb81efcd0f:
> 
>   omap3_beagle: use omap3-beagle.dtb for the C4 revision (2014-01-17
> 11:03:04 -0500)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 83ba605953162443b054d5ad60535468b46558bd:
> 
>   sf: Update bank configuration (2014-01-20 22:30:35 +0530)
> 
> ----------------------------------------------------------------
> Jagannadha Sutradharudu Teki (5):
>       sf: ops: Squash the malloc+memset combo
>       sf: Optimize flash features code
>       sf: Use mode_bits for dual_flash connection
>       doc: SPI: Update the dual_flash info
>       sf: Update bank configuration

This is for -next.

> Marek Vasut (3):
>       sf: Squash the malloc+memset combo

This is definitelly for -next.

>       sf: Fix entries for S25FL256S_256K and S25FL512S_256K

This is the only one I would let into current , since it's an actual bugfix . 
The rest are just adjustments.

>       sf: Add S25FL128S_256K IDs

This is an adjustment, can wait for -next.

> 
>  doc/SPI/README.dual-flash     |   5 +-
>  doc/SPI/README.sf-features    | 125 ++++++++++++++++++++++++++++++
>  drivers/mtd/spi/sf.c          |   4 +-
>  drivers/mtd/spi/sf_internal.h |   1 -
>  drivers/mtd/spi/sf_ops.c      |  16 ++--
>  drivers/mtd/spi/sf_params.c   | 171
> +++++++++++++++++++++--------------------- drivers/mtd/spi/sf_probe.c    |
> 104 ++++++++++++-------------
>  include/spi.h                 |  42 ++++-------
>  include/spi_flash.h           |  24 +++---
>  9 files changed, 301 insertions(+), 191 deletions(-)
>  create mode 100644 doc/SPI/README.sf-features

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2014-01-20 17:53 Jagannadha Sutradharudu Teki
  2014-01-20 19:37 ` Marek Vasut
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2014-01-20 17:53 UTC (permalink / raw)
  To: u-boot

Hi Tom,

SF code optimized stuff and few fixes.

--
Thanks,
Jagan.

The following changes since commit 5c9038b6af1a93410af966999638eabb81efcd0f:

  omap3_beagle: use omap3-beagle.dtb for the C4 revision (2014-01-17 11:03:04 -0500)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 83ba605953162443b054d5ad60535468b46558bd:

  sf: Update bank configuration (2014-01-20 22:30:35 +0530)

----------------------------------------------------------------
Jagannadha Sutradharudu Teki (5):
      sf: ops: Squash the malloc+memset combo
      sf: Optimize flash features code
      sf: Use mode_bits for dual_flash connection
      doc: SPI: Update the dual_flash info
      sf: Update bank configuration

Marek Vasut (3):
      sf: Squash the malloc+memset combo
      sf: Fix entries for S25FL256S_256K and S25FL512S_256K
      sf: Add S25FL128S_256K IDs

 doc/SPI/README.dual-flash     |   5 +-
 doc/SPI/README.sf-features    | 125 ++++++++++++++++++++++++++++++
 drivers/mtd/spi/sf.c          |   4 +-
 drivers/mtd/spi/sf_internal.h |   1 -
 drivers/mtd/spi/sf_ops.c      |  16 ++--
 drivers/mtd/spi/sf_params.c   | 171 +++++++++++++++++++++---------------------
 drivers/mtd/spi/sf_probe.c    | 104 ++++++++++++-------------
 include/spi.h                 |  42 ++++-------
 include/spi_flash.h           |  24 +++---
 9 files changed, 301 insertions(+), 191 deletions(-)
 create mode 100644 doc/SPI/README.sf-features

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-01-16 19:44         ` Jagan Teki
@ 2014-01-18 20:26           ` Marek Vasut
  0 siblings, 0 replies; 217+ messages in thread
From: Marek Vasut @ 2014-01-18 20:26 UTC (permalink / raw)
  To: u-boot

On Thursday, January 16, 2014 at 08:44:55 PM, Jagan Teki wrote:
> Hi Marek,
[...]
> >> 
> >> Let me explain the journey with (spi_flash)sf since last 8 months. [1]
> >> - We have a individual class of vendor drivers and removed all vendor
> >> specific stuff and added a common probe.
> >> - Added Bank addr reg stuff
> >> - Tunned sf almost seems like mtd/nand style where sf.c, sf_probe.c,
> >> sf_params.c and sf_ops.c
> >> - Added memory_mapped and quad commands supports
> >> - Done many of cleanups
> >> - maintained doc/SPI which we're trying to update.
> >> 
> >> Keeping these enhancements on current sf we are in a good shape than
> >> before.
> > 
> > This patchset does not do this cleanup you describe here. This patchset
> > adds (dead) code to support SPI-NOR controllers via regular SPI API .
> 
> I don't know what you mean by dead code here

I mean all those new flags added to struct spi_slave {} for example. They have 
no user in mainline U-Boot. CONFIG_SF_DUAL_FLASH is not used by anyone in u-
boot/master either.

> I agreed that the current sf code is
> touching spi api because we followed the same approach since so-far.

What does that mean ? The SF code must not ever touch the SPI API, the SPI 
already provides everything the SPI flash can hope for (that is, means to 
send/receive data on/from the bus AND position of the SPI devices (bus # and 
chipselect # )). The approach to extend SPI API for one particular type of SPI 
device is wrong.

> we're using this since so far and honestly if you compare this with newly
> added SPI-NOR framework in Linux - ends defiantly have a side effects.

What kind of side-effects ? The SPI API is different from SPI-NOR controller API 
and we _must_ keep that in mind. The later is in no set relationship to the 
former ; they're neither subset nor a superset, they barely even intersect.

> The reason why I am not agree with this not a dead-code is like even
> if we have a new
> SPI-NOR framework these should be part of spi-nor code i guess.

The actual device-model idea here is as such:

I) The 'sf' command talks to the SF layer and informs it about:
   1) operation to be performed (read/write/erase)
   2) device credentials (bus number and chipselect number)

II) The SF layer figures out the correct struct spi_slave {} based on the 
information passed from the SF command above.

III) The SF layer talks using SPI API to make the SPI controller send/receive 
data to/from device identified by struct spi_slave {}.


To incorporate the new SPI-NOR controllers, the SF layer would need to be 
adjusted.

Step II) would need to be changed such, that an appropriate conversion to either 
struct spi_slave {} or struct spi_nor_device {} would happen depending on which 
kind of connection and API would the SPI flash device use -- whether it is 
generic SPI or specific SPI-NOR.

Step III) would then need to be adjusted such that depending on the controller 
type retrieved in step II), one of the APIs (generic SPI or SPI-NOR) would be 
used.

The adjustment really isn't hard at all ;-)

> I totally agree that if we follow the new SPI-NOR will answer all
> these side effects.
> And also SPI-NOR is not yet ML'ed I am currently understanding this.

Ok, so that's why it's a lot of dead code ;-)

> My plan is to do this new framework addition for next release and wrap this
> code once all gets set.

I would suggest we start heading for the SPI NOR split. Seriously, hit the 
brakes here, otherwise we're going for an unpleasant ride through a sh**storm 
;-)

> >> > It seems this patchset aims to accomodate an SPI-NOR controllers
> >> > within the SPI API. The SPI-NOR controllers are a completely separate
> >> > class of hardware though, so I disagree with the attempt to integrate
> >> > them into the SPI framework. I cannot use most of the SPI-NOR
> >> > controllers to drive regular SPI bus (there are exceptions), but they
> >> > are now presented as regular SPI controllers indiscriminately.
> >> > 
> >> > Instead of going down this path, there should be a completely separate
> >> > class of drivers for the SPI-NOR controllers, same as in Linux [1].
> >> > That way, there would still be an SF command talking to SF core, but
> >> > the SF core would be delegating the calls to either a layer talking
> >> > to a SPI flash via regular SPI interface or a layer talking the
> >> > SPI-NOR controller.
> >> > 
> >> > I also see some flaws in these patches. For example the struct
> >> > spi_slave {} now contains all kinds of new entries used only by the
> >> > SPI flash driver. The slave can now export for example SPI_OPM_RX_QOF
> >> > and SPI_OPM_RX_QIOF (see include/spi.h) flags, which -- if you
> >> > inspect drivers/mtd/spi/sf_probe.c and include/spi_flash.h -- should
> >> > match up with enum spi_read_cmds . So we now have two sets of flags,
> >> > which needs to be kept in sync, which is wrong. Besides, these flags
> >> > define the capabilities of the SPI-NOR host controller, so why are
> >> > they even in struct spi_slave {} ?
> >> 
> >> The spi_slave grown with flash stuff with spi driver terminologies,
> >> and the reason
> >> for taking one extra flag for reads in params is like we have couple
> >> of  commands
> >> for 1, 2 and 4-lines I have given a spi driver has a provision to
> >> verify these one by one.
> >> The reason for going this implementation for improving sf performance.
> > 
> > Sorry, I don't understand what you're telling me here.
> > 
> > btw. the struct spi_slave {} has grown quite significantly , it contains:
> > 
> > u8 op_mode_rx
> > u8 op_mode_tx
> > 
> >  -> SPI-NOR controllers' bus caps (like, can it do 4-bit transfer etc.),
> >  but
> > 
> > this is SPI-NOR _controller_ specific, what is this stuff doing in struct
> > spi_slave {} ? btw. /wrt placement of these new entries, you must read
> > [1], since you just generated 2-byte slop.
> > 
> > void *memory_map
> > 
> >  -> this is clearly SPI-NOR controller specific stuff, which cannot be
> >  used by
> > 
> > any other generic SPI peripheral.
> 
> This get added before - Yes will address all one by one soon.
> 
> > u8 options
> > 
> >  -> Quite unclear what this is for.
> > 
> > u8 flags
> > 
> >  -> DTTO.
> > 
> > [1] http://www.catb.org/esr/structure-packing/
> > 
> >> > I also observe a big lack of documentation for all those flags, so
> >> > it's really hard to make heads or tails of how it's supposed to work.
> >> 
> >> Some how disagree this, because we have started doc/SPI [2] these days
> >> which don't have
> >> before and I'm stressing patch contributors to add as many as doc and
> >> test-cases logs.
> >> 
> >> and Yes- for this quad I'm planning to add test-case logs once our
> >> zynq qspi is ML.
> > 
> > I don't see any API documentation there, sorry. Can you point me to such
> > an API documentation or design document or something please ?
> > 
> >> > Also, I don't see any of these new flags used yet, so we're still at a
> >> > good point to avoid going down the wrong path. I would love to see
> >> > this patchset postponed for next if possible, since my feeling of
> >> > this is it needs severe redesign.
> >> > 
> >> > [1] http://www.spinics.net/lists/arm-kernel/msg291891.html
> >> 
> >> And finally - I do understand your comments and agreed that we're
> >> tunning spi framework
> >> towards spi_flash, but the current implementation looks like that and
> >> there is no alternatives
> >> as of now.
> > 
> > Oh, there is an alternative (see [1] above, the spi-nor approach) and we
> > should take the right direction instead of pushing in the wrong one.
> > 
> >> It was almost 9 months to spent quad changes to fit into on current
> >> code, for this
> >> I tunned spi_flash as sf to more convient to add extra add-ons, i
> >> guess many of the customers
> >> wants this quad since last year.
> > 
> > OK, but this doesn't justify pushing broken code which will bite us in
> > the future.
> > 
> >> I agree that if we have a better framework which will divide spi and
> >> spi_flash separately
> >> like what you said with Linux SPI-NOR and it's good to have that. and
> >> also you're comparing
> >> the current sf stuff with this new approach, Yes - i agree that new
> >> approach will defiantly have a
> >> better view than the current.
> >> 
> >> But, honestly as of now we're planning to move like this. and I am
> >> adding this new framework approach to my TODO list - Will post one more
> >> thread for this implementation and planning.
> > 
> > OK, I would still prefer to get this release out _without_ the strange
> > additions to struct spi_slave {}. Is it possible to strip away all those
> > unused quad-spi additions for this release?
> 
> as your point -
> spi_slave {} not only have quad additions and also have memory_map and etc
> stuff and will strip all these one by one with new SPI-NOR framework.

OK, but what about the mess in this release ?

> Summary: Will try to add SPI-NOR framework parallel and will strip the
> spi_flash stuff
> one by one from SPI API

Thanks. Please keep me in CC so I can keep nagging :)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-01-16 19:04       ` Marek Vasut
@ 2014-01-16 19:44         ` Jagan Teki
  2014-01-18 20:26           ` Marek Vasut
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2014-01-16 19:44 UTC (permalink / raw)
  To: u-boot

Hi Marek,

On Fri, Jan 17, 2014 at 12:34 AM, Marek Vasut <marex@denx.de> wrote:
> On Thursday, January 16, 2014 at 07:06:20 AM, Jagan Teki wrote:
>> Hi Marek,
>>
>> On Thu, Jan 16, 2014 at 1:08 AM, Marek Vasut <marex@denx.de> wrote:
>> > On Monday, January 13, 2014 at 08:42:18 PM, Tom Rini wrote:
>> >> On Tue, Jan 14, 2014 at 12:05:32AM +0530, Jagannadha Sutradharudu Teki
> wrote:
>> >> > Hi Tom,
>> >> >
>> >> > PR have quad and dual_flash change set also includes few fixes.
>> >> > Tested these changes on spansion, stmicro and sst flash devices.
>> >> >
>> >> > --
>> >> > Thanks,
>> >> > Jagan.
>> >> >
>> >> > The following changes since commit
> 7f673c99c2d8d1aa21996c5b914f06d784b080ca:
>> >> >   Merge branch 'master' of git://git.denx.de/u-boot-arm (2014-01-10
>> >> >   10:56:00 -0500)
>> >> >
>> >> > are available in the git repository at:
>> >> >   git://git.denx.de/u-boot-spi.git master
>> >> >
>> >> > for you to fetch changes up to 35a55fb57fffb615e6b20980fb317e162076adb4:
>> >> >   sf: params: Removed flag SECT_4K for Micron N25Q128 (2014-01-12
>> >> >   21:40:23 +0530)
>> >> >
>> >> > ----------------------------------------------------------------
>> >> >
>> >> > Axel Lin (1):
>> >> >       spi: sh_spi: Use sh_spi_clear_bit() instead of open-coded
>> >> >
>> >> > Jagannadha Sutradharudu Teki (17):
>> >> >       sf: Add extended read commands support
>> >> >       sf: Add quad read/write commands support
>> >> >       sf: ops: Add configuration register writing support
>> >> >       sf: Set quad enable bit support
>> >> >       sf: probe: Enable RD_FULL and WR_QPP
>> >> >       sf: Separate the flash params table
>> >> >       sf: Add QUAD_IO_FAST read support
>> >> >       sf: Discover read dummy_byte
>> >> >       sf: Add macronix set QEB support
>> >> >       sf: probe: Enable macronix quad read/write cmds support
>> >> >       sf: Divide flash register ops from QEB code
>> >> >       sf: Code cleanups
>> >> >       sf: ops: Unify read_ops bank configuration
>> >> >       sf: Add dual memories support - DUAL_STACKED
>> >> >       sf: Add dual memories support - DUAL_PARALLEL
>> >> >       sf: Add CONFIG_SF_DUAL_FLASH
>> >> >       doc: SPI: Update status.txt
>> >
>> > I looked into this patchset and this seems completely misdesigned, sorry.
>>
>> No issues - OK.
>>
>> Let me explain the journey with (spi_flash)sf since last 8 months. [1]
>> - We have a individual class of vendor drivers and removed all vendor
>> specific stuff and added a common probe.
>> - Added Bank addr reg stuff
>> - Tunned sf almost seems like mtd/nand style where sf.c, sf_probe.c,
>> sf_params.c and sf_ops.c
>> - Added memory_mapped and quad commands supports
>> - Done many of cleanups
>> - maintained doc/SPI which we're trying to update.
>>
>> Keeping these enhancements on current sf we are in a good shape than
>> before.
>
> This patchset does not do this cleanup you describe here. This patchset adds
> (dead) code to support SPI-NOR controllers via regular SPI API .

I don't know what you mean by dead code here, I agreed that the
current sf code is
touching spi api because we followed the same approach since so-far.
we're using this since so far and honestly if you compare this with newly added
SPI-NOR framework in Linux - ends defiantly have a side effects.

The reason why I am not agree with this not a dead-code is like even
if we have a new
SPI-NOR framework these should be part of spi-nor code i guess.

I totally agree that if we follow the new SPI-NOR will answer all
these side effects.
And also SPI-NOR is not yet ML'ed I am currently understanding this.

My plan is to do this new framework addition for next release and wrap this code
once all gets set.

>
>> > It seems this patchset aims to accomodate an SPI-NOR controllers within
>> > the SPI API. The SPI-NOR controllers are a completely separate class of
>> > hardware though, so I disagree with the attempt to integrate them into
>> > the SPI framework. I cannot use most of the SPI-NOR controllers to drive
>> > regular SPI bus (there are exceptions), but they are now presented as
>> > regular SPI controllers indiscriminately.
>> >
>> > Instead of going down this path, there should be a completely separate
>> > class of drivers for the SPI-NOR controllers, same as in Linux [1]. That
>> > way, there would still be an SF command talking to SF core, but the SF
>> > core would be delegating the calls to either a layer talking to a SPI
>> > flash via regular SPI interface or a layer talking the SPI-NOR
>> > controller.
>> >
>> > I also see some flaws in these patches. For example the struct spi_slave
>> > {} now contains all kinds of new entries used only by the SPI flash
>> > driver. The slave can now export for example SPI_OPM_RX_QOF and
>> > SPI_OPM_RX_QIOF (see include/spi.h) flags, which -- if you inspect
>> > drivers/mtd/spi/sf_probe.c and include/spi_flash.h -- should match up
>> > with enum spi_read_cmds . So we now have two sets of flags, which needs
>> > to be kept in sync, which is wrong. Besides, these flags define the
>> > capabilities of the SPI-NOR host controller, so why are they even in
>> > struct spi_slave {} ?
>>
>> The spi_slave grown with flash stuff with spi driver terminologies,
>> and the reason
>> for taking one extra flag for reads in params is like we have couple
>> of  commands
>> for 1, 2 and 4-lines I have given a spi driver has a provision to
>> verify these one by one.
>> The reason for going this implementation for improving sf performance.
>
> Sorry, I don't understand what you're telling me here.
>
> btw. the struct spi_slave {} has grown quite significantly , it contains:
>
> u8 op_mode_rx
> u8 op_mode_tx
>  -> SPI-NOR controllers' bus caps (like, can it do 4-bit transfer etc.), but
> this is SPI-NOR _controller_ specific, what is this stuff doing in struct
> spi_slave {} ? btw. /wrt placement of these new entries, you must read [1],
> since you just generated 2-byte slop.
>
> void *memory_map
>  -> this is clearly SPI-NOR controller specific stuff, which cannot be used by
> any other generic SPI peripheral.

This get added before - Yes will address all one by one soon.

>
> u8 options
>  -> Quite unclear what this is for.
>
> u8 flags
>  -> DTTO.
>
> [1] http://www.catb.org/esr/structure-packing/
>
>> > I also observe a big lack of documentation for all those flags, so it's
>> > really hard to make heads or tails of how it's supposed to work.
>>
>> Some how disagree this, because we have started doc/SPI [2] these days
>> which don't have
>> before and I'm stressing patch contributors to add as many as doc and
>> test-cases logs.
>>
>> and Yes- for this quad I'm planning to add test-case logs once our
>> zynq qspi is ML.
>
> I don't see any API documentation there, sorry. Can you point me to such an API
> documentation or design document or something please ?
>
>> > Also, I don't see any of these new flags used yet, so we're still at a
>> > good point to avoid going down the wrong path. I would love to see this
>> > patchset postponed for next if possible, since my feeling of this is it
>> > needs severe redesign.
>> >
>> > [1] http://www.spinics.net/lists/arm-kernel/msg291891.html
>>
>> And finally - I do understand your comments and agreed that we're
>> tunning spi framework
>> towards spi_flash, but the current implementation looks like that and
>> there is no alternatives
>> as of now.
>
> Oh, there is an alternative (see [1] above, the spi-nor approach) and we should
> take the right direction instead of pushing in the wrong one.
>
>> It was almost 9 months to spent quad changes to fit into on current
>> code, for this
>> I tunned spi_flash as sf to more convient to add extra add-ons, i
>> guess many of the customers
>> wants this quad since last year.
>
> OK, but this doesn't justify pushing broken code which will bite us in the
> future.
>
>> I agree that if we have a better framework which will divide spi and
>> spi_flash separately
>> like what you said with Linux SPI-NOR and it's good to have that. and
>> also you're comparing
>> the current sf stuff with this new approach, Yes - i agree that new
>> approach will defiantly have a
>> better view than the current.
>>
>> But, honestly as of now we're planning to move like this. and I am adding
>> this new framework approach to my TODO list - Will post one more thread for
>> this implementation and planning.
>
> OK, I would still prefer to get this release out _without_ the strange additions
> to struct spi_slave {}. Is it possible to strip away all those unused quad-spi
> additions for this release?

as your point -
spi_slave {} not only have quad additions and also have memory_map and etc stuff
and will strip all these one by one with new SPI-NOR framework.

Summary: Will try to add SPI-NOR framework parallel and will strip the
spi_flash stuff
one by one from SPI API

-- 
Thanks,
Jagan.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-01-16  6:06     ` Jagan Teki
@ 2014-01-16 19:04       ` Marek Vasut
  2014-01-16 19:44         ` Jagan Teki
  0 siblings, 1 reply; 217+ messages in thread
From: Marek Vasut @ 2014-01-16 19:04 UTC (permalink / raw)
  To: u-boot

On Thursday, January 16, 2014 at 07:06:20 AM, Jagan Teki wrote:
> Hi Marek,
> 
> On Thu, Jan 16, 2014 at 1:08 AM, Marek Vasut <marex@denx.de> wrote:
> > On Monday, January 13, 2014 at 08:42:18 PM, Tom Rini wrote:
> >> On Tue, Jan 14, 2014 at 12:05:32AM +0530, Jagannadha Sutradharudu Teki 
wrote:
> >> > Hi Tom,
> >> > 
> >> > PR have quad and dual_flash change set also includes few fixes.
> >> > Tested these changes on spansion, stmicro and sst flash devices.
> >> > 
> >> > --
> >> > Thanks,
> >> > Jagan.
> >> > 
> >> > The following changes since commit 
7f673c99c2d8d1aa21996c5b914f06d784b080ca:
> >> >   Merge branch 'master' of git://git.denx.de/u-boot-arm (2014-01-10
> >> >   10:56:00 -0500)
> >> > 
> >> > are available in the git repository at:
> >> >   git://git.denx.de/u-boot-spi.git master
> >> > 
> >> > for you to fetch changes up to 35a55fb57fffb615e6b20980fb317e162076adb4:
> >> >   sf: params: Removed flag SECT_4K for Micron N25Q128 (2014-01-12
> >> >   21:40:23 +0530)
> >> > 
> >> > ----------------------------------------------------------------
> >> > 
> >> > Axel Lin (1):
> >> >       spi: sh_spi: Use sh_spi_clear_bit() instead of open-coded
> >> > 
> >> > Jagannadha Sutradharudu Teki (17):
> >> >       sf: Add extended read commands support
> >> >       sf: Add quad read/write commands support
> >> >       sf: ops: Add configuration register writing support
> >> >       sf: Set quad enable bit support
> >> >       sf: probe: Enable RD_FULL and WR_QPP
> >> >       sf: Separate the flash params table
> >> >       sf: Add QUAD_IO_FAST read support
> >> >       sf: Discover read dummy_byte
> >> >       sf: Add macronix set QEB support
> >> >       sf: probe: Enable macronix quad read/write cmds support
> >> >       sf: Divide flash register ops from QEB code
> >> >       sf: Code cleanups
> >> >       sf: ops: Unify read_ops bank configuration
> >> >       sf: Add dual memories support - DUAL_STACKED
> >> >       sf: Add dual memories support - DUAL_PARALLEL
> >> >       sf: Add CONFIG_SF_DUAL_FLASH
> >> >       doc: SPI: Update status.txt
> > 
> > I looked into this patchset and this seems completely misdesigned, sorry.
> 
> No issues - OK.
> 
> Let me explain the journey with (spi_flash)sf since last 8 months. [1]
> - We have a individual class of vendor drivers and removed all vendor
> specific stuff and added a common probe.
> - Added Bank addr reg stuff
> - Tunned sf almost seems like mtd/nand style where sf.c, sf_probe.c,
> sf_params.c and sf_ops.c
> - Added memory_mapped and quad commands supports
> - Done many of cleanups
> - maintained doc/SPI which we're trying to update.
> 
> Keeping these enhancements on current sf we are in a good shape than
> before.

This patchset does not do this cleanup you describe here. This patchset adds 
(dead) code to support SPI-NOR controllers via regular SPI API .

> > It seems this patchset aims to accomodate an SPI-NOR controllers within
> > the SPI API. The SPI-NOR controllers are a completely separate class of
> > hardware though, so I disagree with the attempt to integrate them into
> > the SPI framework. I cannot use most of the SPI-NOR controllers to drive
> > regular SPI bus (there are exceptions), but they are now presented as
> > regular SPI controllers indiscriminately.
> > 
> > Instead of going down this path, there should be a completely separate
> > class of drivers for the SPI-NOR controllers, same as in Linux [1]. That
> > way, there would still be an SF command talking to SF core, but the SF
> > core would be delegating the calls to either a layer talking to a SPI
> > flash via regular SPI interface or a layer talking the SPI-NOR
> > controller.
> > 
> > I also see some flaws in these patches. For example the struct spi_slave
> > {} now contains all kinds of new entries used only by the SPI flash
> > driver. The slave can now export for example SPI_OPM_RX_QOF and
> > SPI_OPM_RX_QIOF (see include/spi.h) flags, which -- if you inspect
> > drivers/mtd/spi/sf_probe.c and include/spi_flash.h -- should match up
> > with enum spi_read_cmds . So we now have two sets of flags, which needs
> > to be kept in sync, which is wrong. Besides, these flags define the
> > capabilities of the SPI-NOR host controller, so why are they even in
> > struct spi_slave {} ?
> 
> The spi_slave grown with flash stuff with spi driver terminologies,
> and the reason
> for taking one extra flag for reads in params is like we have couple
> of  commands
> for 1, 2 and 4-lines I have given a spi driver has a provision to
> verify these one by one.
> The reason for going this implementation for improving sf performance.

Sorry, I don't understand what you're telling me here.

btw. the struct spi_slave {} has grown quite significantly , it contains:

u8 op_mode_rx
u8 op_mode_tx
 -> SPI-NOR controllers' bus caps (like, can it do 4-bit transfer etc.), but 
this is SPI-NOR _controller_ specific, what is this stuff doing in struct 
spi_slave {} ? btw. /wrt placement of these new entries, you must read [1], 
since you just generated 2-byte slop.

void *memory_map
 -> this is clearly SPI-NOR controller specific stuff, which cannot be used by 
any other generic SPI peripheral.

u8 options
 -> Quite unclear what this is for.

u8 flags
 -> DTTO.

[1] http://www.catb.org/esr/structure-packing/

> > I also observe a big lack of documentation for all those flags, so it's
> > really hard to make heads or tails of how it's supposed to work.
> 
> Some how disagree this, because we have started doc/SPI [2] these days
> which don't have
> before and I'm stressing patch contributors to add as many as doc and
> test-cases logs.
> 
> and Yes- for this quad I'm planning to add test-case logs once our
> zynq qspi is ML.

I don't see any API documentation there, sorry. Can you point me to such an API 
documentation or design document or something please ?

> > Also, I don't see any of these new flags used yet, so we're still at a
> > good point to avoid going down the wrong path. I would love to see this
> > patchset postponed for next if possible, since my feeling of this is it
> > needs severe redesign.
> > 
> > [1] http://www.spinics.net/lists/arm-kernel/msg291891.html
> 
> And finally - I do understand your comments and agreed that we're
> tunning spi framework
> towards spi_flash, but the current implementation looks like that and
> there is no alternatives
> as of now.

Oh, there is an alternative (see [1] above, the spi-nor approach) and we should 
take the right direction instead of pushing in the wrong one.

> It was almost 9 months to spent quad changes to fit into on current
> code, for this
> I tunned spi_flash as sf to more convient to add extra add-ons, i
> guess many of the customers
> wants this quad since last year.

OK, but this doesn't justify pushing broken code which will bite us in the 
future.

> I agree that if we have a better framework which will divide spi and
> spi_flash separately
> like what you said with Linux SPI-NOR and it's good to have that. and
> also you're comparing
> the current sf stuff with this new approach, Yes - i agree that new
> approach will defiantly have a
> better view than the current.
> 
> But, honestly as of now we're planning to move like this. and I am adding
> this new framework approach to my TODO list - Will post one more thread for
> this implementation and planning.

OK, I would still prefer to get this release out _without_ the strange additions 
to struct spi_slave {}. Is it possible to strip away all those unused quad-spi 
additions for this release?

> [1]
> http://git.denx.de/?p=u-boot.git;a=blob;f=doc/SPI/status.txt;h=13889f54557
> cb04b2c011774ff3cace091a50e74;hb=master [2]
> http://git.denx.de/?p=u-boot.git;a=tree;f=doc/SPI;h=1464e1bad94f36606d46bc
> a3b45733b8aa1e722d;hb=master

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-01-15 19:38   ` Marek Vasut
@ 2014-01-16  6:06     ` Jagan Teki
  2014-01-16 19:04       ` Marek Vasut
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2014-01-16  6:06 UTC (permalink / raw)
  To: u-boot

Hi Marek,

On Thu, Jan 16, 2014 at 1:08 AM, Marek Vasut <marex@denx.de> wrote:
> On Monday, January 13, 2014 at 08:42:18 PM, Tom Rini wrote:
>> On Tue, Jan 14, 2014 at 12:05:32AM +0530, Jagannadha Sutradharudu Teki wrote:
>> > Hi Tom,
>> >
>> > PR have quad and dual_flash change set also includes few fixes.
>> > Tested these changes on spansion, stmicro and sst flash devices.
>> >
>> > --
>> > Thanks,
>> > Jagan.
>> >
>> > The following changes since commit 7f673c99c2d8d1aa21996c5b914f06d784b080ca:
>> >   Merge branch 'master' of git://git.denx.de/u-boot-arm (2014-01-10
>> >   10:56:00 -0500)
>> >
>> > are available in the git repository at:
>> >   git://git.denx.de/u-boot-spi.git master
>> >
>> > for you to fetch changes up to 35a55fb57fffb615e6b20980fb317e162076adb4:
>> >   sf: params: Removed flag SECT_4K for Micron N25Q128 (2014-01-12
>> >   21:40:23 +0530)
>> >
>> > ----------------------------------------------------------------
>> >
>> > Axel Lin (1):
>> >       spi: sh_spi: Use sh_spi_clear_bit() instead of open-coded
>> >
>> > Jagannadha Sutradharudu Teki (17):
>> >       sf: Add extended read commands support
>> >       sf: Add quad read/write commands support
>> >       sf: ops: Add configuration register writing support
>> >       sf: Set quad enable bit support
>> >       sf: probe: Enable RD_FULL and WR_QPP
>> >       sf: Separate the flash params table
>> >       sf: Add QUAD_IO_FAST read support
>> >       sf: Discover read dummy_byte
>> >       sf: Add macronix set QEB support
>> >       sf: probe: Enable macronix quad read/write cmds support
>> >       sf: Divide flash register ops from QEB code
>> >       sf: Code cleanups
>> >       sf: ops: Unify read_ops bank configuration
>> >       sf: Add dual memories support - DUAL_STACKED
>> >       sf: Add dual memories support - DUAL_PARALLEL
>> >       sf: Add CONFIG_SF_DUAL_FLASH
>> >       doc: SPI: Update status.txt
>
> I looked into this patchset and this seems completely misdesigned, sorry.
No issues - OK.

Let me explain the journey with (spi_flash)sf since last 8 months. [1]
- We have a individual class of vendor drivers and removed all vendor specific
  stuff and added a common probe.
- Added Bank addr reg stuff
- Tunned sf almost seems like mtd/nand style where sf.c, sf_probe.c,
sf_params.c and sf_ops.c
- Added memory_mapped and quad commands supports
- Done many of cleanups
- maintained doc/SPI which we're trying to update.

Keeping these enhancements on current sf we are in a good shape than before.
>
> It seems this patchset aims to accomodate an SPI-NOR controllers within the SPI
> API. The SPI-NOR controllers are a completely separate class of hardware though,
> so I disagree with the attempt to integrate them into the SPI framework. I
> cannot use most of the SPI-NOR controllers to drive regular SPI bus (there are
> exceptions), but they are now presented as regular SPI controllers
> indiscriminately.
>
> Instead of going down this path, there should be a completely separate class of
> drivers for the SPI-NOR controllers, same as in Linux [1]. That way, there would
> still be an SF command talking to SF core, but the SF core would be delegating
> the calls to either a layer talking to a SPI flash via regular SPI interface or
> a layer talking the SPI-NOR controller.
>
> I also see some flaws in these patches. For example the struct spi_slave {} now
> contains all kinds of new entries used only by the SPI flash driver. The slave
> can now export for example SPI_OPM_RX_QOF and SPI_OPM_RX_QIOF (see
> include/spi.h) flags, which -- if you inspect drivers/mtd/spi/sf_probe.c and
> include/spi_flash.h -- should match up with enum spi_read_cmds . So we now have
> two sets of flags, which needs to be kept in sync, which is wrong. Besides,
> these flags define the capabilities of the SPI-NOR host controller, so why are
> they even in struct spi_slave {} ?

The spi_slave grown with flash stuff with spi driver terminologies,
and the reason
for taking one extra flag for reads in params is like we have couple
of  commands
for 1, 2 and 4-lines I have given a spi driver has a provision to
verify these one by one.
The reason for going this implementation for improving sf performance.
>
> I also observe a big lack of documentation for all those flags, so it's really
> hard to make heads or tails of how it's supposed to work.

Some how disagree this, because we have started doc/SPI [2] these days
which don't have
before and I'm stressing patch contributors to add as many as doc and
test-cases logs.

and Yes- for this quad I'm planning to add test-case logs once our
zynq qspi is ML.
>
> Also, I don't see any of these new flags used yet, so we're still at a good
> point to avoid going down the wrong path. I would love to see this patchset
> postponed for next if possible, since my feeling of this is it needs severe
> redesign.
>
> [1] http://www.spinics.net/lists/arm-kernel/msg291891.html

And finally - I do understand your comments and agreed that we're
tunning spi framework
towards spi_flash, but the current implementation looks like that and
there is no alternatives
as of now.

It was almost 9 months to spent quad changes to fit into on current
code, for this
I tunned spi_flash as sf to more convient to add extra add-ons, i
guess many of the customers
wants this quad since last year.

I agree that if we have a better framework which will divide spi and
spi_flash separately
like what you said with Linux SPI-NOR and it's good to have that. and
also you're comparing
the current sf stuff with this new approach, Yes - i agree that new
approach will defiantly have a
better view than the current.

But, honestly as of now we're planning to move like this. and I am adding
this new framework approach to my TODO list - Will post one more thread for
this implementation and planning.

[1] http://git.denx.de/?p=u-boot.git;a=blob;f=doc/SPI/status.txt;h=13889f54557cb04b2c011774ff3cace091a50e74;hb=master
[2] http://git.denx.de/?p=u-boot.git;a=tree;f=doc/SPI;h=1464e1bad94f36606d46bca3b45733b8aa1e722d;hb=master

-- 
Thanks,
Jagan.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-01-13 19:42 ` Tom Rini
@ 2014-01-15 19:38   ` Marek Vasut
  2014-01-16  6:06     ` Jagan Teki
  0 siblings, 1 reply; 217+ messages in thread
From: Marek Vasut @ 2014-01-15 19:38 UTC (permalink / raw)
  To: u-boot

On Monday, January 13, 2014 at 08:42:18 PM, Tom Rini wrote:
> On Tue, Jan 14, 2014 at 12:05:32AM +0530, Jagannadha Sutradharudu Teki wrote:
> > Hi Tom,
> > 
> > PR have quad and dual_flash change set also includes few fixes.
> > Tested these changes on spansion, stmicro and sst flash devices.
> > 
> > --
> > Thanks,
> > Jagan.
> > 
> > The following changes since commit 7f673c99c2d8d1aa21996c5b914f06d784b080ca:
> >   Merge branch 'master' of git://git.denx.de/u-boot-arm (2014-01-10
> >   10:56:00 -0500)
> > 
> > are available in the git repository at:
> >   git://git.denx.de/u-boot-spi.git master
> > 
> > for you to fetch changes up to 35a55fb57fffb615e6b20980fb317e162076adb4:
> >   sf: params: Removed flag SECT_4K for Micron N25Q128 (2014-01-12
> >   21:40:23 +0530)
> > 
> > ----------------------------------------------------------------
> > 
> > Axel Lin (1):
> >       spi: sh_spi: Use sh_spi_clear_bit() instead of open-coded
> > 
> > Jagannadha Sutradharudu Teki (17):
> >       sf: Add extended read commands support
> >       sf: Add quad read/write commands support
> >       sf: ops: Add configuration register writing support
> >       sf: Set quad enable bit support
> >       sf: probe: Enable RD_FULL and WR_QPP
> >       sf: Separate the flash params table
> >       sf: Add QUAD_IO_FAST read support
> >       sf: Discover read dummy_byte
> >       sf: Add macronix set QEB support
> >       sf: probe: Enable macronix quad read/write cmds support
> >       sf: Divide flash register ops from QEB code
> >       sf: Code cleanups
> >       sf: ops: Unify read_ops bank configuration
> >       sf: Add dual memories support - DUAL_STACKED
> >       sf: Add dual memories support - DUAL_PARALLEL
> >       sf: Add CONFIG_SF_DUAL_FLASH
> >       doc: SPI: Update status.txt

I looked into this patchset and this seems completely misdesigned, sorry.

It seems this patchset aims to accomodate an SPI-NOR controllers within the SPI 
API. The SPI-NOR controllers are a completely separate class of hardware though, 
so I disagree with the attempt to integrate them into the SPI framework. I 
cannot use most of the SPI-NOR controllers to drive regular SPI bus (there are 
exceptions), but they are now presented as regular SPI controllers 
indiscriminately.

Instead of going down this path, there should be a completely separate class of 
drivers for the SPI-NOR controllers, same as in Linux [1]. That way, there would 
still be an SF command talking to SF core, but the SF core would be delegating 
the calls to either a layer talking to a SPI flash via regular SPI interface or 
a layer talking the SPI-NOR controller.

I also see some flaws in these patches. For example the struct spi_slave {} now 
contains all kinds of new entries used only by the SPI flash driver. The slave 
can now export for example SPI_OPM_RX_QOF and SPI_OPM_RX_QIOF (see 
include/spi.h) flags, which -- if you inspect drivers/mtd/spi/sf_probe.c and 
include/spi_flash.h -- should match up with enum spi_read_cmds . So we now have 
two sets of flags, which needs to be kept in sync, which is wrong. Besides, 
these flags define the capabilities of the SPI-NOR host controller, so why are 
they even in struct spi_slave {} ?

I also observe a big lack of documentation for all those flags, so it's really 
hard to make heads or tails of how it's supposed to work.

Also, I don't see any of these new flags used yet, so we're still at a good 
point to avoid going down the wrong path. I would love to see this patchset 
postponed for next if possible, since my feeling of this is it needs severe 
redesign.

[1] http://www.spinics.net/lists/arm-kernel/msg291891.html

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2014-01-13 18:35 Jagannadha Sutradharudu Teki
@ 2014-01-13 19:42 ` Tom Rini
  2014-01-15 19:38   ` Marek Vasut
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2014-01-13 19:42 UTC (permalink / raw)
  To: u-boot

On Tue, Jan 14, 2014 at 12:05:32AM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> PR have quad and dual_flash change set also includes few fixes.
> Tested these changes on spansion, stmicro and sst flash devices.
> 
> --
> Thanks,
> Jagan.
> 
> The following changes since commit 7f673c99c2d8d1aa21996c5b914f06d784b080ca:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-arm (2014-01-10 10:56:00 -0500)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 35a55fb57fffb615e6b20980fb317e162076adb4:
> 
>   sf: params: Removed flag SECT_4K for Micron N25Q128 (2014-01-12 21:40:23 +0530)
> 
> ----------------------------------------------------------------
> Axel Lin (1):
>       spi: sh_spi: Use sh_spi_clear_bit() instead of open-coded
> 
> Jagannadha Sutradharudu Teki (17):
>       sf: Add extended read commands support
>       sf: Add quad read/write commands support
>       sf: ops: Add configuration register writing support
>       sf: Set quad enable bit support
>       sf: probe: Enable RD_FULL and WR_QPP
>       sf: Separate the flash params table
>       sf: Add QUAD_IO_FAST read support
>       sf: Discover read dummy_byte
>       sf: Add macronix set QEB support
>       sf: probe: Enable macronix quad read/write cmds support
>       sf: Divide flash register ops from QEB code
>       sf: Code cleanups
>       sf: ops: Unify read_ops bank configuration
>       sf: Add dual memories support - DUAL_STACKED
>       sf: Add dual memories support - DUAL_PARALLEL
>       sf: Add CONFIG_SF_DUAL_FLASH
>       doc: SPI: Update status.txt
> 
> Kuo-Jung Su (1):
>       spi: Add Faraday SPI controller support
> 
> Simon Glass (1):
>       sandbox: spi: Adjust 'sf test' to work on sandbox
> 
> Siva Durga Prasad Paladugu (1):
>       sf: params: Removed flag SECT_4K for Micron N25Q128
> 
>  README                           |   6 +
>  common/cmd_sf.c                  |  14 +-
>  doc/SPI/README.dual-flash        |  92 +++++++
>  doc/SPI/README.ftssp010_spi_test |  41 ++++
>  doc/SPI/status.txt               |  11 +-
>  drivers/mtd/spi/Makefile         |   4 +-
>  drivers/mtd/spi/sf.c             |   4 +
>  drivers/mtd/spi/sf_internal.h    |  34 ++-
>  drivers/mtd/spi/sf_ops.c         | 157 +++++++++---
>  drivers/mtd/spi/sf_params.c      | 130 ++++++++++
>  drivers/mtd/spi/sf_probe.c       | 274 +++++++++++----------
>  drivers/spi/Makefile             |   1 +
>  drivers/spi/ftssp010_spi.c       | 508 +++++++++++++++++++++++++++++++++++++++
>  drivers/spi/sh_spi.c             |  10 +-
>  include/spi.h                    |  26 ++
>  include/spi_flash.h              |  57 +++++
>  16 files changed, 1171 insertions(+), 198 deletions(-)
>  create mode 100644 doc/SPI/README.dual-flash
>  create mode 100644 doc/SPI/README.ftssp010_spi_test
>  create mode 100644 drivers/mtd/spi/sf_params.c
>  create mode 100644 drivers/spi/ftssp010_spi.c

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140113/213e64f2/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2014-01-13 18:35 Jagannadha Sutradharudu Teki
  2014-01-13 19:42 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2014-01-13 18:35 UTC (permalink / raw)
  To: u-boot

Hi Tom,

PR have quad and dual_flash change set also includes few fixes.
Tested these changes on spansion, stmicro and sst flash devices.

--
Thanks,
Jagan.

The following changes since commit 7f673c99c2d8d1aa21996c5b914f06d784b080ca:

  Merge branch 'master' of git://git.denx.de/u-boot-arm (2014-01-10 10:56:00 -0500)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 35a55fb57fffb615e6b20980fb317e162076adb4:

  sf: params: Removed flag SECT_4K for Micron N25Q128 (2014-01-12 21:40:23 +0530)

----------------------------------------------------------------
Axel Lin (1):
      spi: sh_spi: Use sh_spi_clear_bit() instead of open-coded

Jagannadha Sutradharudu Teki (17):
      sf: Add extended read commands support
      sf: Add quad read/write commands support
      sf: ops: Add configuration register writing support
      sf: Set quad enable bit support
      sf: probe: Enable RD_FULL and WR_QPP
      sf: Separate the flash params table
      sf: Add QUAD_IO_FAST read support
      sf: Discover read dummy_byte
      sf: Add macronix set QEB support
      sf: probe: Enable macronix quad read/write cmds support
      sf: Divide flash register ops from QEB code
      sf: Code cleanups
      sf: ops: Unify read_ops bank configuration
      sf: Add dual memories support - DUAL_STACKED
      sf: Add dual memories support - DUAL_PARALLEL
      sf: Add CONFIG_SF_DUAL_FLASH
      doc: SPI: Update status.txt

Kuo-Jung Su (1):
      spi: Add Faraday SPI controller support

Simon Glass (1):
      sandbox: spi: Adjust 'sf test' to work on sandbox

Siva Durga Prasad Paladugu (1):
      sf: params: Removed flag SECT_4K for Micron N25Q128

 README                           |   6 +
 common/cmd_sf.c                  |  14 +-
 doc/SPI/README.dual-flash        |  92 +++++++
 doc/SPI/README.ftssp010_spi_test |  41 ++++
 doc/SPI/status.txt               |  11 +-
 drivers/mtd/spi/Makefile         |   4 +-
 drivers/mtd/spi/sf.c             |   4 +
 drivers/mtd/spi/sf_internal.h    |  34 ++-
 drivers/mtd/spi/sf_ops.c         | 157 +++++++++---
 drivers/mtd/spi/sf_params.c      | 130 ++++++++++
 drivers/mtd/spi/sf_probe.c       | 274 +++++++++++----------
 drivers/spi/Makefile             |   1 +
 drivers/spi/ftssp010_spi.c       | 508 +++++++++++++++++++++++++++++++++++++++
 drivers/spi/sh_spi.c             |  10 +-
 include/spi.h                    |  26 ++
 include/spi_flash.h              |  57 +++++
 16 files changed, 1171 insertions(+), 198 deletions(-)
 create mode 100644 doc/SPI/README.dual-flash
 create mode 100644 doc/SPI/README.ftssp010_spi_test
 create mode 100644 drivers/mtd/spi/sf_params.c
 create mode 100644 drivers/spi/ftssp010_spi.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2013-12-19 18:22 Jagannadha Sutradharudu Teki
@ 2013-12-19 22:15 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2013-12-19 22:15 UTC (permalink / raw)
  To: u-boot

On Thu, Dec 19, 2013 at 11:52:00PM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Small PR - addons on one spi driver, others and few fixes.
> 
> Thanks,
> Jagan.
> 
> The following changes since commit f3bf212abc4139f12b472e97c1992ab32671b609:
> 
>   serial_sh: add support for SH7753 (2013-12-18 16:50:00 +0900)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to ac5cce38de8f97a120b8c98f34be0d5eec50a6fb:
> 
>   driver: mtd: sf_ops: claim bus while doing memcpy (2013-12-19 12:23:22 +0530)
> 
> ----------------------------------------------------------------
> Luka Perkov (2):
>       sf: probe: Hex values are in lower case
>       sf: probe: add support for MX25L2006E
> 
> Nobuhiro Iwamatsu (1):
>       spi: Add support SH Quad SPI driver
> 
> Poddar, Sourav (2):
>       config: dra7_evm: Add Bank Address Register(BAR) config
>       driver: mtd: sf_ops: claim bus while doing memcpy
> 
> Yen Lin (1):
>       spi: tegra: clear RDY bit prior to every transfer
> 
>  doc/SPI/README.sh_qspi_test  |  38 ++++++
>  drivers/mtd/spi/sf_ops.c     |   6 +
>  drivers/mtd/spi/sf_probe.c   |   3 +-
>  drivers/spi/Makefile         |   1 +
>  drivers/spi/sh_qspi.c        | 277 +++++++++++++++++++++++++++++++++++++++++++
>  drivers/spi/tegra114_spi.c   |  21 ++--
>  include/configs/dra7xx_evm.h |   1 +
>  7 files changed, 333 insertions(+), 14 deletions(-)
>  create mode 100644 doc/SPI/README.sh_qspi_test
>  create mode 100644 drivers/spi/sh_qspi.c

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131219/d933f690/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2013-12-19 18:22 Jagannadha Sutradharudu Teki
  2013-12-19 22:15 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2013-12-19 18:22 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Small PR - addons on one spi driver, others and few fixes.

Thanks,
Jagan.

The following changes since commit f3bf212abc4139f12b472e97c1992ab32671b609:

  serial_sh: add support for SH7753 (2013-12-18 16:50:00 +0900)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to ac5cce38de8f97a120b8c98f34be0d5eec50a6fb:

  driver: mtd: sf_ops: claim bus while doing memcpy (2013-12-19 12:23:22 +0530)

----------------------------------------------------------------
Luka Perkov (2):
      sf: probe: Hex values are in lower case
      sf: probe: add support for MX25L2006E

Nobuhiro Iwamatsu (1):
      spi: Add support SH Quad SPI driver

Poddar, Sourav (2):
      config: dra7_evm: Add Bank Address Register(BAR) config
      driver: mtd: sf_ops: claim bus while doing memcpy

Yen Lin (1):
      spi: tegra: clear RDY bit prior to every transfer

 doc/SPI/README.sh_qspi_test  |  38 ++++++
 drivers/mtd/spi/sf_ops.c     |   6 +
 drivers/mtd/spi/sf_probe.c   |   3 +-
 drivers/spi/Makefile         |   1 +
 drivers/spi/sh_qspi.c        | 277 +++++++++++++++++++++++++++++++++++++++++++
 drivers/spi/tegra114_spi.c   |  21 ++--
 include/configs/dra7xx_evm.h |   1 +
 7 files changed, 333 insertions(+), 14 deletions(-)
 create mode 100644 doc/SPI/README.sh_qspi_test
 create mode 100644 drivers/spi/sh_qspi.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2013-10-15 18:58 Jagannadha Sutradharudu Teki
@ 2013-10-15 21:25 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2013-10-15 21:25 UTC (permalink / raw)
  To: u-boot

On Wed, Oct 16, 2013 at 12:28:10AM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Simple PR - cleanup + some misc changes.
> 
> Thanks,
> Jagan.
> 
> The following changes since commit a707b3db562c4c3ae580e2eabb05b59adcc31846:
> 
>   buildman: Use env to pick the python from $PATH (2013-10-15 08:44:28 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 6d5ce1bd0048617d48c05de1a84fae8696081127:
> 
>   spi: mxc_spi: Fix double incrementing read pointer for unaligned buffers (2013-10-16 00:14:30 +0530)
> 
> ----------------------------------------------------------------
> Bo Shen (1):
>       sf: probe: Add missing Atmel at25df321 flash
> 
> Jagannadha Sutradharudu Teki (4):
>       sf_ops: Unify bank_sel calculation code
>       sf: Minor cleanups.
>       sf: Add GPL-2.0+ SPDX-License-Identifier for missing ones
>       spi: Add GPL-2.0+ SPDX-License-Identifier for missing files
> 
> Timo Herbrecher (1):
>       spi: mxc_spi: Fix double incrementing read pointer for unaligned buffers
> 
>  common/cmd_sf.c               |  3 ++-
>  drivers/mtd/spi/sf.c          |  2 +-
>  drivers/mtd/spi/sf_internal.h |  8 ++++----
>  drivers/mtd/spi/sf_ops.c      | 40 ++++++++++++++++++++++------------------
>  drivers/mtd/spi/sf_probe.c    |  8 +++++---
>  drivers/spi/altera_spi.c      |  2 +-
>  drivers/spi/bfin_spi.c        |  2 +-
>  drivers/spi/mxc_spi.c         |  2 +-
>  drivers/spi/oc_tiny_spi.c     |  2 +-
>  drivers/spi/xilinx_spi.c      |  2 +-
>  drivers/spi/xilinx_spi.h      |  2 +-
>  include/spi.h                 | 14 +++++++-------
>  12 files changed, 47 insertions(+), 40 deletions(-)

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131015/c3a5d216/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2013-10-15 18:58 Jagannadha Sutradharudu Teki
  2013-10-15 21:25 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2013-10-15 18:58 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Simple PR - cleanup + some misc changes.

Thanks,
Jagan.

The following changes since commit a707b3db562c4c3ae580e2eabb05b59adcc31846:

  buildman: Use env to pick the python from $PATH (2013-10-15 08:44:28 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 6d5ce1bd0048617d48c05de1a84fae8696081127:

  spi: mxc_spi: Fix double incrementing read pointer for unaligned buffers (2013-10-16 00:14:30 +0530)

----------------------------------------------------------------
Bo Shen (1):
      sf: probe: Add missing Atmel at25df321 flash

Jagannadha Sutradharudu Teki (4):
      sf_ops: Unify bank_sel calculation code
      sf: Minor cleanups.
      sf: Add GPL-2.0+ SPDX-License-Identifier for missing ones
      spi: Add GPL-2.0+ SPDX-License-Identifier for missing files

Timo Herbrecher (1):
      spi: mxc_spi: Fix double incrementing read pointer for unaligned buffers

 common/cmd_sf.c               |  3 ++-
 drivers/mtd/spi/sf.c          |  2 +-
 drivers/mtd/spi/sf_internal.h |  8 ++++----
 drivers/mtd/spi/sf_ops.c      | 40 ++++++++++++++++++++++------------------
 drivers/mtd/spi/sf_probe.c    |  8 +++++---
 drivers/spi/altera_spi.c      |  2 +-
 drivers/spi/bfin_spi.c        |  2 +-
 drivers/spi/mxc_spi.c         |  2 +-
 drivers/spi/oc_tiny_spi.c     |  2 +-
 drivers/spi/xilinx_spi.c      |  2 +-
 drivers/spi/xilinx_spi.h      |  2 +-
 include/spi.h                 | 14 +++++++-------
 12 files changed, 47 insertions(+), 40 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2013-10-07 14:22 Jagannadha Sutradharudu Teki
@ 2013-10-08 19:32 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2013-10-08 19:32 UTC (permalink / raw)
  To: u-boot

On Mon, Oct 07, 2013 at 07:52:24PM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Just released pull request with new sf probe support.
> Tested these changes on stmicro, winbond, spansion and sst.
> 
> --
> Thanks,
> Jagan.
> 
> The following changes since commit f835c77fb7e57508ffe8d8ca3a092ee28add77b2:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-arm (2013-10-04 13:17:48 -0400)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 3cfcf774c270ecf6289203d88f859d1f91cb318e:
> 
>   doc: SPI: Update SPI status track (2013-10-07 19:35:10 +0530)
> 
> ----------------------------------------------------------------
> Jagannadha Sutradharudu Teki (35):
>       sf: Divide spi_flash into multiple parts
>       sf: probe: Add new spi_flash_probe support
>       sf: probe: Add support for M25P* flash parts
>       sf: probe: Add support for EN25Q* flash parts
>       sf: probe: Add support for GD25* flash parts
>       sf: probe: Add support for MX25L* flash parts
>       sf: probe: Add support for W25* flash parts
>       sf: probe: Add support for S25FL* flash parts
>       sf: probe: Add support for SST25* flash parts
>       sf: probe: Add support for AT45DB* flash parts
>       sf: probe: Give proper spacing on flash table params
>       sf: probe: Add support for SST_WP
>       sf: probe: Add support to clear flash BP# bits
>       sf: probe: Add support for erase sector selection flag
>       sf: probe: Add support for flag status polling
>       sf: probe: Simply the BAR configuration logic
>       sf: Add proper comment style on spi_flash structure
>       sf: ramtron: Add support for separate flash driver
>       sf: Remove unneeded flash drivers files
>       sf: probe: Add support for EN25Q64
>       sf: probe: Add support for S25FL256S_256K
>       sf: probe: Add support for S25FL512S_256K
>       sf: probe: Use print_size arg as page_size
>       sf: probe: Print erase_size while printing flash details
>       sf: ops: Add static qualifier to spi_flash_cmd_bankaddr_write
>       sf: probe: Add support for MX25L25635F
>       sf: probe: Add support for MX25L51235F
>       sf: Remove spi_flash_do_alloc references
>       sf: spi_flash cleanups
>       spi: spi cleanups
>       sf: Rename spi_flash files
>       doc: SPI: Add status.txt for tracking SPI subsys status
>       sf: Minor cleanups
>       sf: ramtron: Remove page_size print
>       doc: SPI: Update SPI status track
> 
> Matt Porter (3):
>       omap5: add qspi support
>       spi: add TI QSPI driver
>       dra7xx_evm: add SPL API, QSPI, and serial flash support
> 
> Poddar, Sourav (3):
>       armv7: hw_data: change clock divider setting.
>       sf: Add memory mapped read support
>       README: qspi usecase and testing documentation.
> 
> Priyanka Jain (1):
>       sf: probe: Add support for EN25S64
> 
>  arch/arm/cpu/armv7/omap5/hw_data.c                 |  10 +-
>  arch/arm/cpu/armv7/omap5/prcm-regs.c               |   1 +
>  arch/arm/include/asm/arch-omap5/omap.h             |   3 +
>  arch/arm/include/asm/arch-omap5/spl.h              |   1 +
>  arch/arm/include/asm/omap_common.h                 |   1 +
>  board/ti/dra7xx/mux_data.h                         |  10 +
>  doc/SPI/README.ti_qspi_dra_test                    |  48 ++
>  doc/SPI/README.ti_qspi_flash                       |  47 ++
>  doc/SPI/status.txt                                 |  31 ++
>  drivers/mtd/spi/Makefile                           |  15 +-
>  drivers/mtd/spi/atmel.c                            | 544 ------------------
>  drivers/mtd/spi/eon.c                              |  60 --
>  drivers/mtd/spi/gigadevice.c                       |  65 ---
>  drivers/mtd/spi/macronix.c                         |  98 ----
>  drivers/mtd/spi/ramtron.c                          | 122 +++-
>  drivers/mtd/spi/sf.c                               |  54 ++
>  .../spi/{spi_flash_internal.h => sf_internal.h}    | 140 ++---
>  drivers/mtd/spi/sf_ops.c                           | 405 ++++++++++++++
>  drivers/mtd/spi/sf_probe.c                         | 363 ++++++++++++
>  drivers/mtd/spi/spansion.c                         | 141 -----
>  drivers/mtd/spi/spi_flash.c                        | 615 ---------------------
>  drivers/mtd/spi/sst.c                              | 238 --------
>  drivers/mtd/spi/stmicro.c                          | 202 -------
>  drivers/mtd/spi/winbond.c                          | 141 -----
>  drivers/spi/Makefile                               |   1 +
>  drivers/spi/ti_qspi.c                              | 311 +++++++++++
>  include/configs/dra7xx_evm.h                       |  19 +
>  include/configs/top9000.h                          |   1 -
>  include/spi.h                                      | 100 ++--
>  include/spi_flash.h                                | 103 ++--
>  30 files changed, 1592 insertions(+), 2298 deletions(-)
>  create mode 100644 doc/SPI/README.ti_qspi_dra_test
>  create mode 100644 doc/SPI/README.ti_qspi_flash
>  create mode 100644 doc/SPI/status.txt
>  delete mode 100644 drivers/mtd/spi/atmel.c
>  delete mode 100644 drivers/mtd/spi/eon.c
>  delete mode 100644 drivers/mtd/spi/gigadevice.c
>  delete mode 100644 drivers/mtd/spi/macronix.c
>  create mode 100644 drivers/mtd/spi/sf.c
>  rename drivers/mtd/spi/{spi_flash_internal.h => sf_internal.h} (62%)
>  create mode 100644 drivers/mtd/spi/sf_ops.c
>  create mode 100644 drivers/mtd/spi/sf_probe.c
>  delete mode 100644 drivers/mtd/spi/spansion.c
>  delete mode 100644 drivers/mtd/spi/spi_flash.c
>  delete mode 100644 drivers/mtd/spi/sst.c
>  delete mode 100644 drivers/mtd/spi/stmicro.c
>  delete mode 100644 drivers/mtd/spi/winbond.c
>  create mode 100644 drivers/spi/ti_qspi.c

With the patch I sent as follow-up, applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131008/6f018608/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2013-10-07 14:22 Jagannadha Sutradharudu Teki
  2013-10-08 19:32 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2013-10-07 14:22 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Just released pull request with new sf probe support.
Tested these changes on stmicro, winbond, spansion and sst.

--
Thanks,
Jagan.

The following changes since commit f835c77fb7e57508ffe8d8ca3a092ee28add77b2:

  Merge branch 'master' of git://git.denx.de/u-boot-arm (2013-10-04 13:17:48 -0400)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 3cfcf774c270ecf6289203d88f859d1f91cb318e:

  doc: SPI: Update SPI status track (2013-10-07 19:35:10 +0530)

----------------------------------------------------------------
Jagannadha Sutradharudu Teki (35):
      sf: Divide spi_flash into multiple parts
      sf: probe: Add new spi_flash_probe support
      sf: probe: Add support for M25P* flash parts
      sf: probe: Add support for EN25Q* flash parts
      sf: probe: Add support for GD25* flash parts
      sf: probe: Add support for MX25L* flash parts
      sf: probe: Add support for W25* flash parts
      sf: probe: Add support for S25FL* flash parts
      sf: probe: Add support for SST25* flash parts
      sf: probe: Add support for AT45DB* flash parts
      sf: probe: Give proper spacing on flash table params
      sf: probe: Add support for SST_WP
      sf: probe: Add support to clear flash BP# bits
      sf: probe: Add support for erase sector selection flag
      sf: probe: Add support for flag status polling
      sf: probe: Simply the BAR configuration logic
      sf: Add proper comment style on spi_flash structure
      sf: ramtron: Add support for separate flash driver
      sf: Remove unneeded flash drivers files
      sf: probe: Add support for EN25Q64
      sf: probe: Add support for S25FL256S_256K
      sf: probe: Add support for S25FL512S_256K
      sf: probe: Use print_size arg as page_size
      sf: probe: Print erase_size while printing flash details
      sf: ops: Add static qualifier to spi_flash_cmd_bankaddr_write
      sf: probe: Add support for MX25L25635F
      sf: probe: Add support for MX25L51235F
      sf: Remove spi_flash_do_alloc references
      sf: spi_flash cleanups
      spi: spi cleanups
      sf: Rename spi_flash files
      doc: SPI: Add status.txt for tracking SPI subsys status
      sf: Minor cleanups
      sf: ramtron: Remove page_size print
      doc: SPI: Update SPI status track

Matt Porter (3):
      omap5: add qspi support
      spi: add TI QSPI driver
      dra7xx_evm: add SPL API, QSPI, and serial flash support

Poddar, Sourav (3):
      armv7: hw_data: change clock divider setting.
      sf: Add memory mapped read support
      README: qspi usecase and testing documentation.

Priyanka Jain (1):
      sf: probe: Add support for EN25S64

 arch/arm/cpu/armv7/omap5/hw_data.c                 |  10 +-
 arch/arm/cpu/armv7/omap5/prcm-regs.c               |   1 +
 arch/arm/include/asm/arch-omap5/omap.h             |   3 +
 arch/arm/include/asm/arch-omap5/spl.h              |   1 +
 arch/arm/include/asm/omap_common.h                 |   1 +
 board/ti/dra7xx/mux_data.h                         |  10 +
 doc/SPI/README.ti_qspi_dra_test                    |  48 ++
 doc/SPI/README.ti_qspi_flash                       |  47 ++
 doc/SPI/status.txt                                 |  31 ++
 drivers/mtd/spi/Makefile                           |  15 +-
 drivers/mtd/spi/atmel.c                            | 544 ------------------
 drivers/mtd/spi/eon.c                              |  60 --
 drivers/mtd/spi/gigadevice.c                       |  65 ---
 drivers/mtd/spi/macronix.c                         |  98 ----
 drivers/mtd/spi/ramtron.c                          | 122 +++-
 drivers/mtd/spi/sf.c                               |  54 ++
 .../spi/{spi_flash_internal.h => sf_internal.h}    | 140 ++---
 drivers/mtd/spi/sf_ops.c                           | 405 ++++++++++++++
 drivers/mtd/spi/sf_probe.c                         | 363 ++++++++++++
 drivers/mtd/spi/spansion.c                         | 141 -----
 drivers/mtd/spi/spi_flash.c                        | 615 ---------------------
 drivers/mtd/spi/sst.c                              | 238 --------
 drivers/mtd/spi/stmicro.c                          | 202 -------
 drivers/mtd/spi/winbond.c                          | 141 -----
 drivers/spi/Makefile                               |   1 +
 drivers/spi/ti_qspi.c                              | 311 +++++++++++
 include/configs/dra7xx_evm.h                       |  19 +
 include/configs/top9000.h                          |   1 -
 include/spi.h                                      | 100 ++--
 include/spi_flash.h                                | 103 ++--
 30 files changed, 1592 insertions(+), 2298 deletions(-)
 create mode 100644 doc/SPI/README.ti_qspi_dra_test
 create mode 100644 doc/SPI/README.ti_qspi_flash
 create mode 100644 doc/SPI/status.txt
 delete mode 100644 drivers/mtd/spi/atmel.c
 delete mode 100644 drivers/mtd/spi/eon.c
 delete mode 100644 drivers/mtd/spi/gigadevice.c
 delete mode 100644 drivers/mtd/spi/macronix.c
 create mode 100644 drivers/mtd/spi/sf.c
 rename drivers/mtd/spi/{spi_flash_internal.h => sf_internal.h} (62%)
 create mode 100644 drivers/mtd/spi/sf_ops.c
 create mode 100644 drivers/mtd/spi/sf_probe.c
 delete mode 100644 drivers/mtd/spi/spansion.c
 delete mode 100644 drivers/mtd/spi/spi_flash.c
 delete mode 100644 drivers/mtd/spi/sst.c
 delete mode 100644 drivers/mtd/spi/stmicro.c
 delete mode 100644 drivers/mtd/spi/winbond.c
 create mode 100644 drivers/spi/ti_qspi.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2013-09-15 17:19 Jagannadha Sutradharudu Teki
@ 2013-09-17  0:09 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2013-09-17  0:09 UTC (permalink / raw)
  To: u-boot

On Sun, Sep 15, 2013 at 10:49:06PM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Small pull request, planning to send next bunch of request for
> next pull.
> 
> Thanks,
> Jagan.
> 
> The following changes since commit 2b26201a2aef0b310b7c04702b0dba5dea493f77:
> 
>   env_nand.c: support falling back to redundant env when writing (2013-08-22 17:49:47 -0500)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to b95f958d7d06b3cd117647b29b288cf168aa2ee9:
> 
>   cmd_sf: let "sf update" preserve the final part of the last sector (2013-08-27 19:39:39 +0530)
> 
> ----------------------------------------------------------------
> Gerlando Falauto (1):
>       cmd_sf: let "sf update" preserve the final part of the last sector
> 
> Marek Vasut (1):
>       spi: mxs_spi: Configure chipselect after block reset
> 
>  common/cmd_sf.c       | 13 ++++++++++++-
>  drivers/spi/mxs_spi.c | 12 +++---------
>  2 files changed, 15 insertions(+), 10 deletions(-)

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130916/0cc273e5/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2013-09-15 17:19 Jagannadha Sutradharudu Teki
  2013-09-17  0:09 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2013-09-15 17:19 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Small pull request, planning to send next bunch of request for
next pull.

Thanks,
Jagan.

The following changes since commit 2b26201a2aef0b310b7c04702b0dba5dea493f77:

  env_nand.c: support falling back to redundant env when writing (2013-08-22 17:49:47 -0500)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to b95f958d7d06b3cd117647b29b288cf168aa2ee9:

  cmd_sf: let "sf update" preserve the final part of the last sector (2013-08-27 19:39:39 +0530)

----------------------------------------------------------------
Gerlando Falauto (1):
      cmd_sf: let "sf update" preserve the final part of the last sector

Marek Vasut (1):
      spi: mxs_spi: Configure chipselect after block reset

 common/cmd_sf.c       | 13 ++++++++++++-
 drivers/spi/mxs_spi.c | 12 +++---------
 2 files changed, 15 insertions(+), 10 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2013-08-10 12:26 Jagannadha Sutradharudu Teki
@ 2013-08-12 16:00 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2013-08-12 16:00 UTC (permalink / raw)
  To: u-boot

On Sat, Aug 10, 2013 at 05:56:13PM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> Pull request has more likely a cleanup and one bug fixe.
> Please let me know for any issues/concerns.
> 
> Thanks,
> Jagan.
> 
> The following changes since commit d05bfd0586ccebe96e31976459c8ef45ec65e109:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-i2c (2013-08-06 09:49:06 -0400)
> 
> are available in the git repository at:
> 
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to 07a16f2a9cb6cbb0fbce72e649c7be214d7f801a:
> 
>   microblaze: Call spi_init function (2013-08-08 18:58:11 +0530)
> 
> ----------------------------------------------------------------
> Axel Lin (2):
>       spi: fsl_espi: Use DIV_ROUND_UP instead of open-coded
>       spi: mpc8xxx_spi: Use DIV_ROUND_UP instead of open-coded
> 
> Gerlando Falauto (1):
>       cmd_sf: let "sf update" erase last sector as a whole
> 
> Jagannadha Sutradharudu Teki (9):
>       sf: eon|spansion|ramtron: Fix code cleanup
>       sf: sst: Fix code cleanup
>       sf: stmicro: Fix code cleanup
>       sf: Fix code cleanup
>       cmd_sf|env_sf: Fix code cleanup
>       sf: Fix code cleanups
>       spi: Add zynq spi controller driver
>       sf: sst: Add support for SST25WF080
>       zynq: Enable CONFIG_ZYNQ_SPI
> 
> Michal Simek (1):
>       microblaze: Call spi_init function
> 
>  arch/arm/include/asm/arch-zynq/hardware.h |   2 +
>  arch/microblaze/lib/board.c               |   5 +
>  common/cmd_sf.c                           |  30 ++--
>  common/env_sf.c                           |   2 +-
>  drivers/mtd/spi/atmel.c                   |  10 +-
>  drivers/mtd/spi/eon.c                     |   3 +-
>  drivers/mtd/spi/gigadevice.c              |   2 +-
>  drivers/mtd/spi/ramtron.c                 |   8 +-
>  drivers/mtd/spi/spansion.c                |   5 +-
>  drivers/mtd/spi/spi_flash.c               |  11 +-
>  drivers/mtd/spi/spi_spl_load.c            |   2 +-
>  drivers/mtd/spi/sst.c                     |  40 +++--
>  drivers/mtd/spi/stmicro.c                 |  12 +-
>  drivers/mtd/spi/winbond.c                 |   2 +-
>  drivers/spi/Makefile                      |   1 +
>  drivers/spi/fsl_espi.c                    |   6 +-
>  drivers/spi/mpc8xxx_spi.c                 |   2 +-
>  drivers/spi/zynq_spi.c                    | 280 ++++++++++++++++++++++++++++++
>  include/configs/zynq.h                    |   9 +
>  19 files changed, 373 insertions(+), 59 deletions(-)
>  create mode 100644 drivers/spi/zynq_spi.c

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130812/8d953f8f/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2013-08-10 12:26 Jagannadha Sutradharudu Teki
  2013-08-12 16:00 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2013-08-10 12:26 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Pull request has more likely a cleanup and one bug fixe.
Please let me know for any issues/concerns.

Thanks,
Jagan.

The following changes since commit d05bfd0586ccebe96e31976459c8ef45ec65e109:

  Merge branch 'master' of git://git.denx.de/u-boot-i2c (2013-08-06 09:49:06 -0400)

are available in the git repository at:


  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to 07a16f2a9cb6cbb0fbce72e649c7be214d7f801a:

  microblaze: Call spi_init function (2013-08-08 18:58:11 +0530)

----------------------------------------------------------------
Axel Lin (2):
      spi: fsl_espi: Use DIV_ROUND_UP instead of open-coded
      spi: mpc8xxx_spi: Use DIV_ROUND_UP instead of open-coded

Gerlando Falauto (1):
      cmd_sf: let "sf update" erase last sector as a whole

Jagannadha Sutradharudu Teki (9):
      sf: eon|spansion|ramtron: Fix code cleanup
      sf: sst: Fix code cleanup
      sf: stmicro: Fix code cleanup
      sf: Fix code cleanup
      cmd_sf|env_sf: Fix code cleanup
      sf: Fix code cleanups
      spi: Add zynq spi controller driver
      sf: sst: Add support for SST25WF080
      zynq: Enable CONFIG_ZYNQ_SPI

Michal Simek (1):
      microblaze: Call spi_init function

 arch/arm/include/asm/arch-zynq/hardware.h |   2 +
 arch/microblaze/lib/board.c               |   5 +
 common/cmd_sf.c                           |  30 ++--
 common/env_sf.c                           |   2 +-
 drivers/mtd/spi/atmel.c                   |  10 +-
 drivers/mtd/spi/eon.c                     |   3 +-
 drivers/mtd/spi/gigadevice.c              |   2 +-
 drivers/mtd/spi/ramtron.c                 |   8 +-
 drivers/mtd/spi/spansion.c                |   5 +-
 drivers/mtd/spi/spi_flash.c               |  11 +-
 drivers/mtd/spi/spi_spl_load.c            |   2 +-
 drivers/mtd/spi/sst.c                     |  40 +++--
 drivers/mtd/spi/stmicro.c                 |  12 +-
 drivers/mtd/spi/winbond.c                 |   2 +-
 drivers/spi/Makefile                      |   1 +
 drivers/spi/fsl_espi.c                    |   6 +-
 drivers/spi/mpc8xxx_spi.c                 |   2 +-
 drivers/spi/zynq_spi.c                    | 280 ++++++++++++++++++++++++++++++
 include/configs/zynq.h                    |   9 +
 19 files changed, 373 insertions(+), 59 deletions(-)
 create mode 100644 drivers/spi/zynq_spi.c

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2013-06-23 17:59 Jagannadha Sutradharudu Teki
@ 2013-06-25 14:56 ` Tom Rini
  0 siblings, 0 replies; 217+ messages in thread
From: Tom Rini @ 2013-06-25 14:56 UTC (permalink / raw)
  To: u-boot

On Sun, Jun 23, 2013 at 11:29:11PM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> These are the major updates on current spi_flash framework to support
> all sizes of flashes in 3-byte addressing mode.
> 
> Tested these changes on stmicro, winbond and spansion flashes.
> 
> Thanks,
> Jagan.
> 
> The following changes since commit 7315cfd9e1922ee1c3c5f016e5a3b16199122172:
> 
>   NET: Fix system hanging if NET device is not installed (2013-06-19 08:32:44 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to b9e31be0f8adc1a55179ae3b45c9e274f4650007:
> 
>   sf: Warn to use BAR for > 16MiB flashes (2013-06-23 22:10:36 +0530)
> 
> ----------------------------------------------------------------
> Axel Lin (2):
>       spi: cf_qspi: Use DIV_ROUND_UP at appropriate place
>       spi: mxc_spi: Use DIV_ROUND_UP at appropriate places
> 
> Jagannadha Sutradharudu Teki (23):
>       sf: spansion: Correct name of S25FL128S 64K Sector part
>       sf: winbond: Update the names for W25Q 0x40XX ID's flash parts
>       sf: winbond: Add support for W25Q128FW
>       sf: winbond: Add support for W25Q16DW
>       sf: winbond: Add support for W25QXXXFV
>       sf: Add bank address register writing support
>       sf: Discover the bank addr commands
>       sf: Read flash bank addr register at probe time
>       sf: Update sf to support all sizes of flashes
>       sf: Update sf read to support all sizes of flashes
>       sf: Add bank addr code in CONFIG_SPI_FLASH_BAR
>       sf: Use spi_flash_addr() in write call
>       sf: stmicro: Add support for N25Q512
>       sf: stmicro: Add support for N25Q512A
>       sf: stmicro: Add support for N25Q1024
>       sf: stmicro: Add support for N25Q1024A
>       sf: spansion: Add support for S25FL512S_64K
>       sf: Remove spi_flash_cmd_poll_bit()
>       sf: Add flag status register polling support
>       sf: Unify spi_flash write code
>       sf: Place the sf calls in proper order
>       sf: Add debug messages on spi_flash_read_common
>       sf: Warn to use BAR for > 16MiB flashes
> 
>  README                               |   5 +
>  drivers/mtd/spi/spansion.c           |   9 +-
>  drivers/mtd/spi/spi_flash.c          | 376 +++++++++++++++++++++++------------
>  drivers/mtd/spi/spi_flash_internal.h |  39 +++-
>  drivers/mtd/spi/stmicro.c            |  28 +++
>  drivers/mtd/spi/winbond.c            |  24 ++-
>  drivers/spi/cf_qspi.c                |   2 +-
>  drivers/spi/mxc_spi.c                |   6 +-
>  include/spi_flash.h                  |  10 +
>  9 files changed, 360 insertions(+), 139 deletions(-)

Applied to u-boot/master and tested on am335x_evm, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130625/d8cef3ce/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2013-06-23 17:59 Jagannadha Sutradharudu Teki
  2013-06-25 14:56 ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2013-06-23 17:59 UTC (permalink / raw)
  To: u-boot

Hi Tom,

These are the major updates on current spi_flash framework to support
all sizes of flashes in 3-byte addressing mode.

Tested these changes on stmicro, winbond and spansion flashes.

Thanks,
Jagan.

The following changes since commit 7315cfd9e1922ee1c3c5f016e5a3b16199122172:

  NET: Fix system hanging if NET device is not installed (2013-06-19 08:32:44 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to b9e31be0f8adc1a55179ae3b45c9e274f4650007:

  sf: Warn to use BAR for > 16MiB flashes (2013-06-23 22:10:36 +0530)

----------------------------------------------------------------
Axel Lin (2):
      spi: cf_qspi: Use DIV_ROUND_UP at appropriate place
      spi: mxc_spi: Use DIV_ROUND_UP at appropriate places

Jagannadha Sutradharudu Teki (23):
      sf: spansion: Correct name of S25FL128S 64K Sector part
      sf: winbond: Update the names for W25Q 0x40XX ID's flash parts
      sf: winbond: Add support for W25Q128FW
      sf: winbond: Add support for W25Q16DW
      sf: winbond: Add support for W25QXXXFV
      sf: Add bank address register writing support
      sf: Discover the bank addr commands
      sf: Read flash bank addr register at probe time
      sf: Update sf to support all sizes of flashes
      sf: Update sf read to support all sizes of flashes
      sf: Add bank addr code in CONFIG_SPI_FLASH_BAR
      sf: Use spi_flash_addr() in write call
      sf: stmicro: Add support for N25Q512
      sf: stmicro: Add support for N25Q512A
      sf: stmicro: Add support for N25Q1024
      sf: stmicro: Add support for N25Q1024A
      sf: spansion: Add support for S25FL512S_64K
      sf: Remove spi_flash_cmd_poll_bit()
      sf: Add flag status register polling support
      sf: Unify spi_flash write code
      sf: Place the sf calls in proper order
      sf: Add debug messages on spi_flash_read_common
      sf: Warn to use BAR for > 16MiB flashes

 README                               |   5 +
 drivers/mtd/spi/spansion.c           |   9 +-
 drivers/mtd/spi/spi_flash.c          | 376 +++++++++++++++++++++++------------
 drivers/mtd/spi/spi_flash_internal.h |  39 +++-
 drivers/mtd/spi/stmicro.c            |  28 +++
 drivers/mtd/spi/winbond.c            |  24 ++-
 drivers/spi/cf_qspi.c                |   2 +-
 drivers/spi/mxc_spi.c                |   6 +-
 include/spi_flash.h                  |  10 +
 9 files changed, 360 insertions(+), 139 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2013-06-13 18:50 Jagannadha Sutradharudu Teki
  2013-06-14 14:36 ` Tom Rini
@ 2013-06-14 15:11 ` Tom Rini
  1 sibling, 0 replies; 217+ messages in thread
From: Tom Rini @ 2013-06-14 15:11 UTC (permalink / raw)
  To: u-boot

On Fri, Jun 14, 2013 at 12:20:11AM +0530, Jagannadha Sutradharudu Teki wrote:

> The following changes since commit 48e0b2bd2b6ecc80cd25181ca2fb9c0eaffef320:
> 
>   powerpc/esdhc: Correct judgement for DATA PIO mode (2013-05-15 18:18:16 -0500)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to ea7fcc5aeb10d2cbb5589e91f36b205dcaf4b7a8:
> 
>   sf: winbond: Correct the nr_blocks used for W25Q32DW (2013-06-13 23:42:46 +0530)
> 
> ----------------------------------------------------------------
> Axel Lin (3):
>       spi: armada100_spi: Remove unnecessary NULL test for dout and din
>       spi: tegra114_spi: Convert to use spi_alloc_slave()
>       spi: tegra20_sflash: Remove redundant code to set bus and cs of struct spi_slave
> 
> Jagannadha Sutradharudu Teki (7):
>       sf: winbond: Add support for W25Q256
>       sf: Fix sf read for memory-mapped SPI flashes
>       cmd_sf: Add print mesg for 'sf erase' command
>       cmd_sf: Add print mesgs on sf read/write commands
>       sf: spansion: Update the name for S25FL256S flash
>       sf: winbond: Add support for W25Q80BW
>       sf: winbond: Correct the nr_blocks used for W25Q32DW
> 
> Kuo-Jung Su (1):
>       sf: winbond: Add support for W25PXX SPI flash
> 
> Marek Vasut (1):
>       sf: spansion: Add Spansion S25FL064P IDs
> 
> Rajeshwari Shinde (2):
>       spi: Add support for preamble bytes
>       spi: exynos: Support SPI_PREAMBLE mode
> 
>  common/cmd_sf.c              | 34 ++++++++++++----------
>  drivers/mtd/spi/spansion.c   |  9 +++++-
>  drivers/mtd/spi/spi_flash.c  | 14 ++++-----
>  drivers/mtd/spi/winbond.c    | 28 +++++++++++++++---
>  drivers/spi/armada100_spi.c  | 11 ++-----
>  drivers/spi/exynos_spi.c     | 69 +++++++++++++++++++++++++++++++++++++-------
>  drivers/spi/tegra114_spi.c   |  4 +--
>  drivers/spi/tegra20_sflash.c |  2 --
>  include/spi.h                |  5 ++++
>  9 files changed, 122 insertions(+), 54 deletions(-)

Booted on am335x_evm via SPI and applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130614/edc19a05/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2013-06-14 14:53       ` Tom Rini
@ 2013-06-14 15:00         ` Jagan Teki
  0 siblings, 0 replies; 217+ messages in thread
From: Jagan Teki @ 2013-06-14 15:00 UTC (permalink / raw)
  To: u-boot

On Fri, Jun 14, 2013 at 8:23 PM, Tom Rini <trini@ti.com> wrote:
> On Fri, Jun 14, 2013 at 10:51:05AM -0400, Tom Rini wrote:
>> On Fri, Jun 14, 2013 at 08:15:04PM +0530, Jagan Teki wrote:
>> > On 14-06-2013 20:06, Tom Rini wrote:
>> > >On Fri, Jun 14, 2013 at 12:20:11AM +0530, Jagannadha Sutradharudu Teki wrote:
>> > >
>> > >>The following changes since commit 48e0b2bd2b6ecc80cd25181ca2fb9c0eaffef320:
>> > >>
>> > >>   powerpc/esdhc: Correct judgement for DATA PIO mode (2013-05-15 18:18:16 -0500)
>> > >>
>> > >>are available in the git repository at:
>> > >>
>> > >>   git://git.denx.de/u-boot-spi.git master
>> > >>
>> > >>for you to fetch changes up to ea7fcc5aeb10d2cbb5589e91f36b205dcaf4b7a8:
>> > >>
>> > >>   sf: winbond: Correct the nr_blocks used for W25Q32DW (2013-06-13 23:42:46 +0530)
>> > >>
>> > >>----------------------------------------------------------------
>> > >>Axel Lin (3):
>> > >>       spi: armada100_spi: Remove unnecessary NULL test for dout and din
>> > >>       spi: tegra114_spi: Convert to use spi_alloc_slave()
>> > >>       spi: tegra20_sflash: Remove redundant code to set bus and cs of struct spi_slave
>> > >>
>> > >>Jagannadha Sutradharudu Teki (7):
>> > >>       sf: winbond: Add support for W25Q256
>> > >>       sf: Fix sf read for memory-mapped SPI flashes
>> > >>       cmd_sf: Add print mesg for 'sf erase' command
>> > >>       cmd_sf: Add print mesgs on sf read/write commands
>> > >>       sf: spansion: Update the name for S25FL256S flash
>> > >>       sf: winbond: Add support for W25Q80BW
>> > >>       sf: winbond: Correct the nr_blocks used for W25Q32DW
>> > >>
>> > >>Kuo-Jung Su (1):
>> > >>       sf: winbond: Add support for W25PXX SPI flash
>> > >>
>> > >>Marek Vasut (1):
>> > >>       sf: spansion: Add Spansion S25FL064P IDs
>> > >>
>> > >>Rajeshwari Shinde (2):
>> > >>       spi: Add support for preamble bytes
>> > >>       spi: exynos: Support SPI_PREAMBLE mode
>> > >>
>> > >>  common/cmd_sf.c              | 34 ++++++++++++----------
>> > >>  drivers/mtd/spi/spansion.c   |  9 +++++-
>> > >>  drivers/mtd/spi/spi_flash.c  | 14 ++++-----
>> > >>  drivers/mtd/spi/winbond.c    | 28 +++++++++++++++---
>> > >>  drivers/spi/armada100_spi.c  | 11 ++-----
>> > >>  drivers/spi/exynos_spi.c     | 69 +++++++++++++++++++++++++++++++++++++-------
>> > >>  drivers/spi/tegra114_spi.c   |  4 +--
>> > >>  drivers/spi/tegra20_sflash.c |  2 --
>> > >>  include/spi.h                |  5 ++++
>> > >>  9 files changed, 122 insertions(+), 54 deletions(-)
>> > >
>> > >Trying this on am335x_evm, booting from SPI:
>> > >SF: Detected W25Q64 with page size 4 KiB, total 8 MiB
>> > It's passed here?
>> >
>> > >
>> > >U-Boot SPL 2013.04-00626-gf0df254 (Jun 14 2013 - 09:43:52)
>> > >SPI error: malloc of SPI structure failed
>> > >SF: Failed to set up slave
>> > >SPI probe failed.
>> > >### ERROR ### Please RESET the board ###
>> > >
>> > >malloc should have been initalized already, digging further.
>> > Was this working earlier releases?
>> > No changes w.r.t sf framework on current tree as of now.
>> >
>> > Need to dig further and let you know.
>>
>> OK, I'm digging into making sure this isn't a local problem, which it
>> might just be :(
>
> Local problem, please disregard.

I can say there is no issue w.r.t recent change from Simon. [moving
malloc with global function spi_alloc_slave()]
http://git.denx.de/?p=u-boot/u-boot-spi.git;a=commitdiff;h=d3504fee73ec626117427afa08116d1dde21ba9d

--
Thanks,
Jagan.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2013-06-14 14:51     ` Tom Rini
@ 2013-06-14 14:53       ` Tom Rini
  2013-06-14 15:00         ` Jagan Teki
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2013-06-14 14:53 UTC (permalink / raw)
  To: u-boot

On Fri, Jun 14, 2013 at 10:51:05AM -0400, Tom Rini wrote:
> On Fri, Jun 14, 2013 at 08:15:04PM +0530, Jagan Teki wrote:
> > On 14-06-2013 20:06, Tom Rini wrote:
> > >On Fri, Jun 14, 2013 at 12:20:11AM +0530, Jagannadha Sutradharudu Teki wrote:
> > >
> > >>The following changes since commit 48e0b2bd2b6ecc80cd25181ca2fb9c0eaffef320:
> > >>
> > >>   powerpc/esdhc: Correct judgement for DATA PIO mode (2013-05-15 18:18:16 -0500)
> > >>
> > >>are available in the git repository at:
> > >>
> > >>   git://git.denx.de/u-boot-spi.git master
> > >>
> > >>for you to fetch changes up to ea7fcc5aeb10d2cbb5589e91f36b205dcaf4b7a8:
> > >>
> > >>   sf: winbond: Correct the nr_blocks used for W25Q32DW (2013-06-13 23:42:46 +0530)
> > >>
> > >>----------------------------------------------------------------
> > >>Axel Lin (3):
> > >>       spi: armada100_spi: Remove unnecessary NULL test for dout and din
> > >>       spi: tegra114_spi: Convert to use spi_alloc_slave()
> > >>       spi: tegra20_sflash: Remove redundant code to set bus and cs of struct spi_slave
> > >>
> > >>Jagannadha Sutradharudu Teki (7):
> > >>       sf: winbond: Add support for W25Q256
> > >>       sf: Fix sf read for memory-mapped SPI flashes
> > >>       cmd_sf: Add print mesg for 'sf erase' command
> > >>       cmd_sf: Add print mesgs on sf read/write commands
> > >>       sf: spansion: Update the name for S25FL256S flash
> > >>       sf: winbond: Add support for W25Q80BW
> > >>       sf: winbond: Correct the nr_blocks used for W25Q32DW
> > >>
> > >>Kuo-Jung Su (1):
> > >>       sf: winbond: Add support for W25PXX SPI flash
> > >>
> > >>Marek Vasut (1):
> > >>       sf: spansion: Add Spansion S25FL064P IDs
> > >>
> > >>Rajeshwari Shinde (2):
> > >>       spi: Add support for preamble bytes
> > >>       spi: exynos: Support SPI_PREAMBLE mode
> > >>
> > >>  common/cmd_sf.c              | 34 ++++++++++++----------
> > >>  drivers/mtd/spi/spansion.c   |  9 +++++-
> > >>  drivers/mtd/spi/spi_flash.c  | 14 ++++-----
> > >>  drivers/mtd/spi/winbond.c    | 28 +++++++++++++++---
> > >>  drivers/spi/armada100_spi.c  | 11 ++-----
> > >>  drivers/spi/exynos_spi.c     | 69 +++++++++++++++++++++++++++++++++++++-------
> > >>  drivers/spi/tegra114_spi.c   |  4 +--
> > >>  drivers/spi/tegra20_sflash.c |  2 --
> > >>  include/spi.h                |  5 ++++
> > >>  9 files changed, 122 insertions(+), 54 deletions(-)
> > >
> > >Trying this on am335x_evm, booting from SPI:
> > >SF: Detected W25Q64 with page size 4 KiB, total 8 MiB
> > It's passed here?
> > 
> > >
> > >U-Boot SPL 2013.04-00626-gf0df254 (Jun 14 2013 - 09:43:52)
> > >SPI error: malloc of SPI structure failed
> > >SF: Failed to set up slave
> > >SPI probe failed.
> > >### ERROR ### Please RESET the board ###
> > >
> > >malloc should have been initalized already, digging further.
> > Was this working earlier releases?
> > No changes w.r.t sf framework on current tree as of now.
> > 
> > Need to dig further and let you know.
> 
> OK, I'm digging into making sure this isn't a local problem, which it
> might just be :(

Local problem, please disregard.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130614/13bb1fc3/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2013-06-14 14:45   ` Jagan Teki
@ 2013-06-14 14:51     ` Tom Rini
  2013-06-14 14:53       ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Tom Rini @ 2013-06-14 14:51 UTC (permalink / raw)
  To: u-boot

On Fri, Jun 14, 2013 at 08:15:04PM +0530, Jagan Teki wrote:
> On 14-06-2013 20:06, Tom Rini wrote:
> >On Fri, Jun 14, 2013 at 12:20:11AM +0530, Jagannadha Sutradharudu Teki wrote:
> >
> >>The following changes since commit 48e0b2bd2b6ecc80cd25181ca2fb9c0eaffef320:
> >>
> >>   powerpc/esdhc: Correct judgement for DATA PIO mode (2013-05-15 18:18:16 -0500)
> >>
> >>are available in the git repository at:
> >>
> >>   git://git.denx.de/u-boot-spi.git master
> >>
> >>for you to fetch changes up to ea7fcc5aeb10d2cbb5589e91f36b205dcaf4b7a8:
> >>
> >>   sf: winbond: Correct the nr_blocks used for W25Q32DW (2013-06-13 23:42:46 +0530)
> >>
> >>----------------------------------------------------------------
> >>Axel Lin (3):
> >>       spi: armada100_spi: Remove unnecessary NULL test for dout and din
> >>       spi: tegra114_spi: Convert to use spi_alloc_slave()
> >>       spi: tegra20_sflash: Remove redundant code to set bus and cs of struct spi_slave
> >>
> >>Jagannadha Sutradharudu Teki (7):
> >>       sf: winbond: Add support for W25Q256
> >>       sf: Fix sf read for memory-mapped SPI flashes
> >>       cmd_sf: Add print mesg for 'sf erase' command
> >>       cmd_sf: Add print mesgs on sf read/write commands
> >>       sf: spansion: Update the name for S25FL256S flash
> >>       sf: winbond: Add support for W25Q80BW
> >>       sf: winbond: Correct the nr_blocks used for W25Q32DW
> >>
> >>Kuo-Jung Su (1):
> >>       sf: winbond: Add support for W25PXX SPI flash
> >>
> >>Marek Vasut (1):
> >>       sf: spansion: Add Spansion S25FL064P IDs
> >>
> >>Rajeshwari Shinde (2):
> >>       spi: Add support for preamble bytes
> >>       spi: exynos: Support SPI_PREAMBLE mode
> >>
> >>  common/cmd_sf.c              | 34 ++++++++++++----------
> >>  drivers/mtd/spi/spansion.c   |  9 +++++-
> >>  drivers/mtd/spi/spi_flash.c  | 14 ++++-----
> >>  drivers/mtd/spi/winbond.c    | 28 +++++++++++++++---
> >>  drivers/spi/armada100_spi.c  | 11 ++-----
> >>  drivers/spi/exynos_spi.c     | 69 +++++++++++++++++++++++++++++++++++++-------
> >>  drivers/spi/tegra114_spi.c   |  4 +--
> >>  drivers/spi/tegra20_sflash.c |  2 --
> >>  include/spi.h                |  5 ++++
> >>  9 files changed, 122 insertions(+), 54 deletions(-)
> >
> >Trying this on am335x_evm, booting from SPI:
> >SF: Detected W25Q64 with page size 4 KiB, total 8 MiB
> It's passed here?
> 
> >
> >U-Boot SPL 2013.04-00626-gf0df254 (Jun 14 2013 - 09:43:52)
> >SPI error: malloc of SPI structure failed
> >SF: Failed to set up slave
> >SPI probe failed.
> >### ERROR ### Please RESET the board ###
> >
> >malloc should have been initalized already, digging further.
> Was this working earlier releases?
> No changes w.r.t sf framework on current tree as of now.
> 
> Need to dig further and let you know.

OK, I'm digging into making sure this isn't a local problem, which it
might just be :(

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130614/38c0a476/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2013-06-14 14:36 ` Tom Rini
@ 2013-06-14 14:45   ` Jagan Teki
  2013-06-14 14:51     ` Tom Rini
  0 siblings, 1 reply; 217+ messages in thread
From: Jagan Teki @ 2013-06-14 14:45 UTC (permalink / raw)
  To: u-boot

On 14-06-2013 20:06, Tom Rini wrote:
> On Fri, Jun 14, 2013 at 12:20:11AM +0530, Jagannadha Sutradharudu Teki wrote:
>
>> The following changes since commit 48e0b2bd2b6ecc80cd25181ca2fb9c0eaffef320:
>>
>>    powerpc/esdhc: Correct judgement for DATA PIO mode (2013-05-15 18:18:16 -0500)
>>
>> are available in the git repository at:
>>
>>    git://git.denx.de/u-boot-spi.git master
>>
>> for you to fetch changes up to ea7fcc5aeb10d2cbb5589e91f36b205dcaf4b7a8:
>>
>>    sf: winbond: Correct the nr_blocks used for W25Q32DW (2013-06-13 23:42:46 +0530)
>>
>> ----------------------------------------------------------------
>> Axel Lin (3):
>>        spi: armada100_spi: Remove unnecessary NULL test for dout and din
>>        spi: tegra114_spi: Convert to use spi_alloc_slave()
>>        spi: tegra20_sflash: Remove redundant code to set bus and cs of struct spi_slave
>>
>> Jagannadha Sutradharudu Teki (7):
>>        sf: winbond: Add support for W25Q256
>>        sf: Fix sf read for memory-mapped SPI flashes
>>        cmd_sf: Add print mesg for 'sf erase' command
>>        cmd_sf: Add print mesgs on sf read/write commands
>>        sf: spansion: Update the name for S25FL256S flash
>>        sf: winbond: Add support for W25Q80BW
>>        sf: winbond: Correct the nr_blocks used for W25Q32DW
>>
>> Kuo-Jung Su (1):
>>        sf: winbond: Add support for W25PXX SPI flash
>>
>> Marek Vasut (1):
>>        sf: spansion: Add Spansion S25FL064P IDs
>>
>> Rajeshwari Shinde (2):
>>        spi: Add support for preamble bytes
>>        spi: exynos: Support SPI_PREAMBLE mode
>>
>>   common/cmd_sf.c              | 34 ++++++++++++----------
>>   drivers/mtd/spi/spansion.c   |  9 +++++-
>>   drivers/mtd/spi/spi_flash.c  | 14 ++++-----
>>   drivers/mtd/spi/winbond.c    | 28 +++++++++++++++---
>>   drivers/spi/armada100_spi.c  | 11 ++-----
>>   drivers/spi/exynos_spi.c     | 69 +++++++++++++++++++++++++++++++++++++-------
>>   drivers/spi/tegra114_spi.c   |  4 +--
>>   drivers/spi/tegra20_sflash.c |  2 --
>>   include/spi.h                |  5 ++++
>>   9 files changed, 122 insertions(+), 54 deletions(-)
>
> Trying this on am335x_evm, booting from SPI:
> SF: Detected W25Q64 with page size 4 KiB, total 8 MiB
It's passed here?

>
> U-Boot SPL 2013.04-00626-gf0df254 (Jun 14 2013 - 09:43:52)
> SPI error: malloc of SPI structure failed
> SF: Failed to set up slave
> SPI probe failed.
> ### ERROR ### Please RESET the board ###
>
> malloc should have been initalized already, digging further.
Was this working earlier releases?
No changes w.r.t sf framework on current tree as of now.

Need to dig further and let you know.

--
Thanks,
Jagan.

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
  2013-06-13 18:50 Jagannadha Sutradharudu Teki
@ 2013-06-14 14:36 ` Tom Rini
  2013-06-14 14:45   ` Jagan Teki
  2013-06-14 15:11 ` Tom Rini
  1 sibling, 1 reply; 217+ messages in thread
From: Tom Rini @ 2013-06-14 14:36 UTC (permalink / raw)
  To: u-boot

On Fri, Jun 14, 2013 at 12:20:11AM +0530, Jagannadha Sutradharudu Teki wrote:

> The following changes since commit 48e0b2bd2b6ecc80cd25181ca2fb9c0eaffef320:
> 
>   powerpc/esdhc: Correct judgement for DATA PIO mode (2013-05-15 18:18:16 -0500)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to ea7fcc5aeb10d2cbb5589e91f36b205dcaf4b7a8:
> 
>   sf: winbond: Correct the nr_blocks used for W25Q32DW (2013-06-13 23:42:46 +0530)
> 
> ----------------------------------------------------------------
> Axel Lin (3):
>       spi: armada100_spi: Remove unnecessary NULL test for dout and din
>       spi: tegra114_spi: Convert to use spi_alloc_slave()
>       spi: tegra20_sflash: Remove redundant code to set bus and cs of struct spi_slave
> 
> Jagannadha Sutradharudu Teki (7):
>       sf: winbond: Add support for W25Q256
>       sf: Fix sf read for memory-mapped SPI flashes
>       cmd_sf: Add print mesg for 'sf erase' command
>       cmd_sf: Add print mesgs on sf read/write commands
>       sf: spansion: Update the name for S25FL256S flash
>       sf: winbond: Add support for W25Q80BW
>       sf: winbond: Correct the nr_blocks used for W25Q32DW
> 
> Kuo-Jung Su (1):
>       sf: winbond: Add support for W25PXX SPI flash
> 
> Marek Vasut (1):
>       sf: spansion: Add Spansion S25FL064P IDs
> 
> Rajeshwari Shinde (2):
>       spi: Add support for preamble bytes
>       spi: exynos: Support SPI_PREAMBLE mode
> 
>  common/cmd_sf.c              | 34 ++++++++++++----------
>  drivers/mtd/spi/spansion.c   |  9 +++++-
>  drivers/mtd/spi/spi_flash.c  | 14 ++++-----
>  drivers/mtd/spi/winbond.c    | 28 +++++++++++++++---
>  drivers/spi/armada100_spi.c  | 11 ++-----
>  drivers/spi/exynos_spi.c     | 69 +++++++++++++++++++++++++++++++++++++-------
>  drivers/spi/tegra114_spi.c   |  4 +--
>  drivers/spi/tegra20_sflash.c |  2 --
>  include/spi.h                |  5 ++++
>  9 files changed, 122 insertions(+), 54 deletions(-)

Trying this on am335x_evm, booting from SPI:
SF: Detected W25Q64 with page size 4 KiB, total 8 MiB

U-Boot SPL 2013.04-00626-gf0df254 (Jun 14 2013 - 09:43:52)
SPI error: malloc of SPI structure failed
SF: Failed to set up slave
SPI probe failed.
### ERROR ### Please RESET the board ###

malloc should have been initalized already, digging further.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130614/edb21ec8/attachment.pgp>

^ permalink raw reply	[flat|nested] 217+ messages in thread

* [U-Boot] Pull request: u-boot-spi/master
@ 2013-06-13 18:50 Jagannadha Sutradharudu Teki
  2013-06-14 14:36 ` Tom Rini
  2013-06-14 15:11 ` Tom Rini
  0 siblings, 2 replies; 217+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2013-06-13 18:50 UTC (permalink / raw)
  To: u-boot

The following changes since commit 48e0b2bd2b6ecc80cd25181ca2fb9c0eaffef320:

  powerpc/esdhc: Correct judgement for DATA PIO mode (2013-05-15 18:18:16 -0500)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to ea7fcc5aeb10d2cbb5589e91f36b205dcaf4b7a8:

  sf: winbond: Correct the nr_blocks used for W25Q32DW (2013-06-13 23:42:46 +0530)

----------------------------------------------------------------
Axel Lin (3):
      spi: armada100_spi: Remove unnecessary NULL test for dout and din
      spi: tegra114_spi: Convert to use spi_alloc_slave()
      spi: tegra20_sflash: Remove redundant code to set bus and cs of struct spi_slave

Jagannadha Sutradharudu Teki (7):
      sf: winbond: Add support for W25Q256
      sf: Fix sf read for memory-mapped SPI flashes
      cmd_sf: Add print mesg for 'sf erase' command
      cmd_sf: Add print mesgs on sf read/write commands
      sf: spansion: Update the name for S25FL256S flash
      sf: winbond: Add support for W25Q80BW
      sf: winbond: Correct the nr_blocks used for W25Q32DW

Kuo-Jung Su (1):
      sf: winbond: Add support for W25PXX SPI flash

Marek Vasut (1):
      sf: spansion: Add Spansion S25FL064P IDs

Rajeshwari Shinde (2):
      spi: Add support for preamble bytes
      spi: exynos: Support SPI_PREAMBLE mode

 common/cmd_sf.c              | 34 ++++++++++++----------
 drivers/mtd/spi/spansion.c   |  9 +++++-
 drivers/mtd/spi/spi_flash.c  | 14 ++++-----
 drivers/mtd/spi/winbond.c    | 28 +++++++++++++++---
 drivers/spi/armada100_spi.c  | 11 ++-----
 drivers/spi/exynos_spi.c     | 69 +++++++++++++++++++++++++++++++++++++-------
 drivers/spi/tegra114_spi.c   |  4 +--
 drivers/spi/tegra20_sflash.c |  2 --
 include/spi.h                |  5 ++++
 9 files changed, 122 insertions(+), 54 deletions(-)

^ permalink raw reply	[flat|nested] 217+ messages in thread

end of thread, other threads:[~2019-10-31  8:09 UTC | newest]

Thread overview: 217+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-18 11:16 [U-Boot] Pull request: u-boot-spi/master Jagan Teki
2016-11-19  0:57 ` Tom Rini
2016-11-20 11:59   ` Jagan Teki
2016-11-22 17:21     ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2019-10-25  8:38 Jagan Teki
2019-10-25 17:48 ` Tom Rini
2019-10-27 11:50   ` Jagan Teki
2019-10-28  0:46     ` Tom Rini
2019-10-31  7:53       ` Schrempf Frieder
2019-10-31  7:57         ` Jagan Teki
2019-10-31  8:01           ` Schrempf Frieder
2019-10-31  8:09             ` Jagan Teki
2019-09-16  2:45 Jagan Teki
2019-09-17 23:55 ` Tom Rini
2019-07-18 11:48 Jagan Teki
2019-06-17  7:45 Jagan Teki
2019-06-18 17:00 ` Tom Rini
2019-05-20 17:18 Jagan Teki
2019-05-21 11:12 ` Tom Rini
2019-05-24 19:34   ` Jagan Teki
2019-06-07  7:51     ` Mario Six
2019-06-07  8:56       ` Heiko Schocher
2019-06-07  9:10         ` Mario Six
2019-06-07  9:15           ` Heiko Schocher
2019-06-07  9:33             ` Mario Six
2019-05-05 16:42 Jagan Teki
2019-05-07  2:43 ` Tom Rini
2019-04-17 12:21 Jagan Teki
2019-04-17 12:45 ` Vignesh Raghavendra
2019-04-18 16:20 ` Tom Rini
2019-04-12 13:43 Jagan Teki
2019-04-14 12:57 ` Tom Rini
2019-03-06 17:02 Jagan Teki
2019-03-07 14:14 ` Tom Rini
2019-02-07 19:47 Jagan Teki
2019-02-08  3:13 ` Tom Rini
2019-01-02 19:19 Jagan Teki
2019-01-03 19:54 ` Jagan Teki
2019-01-03 20:34 ` Tom Rini
2018-12-23 21:19 Jagan Teki
2018-12-23 21:56 ` Jagan Teki
2018-12-24  1:01 ` Tom Rini
2018-12-05 19:23 Jagan Teki
2018-12-06  1:32 ` Tom Rini
2018-10-12  6:15 Jagan Teki
2018-10-15 12:41 ` Tom Rini
2018-10-04 13:16 Jagan Teki
2018-10-05 14:16 ` Tom Rini
2018-10-02 16:56 Jagan Teki
2018-10-03  0:54 ` Tom Rini
2018-10-03  6:42   ` Miquel Raynal
2018-08-04 16:13 Jagan Teki
2018-08-05 11:59 ` Tom Rini
2018-07-16 13:01 Jagan Teki
2018-07-17  1:11 ` Tom Rini
2018-07-02 17:35 Jagan Teki
2018-07-03  3:24 ` Tom Rini
2018-06-25 18:49 Jagan Teki
2018-06-25 21:35 ` Tom Rini
2018-06-27  6:47   ` Jagan Teki
2018-06-27 15:20     ` Tom Rini
2018-06-27 15:34       ` Jagan Teki
2018-06-28 18:17 ` Tom Rini
2018-06-05 18:28 Jagan Teki
2018-06-06 15:09 ` Tom Rini
2018-05-30 18:08 Jagan Teki
2018-05-31  2:10 ` Tom Rini
2018-04-25  5:29 Jagan Teki
2018-04-26 11:21 ` Tom Rini
2018-03-24  8:25 Jagan Teki
2018-03-26 19:09 ` Tom Rini
2018-03-14 14:02 Jagan Teki
2018-03-14 17:27 ` Tom Rini
2018-03-14 17:39   ` Jagan Teki
2018-03-14 18:38     ` Adam Ford
2018-03-14 18:47       ` Jagan Teki
2018-03-15 14:10         ` Jagan Teki
2018-01-22  5:50 Jagan Teki
2018-01-22 12:58 ` Tom Rini
2018-01-22 14:56   ` Daniel Schwierzeck
2018-01-22 14:59     ` Tom Rini
2018-01-22 15:28       ` Daniel Schwierzeck
2018-01-22 15:32         ` Tom Rini
2018-01-22 15:47           ` Daniel Schwierzeck
2018-01-22 16:49   ` Daniel Schwierzeck
2018-01-22 17:14     ` Tom Rini
2018-01-22 20:26       ` Daniel Schwierzeck
2018-01-22 20:55         ` Álvaro Fernández Rojas
2018-01-22 21:05           ` Tom Rini
2018-01-23 10:28           ` Daniel Schwierzeck
2018-01-24  6:57             ` Jagan Teki
2018-01-25 16:00               ` Álvaro Fernández Rojas
2017-12-19 12:24 Jagan Teki
2017-12-19 20:44 ` Tom Rini
2017-10-17 13:50 Jagan Teki
2017-10-18 19:47 ` Tom Rini
2017-09-25  7:51 Jagan Teki
2017-09-25  8:41 ` Łukasz Majewski
2017-09-25  8:57   ` Jagan Teki
2017-09-26 12:17 ` Tom Rini
2017-08-16 13:00 Jagan Teki
2017-08-17  1:17 ` Tom Rini
2017-05-03 12:13 Jagan Teki
2017-05-07  1:27 ` Tom Rini
2017-01-15 17:32 Jagan Teki
2017-01-16  4:02 ` Tom Rini
2017-01-04 16:33 Jagan Teki
2017-01-05 13:28 ` Tom Rini
2016-12-23 23:39 Jagan Teki
2016-12-23 23:43 ` Tom Rini
2016-12-14 15:36 Jagan Teki
2016-12-14 23:35 ` Tom Rini
2016-11-12 12:13 Jagan Teki
2016-11-13 20:55 ` Tom Rini
2016-09-22 15:02 Jagan Teki
2016-09-23  1:57 ` Tom Rini
2016-08-09 12:03 Jagan Teki
2016-08-09 13:27 ` Tom Rini
2016-07-29 18:48 Jagan Teki
2016-07-30  0:20 ` Tom Rini
2016-07-09 15:30 Jagan Teki
2016-07-09 16:06 ` Tom Rini
2016-07-12 17:59 ` Tom Rini
2016-03-15  7:11 Jagan Teki
2016-03-15 12:01 ` Tom Rini
2016-03-15 15:04   ` Tom Rini
2016-03-15 17:51     ` Jagan Teki
2016-03-12 14:44 Jagan Teki
2016-03-13 13:45 ` Tom Rini
2016-02-23 10:49 Jagan Teki
2016-02-23 20:35 ` Tom Rini
2016-02-25 17:13   ` Mugunthan V N
2016-03-01  5:46   ` Mugunthan V N
2016-01-13 14:46 Jagan Teki
2016-01-13 21:54 ` Tom Rini
2016-01-07 17:02 Jagan Teki
2016-01-07 17:42 ` Tom Rini
2015-12-11 16:53 Jagan Teki
2015-12-12  1:13 ` Tom Rini
2015-11-19 17:46 Jagan Teki
2015-11-19 22:07 ` Tom Rini
2015-10-28 18:22 Jagan Teki
2015-10-28 18:25 ` Otavio Salvador
2015-10-28 18:31   ` Jagan Teki
2015-10-29  1:42 ` Tom Rini
2015-10-25  8:04 Jagan Teki
2015-08-18  6:38 Jagan Teki
2015-08-18 14:47 ` Tom Rini
2015-07-04  8:41 Jagan Teki
2015-07-04 11:42 ` Tom Rini
2015-07-07 15:26   ` Jagan Teki
2015-07-14 22:12 ` Tom Rini
2015-07-01 17:33 Jagan Teki
2015-07-01 21:56 ` Tom Rini
2015-06-29 19:24 Jagan Teki
2015-06-29 21:51 ` Tom Rini
2015-06-23 15:17 Jagan Teki
2015-06-24 23:31 ` Tom Rini
2015-06-25  3:58   ` Heiko Schocher denx
2015-06-25  5:31   ` Jagan Teki
2015-06-25 11:36     ` Tom Rini
2015-06-25 13:26       ` Jagan Teki
2015-04-28  8:17 Jagannadha Sutradharudu Teki
2015-04-28 14:51 ` Tom Rini
2015-03-31  7:14 Jagannadha Sutradharudu Teki
2015-04-07 17:58 ` Tom Rini
2015-01-08 18:40 Jagannadha Sutradharudu Teki
2015-01-09 13:34 ` Tom Rini
2015-01-01 20:45 Jagannadha Sutradharudu Teki
2015-01-05 15:10 ` Tom Rini
2014-12-29 17:07 Jagannadha Sutradharudu Teki
2015-01-05 15:10 ` Tom Rini
2014-10-27 18:43 Jagannadha Sutradharudu Teki
2014-11-04  2:32 ` Tom Rini
2014-09-24 12:45 Jagannadha Sutradharudu Teki
2014-09-25 14:43 ` Tom Rini
2014-08-05 18:52 Jagannadha Sutradharudu Teki
2014-08-06 14:37 ` Tom Rini
2014-06-08 17:57 Jagannadha Sutradharudu Teki
2014-06-11 19:09 ` Tom Rini
2014-03-17 16:42 Jagannadha Sutradharudu Teki
2014-03-17 21:19 ` Tom Rini
2014-02-18 17:24 Jagannadha Sutradharudu Teki
2014-02-21 14:35 ` Tom Rini
2014-01-27 17:26 Jagannadha Sutradharudu Teki
2014-01-27 19:21 ` Marek Vasut
2014-01-22 16:26 Jagannadha Sutradharudu Teki
2014-01-24 20:10 ` Marek Vasut
2014-01-20 17:53 Jagannadha Sutradharudu Teki
2014-01-20 19:37 ` Marek Vasut
2014-01-20 19:47   ` Jagan Teki
2014-01-13 18:35 Jagannadha Sutradharudu Teki
2014-01-13 19:42 ` Tom Rini
2014-01-15 19:38   ` Marek Vasut
2014-01-16  6:06     ` Jagan Teki
2014-01-16 19:04       ` Marek Vasut
2014-01-16 19:44         ` Jagan Teki
2014-01-18 20:26           ` Marek Vasut
2013-12-19 18:22 Jagannadha Sutradharudu Teki
2013-12-19 22:15 ` Tom Rini
2013-10-15 18:58 Jagannadha Sutradharudu Teki
2013-10-15 21:25 ` Tom Rini
2013-10-07 14:22 Jagannadha Sutradharudu Teki
2013-10-08 19:32 ` Tom Rini
2013-09-15 17:19 Jagannadha Sutradharudu Teki
2013-09-17  0:09 ` Tom Rini
2013-08-10 12:26 Jagannadha Sutradharudu Teki
2013-08-12 16:00 ` Tom Rini
2013-06-23 17:59 Jagannadha Sutradharudu Teki
2013-06-25 14:56 ` Tom Rini
2013-06-13 18:50 Jagannadha Sutradharudu Teki
2013-06-14 14:36 ` Tom Rini
2013-06-14 14:45   ` Jagan Teki
2013-06-14 14:51     ` Tom Rini
2013-06-14 14:53       ` Tom Rini
2013-06-14 15:00         ` Jagan Teki
2013-06-14 15:11 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.