summaryrefslogtreecommitdiffstats
path: root/hw/rtc
diff options
context:
space:
mode:
authorXiaojuan Yang2022-07-01 11:33:59 +0200
committerRichard Henderson2022-07-04 07:38:58 +0200
commit53a5eb2e7a7f8cebb3010fc658e935679379a0fa (patch)
treef4a5c6492d89838be416433cf5f71b90ea30fc30 /hw/rtc
parenthw/rtc/ls7a_rtc: Fix timer call back function (diff)
downloadqemu-53a5eb2e7a7f8cebb3010fc658e935679379a0fa.tar.gz
qemu-53a5eb2e7a7f8cebb3010fc658e935679379a0fa.tar.xz
qemu-53a5eb2e7a7f8cebb3010fc658e935679379a0fa.zip
hw/rtc/ls7a_rtc: Remove unimplemented device in realized function
Remove the unimplemented device when realized ls7a RTC, as it is not uesd. Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220701093407.2150607-4-yangxiaojuan@loongson.cn> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/rtc')
-rw-r--r--hw/rtc/ls7a_rtc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/rtc/ls7a_rtc.c b/hw/rtc/ls7a_rtc.c
index 780144b9da..f1e7a660e9 100644
--- a/hw/rtc/ls7a_rtc.c
+++ b/hw/rtc/ls7a_rtc.c
@@ -461,7 +461,6 @@ static void ls7a_rtc_realize(DeviceState *dev, Error **errp)
d->save_toy_year = 0;
d->save_rtc = 0;
- create_unimplemented_device("mmio fallback 1", 0x10013ffc, 0x4);
}
static int ls7a_rtc_pre_save(void *opaque)