[Buildroot] [PATCH v2 2/2] boot/uboot.mk: new zynqmp pmufw build option

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Aug 22 22:02:21 UTC 2023


On Mon, 27 Mar 2023 18:06:04 +0100
Neal Frager via buildroot <buildroot at buildroot.org> wrote:

> -config BR2_TARGET_UBOOT_ZYNQMP_PMUFW
> -	string "PMU firmware location"

The removal of this option will require Config.in.legacy handling.

> +choice
> +	prompt "zynqmp firmware source or prebuilt"
> +	default BR2_TARGET_UBOOT_ZYNQMP_PMUFW_PREBUILT
>  	depends on BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG
> +
> +config BR2_TARGET_UBOOT_ZYNQMP_PMUFW_SOURCE
> +	bool "Build zynqmp PMU firmware from source"
> +	depends on BR2_PACKAGE_ZYNQMP_FIRMWARE
> +	help
> +	  This option instructs u-boot to build the zynqmp pmufw using
> +	  the zynqmp-firmware package.  u-boot will then include this
> +	  pmufw.elf in the generated boot.bin.
> +
> +	  This feature requires U-Boot >= 2018.07.
> +
> +config BR2_TARGET_UBOOT_ZYNQMP_PMUFW_PREBUILT
> +	string "Pre-built zynqmp PMU firmware location"

We can have choice between a boolean option and a string option? Does
that work?

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list