[U-Boot] [PATCH 6/8] board: stm32f469-discovery: Add set_env_soc_name() in board_late_init()

Patrice CHOTARD patrice.chotard at st.com
Fri Feb 2 08:26:26 UTC 2018


Hi Vikas

On 01/31/2018 07:32 PM, Vikas Manocha wrote:
> Hi,
> 
> On 01/31/2018 08:09 AM, patrice.chotard at st.com wrote:
>> From: Patrice Chotard <patrice.chotard at st.com>
>>
>> Add set_env_soc_name() call in board_late_init() to set environment
>> variable "soc_name" with the name of current STM32 SoC.
>>
>> Signed-off-by: Christophe Priouzeau <christophe.priouzeau at st.com>
>> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
>> ---
>>   board/st/stm32f746-disco/stm32f746-disco.c | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c
> 
> does not match with the Subject, same mis-match in one more patch.
> Can we club these board patches in one.

Ok

Thanks

Patrice

> 
> Cheers,
> Vikas
> 
>> index 8da70281f976..0ad03ce96d33 100644
>> --- a/board/st/stm32f746-disco/stm32f746-disco.c
>> +++ b/board/st/stm32f746-disco/stm32f746-disco.c
>> @@ -115,6 +115,8 @@ int board_late_init(void)
>>   	struct gpio_desc gpio = {};
>>   	int node;
>>   
>> +	set_env_soc_name(get_cpu_id());
>> +
>>   	node = fdt_node_offset_by_compatible(gd->fdt_blob, 0, "st,led1");
>>   	if (node < 0)
>>   		return -1;
>>


More information about the U-Boot mailing list