scsi: move the partition initialization out of the scsi detection
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 7 Apr 2017 11:42:07 +0000 (13:42 +0200)
committerSimon Glass <sjg@chromium.org>
Sat, 15 Apr 2017 01:38:57 +0000 (19:38 -0600)
commit1330a726ff0c8164cf6035ab4a6d1e31805f69d1
treed53888aee3bf13482cd29afb9bdb3bb647e88179
parente39cecfdaf8ee6fa222a8209aa0183be978f370d
scsi: move the partition initialization out of the scsi detection

We might want to get information about the scsi device without initializing the partition.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/scsi.c