]> git.ipfire.org Git - people/ms/u-boot.git/commit
cmd: Rework disk.c usage
authorTom Rini <trini@konsulko.com>
Fri, 9 Sep 2016 01:26:39 +0000 (21:26 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 9 Sep 2016 19:53:14 +0000 (15:53 -0400)
commitaca9814dc5e213c1a37a5d6bc7221240ad08e9a0
treeb8be1c5444c30b05290d52996789f325a867523a
parent645176d1d5c37c91ddb06c366678fbe302550387
cmd: Rework disk.c usage

We only need the function found in cmd/disk.c when we have IDE, SCSI or
USB_STORAGE enabled.  While the first two are easy to get right, in the
3rd case we assume that the set of cases where we do have USB and do not
enable USB_STORAGE are small enough that we can take the small bloat of
un-discarded strings on gcc prior to 6.x

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