diff options
author | Michael Rolnik <mrolnik@gmail.com> | 2020-01-24 01:51:19 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-07-11 11:02:05 +0200 |
commit | dc288de082a3e4e6970737fde2286bfc1d5ab9d7 (patch) | |
tree | 86bd1f18eab74c40db48c438faace04f78702d65 /hw/misc/Makefile.objs | |
parent | 8ff47bc1a0c798141479530bf9cb3836b49fc5e1 (diff) | |
download | qemu-dc288de082a3e4e6970737fde2286bfc1d5ab9d7.zip qemu-dc288de082a3e4e6970737fde2286bfc1d5ab9d7.tar.gz qemu-dc288de082a3e4e6970737fde2286bfc1d5ab9d7.tar.bz2 |
hw/misc: avr: Add limited support for power reduction device
This is a simple device of just one register, and whenever this
register is written to it calls qemu_set_irq function for each
of 8 bits/IRQs. It is used to implement AVR Power Reduction.
[AM: Remove word 'Atmel' from filenames and all elements of code]
Suggested-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Signed-off-by: Michael Rolnik <mrolnik@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[rth: Squash include fix and file rename from f4bug]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
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-22-huth@tuxfamily.org>
Diffstat (limited to 'hw/misc/Makefile.objs')
-rw-r--r-- | hw/misc/Makefile.objs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/misc/Makefile.objs b/hw/misc/Makefile.objs index 5aaca8a..6be3d25 100644 --- a/hw/misc/Makefile.objs +++ b/hw/misc/Makefile.objs @@ -91,3 +91,5 @@ common-obj-$(CONFIG_NRF51_SOC) += nrf51_rng.o obj-$(CONFIG_MAC_VIA) += mac_via.o common-obj-$(CONFIG_GRLIB) += grlib_ahb_apb_pnp.o + +obj-$(CONFIG_AVR_POWER) += avr_power.o |