[U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding

Neil Armstrong narmstrong at baylibre.com
Sun Feb 10 10:50:59 UTC 2019


Hi Peter,

Le 10/02/2019 11:25, Peter Robinson a écrit :
>  Hi Neil,
> 
>> There is no reason not to use the Linux "jedec,spi-nor" binding in u-boot.
>> This patchset :
>> - switches all DTS/DTSI files to "jedec,spi-nor"
>> - remove the "spi-flash" compatible from sf-probe
> 
> A number of boards, or even all boards for a SoC type just resync the
> dts files from the Linux kernel every so often, or even every cycle,
> do we know all the boards have the appropriate "jedec,spi-nor" or
> something more specific so those boards won't break on resync?

"spi-flash" is U-Boot specific, Linux dts files should not contain it at all

linux$ find ./ -name "*.dts*" -exec grep \"spi-flash\" {} \; | wc -l
0

Neil

> 
> Peter
> 
>> - switch GENERIC_SPI_FLASH to jedec,spi-nor in fdtdec
>> - switches dt bindings examples files to "jedec,spi-nor"
>>
>> Changes since v3:
>> - collected tags
>> - dropped patch 1
>> - updated for new boards
>>
>> Changes since v2:
>> - collected tags
>> - extracted x86 dts changed and merged it with the fdtdec change
>> - updated for new boards
>>
>> Neil Armstrong (4):
>>   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
>>
>>  arch/arc/dts/axs10x_mb.dtsi                                  |  2 +-
>>  arch/arc/dts/hsdk.dts                                        |  2 +-
>>  arch/arm/dts/am335x-brppt1-spi.dts                           |  2 +-
>>  arch/arm/dts/am437x-idk-evm.dts                              |  2 +-
>>  arch/arm/dts/am437x-sk-evm.dts                               |  2 +-
>>  arch/arm/dts/armada-3720-db.dts                              |  2 +-
>>  arch/arm/dts/armada-3720-espressobin.dts                     |  2 +-
>>  arch/arm/dts/armada-3720-turris-mox.dts                      |  2 +-
>>  arch/arm/dts/armada-385-amc.dts                              |  2 +-
>>  arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi             |  2 +-
>>  arch/arm/dts/armada-38x-controlcenterdc.dts                  |  4 ++--
>>  arch/arm/dts/armada-38x-solidrun-microsom.dtsi               |  2 +-
>>  arch/arm/dts/armada-8040-clearfog-gt-8k.dts                  |  2 +-
>>  arch/arm/dts/armada-xp-theadorable.dts                       |  2 +-
>>  arch/arm/dts/at91-sama5d2_xplained.dts                       |  2 +-
>>  arch/arm/dts/at91-sama5d4_xplained.dts                       |  2 +-
>>  arch/arm/dts/at91-sama5d4ek.dts                              |  2 +-
>>  arch/arm/dts/at91sam9n12ek.dts                               |  2 +-
>>  arch/arm/dts/at91sam9x5ek.dtsi                               |  2 +-
>>  arch/arm/dts/bk4r1.dts                                       |  4 ++--
>>  arch/arm/dts/da850-evm-u-boot.dtsi                           |  2 +-
>>  arch/arm/dts/exynos5250-snow.dts                             |  2 +-
>>  arch/arm/dts/exynos5250-spring.dts                           |  2 +-
>>  arch/arm/dts/exynos5420-peach-pit.dts                        |  2 +-
>>  arch/arm/dts/fsl-ls1012a-2g5rdb.dts                          |  2 +-
>>  arch/arm/dts/fsl-ls1012a-frdm.dtsi                           |  2 +-
>>  arch/arm/dts/fsl-ls1012a-frwy.dts                            |  2 +-
>>  arch/arm/dts/fsl-ls1012a-qds.dtsi                            |  8 ++++----
>>  arch/arm/dts/fsl-ls1012a-rdb.dtsi                            |  2 +-
>>  arch/arm/dts/fsl-ls1043a-qds.dtsi                            |  8 ++++----
>>  arch/arm/dts/fsl-ls1043a-rdb.dts                             |  2 +-
>>  arch/arm/dts/fsl-ls1046a-qds.dtsi                            |  8 ++++----
>>  arch/arm/dts/fsl-ls1046a-rdb.dts                             |  4 ++--
>>  arch/arm/dts/fsl-ls1088a-qds.dts                             | 10 +++++-----
>>  arch/arm/dts/fsl-ls1088a-rdb.dts                             |  4 ++--
>>  arch/arm/dts/fsl-ls2080a-qds.dts                             |  8 ++++----
>>  arch/arm/dts/fsl-ls2080a-rdb.dts                             |  2 +-
>>  arch/arm/dts/fsl-ls2081a-rdb.dts                             |  6 +++---
>>  arch/arm/dts/fsl-ls2088a-rdb-qspi.dts                        |  6 +++---
>>  arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi                    |  4 ++--
>>  arch/arm/dts/imx6sx-sdb-u-boot.dtsi                          |  4 ++--
>>  arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi                    |  2 +-
>>  arch/arm/dts/imx6ul-9x9-evk-u-boot.dtsi                      |  2 +-
>>  arch/arm/dts/imx6ull-14x14-evk.dts                           |  2 +-
>>  arch/arm/dts/imx7d-sdb-qspi-u-boot.dtsi                      |  2 +-
>>  arch/arm/dts/keystone-k2e-evm.dts                            |  2 +-
>>  arch/arm/dts/keystone-k2g-evm.dts                            |  4 ++--
>>  arch/arm/dts/keystone-k2g-ice.dts                            |  2 +-
>>  arch/arm/dts/keystone-k2hk-evm.dts                           |  2 +-
>>  arch/arm/dts/keystone-k2l-evm.dts                            |  2 +-
>>  arch/arm/dts/kirkwood-atl-sbx81lifkw.dts                     |  2 +-
>>  arch/arm/dts/kirkwood-atl-sbx81lifxcat.dts                   |  2 +-
>>  arch/arm/dts/kirkwood-dreamplug.dts                          |  2 +-
>>  arch/arm/dts/kirkwood-lsxl.dtsi                              |  2 +-
>>  arch/arm/dts/kirkwood-netxbig.dtsi                           |  2 +-
>>  arch/arm/dts/kirkwood-ns2-common.dtsi                        |  2 +-
>>  arch/arm/dts/kirkwood-synology.dtsi                          |  2 +-
>>  arch/arm/dts/ls1021a-iot.dtsi                                |  4 ++--
>>  arch/arm/dts/ls1021a-qds.dtsi                                |  2 +-
>>  arch/arm/dts/ls1021a-twr.dtsi                                |  4 ++--
>>  arch/arm/dts/mt7629-rfb.dts                                  |  2 +-
>>  arch/arm/dts/omap5-u-boot.dtsi                               |  2 +-
>>  arch/arm/dts/r8a77970-eagle-u-boot.dts                       |  2 +-
>>  arch/arm/dts/rk3288-veyron.dtsi                              |  2 +-
>>  arch/arm/dts/rk3368-lion.dts                                 |  2 +-
>>  arch/arm/dts/rk3399-gru.dtsi                                 |  2 +-
>>  arch/arm/dts/rk3399-puma.dtsi                                |  2 +-
>>  arch/arm/dts/rv1108-evb.dts                                  |  2 +-
>>  arch/arm/dts/sama5d27_som1.dtsi                              |  2 +-
>>  arch/arm/dts/sama5d3xmb.dtsi                                 |  2 +-
>>  arch/arm/dts/sama5d3xmb_cmp.dtsi                             |  2 +-
>>  arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi                |  2 +-
>>  arch/arm/dts/socfpga_cyclone5_is1.dts                        |  2 +-
>>  arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi              |  2 +-
>>  arch/arm/dts/socfpga_cyclone5_sockit-u-boot.dtsi             |  2 +-
>>  arch/arm/dts/socfpga_cyclone5_socrates-u-boot.dtsi           |  2 +-
>>  arch/arm/dts/socfpga_cyclone5_sr1500.dts                     |  2 +-
>>  arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi        |  4 ++--
>>  arch/arm/dts/stm32f746-disco.dts                             |  2 +-
>>  arch/arm/dts/stm32f769-disco.dts                             |  2 +-
>>  arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi                     |  4 ++--
>>  arch/arm/dts/stv0991.dts                                     |  2 +-
>>  arch/arm/dts/zynq-zed.dts                                    |  2 +-
>>  arch/arm/dts/zynqmp-zc1232-revA.dts                          |  2 +-
>>  arch/arm/dts/zynqmp-zc1254-revA.dts                          |  2 +-
>>  arch/arm/dts/zynqmp-zc1275-revA.dts                          |  2 +-
>>  arch/arm/dts/zynqmp-zc1275-revB.dts                          |  2 +-
>>  arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts                     |  2 +-
>>  arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts                     |  2 +-
>>  arch/arm/dts/zynqmp-zcu102-revA.dts                          |  2 +-
>>  arch/arm/dts/zynqmp-zcu104-revA.dts                          |  2 +-
>>  arch/arm/dts/zynqmp-zcu104-revC.dts                          |  2 +-
>>  arch/arm/dts/zynqmp-zcu106-revA.dts                          |  2 +-
>>  arch/arm/dts/zynqmp-zcu111-revA.dts                          |  2 +-
>>  arch/mips/dts/ap121.dts                                      |  2 +-
>>  arch/mips/dts/ap143.dts                                      |  2 +-
>>  arch/mips/dts/comtrend,ar-5315u.dts                          |  2 +-
>>  arch/mips/dts/comtrend,ar-5387un.dts                         |  2 +-
>>  arch/mips/dts/gardena-smart-gateway-mt7688.dts               |  2 +-
>>  arch/mips/dts/jr2_pcb110.dts                                 |  2 +-
>>  arch/mips/dts/jr2_pcb111.dts                                 |  2 +-
>>  arch/mips/dts/linkit-smart-7688.dts                          |  2 +-
>>  arch/mips/dts/luton_pcb090.dts                               |  2 +-
>>  arch/mips/dts/luton_pcb091.dts                               |  2 +-
>>  arch/mips/dts/mscc,ocelot_pcb.dtsi                           |  2 +-
>>  arch/mips/dts/netgear,cg3100d.dts                            |  2 +-
>>  arch/mips/dts/sagem,f at st1704.dts                             |  2 +-
>>  arch/mips/dts/serval2_pcb112.dts                             |  2 +-
>>  arch/mips/dts/serval_pcb105.dts                              |  2 +-
>>  arch/mips/dts/serval_pcb106.dts                              |  2 +-
>>  arch/mips/dts/servalt_pcb116.dts                             |  2 +-
>>  arch/mips/dts/tplink_wdr4300.dts                             |  2 +-
>>  arch/nds32/dts/ae3xx.dts                                     |  2 +-
>>  arch/riscv/dts/ae350_32.dts                                  |  2 +-
>>  arch/riscv/dts/ae350_64.dts                                  |  2 +-
>>  arch/sandbox/dts/test.dts                                    |  2 +-
>>  arch/x86/dts/bayleybay.dts                                   |  2 +-
>>  arch/x86/dts/baytrail_som-db5800-som-6867.dts                |  2 +-
>>  arch/x86/dts/cherryhill.dts                                  |  2 +-
>>  arch/x86/dts/chromebook_link.dts                             |  2 +-
>>  arch/x86/dts/chromebook_samus.dts                            |  2 +-
>>  arch/x86/dts/chromebox_panther.dts                           |  2 +-
>>  arch/x86/dts/conga-qeval20-qa3-e3845.dts                     |  2 +-
>>  arch/x86/dts/cougarcanyon2.dts                               |  2 +-
>>  arch/x86/dts/crownbay.dts                                    |  2 +-
>>  arch/x86/dts/dfi-bt700.dtsi                                  |  2 +-
>>  arch/x86/dts/galileo.dts                                     |  2 +-
>>  arch/x86/dts/minnowmax.dts                                   |  2 +-
>>  doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt |  2 +-
>>  doc/device-tree-bindings/spi/spi-atcspi200.txt               |  2 +-
>>  doc/device-tree-bindings/spi/spi-stm32-qspi.txt              |  2 +-
>>  drivers/mtd/spi/sf_probe.c                                   |  1 -
>>  lib/fdtdec.c                                                 |  2 +-
>>  133 files changed, 163 insertions(+), 164 deletions(-)
>>
>> --
>> 2.7.4
>>
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> https://lists.denx.de/listinfo/u-boot


More information about the U-Boot mailing list