stellaris: Calculate system clock period on reset
commitbfc213af97c5f7768ad7549bc95134cb4e218a76
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 15 Dec 2011 18:58:26 +0000 (15 18:58 +0000)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 16 Dec 2011 10:04:05 +0000 (16 10:04 +0000)
tree79a0d07920c2e6e01f09a8efcb145f2ef461c49c
parent7fc3574d065d6744afbab73d8a701ffd94206138
stellaris: Calculate system clock period on reset

Calculate the system clock period on reset; otherwise it remains
set to the default value of zero and attempting to use it provokes
a hang. This is one of the issues noted in LP:696094.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hw/stellaris.c