bootstd: android: add the bootargs env to the commandline
authorNicolas Belin (TI.com) <nbelin@baylibre.com>
Fri, 24 Oct 2025 14:23:22 +0000 (16:23 +0200)
committerMattijs Korpershoek <mkorpershoek@kernel.org>
Thu, 6 Nov 2025 09:19:31 +0000 (10:19 +0100)
commit10da28729949f3e2160f98d82df45833d4c175cf
tree5c826d6b9a5cc45af9c454d254c63d259eed775a
parentcde77583cf0b54dd572a38acd159ded7dd5e3e86
bootstd: android: add the bootargs env to the commandline

When previously using script based bootflows, the U-Boot
environment variable bootargs was used to customize the kernel
commandline at boot time.
In order to get the same behaviour, concatenate the bootflow
commandline with the contents the bootargs environment variable.

Signed-off-by: Nicolas Belin (TI.com) <nbelin@baylibre.com>
Signed-off-by: Guillaume La Roque (TI.com) <glaroque@baylibre.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Link: https://lore.kernel.org/r/20251024-botargsappend-v1-1-0b78f05f9132@baylibre.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
boot/bootmeth_android.c