sim: bfin: decode ASTAT on failure
authorMike Frysinger <vapier@gentoo.org>
Tue, 15 Mar 2011 20:08:27 +0000 (20:08 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 15 Mar 2011 20:08:27 +0000 (20:08 +0000)
commitbf416ccded1ee993deeefa59e390b2aedbdc0f1a
treeeeb33b567d6384678113bba91c749162ad7dfa9c
parentc9329594d491d5e2c3c2f59bb8c6e833910022b4
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