All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] stm32f429: move CONFIG_BOOTCOMMAND in defconfig
@ 2021-10-06 15:16 Patrick Delaunay
  2021-10-07  6:18 ` Patrice CHOTARD
  2021-10-08  6:36 ` Patrice CHOTARD
  0 siblings, 2 replies; 4+ messages in thread
From: Patrick Delaunay @ 2021-10-06 15:16 UTC (permalink / raw)
  To: u-boot
  Cc: Patrick Delaunay, Patrice Chotard, Rick Chen, Sean Anderson, uboot-stm32

Move CONFIG_BOOTCOMMAND defined in Kconfig in the board defconfig.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
---

 configs/stm32f429-discovery_defconfig | 1 +
 include/configs/stm32f429-discovery.h | 3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/configs/stm32f429-discovery_defconfig b/configs/stm32f429-discovery_defconfig
index b6388cf00a..2b0f93fd65 100644
--- a/configs/stm32f429-discovery_defconfig
+++ b/configs/stm32f429-discovery_defconfig
@@ -12,6 +12,7 @@ CONFIG_TARGET_STM32F429_DISCOVERY=y
 CONFIG_ENV_VARS_UBOOT_CONFIG=y
 CONFIG_SYS_LOAD_ADDR=0x90400000
 CONFIG_BOOTDELAY=3
+CONFIG_BOOTCOMMAND="run bootcmd_romfs"
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel"
 # CONFIG_DISPLAY_CPUINFO is not set
diff --git a/include/configs/stm32f429-discovery.h b/include/configs/stm32f429-discovery.h
index 525a5277d8..162001d457 100644
--- a/include/configs/stm32f429-discovery.h
+++ b/include/configs/stm32f429-discovery.h
@@ -27,9 +27,6 @@
 
 #define CONFIG_SYS_CBSIZE		1024
 
-#define CONFIG_BOOTCOMMAND						\
-	"run bootcmd_romfs"
-
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"bootargs_romfs=uclinux.physaddr=0x08180000 root=/dev/mtdblock0\0" \
 	"bootcmd_romfs=setenv bootargs ${bootargs} ${bootargs_romfs};" \
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] stm32f429: move CONFIG_BOOTCOMMAND in defconfig
  2021-10-06 15:16 [PATCH] stm32f429: move CONFIG_BOOTCOMMAND in defconfig Patrick Delaunay
@ 2021-10-07  6:18 ` Patrice CHOTARD
  2021-10-08  6:32   ` [Uboot-stm32] " Patrice CHOTARD
  2021-10-08  6:36 ` Patrice CHOTARD
  1 sibling, 1 reply; 4+ messages in thread
From: Patrice CHOTARD @ 2021-10-07  6:18 UTC (permalink / raw)
  To: Patrick Delaunay, u-boot; +Cc: Rick Chen, Sean Anderson, uboot-stm32

Hi Patrick

On 10/6/21 5:16 PM, Patrick Delaunay wrote:
> Move CONFIG_BOOTCOMMAND defined in Kconfig in the board defconfig.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
> 
>  configs/stm32f429-discovery_defconfig | 1 +
>  include/configs/stm32f429-discovery.h | 3 ---
>  2 files changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/configs/stm32f429-discovery_defconfig b/configs/stm32f429-discovery_defconfig
> index b6388cf00a..2b0f93fd65 100644
> --- a/configs/stm32f429-discovery_defconfig
> +++ b/configs/stm32f429-discovery_defconfig
> @@ -12,6 +12,7 @@ CONFIG_TARGET_STM32F429_DISCOVERY=y
>  CONFIG_ENV_VARS_UBOOT_CONFIG=y
>  CONFIG_SYS_LOAD_ADDR=0x90400000
>  CONFIG_BOOTDELAY=3
> +CONFIG_BOOTCOMMAND="run bootcmd_romfs"
>  CONFIG_USE_BOOTARGS=y
>  CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel"
>  # CONFIG_DISPLAY_CPUINFO is not set
> diff --git a/include/configs/stm32f429-discovery.h b/include/configs/stm32f429-discovery.h
> index 525a5277d8..162001d457 100644
> --- a/include/configs/stm32f429-discovery.h
> +++ b/include/configs/stm32f429-discovery.h
> @@ -27,9 +27,6 @@
>  
>  #define CONFIG_SYS_CBSIZE		1024
>  
> -#define CONFIG_BOOTCOMMAND						\
> -	"run bootcmd_romfs"
> -
>  #define CONFIG_EXTRA_ENV_SETTINGS \
>  	"bootargs_romfs=uclinux.physaddr=0x08180000 root=/dev/mtdblock0\0" \
>  	"bootcmd_romfs=setenv bootargs ${bootargs} ${bootargs_romfs};" \
> 
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>

Thanks
Patrice

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Uboot-stm32] [PATCH] stm32f429: move CONFIG_BOOTCOMMAND in defconfig
  2021-10-07  6:18 ` Patrice CHOTARD
@ 2021-10-08  6:32   ` Patrice CHOTARD
  0 siblings, 0 replies; 4+ messages in thread
From: Patrice CHOTARD @ 2021-10-08  6:32 UTC (permalink / raw)
  To: Patrick Delaunay, u-boot; +Cc: uboot-stm32, Rick Chen, Sean Anderson

Hi Patrick

On 10/7/21 8:18 AM, Patrice CHOTARD wrote:
> Hi Patrick
> 
> On 10/6/21 5:16 PM, Patrick Delaunay wrote:
>> Move CONFIG_BOOTCOMMAND defined in Kconfig in the board defconfig.
>>
>> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
>> ---
>>
>>  configs/stm32f429-discovery_defconfig | 1 +
>>  include/configs/stm32f429-discovery.h | 3 ---
>>  2 files changed, 1 insertion(+), 3 deletions(-)
>>
>> diff --git a/configs/stm32f429-discovery_defconfig b/configs/stm32f429-discovery_defconfig
>> index b6388cf00a..2b0f93fd65 100644
>> --- a/configs/stm32f429-discovery_defconfig
>> +++ b/configs/stm32f429-discovery_defconfig
>> @@ -12,6 +12,7 @@ CONFIG_TARGET_STM32F429_DISCOVERY=y
>>  CONFIG_ENV_VARS_UBOOT_CONFIG=y
>>  CONFIG_SYS_LOAD_ADDR=0x90400000
>>  CONFIG_BOOTDELAY=3
>> +CONFIG_BOOTCOMMAND="run bootcmd_romfs"
>>  CONFIG_USE_BOOTARGS=y
>>  CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel"
>>  # CONFIG_DISPLAY_CPUINFO is not set
>> diff --git a/include/configs/stm32f429-discovery.h b/include/configs/stm32f429-discovery.h
>> index 525a5277d8..162001d457 100644
>> --- a/include/configs/stm32f429-discovery.h
>> +++ b/include/configs/stm32f429-discovery.h
>> @@ -27,9 +27,6 @@
>>  
>>  #define CONFIG_SYS_CBSIZE		1024
>>  
>> -#define CONFIG_BOOTCOMMAND						\
>> -	"run bootcmd_romfs"
>> -
>>  #define CONFIG_EXTRA_ENV_SETTINGS \
>>  	"bootargs_romfs=uclinux.physaddr=0x08180000 root=/dev/mtdblock0\0" \
>>  	"bootcmd_romfs=setenv bootargs ${bootargs} ${bootargs_romfs};" \
>>
> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
> 
> Thanks
> Patrice
> _______________________________________________
> Uboot-stm32 mailing list
> Uboot-stm32@st-md-mailman.stormreply.com
> https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32
> 

Applied on u-boot-stm32 for next

Thanks
Patrice

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] stm32f429: move CONFIG_BOOTCOMMAND in defconfig
  2021-10-06 15:16 [PATCH] stm32f429: move CONFIG_BOOTCOMMAND in defconfig Patrick Delaunay
  2021-10-07  6:18 ` Patrice CHOTARD
@ 2021-10-08  6:36 ` Patrice CHOTARD
  1 sibling, 0 replies; 4+ messages in thread
From: Patrice CHOTARD @ 2021-10-08  6:36 UTC (permalink / raw)
  To: Patrick Delaunay, u-boot; +Cc: Rick Chen, Sean Anderson, uboot-stm32

Hi Patrick

On 10/6/21 5:16 PM, Patrick Delaunay wrote:
> Move CONFIG_BOOTCOMMAND defined in Kconfig in the board defconfig.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
> 
>  configs/stm32f429-discovery_defconfig | 1 +
>  include/configs/stm32f429-discovery.h | 3 ---
>  2 files changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/configs/stm32f429-discovery_defconfig b/configs/stm32f429-discovery_defconfig
> index b6388cf00a..2b0f93fd65 100644
> --- a/configs/stm32f429-discovery_defconfig
> +++ b/configs/stm32f429-discovery_defconfig
> @@ -12,6 +12,7 @@ CONFIG_TARGET_STM32F429_DISCOVERY=y
>  CONFIG_ENV_VARS_UBOOT_CONFIG=y
>  CONFIG_SYS_LOAD_ADDR=0x90400000
>  CONFIG_BOOTDELAY=3
> +CONFIG_BOOTCOMMAND="run bootcmd_romfs"
>  CONFIG_USE_BOOTARGS=y
>  CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel"
>  # CONFIG_DISPLAY_CPUINFO is not set
> diff --git a/include/configs/stm32f429-discovery.h b/include/configs/stm32f429-discovery.h
> index 525a5277d8..162001d457 100644
> --- a/include/configs/stm32f429-discovery.h
> +++ b/include/configs/stm32f429-discovery.h
> @@ -27,9 +27,6 @@
>  
>  #define CONFIG_SYS_CBSIZE		1024
>  
> -#define CONFIG_BOOTCOMMAND						\
> -	"run bootcmd_romfs"
> -
>  #define CONFIG_EXTRA_ENV_SETTINGS \
>  	"bootargs_romfs=uclinux.physaddr=0x08180000 root=/dev/mtdblock0\0" \
>  	"bootcmd_romfs=setenv bootargs ${bootargs} ${bootargs_romfs};" \
> 
Applied on u-boot-stm32 for next

Thanks
Patrice

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-08  6:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06 15:16 [PATCH] stm32f429: move CONFIG_BOOTCOMMAND in defconfig Patrick Delaunay
2021-10-07  6:18 ` Patrice CHOTARD
2021-10-08  6:32   ` [Uboot-stm32] " Patrice CHOTARD
2021-10-08  6:36 ` Patrice CHOTARD

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.