
27 Jun
2018
27 Jun
'18
8:38 a.m.
On Tue, Jun 26, 2018 at 10:28 PM, Angelo Dureghello angelo@sysam.it wrote:
This patch adds DM support to cf_spi.c.
How to use/test it:
- enable the following options,
CONFIG_DM_SPI CONFIG_DM_SPI_FLASH
- add similar code into your board.c file
U_BOOT_DEVICE(coldfire_spi) = { .name = "spi_coldfire", .platdata = &mcf_spi_plat, };
Changes from v1:
- split into 2 patches
Changes from v2:
- back in a single patch, no need to add fdt support or special config options
- doc/driver-model/spi-howto.txt has been re-checked and followed, the driver now builds as is.
Nice, How about full dm conversion. I have seen few boards using this driver and its quite manageble for full switching. what do you think?