[U-Boot] [PATCH 00/14] at91: Add boards with OF_CONTROL/DM/DM_SPI

Jagan Teki jagan at amarulasolutions.com
Wed Mar 14 13:16:30 UTC 2018


This series add support for missing at91 board with
- OF_CONTROL
- DM
- DM_SPI
- Drop non-dm code from atmel_spi

Boards like taurus, vinco and ma5d4evk need move GPIO code
into drivers instead of configuring them in board file.
request to board maintainers to do this job.

Jagan Teki (14):
  spi: atmel: Add ifdef for DM_GPIO code
  at91: gurnard: Enable DM_SPI
  configs: gurnard: Move CONFIG_ATMEL_SPI to defconfigs
  at91: taurus: Enable DM_SPI
  at91: vinco: Enable DM
  at91: vinco: Add FDT support
  at91: vinco: Enable DM_SPI
  at91: ma5d4evk: Enable DM
  at91: ma5d4evk: Add FDT support
  at91: ma5d4evk: Enable DM_SPI
  at91: ma5d4evk: Enable SPL_DM and SPL_OF_CONTROL
  spi: atmel: Drop non-dm code
  spi: atmel: Drop atmel_spi.h
  spi: atmel: default y if DM_SPI && ARCH_AT91

 arch/arm/dts/Makefile                          |   6 +
 arch/arm/dts/at91-sama5d4_ma5d4.dtsi           | 142 +++++++++++
 arch/arm/dts/at91-sama5d4_ma5d4evk.dts         | 149 ++++++++++++
 arch/arm/dts/at91-vinco.dts                    | 246 +++++++++++++++++++
 arch/arm/mach-at91/Kconfig                     |   6 +
 board/aries/ma5d4evk/ma5d4evk.c                |   9 +-
 board/bluewater/gurnard/gurnard.c              |  20 --
 board/l+g/vinco/vinco.c                        |   5 +-
 board/siemens/taurus/taurus.c                  |   3 +
 configs/at91sam9260ek_dataflash_cs0_defconfig  |   1 -
 configs/at91sam9260ek_dataflash_cs1_defconfig  |   1 -
 configs/at91sam9260ek_nandflash_defconfig      |   1 -
 configs/at91sam9261ek_dataflash_cs0_defconfig  |   1 -
 configs/at91sam9261ek_dataflash_cs3_defconfig  |   1 -
 configs/at91sam9261ek_nandflash_defconfig      |   1 -
 configs/at91sam9263ek_dataflash_cs0_defconfig  |   1 -
 configs/at91sam9263ek_dataflash_defconfig      |   1 -
 configs/at91sam9263ek_nandflash_defconfig      |   1 -
 configs/at91sam9263ek_norflash_boot_defconfig  |   1 -
 configs/at91sam9263ek_norflash_defconfig       |   1 -
 configs/at91sam9g10ek_dataflash_cs0_defconfig  |   1 -
 configs/at91sam9g10ek_dataflash_cs3_defconfig  |   1 -
 configs/at91sam9g10ek_nandflash_defconfig      |   1 -
 configs/at91sam9g20ek_2mmc_defconfig           |   1 -
 configs/at91sam9g20ek_2mmc_nandflash_defconfig |   1 -
 configs/at91sam9g20ek_dataflash_cs0_defconfig  |   1 -
 configs/at91sam9g20ek_dataflash_cs1_defconfig  |   1 -
 configs/at91sam9g20ek_nandflash_defconfig      |   1 -
 configs/at91sam9n12ek_mmc_defconfig            |   1 -
 configs/at91sam9n12ek_nandflash_defconfig      |   1 -
 configs/at91sam9n12ek_spiflash_defconfig       |   1 -
 configs/at91sam9rlek_dataflash_defconfig       |   1 -
 configs/at91sam9rlek_mmc_defconfig             |   1 -
 configs/at91sam9rlek_nandflash_defconfig       |   1 -
 configs/at91sam9x5ek_dataflash_defconfig       |   1 -
 configs/at91sam9x5ek_mmc_defconfig             |   1 -
 configs/at91sam9x5ek_nandflash_defconfig       |   1 -
 configs/at91sam9x5ek_spiflash_defconfig        |   1 -
 configs/at91sam9xeek_dataflash_cs0_defconfig   |   1 -
 configs/at91sam9xeek_dataflash_cs1_defconfig   |   1 -
 configs/at91sam9xeek_nandflash_defconfig       |   1 -
 configs/ethernut5_defconfig                    |   1 -
 configs/ma5d4evk_defconfig                     |   4 +
 configs/meesc_dataflash_defconfig              |   1 -
 configs/meesc_defconfig                        |   1 -
 configs/pm9261_defconfig                       |   1 -
 configs/pm9263_defconfig                       |   1 -
 configs/sama5d27_som1_ek_mmc_defconfig         |   1 -
 configs/sama5d2_xplained_mmc_defconfig         |   1 -
 configs/sama5d2_xplained_spiflash_defconfig    |   1 -
 configs/sama5d36ek_cmp_mmc_defconfig           |   1 -
 configs/sama5d36ek_cmp_nandflash_defconfig     |   1 -
 configs/sama5d36ek_cmp_spiflash_defconfig      |   1 -
 configs/sama5d3xek_mmc_defconfig               |   1 -
 configs/sama5d3xek_nandflash_defconfig         |   1 -
 configs/sama5d3xek_spiflash_defconfig          |   1 -
 configs/sama5d4_xplained_mmc_defconfig         |   1 -
 configs/sama5d4_xplained_nandflash_defconfig   |   1 -
 configs/sama5d4_xplained_spiflash_defconfig    |   1 -
 configs/sama5d4ek_mmc_defconfig                |   1 -
 configs/sama5d4ek_nandflash_defconfig          |   1 -
 configs/sama5d4ek_spiflash_defconfig           |   1 -
 configs/usb_a9263_dataflash_defconfig          |   1 -
 configs/vinco_defconfig                        |   2 +
 drivers/spi/Kconfig                            |   2 +-
 drivers/spi/atmel_spi.c                        | 312 ++++++++-----------------
 drivers/spi/atmel_spi.h                        | 100 --------
 include/configs/ma5d4evk.h                     |   2 -
 include/configs/snapper9g45.h                  |   2 -
 include/configs/taurus.h                       |   1 -
 include/configs/vinco.h                        |   2 -
 scripts/config_whitelist.txt                   |   1 -
 72 files changed, 667 insertions(+), 400 deletions(-)
 create mode 100644 arch/arm/dts/at91-sama5d4_ma5d4.dtsi
 create mode 100644 arch/arm/dts/at91-sama5d4_ma5d4evk.dts
 create mode 100644 arch/arm/dts/at91-vinco.dts
 delete mode 100644 drivers/spi/atmel_spi.h

-- 
2.14.3



More information about the U-Boot mailing list