aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/meson.build
diff options
context:
space:
mode:
authorGraeme Gregory <graeme@nuviainc.com>2020-08-26 15:19:51 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-09-01 14:01:12 +0100
commitdccb92b5caee973cb10f3f429741efe5cf747feb (patch)
treeb9e544beee75770301c9114fe203ec4bcc7bea25 /hw/misc/meson.build
parent999f6ebde5d3ee30b03270bc05095bed737b7dab (diff)
downloadqemu-dccb92b5caee973cb10f3f429741efe5cf747feb.zip
qemu-dccb92b5caee973cb10f3f429741efe5cf747feb.tar.gz
qemu-dccb92b5caee973cb10f3f429741efe5cf747feb.tar.bz2
hw/misc/sbsa_ec : Add an embedded controller for sbsa-ref
A difference between sbsa platform and the virt platform is PSCI is handled by ARM-TF in the sbsa platform. This means that the PSCI code there needs to communicate some of the platform power changes down to the qemu code for things like shutdown/reset control. Space has been left to extend the EC if we find other use cases in future where ARM-TF and qemu need to communicate. Signed-off-by: Graeme Gregory <graeme@nuviainc.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com> Tested-by: Leif Lindholm <leif@nuviainc.com> Message-id: 20200826141952.136164-2-graeme@nuviainc.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/misc/meson.build')
-rw-r--r--hw/misc/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/misc/meson.build b/hw/misc/meson.build
index 84fed04..e1576b8 100644
--- a/hw/misc/meson.build
+++ b/hw/misc/meson.build
@@ -97,3 +97,5 @@ specific_ss.add(when: 'CONFIG_MAC_VIA', if_true: files('mac_via.c'))
specific_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('mips_cmgcr.c', 'mips_cpc.c'))
specific_ss.add(when: 'CONFIG_MIPS_ITU', if_true: files('mips_itu.c'))
+
+specific_ss.add(when: 'CONFIG_SBSA_REF', if_true: files('sbsa_ec.c'))