Re: [U-Boot] [PATCH] common: cli_simple: Recursively parse variables

2015-12-04 Thread Wolfgang Denk
Dear Nishanth Menon, In message <1449249451-8945-1-git-send-email...@ti.com> you wrote: > When we use the following in bootargs: > v1=abc > v2=123-${v1} > echo $v2 > we get 123-${v1} > This is because we do not recursively check to see if v2 by itself has > a hidden variable. Fix the same with rec

[U-Boot] [PATCH] common: cli_simple: Recursively parse variables

2015-12-04 Thread Nishanth Menon
When we use the following in bootargs: v1=abc v2=123-${v1} echo $v2 we get 123-${v1} This is because we do not recursively check to see if v2 by itself has a hidden variable. Fix the same with recursive call Signed-off-by: Nishanth Menon --- Testing with sandbox: http://pastebin.ubuntu.com/13672