diff options
author | Peng Fan <van.freenix@gmail.com> | 2016-05-03 02:02:21 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-17 15:54:43 (GMT) |
commit | 102412c415b5e51b01ed5797c965d0feaa065439 (patch) | |
tree | 60836d7e1174ffcc4a67b7d5279031a8ae10719c /drivers/mtd/nand/davinci_nand.c | |
parent | b6d54d527325f27c460777b882e23d21a935765a (diff) | |
download | u-boot-102412c415b5e51b01ed5797c965d0feaa065439.tar.xz |
dm: spi: soft_spi: switch to use linux compatible string
1. Support compatible string "spi-gpio" which is used by Linux
Linux use different bindings, so use UBOOT_COMPAT and
LINUX_COMPAT to differentiate them.
2. Introduce SPI_MASTER_NO_RX and SPI_MASTER_NO_TX to handle
no rx or no tx case.
3. Tested on i.MX6 UltraLite board with 74LV595 spi-gpio chip.
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Przemyslaw Marczak <p.marczak@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mtd/nand/davinci_nand.c')
0 files changed, 0 insertions, 0 deletions