diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-13 23:41:56 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-22 10:36:47 -0600 |
commit | 1157a161b0a579c7021a10384b7042a75b0cb229 (patch) | |
tree | e3bf3cd301a4389d7b821f8d82e9ae2d8b27cde2 /include/configs/CPC45.h | |
parent | 843c9e8796a7a6ebe0c9dec54c6a64ac29949d8f (diff) | |
download | u-boot-imx-1157a161b0a579c7021a10384b7042a75b0cb229.zip u-boot-imx-1157a161b0a579c7021a10384b7042a75b0cb229.tar.gz u-boot-imx-1157a161b0a579c7021a10384b7042a75b0cb229.tar.bz2 |
dm: spi: Adjust cmd_spi to work with driver model
Driver model uses a different way to find the SPI bus and slave from the
numbered devices given on the command line. Adjust the code to suit.
We use a generic SPI device, and attach it to the SPI bus before performing
the transaction.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'include/configs/CPC45.h')
0 files changed, 0 insertions, 0 deletions