aboutsummaryrefslogtreecommitdiff
path: root/include/hw/timer
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-10-04 01:04:01 +0200
committerLaurent Vivier <laurent@vivier.eu>2019-10-24 20:31:44 +0200
commitea5dcf4e1d00ea6de8112968164a97ce8a92ddce (patch)
treee0b584a3a614e3869767f46cb3a54ed28debc664 /include/hw/timer
parent7f0df1ccdf4f0500798b42d4b21dd7fc5ed854ba (diff)
hw: Move Aspeed RTC from hw/timer/ to hw/rtc/ subdirectory
Move RTC devices under the hw/rtc/ subdirectory. Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20191003230404.19384-12-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/hw/timer')
-rw-r--r--include/hw/timer/aspeed_rtc.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/include/hw/timer/aspeed_rtc.h b/include/hw/timer/aspeed_rtc.h
deleted file mode 100644
index 15ba42912b..0000000000
--- a/include/hw/timer/aspeed_rtc.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * ASPEED Real Time Clock
- * Joel Stanley <joel@jms.id.au>
- *
- * Copyright 2019 IBM Corp
- * SPDX-License-Identifier: GPL-2.0-or-later
- */
-#ifndef ASPEED_RTC_H
-#define ASPEED_RTC_H
-
-#include <stdint.h>
-
-#include "hw/irq.h"
-#include "hw/sysbus.h"
-
-typedef struct AspeedRtcState {
- SysBusDevice parent_obj;
-
- MemoryRegion iomem;
- qemu_irq irq;
-
- uint32_t reg[0x18];
- int offset;
-
-} AspeedRtcState;
-
-#define TYPE_ASPEED_RTC "aspeed.rtc"
-#define ASPEED_RTC(obj) OBJECT_CHECK(AspeedRtcState, (obj), TYPE_ASPEED_RTC)
-
-#endif /* ASPEED_RTC_H */