[U-Boot] [PATCH v2 1/3] mach-stm32: Add set_env_soc_name support

2018-02-05 Thread patrice.chotard
From: Patrice Chotard This allows to create and set the environment variable "soc_name" which contains the current STM32 SoC's name. Signed-off-by: Christophe Priouzeau Signed-off-by: Patrice Chotard --- v2: _ Remove get_cpu_id() function and use directly CONFIG_STM32xx flag to identify

Re: [U-Boot] [PATCH v2 1/3] mach-stm32: Add set_env_soc_name support

2018-02-05 Thread Vikas Manocha
Hi, On 02/05/2018 02:33 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This allows to create and set the environment variable > "soc_name" which contains the current STM32 SoC's name. > > Signed-off-by: Christophe Priouzeau > Signed-off-by: Patrice Chotard For the series, Revi

Re: [U-Boot] [PATCH v2 1/3] mach-stm32: Add set_env_soc_name support

2018-02-06 Thread Patrice CHOTARD
Hi Vikas On 02/05/2018 05:24 PM, Vikas Manocha wrote: > Hi, > > On 02/05/2018 02:33 AM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> This allows to create and set the environment variable >> "soc_name" which contains the current STM32 SoC's name. >> >> Signed-off-by: Christophe P

Re: [U-Boot] [PATCH v2 1/3] mach-stm32: Add set_env_soc_name support

2018-02-06 Thread Patrick DELAUNAY
Hi Patrice, > From: Patrice CHOTARD > > Sure, i will send a v3 > > Thanks > > Patrice > You can also activate CONFIG_ENV_VARS_UBOOT_CONFIG Then the variables are defined in ./include/env_default.h : arch=CONFIG_SYS_ARCH cpu=CONFIG_SYS_CPU board=CONFIG_SYS_BOARD board_name=CONFIG_SYS_BOARD v

Re: [U-Boot] [PATCH v2 1/3] mach-stm32: Add set_env_soc_name support

2018-02-06 Thread Patrice CHOTARD
Hi Patrick On 02/06/2018 09:52 AM, Patrick DELAUNAY wrote: > Hi Patrice, > >> From: Patrice CHOTARD >> >> Sure, i will send a v3 >> >> Thanks >> >> Patrice >> > > You can also activate CONFIG_ENV_VARS_UBOOT_CONFIG > > Then the variables are defined in ./include/env_default.h : > > arch=CONFIG_

Re: [U-Boot] [PATCH v2 1/3] mach-stm32: Add set_env_soc_name support

2018-02-06 Thread Vikas Manocha
On 02/06/2018 12:52 AM, Patrick DELAUNAY wrote: > Hi Patrice, > >> From: Patrice CHOTARD >> >> Sure, i will send a v3 >> >> Thanks >> >> Patrice >> > > You can also activate CONFIG_ENV_VARS_UBOOT_CONFIG Great ! Thanks Patrick. Cheers, Vikas > > Then the variables are defined in ./include/en