diff options
author | Eric Caruso <ejcaruso@chromium.org> | 2014-09-30 13:38:52 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-10-01 01:47:39 +0000 |
commit | 28891eaaab07e873ce5ff21006713ad4f8faf975 (patch) | |
tree | 856817f626ee3bde72f898f428ed2ada6ddc4277 /util | |
parent | 85d2d1f503ae8ad43094672910130df18e4a7d13 (diff) | |
download | chrome-ec-28891eaaab07e873ce5ff21006713ad4f8faf975.tar.gz |
lightbar: treat HALT like a normal opcode
This removes the special casing around HALT. It saves us a string
literal and some logic. In total, we gain about 50 bytes and a
little cleanup for this.
BUG=None
BRANCH=ToT
TEST=Tried a program that uses HALT (i.e. red-green-blink) in
simulator and on hardware.
Change-Id: Iffee1b559983fd1ecd385cc6b8967f72a6b968a0
Signed-off-by: Eric Caruso <ejcaruso@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/220589
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'util')
-rw-r--r-- | util/lbcc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/util/lbcc.c b/util/lbcc.c index 6fdefed927..0b69e7d777 100644 --- a/util/lbcc.c +++ b/util/lbcc.c @@ -67,7 +67,6 @@ struct safe_lb_program { #include "lightbar_opcode_list.h" enum lightbyte_opcode { LIGHTBAR_OPCODE_TABLE - HALT, MAX_OPCODE }; #undef OP |