]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: spi: Convert Freescale ESPI driver to driver model
authorChuanhua Han <chuanhua.han@nxp.com>
Thu, 4 Jun 2020 15:16:30 +0000 (23:16 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 18 Jun 2020 16:17:08 +0000 (21:47 +0530)
commit8d50551dc77bc87dc6c6b3474e094d9203a24144
tree92832e67ba5034173557dddd4621b6f8b90f6ff3
parent47df4b5f2aa789d0e0685742397808d2a626584c
dm: spi: Convert Freescale ESPI driver to driver model

Modify the Freescale ESPI driver to support the driver model.
Also resolved the following problems:

===================== WARNING ======================
This board does not use CONFIG_DM_SPI. Please update
the board before v2019.04 for no dm conversion
and v2019.07 for partially dm converted drivers.
Failure to update can lead to driver/board removal
See doc/driver-model/MIGRATION.txt for more info.
====================================================
===================== WARNING ======================
This board does not use CONFIG_DM_SPI_FLASH. Please update
the board to use CONFIG_SPI_FLASH before the v2019.07 release.
Failure to update by the deadline may result in board removal.
See doc/driver-model/MIGRATION.txt for more info.
====================================================

Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/fsl_espi.c
include/dm/platform_data/fsl_espi.h [new file with mode: 0644]