]> git.dujemihanovic.xyz Git - u-boot.git/commit
configs: meson64_android: use logo part label instead of index
authorMattijs Korpershoek <mkorpershoek@baylibre.com>
Thu, 29 Jul 2021 07:21:12 +0000 (09:21 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Thu, 29 Jul 2021 09:37:23 +0000 (11:37 +0200)
commit211f1d993ce9337681bbd07629cbd83e5dfea999
tree2d2470943a03c3e9221d03d29892133fef6670f9
parentf2cd6487877db9bba8e07abcb36decafcad9ae2a
configs: meson64_android: use logo part label instead of index

To display the bootup logo, we read the gpt and assume that the
partition with index "2" will be the "logo" partition.

This might not always be the case, and it's very error-prone.

Load the logo partition by label instead of by index.

Signed-off-by: Guillaume La Roque <mkorpershoek@baylibre.com>
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
include/configs/meson64_android.h