[PATCH] ARM: stm32: Add version variable to DHSOM

Patrice CHOTARD patrice.chotard at foss.st.com
Wed Dec 7 17:07:14 CET 2022



On 11/2/22 09:26, Patrice CHOTARD wrote:
> 
> 
> On 11/1/22 23:35, Marek Vasut wrote:
>> Enable insertion of version variable into U-Boot environment on DHSOM,
>> to make it possible to check U-Boot version e.g. in U-Boot scripts.
>>
>> Signed-off-by: Marek Vasut <marex at denx.de>
>> ---
>> Cc: Patrice Chotard <patrice.chotard at foss.st.com>
>> Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
>> ---
>>  configs/stm32mp15_dhcom_basic_defconfig | 1 +
>>  configs/stm32mp15_dhcor_basic_defconfig | 1 +
>>  2 files changed, 2 insertions(+)
>>
>> diff --git a/configs/stm32mp15_dhcom_basic_defconfig b/configs/stm32mp15_dhcom_basic_defconfig
>> index c8093c4e152..fd261d96105 100644
>> --- a/configs/stm32mp15_dhcom_basic_defconfig
>> +++ b/configs/stm32mp15_dhcom_basic_defconfig
>> @@ -97,6 +97,7 @@ CONFIG_ENV_IS_IN_SPI_FLASH=y
>>  CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>>  CONFIG_SYS_RELOC_GD_ENV_ADDR=y
>>  CONFIG_SPL_ENV_IS_NOWHERE=y
>> +CONFIG_VERSION_VARIABLE=y
>>  CONFIG_NET_RANDOM_ETHADDR=y
>>  CONFIG_IP_DEFRAG=y
>>  CONFIG_TFTP_TSIZE=y
>> diff --git a/configs/stm32mp15_dhcor_basic_defconfig b/configs/stm32mp15_dhcor_basic_defconfig
>> index 7b2b92e15e3..947bc6b502e 100644
>> --- a/configs/stm32mp15_dhcor_basic_defconfig
>> +++ b/configs/stm32mp15_dhcor_basic_defconfig
>> @@ -94,6 +94,7 @@ CONFIG_ENV_IS_IN_SPI_FLASH=y
>>  CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>>  CONFIG_SYS_RELOC_GD_ENV_ADDR=y
>>  CONFIG_SPL_ENV_IS_NOWHERE=y
>> +CONFIG_VERSION_VARIABLE=y
>>  CONFIG_NET_RANDOM_ETHADDR=y
>>  CONFIG_IP_DEFRAG=y
>>  CONFIG_TFTP_TSIZE=y
> 
> Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>
> 
> Thanks
> Patrice
Applied to u-boot-stm/master

Thanks
Patrice


More information about the U-Boot mailing list