mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
stm32mp1: migrate PREBOOT to Kconfig
Use Kconfig to activate CONFIG_PREBOOT (empty by default). Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
parent
579a3e7bf9
commit
ce3772ca8d
3 changed files with 2 additions and 2 deletions
|
@ -1488,6 +1488,7 @@ config ARCH_STM32MP
|
||||||
imply CMD_DM
|
imply CMD_DM
|
||||||
imply CMD_POWEROFF
|
imply CMD_POWEROFF
|
||||||
imply ENV_VARS_UBOOT_RUNTIME_CONFIG
|
imply ENV_VARS_UBOOT_RUNTIME_CONFIG
|
||||||
|
imply USE_PREBOOT
|
||||||
help
|
help
|
||||||
Support for STM32MP SoC family developed by STMicroelectronics,
|
Support for STM32MP SoC family developed by STMicroelectronics,
|
||||||
MPUs based on ARM cortex A core
|
MPUs based on ARM cortex A core
|
||||||
|
|
|
@ -247,6 +247,7 @@ config USE_PREBOOT
|
||||||
config PREBOOT
|
config PREBOOT
|
||||||
string "preboot default value"
|
string "preboot default value"
|
||||||
depends on USE_PREBOOT
|
depends on USE_PREBOOT
|
||||||
|
default ""
|
||||||
help
|
help
|
||||||
This is the default of "preboot" environment variable.
|
This is the default of "preboot" environment variable.
|
||||||
|
|
||||||
|
|
|
@ -85,8 +85,6 @@
|
||||||
* for nand boot, boot with on ubifs partition on nand
|
* for nand boot, boot with on ubifs partition on nand
|
||||||
* for nor boot, use the default order
|
* for nor boot, use the default order
|
||||||
*/
|
*/
|
||||||
#define CONFIG_PREBOOT
|
|
||||||
|
|
||||||
#define STM32MP_BOOTCMD "bootcmd_stm32mp=" \
|
#define STM32MP_BOOTCMD "bootcmd_stm32mp=" \
|
||||||
"echo \"Boot over ${boot_device}${boot_instance}!\";" \
|
"echo \"Boot over ${boot_device}${boot_instance}!\";" \
|
||||||
"if test ${boot_device} = serial || test ${boot_device} = usb;" \
|
"if test ${boot_device} = serial || test ${boot_device} = usb;" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue