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

2019-10-31 Thread Jagan Teki
On Thu, Oct 31, 2019 at 1:31 PM Schrempf Frieder
 wrote:
>
> On 31.10.19 08:57, Jagan Teki wrote:
> > Hi Schrempf,
> >
> > On Thu, Oct 31, 2019 at 1:24 PM Schrempf Frieder
> >  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  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_w

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

2019-10-31 Thread Schrempf Frieder
On 31.10.19 08:57, Jagan Teki wrote:
> Hi Schrempf,
> 
> On Thu, Oct 31, 2019 at 1:24 PM Schrempf Frieder
>  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  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   

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

2019-10-31 Thread Jagan Teki
Hi Schrempf,

On Thu, Oct 31, 2019 at 1:24 PM Schrempf Frieder
 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  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 

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

2019-10-31 Thread Schrempf Frieder
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  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
>>>

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

2019-10-27 Thread Tom Rini
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  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  

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

2019-10-27 Thread Jagan Teki
Hi Tom,

On Fri, Oct 25, 2019 at 11:19 PM Tom Rini  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_

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

2019-10-25 Thread Tom Rini
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

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

2019-10-25 Thread Jagan Teki
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
__

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

2019-09-17 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-09-15 Thread Jagan Teki
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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-07-18 Thread Jagan Teki
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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-06-18 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-06-17 Thread Jagan Teki
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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-06-07 Thread Mario Six
Hi Heiko,

On Fri, Jun 7, 2019 at 11:15 AM Heiko Schocher  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  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  
> >>> wrote:
> >>
> >> Huch, missed this Email ...
> >>
> 
>  Hi Mario,
> 
>  On Tue, May 21, 2019 at 4:42 PM Tom Rini  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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-06-07 Thread Heiko Schocher

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  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  wrote:


Huch, missed this Email ...



Hi Mario,

On Tue, May 21, 2019 at 4:42 PM Tom Rini  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: h...@denx.de
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-06-07 Thread Mario Six
Hi Heiko,

On Fri, Jun 7, 2019 at 10:56 AM Heiko Schocher  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  
> > wrote:
>
> Huch, missed this Email ...
>
> >>
> >> Hi Mario,
> >>
> >> On Tue, May 21, 2019 at 4:42 PM Tom Rini  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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-06-07 Thread Heiko Schocher

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  wrote:


Huch, missed this Email ...



Hi Mario,

On Tue, May 21, 2019 at 4:42 PM Tom Rini  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: h...@denx.de
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-06-07 Thread 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  wrote:
>
> Hi Mario,
>
> On Tue, May 21, 2019 at 4:42 PM Tom Rini  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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-05-24 Thread Jagan Teki
Hi Mario,

On Tue, May 21, 2019 at 4:42 PM Tom Rini  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?
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-05-21 Thread Tom Rini
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 
Date:   Mon Apr 29 01:58:53 2019 +0530

spi: mpc8xxx: Convert to DM
 

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-05-20 Thread Jagan Teki
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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-05-06 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-05-05 Thread Jagan Teki
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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-04-18 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-04-17 Thread Vignesh Raghavendra



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(-)


___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-04-17 Thread Jagan Teki
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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-04-14 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-04-12 Thread Jagan Teki
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/kirk

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

2019-03-07 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-03-06 Thread Jagan Teki
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.vul...@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%)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-02-07 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-02-07 Thread Jagan Teki
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

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

2019-01-03 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-01-03 Thread Jagan Teki
On Thu, Jan 3, 2019 at 12:49 AM Jagan Teki  wrote:
>
> Hi Tom,
>
> Please pull this spi PR as part of 2019.01

This PR is for the release as well, please pick.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-01-02 Thread Jagan Teki
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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-12-23 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-12-23 Thread Jagan Teki
Tom,

Forgot to include once patch, please ignore this will send v2.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-12-23 Thread Jagan Teki
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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-12-05 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-12-05 Thread Jagan Teki
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   

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

2018-10-15 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-10-11 Thread Jagan Teki
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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-10-05 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-10-04 Thread Jagan Teki
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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-10-02 Thread Miquel Raynal
Hi Jagan, Tom,

Tom Rini  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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-10-02 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-10-02 Thread Jagan Teki
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/nan

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

2018-08-05 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-08-04 Thread Jagan Teki
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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-07-16 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-07-16 Thread Jagan Teki
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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-07-02 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-07-02 Thread Jagan Teki
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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-06-28 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-06-27 Thread Jagan Teki
On Wed, Jun 27, 2018 at 8:50 PM, Tom Rini  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  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.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-06-27 Thread Tom Rini
On Wed, Jun 27, 2018 at 12:17:56PM +0530, Jagan Teki wrote:
> On Tue, Jun 26, 2018 at 3:05 AM, Tom Rini  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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-06-26 Thread Jagan Teki
On Tue, Jun 26, 2018 at 3:05 AM, Tom Rini  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/
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-06-25 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-06-25 Thread Jagan Teki
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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-06-06 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-06-05 Thread Jagan Teki
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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-05-30 Thread Tom Rini
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 31dd8efeb661c8db9175a09cf2bab090906a:
> 
>   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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-05-30 Thread Jagan Teki
Hi Tom,

Please pull this PR.

thanks,
Jagan.

The following changes since commit 31dd8efeb661c8db9175a09cf2bab090906a:

  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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-04-26 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-04-24 Thread Jagan Teki
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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-03-26 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-03-24 Thread Jagan Teki
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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-03-15 Thread Jagan Teki
On Thu, Mar 15, 2018 at 12:17 AM, Jagan Teki  wrote:
> On Thu, Mar 15, 2018 at 12:08 AM, Adam Ford  wrote:
>> On Wed, Mar 14, 2018 at 12:39 PM, Jagan Teki  
>> wrote:
>>> On Wed, Mar 14, 2018 at 10:57 PM, Tom Rini  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?
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-03-14 Thread Jagan Teki
On Thu, Mar 15, 2018 at 12:08 AM, Adam Ford  wrote:
> On Wed, Mar 14, 2018 at 12:39 PM, Jagan Teki  
> wrote:
>> On Wed, Mar 14, 2018 at 10:57 PM, Tom Rini  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/
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-03-14 Thread Adam Ford
On Wed, Mar 14, 2018 at 12:39 PM, Jagan Teki  wrote:
> On Wed, Mar 14, 2018 at 10:57 PM, Tom Rini  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@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-03-14 Thread Jagan Teki
On Wed, Mar 14, 2018 at 10:57 PM, Tom Rini  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.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-03-14 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-03-14 Thread Jagan Teki
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%)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-01-25 Thread Álvaro Fernández Rojas

Hi Jagan,

El 24/01/2018 a las 7:57, Jagan Teki escribió:

On Tue, Jan 23, 2018 at 3:58 PM, Daniel Schwierzeck
 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 
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 
  Reviewed-by: Daniel Schwierzeck 
  Reviewed-by: Jagan Teki 

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 /111lion-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   130 /1110: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 :).

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-01-23 Thread Jagan Teki
On Tue, Jan 23, 2018 at 3:58 PM, Daniel Schwierzeck
 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 
>> 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 
>>  Reviewed-by: Daniel Schwierzeck 
>>  Reviewed-by: Jagan Teki 
>>
>> 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 /111lion-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   130 /1110: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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-01-23 Thread Daniel Schwierzeck


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 
> 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 
>  Reviewed-by: Daniel Schwierzeck 
>  Reviewed-by: Jagan Teki 
>
> 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 /111lion-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   130 /1110: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



signature.asc
Description: OpenPGP digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-01-22 Thread Tom Rini
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 
> 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 
>  Reviewed-by: Daniel Schwierzeck 
>  Reviewed-by: Jagan Teki 
> 
> 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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-01-22 Thread Álvaro Fernández Rojas

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 
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 
 Reviewed-by: Daniel Schwierzeck 
 Reviewed-by: Jagan Teki 

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?

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-01-22 Thread Daniel Schwierzeck


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 
>>> 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 
>>> Reviewed-by: Daniel Schwierzeck 
>>> Reviewed-by: Jagan Teki 
>>>
>>> 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



signature.asc
Description: OpenPGP digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-01-22 Thread Tom Rini
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 
> > 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 
> > Reviewed-by: Daniel Schwierzeck 
> > Reviewed-by: Jagan Teki 
> > 
> > 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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-01-22 Thread Daniel Schwierzeck


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 
> 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 
> Reviewed-by: Daniel Schwierzeck 
> Reviewed-by: Jagan Teki 
> 
> 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



signature.asc
Description: OpenPGP digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-01-22 Thread Daniel Schwierzeck


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 
> 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 
> Reviewed-by: Daniel Schwierzeck 
> Reviewed-by: Jagan Teki 
>
> 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



signature.asc
Description: OpenPGP digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-01-22 Thread Tom Rini
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 
> >>> 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 
> >>> Reviewed-by: Daniel Schwierzeck 
> >>> Reviewed-by: Jagan Teki 
> >>>
> >>> 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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-01-22 Thread Daniel Schwierzeck


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 
>>> 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 
>>> Reviewed-by: Daniel Schwierzeck 
>>> Reviewed-by: Jagan Teki 
>>>
>>> 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



signature.asc
Description: OpenPGP digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-01-22 Thread Tom Rini
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 
> > 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 
> > Reviewed-by: Daniel Schwierzeck 
> > Reviewed-by: Jagan Teki 
> > 
> > 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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-01-22 Thread Daniel Schwierzeck
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 
> 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 
> Reviewed-by: Daniel Schwierzeck 
> Reviewed-by: Jagan Teki 
> 
> 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



signature.asc
Description: OpenPGP digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-01-22 Thread Tom Rini
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 
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 
Reviewed-by: Daniel Schwierzeck 
Reviewed-by: Jagan Teki 

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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-01-21 Thread Jagan Teki
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@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...@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@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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2017-12-19 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2017-12-19 Thread Jagan Teki
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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2017-10-18 Thread Tom Rini
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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2017-10-17 Thread Jagan Teki
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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2017-09-26 Thread Tom Rini
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


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2017-09-25 Thread Jagan Teki
On Mon, Sep 25, 2017 at 2:11 PM, Łukasz Majewski  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.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2017-09-25 Thread Łukasz Majewski

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@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: w...@denx.de
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2017-09-25 Thread Jagan Teki
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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2017-08-16 Thread Tom Rini
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


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2017-08-16 Thread Jagan Teki
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.y...@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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2017-05-06 Thread Tom Rini
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


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2017-05-03 Thread Jagan Teki
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(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


  1   2   3   >