[PATCH v2] environment: ti: rproc: fix remoteproc environment variables

Manorit Chawdhry m-chawdhry at ti.com
Fri May 12 13:40:09 CEST 2023

During refactor this seemed to have been missed.

Fixes: 3e85631db7c5 ("include: environment: ti: Use .env for environment variables")

Signed-off-by: Manorit Chawdhry <m-chawdhry at ti.com>
Changes in v2:
- added double quotes to fix the rproc boot command
- Link to v1: https://serenity.dal.design.ti.com/lore/linux-patch-review/20230512-b4-upstream-rproc-semicolon-v1-1-f450e266d3e9@ti.com
 include/environment/ti/k3_rproc.env | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/environment/ti/k3_rproc.env b/include/environment/ti/k3_rproc.env
index 21dad7b24121..87d9d76eba46 100644
--- a/include/environment/ti/k3_rproc.env
+++ b/include/environment/ti/k3_rproc.env
@@ -7,14 +7,14 @@ boot_rprocs=
 	if load mmc ${bootpart} $loadaddr ${rproc_fw}; then
 		if rproc load ${rproc_id} ${loadaddr} ${filesize}; then
-			rproc start ${rproc_id}
+			rproc start ${rproc_id};
 	env set rproc_id;
 	env set rproc_fw;
 	for i in ${rproc_fw_binaries} ; do
-		if test -z ${rproc_id} ; then
+		if test -z "${rproc_id}" ; then
 			env set rproc_id $i;
 			env set rproc_fw $i;

base-commit: 0a9a4384c1483a88776bca38e28f09be51161034
change-id: 20230512-b4-upstream-rproc-semicolon-9afdb6101c13

Best regards,
Manorit Chawdhry <m-chawdhry at ti.com>

More information about the U-Boot mailing list