]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: simplify dp_fill()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 21 Jul 2023 06:34:18 +0000 (08:34 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 28 Jul 2023 09:36:37 +0000 (11:36 +0200)
commitfc2343338460edceebb639fbee9bd67d109d7afa
tree6719984dd251e33792ddbd52c7865940032f57a2
parentb28fedc4df4eb014c65301579eaa97ea6e5c9ded
efi_loader: simplify dp_fill()

Move the recursive dp_fill(dev->parent) call to a single location.
Determine uclass_id only once.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/efi_loader/efi_device_path.c