OSDN Git Service

sim: bfin: decode ASTAT on failure
authorvapier <vapier>
Tue, 15 Mar 2011 20:08:27 +0000 (20:08 +0000)
committervapier <vapier>
Tue, 15 Mar 2011 20:08:27 +0000 (20:08 +0000)
commitb82c7a566e197aef9b47c7e97df938b5b309d768
treeabff6830ed7bb48b3a6d8557906cf00fc30d0bfa
parent569ce0f82bc22ec8ba55a9604f289b11c26abb43
sim: bfin: decode ASTAT on failure

When testing ASTAT regs, specific bit differences carry a lot more meaning
than when checking the value of a data register.  So automatically decode
the bits of the two values and print things out so that people don't have
to manually do it themselves every time.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sim/bfin/ChangeLog
sim/bfin/bfin-sim.c