[U-Boot] blk: Rework guard around part_init call

Tom Rini trini at konsulko.com
Thu Dec 13 00:47:14 UTC 2018


On Wed, Dec 05, 2018 at 08:23:38AM -0500, Tom Rini wrote:

> The function part_init() will only be built when we have both
> CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE set.  Protect the call to
> this function with both of these tests now.
> 
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> Cc: Michal Simek <michal.simek at xilinx.com>
> Cc: York Sun <york.sun at nxp.com>
> Cc: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>
> Cc: Mingkai Hu <mingkai.hu at nxp.com>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Marek BehĂșn <marek.behun at nic.cz>
> Cc: Vanessa Maegima <vanessa.maegima at nxp.com>
> Cc: Eugen Hristev <eugen.hristev at microchip.com>
> Cc: Adam Ford <aford173 at gmail.com>
> Cc: Jagan Teki <jagan at amarulasolutions.com>
> Cc: Tom Warren <twarren at nvidia.com>
> Cc: Stephen Warren <swarren at nvidia.com>
> Cc: Vitaly Andrianov <vitalya at ti.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181212/bcb2c0f2/attachment.sig>


More information about the U-Boot mailing list