[U-Boot] [RESEND PATCH v2 00/13] ARM: davinci: driver-model improvements

Bartosz Golaszewski brgl at bgdev.pl
Mon Jul 29 06:57:57 UTC 2019


From: Bartosz Golaszewski <bgolaszewski at baylibre.com>

NOTE: emac conversion is already upstream, so dropped it from this
series. No other changes.

The following series contains all the patches for davinci that have
been sent to the mailing list recently rebased on top of v2019.07 and
retested on da850-lcdk and da850-evm. I collected all the review and
test tags too.

Patches 1-4 fix build warnings due to legacy interfaces usage. Patches
5-8 add support for driver model to the davinci NAND driver. Patches
9-12 enable driver-model support in SPL for davinci. Last patch enables
the driver model for NAND in SPL.

v1 -> v2:
- fixed a build error on da850_am18xx due to missing CONFIG_DM_ETH=y

Bartosz Golaszewski (13):
  davinci: remove CONFIG_DM_I2C_COMPAT from defconfigs
  sandbox: remove CONFIG_DM_I2C_COMPAT from defconfigs
  i2c: remove i2c driver-model compatibility layer
  omapl138_lcdk_defconfig: don't build support for SPI
  nand: davinci: make davinci_nand_init() static
  nand: davinci: add support for driver model
  davinci: omapl138-lcdk: enable driver model for NAND
  davinci: da850-evm: enable driver model for NAND
  davinci: omapl138-lcdk: enable SPL_SYS_MALLOC_SIMPLE
  davinci: omapl138-lcdk: enable CONFIG_USE_TINY_PRINTF
  davinci: omapl138-lcdk: remove unneeded includes
  davinci: omapl138-lcdk: enable driver-model in SPL
  configs: omapl138_lcdk: enable NAND self-init in SPL

 Makefile                                      |   7 -
 arch/arm/dts/da850-evm-u-boot.dtsi            |   4 +
 arch/arm/dts/da850-lcdk-u-boot.dtsi           |   4 +
 arch/arm/include/asm/ti-common/davinci_nand.h |   2 -
 board/davinci/da8xxevm/omapl138_lcdk.c        |  18 ++-
 configs/da850_am18xxevm_defconfig             |   1 -
 configs/da850evm_defconfig                    |   1 +
 configs/da850evm_direct_nor_defconfig         |   1 +
 configs/da850evm_nand_defconfig               |   1 +
 configs/omapl138_lcdk_defconfig               |  15 +-
 configs/sandbox64_defconfig                   |   1 -
 configs/sandbox_defconfig                     |   1 -
 configs/sandbox_flattree_defconfig            |   1 -
 configs/sandbox_noblk_defconfig               |   1 -
 configs/sandbox_spl_defconfig                 |   1 -
 configs/tools-only_defconfig                  |   1 -
 drivers/i2c/Kconfig                           |  13 +-
 drivers/i2c/Makefile                          |   1 -
 drivers/i2c/i2c-uclass-compat.c               | 128 ------------------
 drivers/mtd/nand/raw/davinci_nand.c           |  48 ++++++-
 include/_exports.h                            |   3 +-
 include/configs/am3517_evm.h                  |   1 -
 include/configs/da850evm.h                    |   4 +
 include/configs/omapl138_lcdk.h               |   8 --
 include/exports.h                             |   3 +-
 include/i2c.h                                 |  80 -----------
 26 files changed, 89 insertions(+), 260 deletions(-)
 delete mode 100644 drivers/i2c/i2c-uclass-compat.c

-- 
2.21.0



More information about the U-Boot mailing list