]> git.dujemihanovic.xyz Git - u-boot.git/commit
board_r: run scsi init() on ARM too
authorIan Campbell <ijc@hellion.org.uk>
Mon, 21 Jul 2014 18:23:18 +0000 (19:23 +0100)
committerTom Rini <trini@ti.com>
Tue, 22 Jul 2014 11:44:28 +0000 (07:44 -0400)
commit2c997e7a8f1d23513e6c63cd6519ed34133256ad
tree289d06981874b08152d2408a4b51122cecbc3321
parente0ddcf93b93eb0bcd99501f90fd62e91c864e114
board_r: run scsi init() on ARM too

This has been disabled for ARM in initr_scsi since that function was
introduced. However it works fine for me on Cubieboard and Cubietruck (with the
upcoming AHCI glue patch).

I also tested on two random ARM platforms which seem to define CONFIG_CMD_SCSI:
 - highbank worked fine (on midway hardware)
 - omap5_uevm built OK and I confirmed using objdump that things were as
   expected (i.e. the default weak scsi_init nop was used).

While there remove the mismatched comment from the #endif (omitting the comment
seems to be the prevailing style in this file).

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Simon Glass <sjg@chromium.org>
common/board_r.c