Re: [U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Vitaly Andrianov
On 08/06/2015 11:31 AM, Tom Rini wrote: On Thu, Aug 06, 2015 at 10:08:59AM -0500, Nishanth Menon wrote: On 08/06/2015 10:04 AM, Tom Rini wrote: On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote: This allows us to do basic math in hush shell. For example: U-Boot# r1=10 U-Boot# r

Re: [U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Tom Rini
On Thu, Aug 06, 2015 at 10:08:59AM -0500, Nishanth Menon wrote: > On 08/06/2015 10:04 AM, Tom Rini wrote: > > On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote: > > > >> This allows us to do basic math in hush shell. For example: > >> U-Boot# r1=10 > >> U-Boot# r2=20 > >> U-Boot# sete

Re: [U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Nishanth Menon
On 08/06/2015 10:04 AM, Tom Rini wrote: > On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote: > >> This allows us to do basic math in hush shell. For example: >> U-Boot# r1=10 >> U-Boot# r2=20 >> U-Boot# setexpr.l r3 $r1 + $r2 >> U-Boot# echo $r3 >> 30 >> >> Reported-by: Vitaly Andrian

Re: [U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Tom Rini
On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote: > This allows us to do basic math in hush shell. For example: > U-Boot# r1=10 > U-Boot# r2=20 > U-Boot# setexpr.l r3 $r1 + $r2 > U-Boot# echo $r3 > 30 > > Reported-by: Vitaly Andrianov > Suggested-by: Tom Rini > Signed-off-by: Nish

[U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Nishanth Menon
This allows us to do basic math in hush shell. For example: U-Boot# r1=10 U-Boot# r2=20 U-Boot# setexpr.l r3 $r1 + $r2 U-Boot# echo $r3 30 Reported-by: Vitaly Andrianov Suggested-by: Tom Rini Signed-off-by: Nishanth Menon --- include/configs/ti_armv7_common.h | 1 + 1 file changed, 1 insertion