From: Tom Rini Date: Tue, 3 Dec 2019 23:03:02 -0500 Subject: [U-Boot] [PATCHv2] blk: Make use of CONFIG_HAVE_BLOCK_DEVICE more In-Reply-To: <20191202155231.9985-1-trini@konsulko.com> References: <20191202155231.9985-1-trini@konsulko.com> Message-ID: <20191204040302.GH15966@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: