RTC: Remove the logic to update time format when DM bit changed
authorYang Zhang <yang.z.zhang@intel.com>
Thu, 2 Aug 2012 16:04:04 +0000 (18:04 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 10 Sep 2012 18:52:28 +0000 (13:52 -0500)
commitbedc572eae6e250070495116f0db72607826aee5
tree02e7cf8b175da1eaeb6d1bad081a5a6750dd5907
parent6a38e0dc369e6bdc3b3ac4a965a34990c4980b66
RTC: Remove the logic to update time format when DM bit changed

Changing the DM (binary/BCD) and 24/12 control bit doesn't affect the internal
registers. It only indicates what format is used for those registers.

Signed-off-by: Yang Zhang <yang.z.zhang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/mc146818rtc.c