
6 Jan
2004
6 Jan
'04
5:11 a.m.
Changelog: Introduce a new command to be used in conditional expressions (such as hush 'if') to test the value of a memory location. Supports -eq, -ne, -gt, -lt, -ge, -le Allows scalars or memory contents (value prefixed by '*') Makes use of command data width expression of .l, .wm .b for 4, 2 or 1 byte wide comparisons e.g. if itest.l *40000 -eq 12345678; then bootm 41000; else bootm 80000; fi
Patch is against u-boot-1.0.0
Note: I'm still concerned that the CONFIG_COMMANDS mask has run out of bits - maybe time for a different mechanism as I'm sure the bit I've used has gone by now!!
--
Robin Gilks
Senior Design Engineer Phone: (+64)(3) 357 1569
Tait Electronics Fax : (+64)(3) 359 4632
PO Box 1645 Christchurch Email : robin.gilks@tait.co.nz
New Zealand