]> git.baikalelectronics.ru Git - uboot.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)
commitfa9d7d90ddfad20fe70c4599a2fdb26f0b28dd7e
tree33e7babdcc24dbba26139f7f6ccef3708af97ad2
parentf0b11f2bde0ccb84bdbeb0c255001d82eb7326cb
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