]> git.dujemihanovic.xyz Git - u-boot.git/commit
configs: stm32mp1: set the console variable for extlinux.conf
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 15 Apr 2022 12:31:54 +0000 (14:31 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 10 May 2022 08:56:39 +0000 (10:56 +0200)
commit806c4dd31532708d30dd82a5173232dccc73c81b
tree5514ff032037b12cf4305de303902b4ab3e5aa1c
parent1494e3758634a32a79484099ee9a86ff5e7d737a
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>
include/configs/stm32mp15_st_common.h