]> git.dujemihanovic.xyz Git - u-boot.git/commit
disk: don't try search for partition type if already set
authorAlexey Romanov <avromanov@salutedevices.com>
Thu, 18 Jul 2024 05:45:26 +0000 (08:45 +0300)
committerMichael Trimarchi <michael@amarulasolutions.com>
Thu, 8 Aug 2024 07:28:02 +0000 (09:28 +0200)
commit6b0c9f2cb511b2b06fd675a49162208c9105f2a0
treec6625a8316f77c82785069c65c3d8c8fdb0ccbe2
parent9daad11ad178646c288aca3615a7ba1e6039aed3
disk: don't try search for partition type if already set

Block devices can already set partition type at initialization
stage, so, in this case is no point in searching for partition type.

Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
disk/part.c