scripts: mkits.sh make it possible to specify fdt@#
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 29 Aug 2020 20:48:49 +0000 (22:48 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 25 Sep 2020 17:32:33 +0000 (19:32 +0200)
commitfed1788689a180fa6f0ac2bc0f8f4659e8026e84
tree2a91ecebe8ea60f7701a0c9d178505f3b604c9b1
parenta9071d02b5ab11fbd73ea42076a09f2fd8136517
scripts: mkits.sh make it possible to specify fdt@#

Some bootloaders are really keen on just one special
fdt in a multi-image fit image. This is a problem, because
currently this is fixed to "fdt@1".

This patch introduces a new device variable:
DEVICE_FDT_NUM that allows to specify the right
fdt number.

If the value is absent "1" will be chosen.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
include/image-commands.mk
include/image.mk
scripts/mkits.sh