boot/opensbi: allow using U-Boot as a payload
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 29 Apr 2021 07:46:33 +0000 (09:46 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 30 Apr 2021 07:49:15 +0000 (09:49 +0200)
commitfe1353020e5ae672d29c6f9eaefe735dcc09f25a
tree1c6d63ddc7d1a6581d1c06c7c50283552339e449
parent5c7166d387bbae63456f9820e0fd0658c503f07b
boot/opensbi: allow using U-Boot as a payload

The opensbi package already allows to use Linux as a payload for
OpenSBI, but in some cases, U-Boot as payload is useful. This commit
adds a BR2_TARGET_OPENSBI_UBOOT_PAYLOAD option, modeled after the
existing BR2_TARGET_OPENSBI_LINUX_PAYLOAD.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
boot/opensbi/Config.in
boot/opensbi/opensbi.mk