[Buildroot] [PATCH] boot/arm-trusted-firmware: add new version

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Feb 6 08:40:42 UTC 2019


On Tue,  5 Feb 2019 23:14:14 +0100
Michał Łyszczek <michal.lyszczek at bofc.pl> wrote:

>  config BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION
> +	bool "Latest (v2.0)"
> +
> +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_2_0
> +	bool "v2.0"
> +
> +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_1_4
>  	bool "v1.4"

This is not really what I suggested, but maybe I wasn't clear. I
suggested to do a similar thing to what we have for U-Boot:

 - One option to select the latest stable

 - One option to select an arbitrary stable version

See boot/uboot/Config.in:

choice
        prompt "U-Boot Version"
        help
          Select the specific U-Boot version you want to use

config BR2_TARGET_UBOOT_LATEST_VERSION
        bool "2018.09"

config BR2_TARGET_UBOOT_CUSTOM_VERSION
        bool "Custom version"
        help
          This option allows to use a specific official versions

config BR2_TARGET_UBOOT_CUSTOM_TARBALL
        bool "Custom tarball"

config BR2_TARGET_UBOOT_CUSTOM_GIT
        bool "Custom Git repository"

config BR2_TARGET_UBOOT_CUSTOM_HG
        bool "Custom Mercurial repository"

config BR2_TARGET_UBOOT_CUSTOM_SVN
        bool "Custom Subversion repository"

endchoice

Also, if you're bumping the default ATF version from 1.4 to 2.0, it
should be a separate patch.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list