booke_ppc: limit booke timer to max when timeout overflow
commitab8131afee34d6aa427bd56ac18c4d3b6df80728
authorBharat Bhushan <r65777@freescale.com>
Wed, 12 Jun 2013 12:30:50 +0000 (12 18:00 +0530)
committerAlexander Graf <agraf@suse.de>
Sun, 30 Jun 2013 23:11:16 +0000 (1 01:11 +0200)
treea058046b9d6d557926841306dee6536c279b0164
parentf1ff0e89c8287de79c804ec7a50d43f39a9f65dc
booke_ppc: limit booke timer to max when timeout overflow

Limit watchdog and fit timer to maximum timeout value which
qemu timer can support (INT64_MAX). This maximum timeout will be
hundreds of years, so limiting to max timeout is pretty safe.

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/ppc_booke.c