]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: Correct priority selection for image loaders
authorSimon Glass <sjg@chromium.org>
Mon, 21 Oct 2019 03:31:45 +0000 (21:31 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Sat, 2 Nov 2019 23:20:26 +0000 (07:20 +0800)
commite1500a6ce29a8424cc0c0a2fa82e694419941dd1
tree33e7babdcc24dbba26139f7f6ccef3708af97ad2
parent211193dc5c732af1b88be0e6c23715f83afd1cb0
spl: Correct priority selection for image loaders

At present the name of the image comes first in the linker-list symbol
used. This means that the name of the function sets the sort order, which
is not the intention.

Update it to put the boot-device type first, then the priority. This
produces the expected behaviour.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/spl.h