boot/opensbi: add support for version configuration
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 29 Apr 2021 07:46:32 +0000 (09:46 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 30 Apr 2021 07:46:21 +0000 (09:46 +0200)
commit5c7166d387bbae63456f9820e0fd0658c503f07b
tree0abcfdf610835cddc9b9c8f4954fbfa684c075da
parentbad244ea457c5892dbb3773a70aa33b836f143e9
boot/opensbi: add support for version configuration

OpenSBI contains platform-specific code, so very much like Linux,
U-Boot or other bootloaders, using the upstream version of OpenSBI
will very often not be sufficient.

This commit therefore adds the possibility of specifying a custom
version of OpenSBI, either custom from upstream, custom tarball, or
custom from Git. Support for other version control systems has not
been implemented for now, but could be added later if needed.

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