[U-Boot] [PATCH v4 0/5] dm: spi: Convert Freescale ESPI driver to driver
Chuanhua Han
chuanhua.han at nxp.com
Fri Jun 21 02:21:57 UTC 2019
In order to convert the Freescale ESPI driver to the driver model, there
are 5 related patches in the current patch set:
0001-spl-dm-disable-SPI-DM-flash-for-non-DM-SPL.patch
0002-dm-spi-Convert-Freescale-ESPI-driver-to-driver-model.patch
0003-powerpc-dts-t2080-add-espi-controller-node-support.patch
0004-powerpc-dts-t2080qds-add-espi-slave-nodes-support.patch
0005-configs-enable-espi-device-module-in-T2080QDS.patch
The first patch is to solve the problem that spl can't work when
spiboot, and this is required for SPI boot.
The other four patches are supported by the driver model. This patchset
already supports the full dm mode, and fsl_espi driver support both
OF_CONTROL and PLATDATA.
Chuanhua Han (5):
spl: dm: disable SPI DM flash for non-DM SPL
dm: spi: Convert Freescale ESPI driver to driver model
powerpc: dts: t2080: add espi controller node support
powerpc: dts: t2080qds: add espi slave nodes support
configs: enable espi device module in T2080QDS
arch/powerpc/dts/t2080.dtsi | 10 +
arch/powerpc/dts/t2080qds.dts | 33 ++
configs/T2080QDS_NAND_defconfig | 2 +
configs/T2080QDS_SDCARD_defconfig | 2 +
configs/T2080QDS_SECURE_BOOT_defconfig | 2 +
configs/T2080QDS_SPIFLASH_defconfig | 2 +
configs/T2080QDS_SRIO_PCIE_BOOT_defconfig | 2 +
configs/T2080QDS_defconfig | 2 +
drivers/spi/fsl_espi.c | 444 ++++++++++++++++------
include/config_uncmd_spl.h | 1 +
include/dm/platform_data/fsl_espi.h | 16 +
11 files changed, 395 insertions(+), 121 deletions(-)
create mode 100644 include/dm/platform_data/fsl_espi.h
--
2.17.1
More information about the U-Boot
mailing list