mach-k3: r5: common: add bootargs to kernel's dtb
authorAnshul Dalal <anshuld@ti.com>
Fri, 31 Oct 2025 07:37:56 +0000 (13:07 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 6 Nov 2025 23:39:49 +0000 (17:39 -0600)
commit2da694254df2f061b4f5c7cecbc8a32ce77c6e68
tree124b030402c8ea587cf52a52253ede82e9bf02fd
parent518d8c1bec4cd78d3dc2ef574ae99f0918913175
mach-k3: r5: common: add bootargs to kernel's dtb

The bootargs are passed to the kernel in the chosen node, this patch
adds support for populating bootargs in the dtb if missing.

The values for kernel boot params is taken from the env, with 'boot' and
'bootpart' specifying the rootfs for the kernel similar to the
non-falcon boot flow.

Signed-off-by: Anshul Dalal <anshuld@ti.com>
arch/arm/mach-k3/r5/common.c