Home
last modified time | relevance | path

Searched hist:"6935 f132e595a03eb023b5e9a0703509b3f0c2a1" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/rtc/
H A Dls7a_rtc.cdiff 6935f132e595a03eb023b5e9a0703509b3f0c2a1 Fri Jul 01 04:34:01 CDT 2022 Xiaojuan Yang <yangxiaojuan@loongson.cn> hw/rtc/ls7a_rtc: Fix rtc enable and disable function

Fix ls7a rtc enable and disable function. When rtc disabled, it do
not support to read or write, but the real time is still continue,
so we need not neither save the time nor update the rtc offset.

Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220701093407.2150607-6-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>