]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: Remove spi_init() from board_r.c when using driver model
authorSimon Glass <sjg@chromium.org>
Tue, 14 Oct 2014 05:41:54 +0000 (23:41 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Oct 2014 16:36:47 +0000 (10:36 -0600)
commitebe76a2df9f6b82f41ec61d36d45bce56d556f17
tree78a2dac725e175f0e18310fcb5648134d872224e
parentc60e1f254747ac650f8290e5debcf8ad1567584b
dm: Remove spi_init() from board_r.c when using driver model

Driver model does its own init, so we don't need this.

There is still a call in board_f.c but it is only enabled by CONFIG_HARD_SPI.
It is easy enough to disable that option when converting boards which use
it to driver model.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
common/board_r.c