cmd: scsi: Group the command portion together, guard with !CONFIG_SPL_BUILD
authorTom Rini <trini@konsulko.com>
Wed, 16 Mar 2016 13:45:03 +0000 (09:45 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 16 Mar 2016 19:03:37 +0000 (15:03 -0400)
commitba52426975e3fbdcf0f9a942a9883af952abb9e0
tree08e90b7d6d70793aa1c94b61af512cf002b6e7dc
parent80485af24392a6a1816cc8b9692ac3d7193a62fc
cmd: scsi: Group the command portion together, guard with !CONFIG_SPL_BUILD

When we switch to including all linker lists in SPL it is important
to not include commands as that may lead to link errors due to other
things we have already discarded.  In this case, the SCSI code needs a lot
of attention so for now just guard the command portions.

Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/scsi.c