env: ti: k3_rproc: Add common rproc environment variables
authorSuman Anna <s-anna@ti.com>
Wed, 4 Sep 2019 10:31:42 +0000 (16:01 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2019 14:07:35 +0000 (10:07 -0400)
commitbb17aaf658b4bb28677e346053a684447e3ddeb2
treeb5a748cadbc9fab960e127bfcac9d5ac3a7c4382
parent35f21c3ac649daad3f322d4d556c8ee7683c6ffd
env: ti: k3_rproc: Add common rproc environment variables

Add a new file include/environment/ti/k3_rproc.h that defines
common environment variables useful for booting various remote
processors from U-Boot. This file is expected to be included in
the board config files with the EXTRA_ENV_RPROC_SETTINGS added
to CONFIG_EXTRA_ENV_SETTINGS and DEFAULT_RPROCS macro overwritten
to include the actual list of processors to be booted.

The 'boot_rprocs' variable just needs to be added to the board's
bootcmd to automatically boot the processors, and runtime control
can be achieved through the 'dorprocboot' variable.

The variables are currently defined to use MMC as the boot media,
and can be expanded in the future to include other boot media.
The immediate usage is intended for K3 J721E SoCs.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
include/environment/ti/k3_rproc.h [new file with mode: 0644]