[RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC

Simon Glass sjg at chromium.org
Sun Oct 10 16:14:33 CEST 2021


On Thu, 30 Sept 2021 at 23:02, AKASHI Takahiro
<takahiro.akashi at linaro.org> wrote:
>
> In blk_get_device_by_str(), the comment says: "Updates the partition table
> for the specified hw partition."
> Since hw partition is supported only on MMC, it makes no sense to do so
> for other devices.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> ---
>  disk/part.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list