From: Tom Rini Date: Thu, 6 Aug 2015 11:04:46 -0400 Subject: [U-Boot] [PATCH] ti_armv7_common: enable setexpr In-Reply-To: <1438872507-26253-1-git-send-email-nm@ti.com> References: <1438872507-26253-1-git-send-email-nm@ti.com> Message-ID: <20150806150446.GJ25532@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: Nishanth Menon This needs to be done in the configs/ files now instead as we have CMD_EXPR there. In fact I'm not sure right now which would win, the define here or the disable currently in the config files :) -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: