[U-Boot] [PATCHv2] blk: Make use of CONFIG_HAVE_BLOCK_DEVICE more

Tom Rini trini at konsulko.com
Wed Dec 4 05:03:02 CET 2019


On Mon, Dec 02, 2019 at 10:52:31AM -0500, Tom Rini wrote:

> 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: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20191203/28748c0f/attachment.sig>


More information about the U-Boot mailing list