mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
configs: stm32mp1: set the console variable for extlinux.conf
Set the environment variable "console", used in extlinux.conf file when it is generated by YOCTO distribution with: UBOOT_EXTLINUX_CONSOLE ??= "console=${console},${baudrate}" With these 2 variables, U-Boot give dynamically the used console and baudrate in the Linux kernel bootargs. For the STMicroelectronics boards, the used console is ttySTM0. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
This commit is contained in:
parent
1494e37586
commit
806c4dd315
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,9 @@
|
|||
#ifndef __CONFIG_STM32MP15_ST_COMMON_H__
|
||||
#define __CONFIG_STM32MP15_ST_COMMON_H__
|
||||
|
||||
#define STM32MP_BOARD_EXTRA_ENV \
|
||||
"console=ttySTM0\0"
|
||||
|
||||
#include <configs/stm32mp15_common.h>
|
||||
|
||||
#ifdef CONFIG_EXTRA_ENV_SETTINGS
|
||||
|
|
Loading…
Reference in a new issue