tools: kwbimage: Set BOOT_FROM by default to SPI
authorPali Rohár <pali@kernel.org>
Mon, 8 Nov 2021 17:12:43 +0000 (18:12 +0100)
committerStefan Roese <sr@denx.de>
Wed, 10 Nov 2021 11:08:06 +0000 (12:08 +0100)
commitd1547b367267020a48bc95ed1f00a0c58de278b9
tree3cb6601ac925c498fe6a333298a45dede1733894
parent01bdac6df6815b9f0b5d69b7e0b543923cfe4c15
tools: kwbimage: Set BOOT_FROM by default to SPI

kwbimage must have valid blockid member instead of zero value. Thus if
config file does not contain BOOT_FROM command, use by default the value
for SPI booting (which is probably the most common).

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwbimage.c