]> Git Repo - buildroot-mgba.git/commit
boot/opensbi: add options to enable/disable image installation
authorThomas Petazzoni <[email protected]>
Tue, 4 May 2021 20:51:33 +0000 (22:51 +0200)
committerYann E. MORIN <[email protected]>
Fri, 7 May 2021 20:29:02 +0000 (22:29 +0200)
commit24010550be1ef4ea0e4fafffc6c58361b9a6730c
tree1c3723abc9adccf7c530c94ac251f919e472db55
parent1556484f0bbf082e8cae8cd00c1cf8afc1eae730
boot/opensbi: add options to enable/disable image installation

Until now, whenever a BR2_TARGET_OPENSBI_PLAT value was specified,
opensbi.mk was assuming that both fw_jump and fw_dynamic would be
produced. However, this is not the case: the OpenSBI per-platform
config.mk can decide which image to build.

As an example, the config.mk for VIC7100-based BeagleV only enables
producing the fw_payload image.

This commit adds three options to enable the installation of images:
one for fw_jump, one for fw_dynamic, one for fw_payload.

The options for fw_jump and fw_dynamic are "default y" when
BR2_TARGET_OPENSBI_PLAT is not empty, to preserve existing behavior.

The option for fw_payload is forcefully selected when either Linux or
U-Boot are selected as payloads.

Signed-off-by: Thomas Petazzoni <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
boot/opensbi/Config.in
boot/opensbi/opensbi.mk
This page took 0.034594 seconds and 4 git commands to generate.