commit | 1a7917210bd2fc8bd792f4dd36d3d44bd2244104 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Tue May 13 16:09:39 2014 +0100 |
committer | Peter Maydell <peter.maydell@linaro.org> | Tue May 13 16:09:39 2014 +0100 |
tree | 8cd890401a8a424f4ec42e5e830242b93d368961 | |
parent | c3a699be3c63f75b6ea5877080ea9b96b37524c4 [diff] |
hw/arm/stellaris: Correct handling of GPTM TAR register We don't implement very much of the GPTM TAR register, and what we do is wrong. The "are we in RT mode?" field is in s->config, not s->control. Correct this, use LOG_UNIMP rather than hw_error() for the cases we don't support, and avoid an unlabelled fallthrough that makes Coverity complain. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>