Skip to content
Commit 4df23e58 authored by Tom Rini's avatar Tom Rini
Browse files

blk: Make use of CONFIG_HAVE_BLOCK_DEVICE more



When we do not have CONFIG_BLK (or SPL/TPL) enabled there are very few
cases where we need the blk_legacy code linked in. To catch these, build
when we have CONFIG_HAVE_BLOCK_DEVICE set.  In addition, we only need
cmd/blk_common.o to be linked in when we have CONFIG_HAVE_BLOCK_DEVICE
set, so make use of that directly.

Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent 56e5a393
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment