summaryrefslogtreecommitdiffstats
path: root/hw/timer/Makefile.objs
diff options
context:
space:
mode:
authorMichael Rolnik2020-01-24 01:51:18 +0100
committerPhilippe Mathieu-Daudé2020-07-11 11:02:05 +0200
commit8ff47bc1a0c798141479530bf9cb3836b49fc5e1 (patch)
tree43d07c7dac86500d99590fc3630444744bf13504 /hw/timer/Makefile.objs
parenthw/char: avr: Add limited support for USART peripheral (diff)
downloadqemu-8ff47bc1a0c798141479530bf9cb3836b49fc5e1.tar.gz
qemu-8ff47bc1a0c798141479530bf9cb3836b49fc5e1.tar.xz
qemu-8ff47bc1a0c798141479530bf9cb3836b49fc5e1.zip
hw/timer: avr: Add limited support for 16-bit timer peripheral
These were designed to facilitate testing but should provide enough function to be useful in other contexts. Only a subset of the functions of each peripheral is implemented, mainly due to the lack of a standard way to handle electrical connections (like GPIO pins). [AM: Remove word 'Atmel' from filenames and all elements of code] Suggested-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com> Signed-off-by: Sarah Harris <S.E.Harris@kent.ac.uk> Signed-off-by: Ed Robbins <E.J.C.Robbins@kent.ac.uk> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> [rth: Squash info mtree fixes and a file rename from f4bug] Signed-off-by: Richard Henderson <richard.henderson@linaro.org> [PMD: Use qemu_log_mask(LOG_UNIMP), replace goto by return] Signed-off-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Thomas Huth <huth@tuxfamily.org> Message-Id: <20200705140315.260514-21-huth@tuxfamily.org> [PMD: Check cpu-frequency-hz property in realize()] Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/timer/Makefile.objs')
-rw-r--r--hw/timer/Makefile.objs2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/timer/Makefile.objs b/hw/timer/Makefile.objs
index a39f6ec0c2..1303b13e0d 100644
--- a/hw/timer/Makefile.objs
+++ b/hw/timer/Makefile.objs
@@ -37,3 +37,5 @@ common-obj-$(CONFIG_CMSDK_APB_TIMER) += cmsdk-apb-timer.o
common-obj-$(CONFIG_CMSDK_APB_DUALTIMER) += cmsdk-apb-dualtimer.o
common-obj-$(CONFIG_MSF2) += mss-timer.o
common-obj-$(CONFIG_RASPI) += bcm2835_systmr.o
+
+obj-$(CONFIG_AVR_TIMER16) += avr_timer16.o